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.

Anon10W1z

Forge Modder
  • Joined

  • Last visited

Everything posted by Anon10W1z

  1. Oh....The problem was that it was moved to Entity.java in 1.8. Thanks!
  2. Oh my...why are you extending from BlockGrass?
  3. Use an enhanced for loop with the array and cast the current object to EntityItem, do a null check, and profit.
  4. With that name? I don't see it in the code.
  5. I could do this in 1.8 with setCustomNameTag(String) and getCustomNameTag() but not in 1.7...?
  6. Look again. Specifically, methods called on starting to use an item, using an item, and stopping using an item are all there.
  7. That's stupid, that's like saying I don't want to get a backpack from the car because I'm not driving the car...?
  8. Minecraft 1.7.2 is a bit strange and buggy, so 1.7.10 might handle this different. I'd advise you to upgrade your Forge.
  9. The way it's used is to check if it overrides a method. If a method does not override another, but it has the annotation, it won't compile.
  10. What are you saying deadrecon? You don't need @Override, it just helps.
  11. Uh oh. That is noobish code, learn Java. Use (!world.isRemote)
  12. You don't need a mod for that. Just go to your Minecraft, remove all servers and add the default one. Copy the servers.dat file in .minecraft to your mod pack main directory.
  13. Ok, what exactly are you trying to do? This world.setBlockToAir(x, y, z); can NEVER be run on the client! He never ran it on the client. He ran it on both sides. EDIT: That was really dumb.
  14. Use EntityEnderman.setCarriable(YourMod.yourBlock, true)
  15. What do you mean by random? A random number?
  16. See how soul sand does it.
  17. You have to add your blocks to the enderman carriable blocks list.
  18. Use The PlaceEvent to add an NBT tag to a block.
  19. This is a long way from being solved....can we stop arguing?
  20. So does my mod, Craft++. Config GUIs are very helpful.
  21. No! Again, you can't power blocks with an item.
  22. I always see other modders use code like this with the datawatcher: datawatcher.addObject(20, Integer.valueOf(7)); datawatcher.addObject(21, Byte.valueOf((byte) 0)); Why can't they just do this? datawatcher.addObject(20, 7); datawatcher.addObject(21, (byte) 0);

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.