Jump to content

clqrified

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by clqrified

  1. Is there a way for me to scrap the damage calculation of vanilla and change the formula. I want to change armor points from giving a flat 4% damage reduction bonus to a curve formula that makes higher defense less effective.
  2. I have done that and that returned an error, so i imported net.minecraft.world.entity.ai.attributes Now this is also returning the same error, cannot find symbol, specifically .attributes.
  3. I am trying to find the damage attribute of an item, which I already have a reference too. This is what I have tried. I checked my logs and it says that EntityAttributes is undefined. Is there any import I can add to fix this or just something else I can replace it with? itemstack.getAttributeModifiers(EquipmentSlot.MAINHAND).get(EntityAttributes.GENERIC_ATTACK_DAMAGE)
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.