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 06/22/17 in all areas

  1. //on client if(world.isRemote) { //this will crash the dedicated server Minecraft mc = Minecraft.getMinecraft(); }
  2. 1 point
    For entities you need your own obj model loader/renderer. For items/blocks you need to put your model and material(.obj and .mtl files) in an appropriate models subfolder in your assets, point to that model through a blockstates file for example(if you are using forge's blockstates for items) and you are done. There are a few thing you need to know: 1. When specifying an obj model to be used you must include the obj extension in the path too. 2. You must call OBJLoader.INSTANCE.addDomain(modid) with your modid as a parameter before the models are loaded. Here(and the resources folder) is an example provided by forge itself.
  3. If you've set up your workspace correctly, the Minecraft and Forge source code should be available as the forgeSrc-<forgeVersion> referenced library. You can either browse to a class in the library or use Navigate > Class (Ctrl-N) in IDEA or Navigate > Go To > Type... in Eclipse. The Ender Dragon is implemented in the net.minecraft.entity.boss.EntityDragon class.
  4. For categories, you need to create static inner classes. @Config(modid = Echo.MODID, name = "Echo/" + Echo.NAME) public class ConfigHandler { public static Compat compat = new Compat(); public static class Compat { @Config.LangKey("config.echo:botania") @Config.Comment("Should Echo add any interactions at all with Botania?") public boolean botania = true; @Config.LangKey("config.echo:botania.pool") @Config.Comment("Should Echo add interactions with Botania's pools") public boolean botania_pool = true; @Config.LangKey("config.echo:botania.spreader") @Config.Comment("Should Echo add interactions with Botania's Spreader") public boolean botania_spreader = true; } } The configuration code above will contain a sub-category called "compat" that houses the 3 configs pertaining to that category. To access for example the botania_spreader config, I call ConfigHandler.compat.botania_spreader. I would recommend that you create individual classes for each file.

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.