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.

TheElementGuy

Members
  • Joined

  • Last visited

  1. I am using Forge 1.19.2. Crash report - https://gist.github.com/TheElementGuy/016f5a38f3bfcd5efe2c584c848bb71e
  2. As the title explains, I have to override the InterpolationData class, but it isn't public. How can I do this (if possible)?
  3. You would need to ask somewhere else (Forge doesn't have anything like that). Maybe Planet Minecraft?
  4. This forum doesn't support 1.8.x. It supports 1.19.x (Latest) and 1.18.x (LTS). If you need help, you will have to ask somewhere else.
  5. For a texture, I want it to interpolate, but it won't. mcmeta: { "animation" : { "frametime": 2, "interpolate": true, "frames": [ 0, 1, 2, 3, 4 ] } } For the image file: https://github.com/TheElementGuy/Greek-Myths-Mod/blob/main/src/main/resources/assets/greekmyths/textures/item/stygian_iron_ingot.png.mcmeta
  6. Looks like it's a problem with the ReAuth mod. Try contacting the mod authors.
  7. So, I have an item, and how would I make the name yellow?
  8. So Gradle stopped throwing errors, maybe I had a typo? Thank you for your help.
  9. Well, you could get the position, modify it to get the position of the block underneath, check if that block is air, and then destroy the original block using: ServerLevel#destroyBlock()
  10. Also, the only one that sets damage (LivingHurtEvent) doesn't let me get the target.
  11. I don't want to do that because then it would still show an animation.
  12. I have an AttackEntityEvent and I can't get it to cancel. public class ModEvents { @Mod.EventBusSubscriber(modid = GreekMythsMod.MOD_ID) public class ForgeEvents { @SubscribeEvent public static void onPlayerAttackEntity(AttackEntityEvent event) { ItemStack item = event.getEntity().getItemInHand(InteractionHand.MAIN_HAND); if (item == new ItemStack(ModItems.CELESTIAL_BRONZE_SWORD.get(), 1) && !(event.getTarget() instanceof Enemy)) { event.setCancelled(true); } } } } It is supposed to check if you are holding a celestial bronze sword and you are not hitting an enemy. It says that AttackEntityEvent is not cancelable.
  13. I am using the hurt entity method and it doesn't have AttackEntityEvent, LivingAttackEvent, or LivingHurtEvent. Do I create a new one or change methods?
  14. I ended up figuring it out. I hadn't imported the correct packages. Thank you for all the help you have given.

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.