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.

loordgek

Members
  • Joined

  • Last visited

Everything posted by loordgek

  1. how do you block them placing the blocks
  2. override hasTileEntity and return true
  3. works fine for me MinecraftForge.EVENT_BUS.register(new Eplosion()); public class Eplosion { @SubscribeEvent public void onExplosion(ExplosionEvent event) { LogHelper.info("BOOM"); } }
  4. move public ArrayList<String> Authorized = new ArrayList<String>(); to the tile dont use playerIn.getName use playerIn.getUniqueID and store the UUID
  5. gurujive you are not helping here
  6. what do i need for the inventory variant? and the item model looks like?
  7. put mods in a folder for the correct mc version you can get mods from https://minecraft.curseforge.com/mc-mods
  8. https://gist.github.com/anonymous/159c9d58ccde8e162b8b648a6129ec65 https://github.com/loordgek/Extragenarators/tree/trytofix this is my first time working w/ json so i dont know how it exactly works
  9. dont use that use this
  10. Also I don't think your Packets are Thread safe...you need to schedule a task. i know but i did not have any issues with it so far
  11. i do it also this way https://github.com/loordgek/Extragenarators/blob/master/src/main/java/loordgek/extragenarators/network/AbstractPacket.java https://github.com/loordgek/Extragenarators/blob/master/src/main/java/loordgek/extragenarators/network/GuiSyncPacket.java WildHeart did you watch minemaarten on how to code ?
  12. show a pic from your server mods folder
  13. try to fix it your self it is not hard
  14. it is better to set the stacksize for the bag to 1
  15. got it working WOOT note i did change a couple things in there @Override public Object getServerGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z) { TileEntity tileEntity = world.getTileEntity(new BlockPos(x, y, z)); switch (ID){ case TEST_CHEST: return new ContainerTestChest(player, (TileEntityTestChest) tileEntity); case TEST_BAG: return new ContainerTestBag(player); } return null; } @Override public Object getClientGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z) { TileEntity tileEntity = world.getTileEntity(new BlockPos(x, y, z)); switch (ID) { case TEST_CHEST: return new gui_test_chest(new ContainerTestChest(player, (TileEntityTestChest)tileEntity), (TileEntityTestChest) tileEntity); case TEST_BAG: return new GuiTestBag(new ContainerTestBag(player)); } return null; }
  16. put breakpoints on it and see what it does
  17. this does not work? @Override public void readFromNBT(NBTTagCompound compound) { super.readFromNBT(compound); container.deserializeNBT(compound.getCompoundTag("StoredJAE")); } what do you meen by
  18. no //write compound.setTag(name, serializable.serializeNBT()); //read serializable.deserializeNBT(compound.getCompoundTag(name))

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.