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.

Nicba1010

Forge Modder
  • Joined

  • Last visited

  1. This is the way to register it NetworkRegistry.INSTANCE.registerGuiHandler(instance, new GUIHandler());
  2. Thx shield and grey. Yes shield that is what I meant TGG thx for that piece, it was easy to figure out once I had an example. Just so others can see: private boolean isDoorOpen(World world, int x, int y, int z) { int metadata = world.getBlockMetadata(x, y, z); return (metadata & 4) != 0; }
  3. I don't know, try putting the Chat color signs maybe.
  4. Hey guys I have only one question. Since I have never worked with bitwise operators I can't figure is out myself. How would I check if a door is open? Sincerely, Roberto
  5. I don't have the answer to your question, but please update to 1.7. Packet Handling is much simpler!
  6. All I can tell you is the same thing I did with my custom door! N steps! 1: copy the whole BlockStairClass. 2: deobfuscate it as much as you can if it's not already deobfuscated 3: do one and 2 for all classes it needs to function properly ( for me it was ItemDoor) 4: repeat 1 and 2 for those classes (if any) 5: remove unnecessary things 6: profit???
  7. I'm a fucking idiot! Didn't make the door item -.-
  8. Oh and @Mod.EventHandler or @EventHandler is for registering your events so forge can find them!
  9. Nope not mine But very good, I bookmarked them when I was using them, so I wanted to share them with you. I'm not an ultra advanced user, but if you need help with something you can always pm me. I'm more than good with Java. 1st place in a Balkan(5 country (I think)) competition.
  10. oh and btw http://mousetutorial.co.nf
  11. Ok, FIRST, you NEED to know at least basic Java: by that I mean, OOP, and ,well OOP. Then, work through ALL of the tutorials, doesn't matter if you will not make a custom chest! Learn it you might need it. And if I may suggest learning NBT, you're gonna need it. Good luck!
  12. So I've wanted to make a new door, with a code gui. I have a problem obviously. BlockBase: BlockContainerBase: BlockCodeDoor: So, the problem is that the block is displaying invisible, and does not have a 2 high bounding box; P.S. I have no texture, but it should have that pretty (khm sarcasm) pink-black missing texture. P.P.S. As you see I've taken my time to deobf the code so you can read it easier!

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.