Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

megabitus

Members
  • Joined

  • Last visited

  1. 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
  2. Thanks for the fast answers. I have a chest that it will synchronize the items between worlds.
  3. Hi! As the title says is there a way to save data between saves?
  4. 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
  5. Thanks for the help, now it works perfectly!
  6. 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
  7. 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?
  8. 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(); } }
  9. Hi! How can I get the player name that placed a block?
  10. 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?
  11. 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.
  12. 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?
  13. 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?
  14. Thx for helping!!!!!!

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.