-
[1.7.10]Textfield crash
When I open the GUI minecraft crashes with this: TileEntityInterChest: https://github.com/megabitus98/Blocks-Items-Revolution/blob/master/src/main/java/com/mega/bir/block/tileentity/TileEntityInterChest.java GuiInterChest: https://github.com/megabitus98/Blocks-Items-Revolution/blob/master/src/main/java/com/mega/bir/client/interfaces/interchest/GuiInterChest.java
-
[1.7.10]Save data between minecraft saves
Thanks for the fast answers. I have a chest that it will synchronize the items between worlds.
-
[1.7.10]Save data between minecraft saves
Hi! As the title says is there a way to save data between saves?
-
[1.7.10]Custom Crafting not working
Hi! I've made a custom crafting for my Machine and when I place the items It doesn't craft, I get no error, can you help me? This is my ContainerMachine: This is my GuiMachine: This is my MachineComparator: This is my MachineCraftingManager: This is my MachineShapedRecipes: This my MachineShapelessRecipes: And here is my Github with the last commit: https://github.com/megabitus98/Blocks-Items-Revolution
-
[SOLVED][1.7.10]Ghost items drop
Thanks for the help, now it works perfectly!
-
[SOLVED][1.7.10]Ghost items drop
I've tried to do like this @Override public void onContainerClosed(EntityPlayer entityplayer) { super.onContainerClosed(entityplayer); for(int i = 0; i < TileEntityInterChest.INVENTORY_SIZE; i++) { ItemStack itemstack = craftMatrix.getStackInSlot(i); if(itemstack != null && worldObj.isRemote) { entityplayer.entityDropItem(itemstack, 0.05F); } } } But it crashes now: And here is my entire class: https://github.com/megabitus98/Blocks-Items-Revolution/blob/master/src/main/java/com/mega/bir/client/interfaces/machine/ContainerMachine.java
-
[SOLVED][1.7.10]Ghost items drop
Hi! I have a block that when I close the GUI I drop the items that are in slots, they drop but they leave ghost blocks, here is the code: @Override public void onContainerClosed(EntityPlayer entityplayer) { super.onContainerClosed(entityplayer); for(int i = 0; i < TileEntityInterChest.INVENTORY_SIZE; i++) { ItemStack itemstack = craftMatrix.getStackInSlot(i); if(itemstack != null) { entityplayer.entityDropItem(itemstack, 0.05F); } } } Can someone help me?
-
[SOLVED][1.7.10]Get the player name that placed a block
Thanks! I've done it like this: @Override public void onBlockPlacedBy(World world, int par2, int par3, int par4, EntityLivingBase entity, ItemStack itemstack) { if(entity instanceof EntityPlayer){ EntityPlayer player = (EntityPlayer) entity; PlayerName = player.getDisplayName(); } }
-
[SOLVED][1.7.10]Get the player name that placed a block
Hi! How can I get the player name that placed a block?
-
[1.7.10]Block a slot in GUI
Hello! I have a Gui with 2 slots and I want to block one of them so the player can only take items from one and put items in the other, does anybody know how to do this?
-
[SOLVED][1.7.10]How to create a text box in GUI
THX Works perfectly!!!!
-
[SOLVED][1.7.10]How to create a text box in GUI
stop, stop. How it how it helps, if GUI closes while typing 'e' letter? Is right we want to stop closing the Gui when we press E.
-
[SOLVED][1.7.10]How to create a text box in GUI
THX so much for the fast reply but, when I press 'e', I exit the GUI while I was typing, how can this be fixed?
-
[SOLVED][1.7.10]How to create a text box in GUI
Hi! I have an GUI made, and I want to add a text box to it but I don't know how, can someone help me?
-
[1.7.2]GUI Doesn't work
Thx for helping!!!!!!
IPS spam blocked by CleanTalk.