-
Minecraft Forge Frustrations. (help)
Did you install Minecraft Forge first before all the other mods?
-
Minecraft Forge Frustrations. (help)
Did you install Minecraft Forge first before all the other mods?
-
How to replace block and set with a different one
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)
-
Latest (recommended!) forge doesn't setup correctly [fixed]
Well apparently that caused even more problems than there should be. At least I can still use the usual method
-
How can I post messege to the screen?
Is this what you're looking for? Minecraft.getMinecraft().thePlayer.addChatMessage("your message");
-
Forge dimension teleportation
No problem Woops, forgot about that..
-
Forge dimension teleportation
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:
-
Generating a custom village?
Replace MapGenVillage with your custom village
IPS spam blocked by CleanTalk.