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.

ShadowHoundz

Forge Modder
  • Joined

  • Last visited

  1. Have you tried studying the halfslab block code? It has the block code and that is how I've worked on my custom halfslabs.
  2. Before I look for problems I have to ask... Did you go to the dimension in your world before you put the replace stone and if so, did you make a new world to test it or delete the old dimension?
  3. I've got it fixed. Here is what my error was. private ItemStack[] inv; public TileEntityDNA(){ inv = new ItemStack[1]; } to private ItemStack[] inv; public TileEntityDNA(){ inv = new ItemStack[4]; } I had the variable set to 1 in the inv = new ItemStack[4]; which was causing my game to crash by it unable to process the slots.
  4. Thanks for the try, but I got the exact same error. I've already tried reading the error message before.
  5. Hi, I've recently been having multiple amounts of trouble when making this custom GUI. I'm not sure what I'm missing but I thought I'm supposed to change the ID in the Slot Constructor Please Excuse all the other code in kingdomcraft.java if its not conflicting, I just thought it could conflict in some small way so I posted all the code, it seems fine in the files its stating though so I dis included those so if you need those to find a problem, just ask. Lastly, sorry for my clumsy package organization. kingdomcraft.java ContainerDNA.java GuiDNA.java GuiHandler.java DNABlock.java TileEntityDNA.java ConnectionHandler.java ClientPacketHandler.java ServerPacketHandler.java ClientProxy.java CommonProxy.java Now, to help you find where to look here was my error msg, I cant find exactly how I'm getting it. ERROR If possible I wouldn't like a code fix but a small explanation, after all I'm gonna be doing more GUI's like this. Thanks for the help

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.