This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
Hello Please help me, I am trying to get an entity that one hit kills a player however whenever it attacks it only does three hearts
here is my applyEntityAttributes:
super.applyEntityAttributes(); getAttributeMap().registerAttribute(SharedMonsterAttributes.ATTACK_DAMAGE); getEntityAttribute(SharedMonsterAttributes.ATTACK_DAMAGE).setBaseValue(20);
tasks.addTask(1, new EntityAIAttackMelee(this, 1, false));
Ive also tried Overriding attackEntityAsMob but it doesnt work and my entity class extends EntityCreature
Please Advise and Have a good day
Hello Please help me, I am trying to get an entity that one hit kills a player however whenever it attacks it only does three hearts
here is my applyEntityAttributes:
super.applyEntityAttributes(); getAttributeMap().registerAttribute(SharedMonsterAttributes.ATTACK_DAMAGE); getEntityAttribute(SharedMonsterAttributes.ATTACK_DAMAGE).setBaseValue(20);
tasks.addTask(1, new EntityAIAttackMelee(this, 1, false));
Ive also tried Overriding attackEntityAsMob but it doesnt work and my entity class extends EntityCreature
Please Advise and Have a good day