Jump to content

Master4902

Members
  • Posts

    9
  • Joined

  • Last visited

Converted

  • Gender
    Male
  • Location
    Philippines
  • Personal Text
    Veteran

Master4902's Achievements

Tree Puncher

Tree Puncher (2/8)

5

Reputation

  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
×
×
  • Create New...

Important Information

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