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.

Leaderboard

Popular Content

Showing content with the highest reputation on 08/19/17 in all areas

  1. http://mcforge.readthedocs.io/en/latest/networking/simpleimpl/
  2. Please post the Null Pointer Exception and how you register your Capability.
  3. You should use Entity#setPosition instead as it will setup a bounding box.
  4. World.spawnEntity(...)
  5. In the code that modifies that integer (I mean...you wrote it...)...check to see if that integer is greater than the desired number and if so, give the player the advancement (check vanilla code for how to award advancements).
  6. Ok, so. 1) It looks like you are storing the entity's name in a class field. You can't do this, Items are singletons. 2) You need to check whether or not you've already stored an entity or not, and if you have, do something different 3) Figure out how to spawn cows, then work out how to genericize it.
  7. Recipes are in a Forge registry, so use the corresponding registry event to register them. Ideally, recipes should be added through the JSON system where possible rather than being added in code.
  8. Whut. How about applying a Capability to the animals that stores the last world-time they were harvested? The butchers would then query that, do a calculation to see if that value is more than 24000 ticks ago, and then perform an action based on the result.
  9. As an alternative, in Java you can use the instanceof operator instead. So you could have put if (entity instanceof EntityCow)
  10. Yep, see the diamond sword recipe from vanilla: { "type": "crafting_shaped", "pattern": [ "X", "X", "#" ], "key": { "#": { "item": "minecraft:stick" }, "X": { "item": "minecraft:diamond" } }, "result": { "item": "minecraft:diamond_sword" } }
  11. No it's more like have users download 10+ files have users be so restrictive have modders discouraged from using the only modding api out there since forge killed mod loader!
  12. I'm working on a mod called MOAR STUFF. It adds stuff in general to Minecraft. I've added ench. emerald and obsidian armor, a grill, more weapons. Im planning to make a teleporter and a security camera. You know, just some useful nice stuff. What about you?

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.