Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

clqrified

Members
  • 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)

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.