Posted May 10, 201510 yr I am trying to get my TileEntity's BlockPos from the GUI (this.tileEntity.getPos() )... but the client-side version of my TileEntity has a BlockPos of 0,0,0 (which is wrong). Whats going on? Edit: see screenshot below during a debug session of my GUI constructor:
May 10, 201510 yr Are you sure your NBT load/save code is correct? (remember to call super.readFromNBT() as the first line?) Are your getDescriptionPacket() and onDataPacket() correct? A working example: https://github.com/TheGreyGhost/MinecraftByExample/blob/master/src/main/java/minecraftbyexample/mbe20_tileentity_data/TileEntityData.java -TGG
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.