Jump to content

siiikooo0743

Forge Modder
  • Posts

    42
  • Joined

  • Last visited

Everything posted by siiikooo0743

  1. Oh that is so obvious! Why didn't I see that method? Thanks man
  2. Hi, my tileEntityControler is not beeing placed, when i place the Block. What did I do wrong? GitHub:https://github.com/siiikooo0743/Extradimensional-Hotbar/tree/master/MCP/mcp/src/minecraft/siiikooo0743/EXDIHO Thanks in previous siiikooo0743
  3. Thank you very much siiikooo
  4. Hi can i detect if a player has a gui opened? siiikooo
  5. That doesnt work for me (I'm under Linux/Kubuntu) Thank you that should work. For everyone who has the same problem: Minecraft.getMinecraft().setIngameNotInFocus(); befor the breakpoint should also work fine. siiikooo
  6. @diesieben07 Why can't I? I just pass the World- Parameter of the createNewTileEntity as an parameter to my TE. That seemed to work fine.
  7. @ hydroflame The Array "content" is null and the int sze is 0. What do I need to do? I did it like in the tutorial: http://www.minecraftforge.net/wiki/Basic_Tile_Entity Thanks for answering btw
  8. @Guff I set the worldObj. because otherwise this happens: java.lang.NullPointerException at net.minecraft.tileentity.TileEntity.getBlockMetadata(TileEntity.java:177) at siiikooo0743.EXDIHO.TileEntityControler.<init>(TileEntityControler.java:30) at siiikooo0743.EXDIHO.Controler.createNewTileEntity(Controler.java:78) at net.minecraft.block.Block.createTileEntity(Block.java:1779) at net.minecraft.world.chunk.Chunk.getChunkBlockTileEntity(Chunk.java:987) at net.minecraft.world.chunk.Chunk.setBlockIDWithMetadata(Chunk.java:759) at net.minecraft.world.World.setBlock(World.java:557) at siiikooo0743.EXDIHO.ItemBlockControler.placeBlockAt(ItemBlockControler.java:39) at net.minecraft.item.ItemBlock.onItemUse(ItemBlock.java:119) at net.minecraft.item.ItemStack.tryPlaceItemIntoWorld(ItemStack.java:152) at net.minecraft.client.multiplayer.PlayerControllerMP.onPlayerRightClick(PlayerControllerMP.java:401) at net.minecraft.client.Minecraft.clickMouse(Minecraft.java:1378) at net.minecraft.client.Minecraft.runTick(Minecraft.java:1854) at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:898) at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:826) at net.minecraft.client.main.Main.main(Main.java:93) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at net.minecraft.launchwrapper.Launch.launch(Launch.java:57) at net.minecraft.launchwrapper.Launch.main(Launch.java:18) EDIT: I removed the Minecraft.getMinecraft().theWorld.markBlockForUpdate(this.xCoord, this.yCoord, this.zCoord);
  9. Hi, I'm initialising my TileEntity in the Constructor of it, but at the point when i want to open my GUI the data is null. My code is here: https://github.com/siiikooo0743/Extradimensional-Hotbar Siiikooo0743
  10. That's what i'm doing to get to eclipse^^ But then i can't move my mouse.
  11. I'm under Linux(Kubuntu) But thanks anyway
  12. Hi, i'm working with Eclipse and i want to debug my Mod. But when i reach the breakpoint I'm not in a GUI, so the mouse is stuck in the center of the screen and I can't use My Mouse in Eclipse. Is there any way to prevent that from happening? siiikooo
  13. Found sth: http://www.minecraftforum.net/topic/1597083-how-to-save-custom-data-with-a-player/ I will leave that post here, if someone has a similar problem.
  14. Is it possible to add variables to the InventoryPlayer class, that get saved with the world? Thanks in previous. siiikooo
  15. Is it possible to detect in the world(not in a gui) if the scroll wheel on the mouse is used? If yes how? EDIT: Another thing: How can i determine the player who pressed a hot key when using the forge KeyHandler? Thanks siiikooo
×
×
  • Create New...

Important Information

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