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. Just use worldIn.setWorldTime.
  2. I'd recommend this tutorial (https://www.learneroo.com/modules/11) and once you're comfortable with the basics of Java, then research some basic mod tutorials
  3. It's better to make a system where users can make skills into text or JSON files, then you interpret them into Java.
  4. https://www.learneroo.com/modules/11
  5. This is the saddest thread I have read in a long time. https://www.learneroo.com/modules/11
  6. Do research. There are tutorials for this.
  7. It should work.
  8. http://bedrockminer.jimdo.com/modding-tutorials/basic-modding/custom-food/
  9. There is a stepping sound method I believe. Look in EntityLivingBase.
  10. Don't make effect ID static! You don't even need it. Just create a new instance of the enchantment (in the main mod class) and use that instance's effectId, as it is already a field in Enchantment.class.
  11. What about ItemStacks? For example, if I click a block with my item, it will put it with metadata in my inventory.
  12. The game searches for a model to load for my item. I don't want to have a model.
  13. Well that would, well, be a starting point. Then you could from there call some world generation methods. Look around in world generator classes.
  14. In my mod I want to not have a model for my item, as in not to print a stacktrace for a missing file. Any suggestions?
  15. Nonono...oh god. Just delete all of the world by setting the state to Blocks.air.getDefaultState()
  16. I believe there are some methods that let you destroy all blocks in a given bounding box. Look at World.class.
  17. Make a copy of the games array list using new ArrayList<>(games). Iterate over that. Then modify the elements in the old array list as you wish.
  18. Hopefully this gets added soon!
  19. Sigh.... int x, int y, int z Are parameters. Use them.
  20. What.... The world does not exist when you initialize the mod. What are you trying to do?
  21. One mistake. Months start at 0, not 1. So check if the month is 11, not 12.
  22. To expand on Ben's explanation, you will always register the recipe. Whether or not the recipe is called depends on the day. See here for how to get the month and day.
  23. What? It is supposed to be automatically there. You did setupDecompWorkspace right?
  24. ...ignoring circlejerk username. world.createExplosion is the function you want.

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.