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.

elementalvenom

Members
  • Joined

  • Last visited

Everything posted by elementalvenom

  1. Hey so I made some armor and everything seemed fine in single player as I was able to add every enchant to it(and still am) but I installed the mod on a server and try to add the enchant and the red X on the anvil just stays there. It doesn't say anything about levels or anything AND being in creative mode doesn't help. Any ideas? UPDATE: So it only does that for enchants I craft(I added crafting of a few of them) the code I use is this: ItemStack magicBook = new ItemStack(Items.enchanted_book); magicBook.addEnchantment(MainItems.finalStandEnchant, 2); GameRegistry.addRecipe(magicBook,new Object[]{"XXX","XZX","XXX",'X',Items.diamond,'Z',Items.book}); It doesn't let me apply the crafted one, but when I spawn the exsact same enchant in it lets me apply it. What am I doing wrong?
  2. Hey so I'm able to use player.getItemInUse() when I run it in single player. But when I connect to a server the server crashes when the code is run. This code is only allowed to run server side and I saw another forum post that said this cant be run server side. If I cant then how do I get what item the player has out?
  3. Oh, how do I make it so only the server calls it?
  4. Thank you that helped greatly, but now I have another problem: Its called the arrow event twice even though I only have the code in there once.
  5. yea I found a "onPlayerShootArrow" event and put it in my main class and put "@SubscribeEvent" Above it but the function never gets called
  6. Hey so I want to simply change the default minecraft bows damage to be double whenever my mods chestplate it equipt. I cant find ANY way to do this(After a little over a hour of searching) Any help is appreciated, thank you!

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.