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.

Master4902

Members
  • Joined

  • Last visited

  1. Did you install Minecraft Forge first before all the other mods?
  2. Did you install Minecraft Forge first before all the other mods?
  3. Try this: public boolean onBlockActivated(World world, int i, int j, int k, EntityPlayer entityplayer, int par6, float par7, float par8, float par9) { Item equipped = entityplayer.getCurrentEquippedItem() != null ? entityplayer.getCurrentEquippedItem().getItem() : null; if (equipped instanceof Wand1) { world.setBlock(i + Facing.offsetsXForSide[par6], j + Facing.offsetsYForSide[par7], k + Facing.offsetsZForSide[par8], ModBase.nexussoil.blockID); } return true; } If not public boolean onBlockActivated(World world, int i, int j, int k, EntityPlayer entityplayer, int par6, float par7, float par8, float par9) { Item equipped = entityplayer.getCurrentEquippedItem() != null ? entityplayer.getCurrentEquippedItem().getItem() : null; if (equipped instanceof Wand1) { world.setBlock(i , j , k, ModBase.nexussoil.blockID); } return true; } If not, then just tweak the code by changing the instanceof or adding !world.isRemote If not, well, I don't know EDIT: Replace (equipped instanceof Wand1) with (equipped.itemId() == youritem.id)
  4. Well apparently that caused even more problems than there should be. At least I can still use the usual method
  5. Is this what you're looking for? Minecraft.getMinecraft().thePlayer.addChatMessage("your message");
  6. No problem Woops, forgot about that..
  7. What's wrong with onEntityCollide? Just put this in: ModLoader.getMinecraftServerInstance().getConfigurationManager().transferPlayerToDimension(playerMP, dimensionToTeleport, new TheTeleporter()); EDIT: Here's what I use. Maybe this will help you:
  8. Replace MapGenVillage with your custom village

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.