Everything posted by siiikooo0743
-
[Solved][1.6.2]Tile Entity not beeing placed?
Oh that is so obvious! Why didn't I see that method? Thanks man
-
[Solved][1.6.2]Tile Entity not beeing placed?
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
-
[Solved]Detecting if player is in Gui?
Thank you very much siiikooo
-
[Solved]Detecting if player is in Gui?
Hi can i detect if a player has a gui opened? siiikooo
-
[Solved]Eclipse breakpoint while not being in a GUI?
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
-
[Solved]Eclipse breakpoint while not being in a GUI?
anyone?
-
[1.6.2]TileEntity losing it's custom data
@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.
-
[1.6.2]TileEntity losing it's custom data
@ 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
-
[1.6.2]TileEntity losing it's custom data
@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);
-
[1.6.2]TileEntity losing it's custom data
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
-
[Solved]Eclipse breakpoint while not being in a GUI?
That's what i'm doing to get to eclipse^^ But then i can't move my mouse.
-
[Solved]Eclipse breakpoint while not being in a GUI?
I'm under Linux(Kubuntu) But thanks anyway
-
[Solved]Eclipse breakpoint while not being in a GUI?
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
-
[Solved]Adding variables too the InventoryPlayer class
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.
-
[Solved]Adding variables too the InventoryPlayer class
Is it possible to add variables to the InventoryPlayer class, that get saved with the world? Thanks in previous. siiikooo
-
Detecting the scroll wheel
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
IPS spam blocked by CleanTalk.