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.

MGlolenstine

Members
  • Joined

  • Last visited

Everything posted by MGlolenstine

  1. Ok. Thanks! But can you please explain ModeLoader more throughly or at least give me a link to API documentation?
  2. I was following this outdated tutorial... https://bedrockminer.jimdo.com/modding-tutorials/basic-modding-1-8/first-item/
  3. Ok, so I register my new item with this code public static void reg(Item item) { Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(item, 0, new ModelResourceLocation(modid + ":" + item.getUnlocalizedName().substring(5), "inventory")); } My item.json is { "parent":"builtin/generated", "textures": { "layer0":"simplerings:textures/wooden_ring" }, "display": { "thirdperson": { "rotation": [ -90, 0, 0 ], "translation": [ 0, 1, -3 ], "scale": [ 0.55, 0.55, 0.55 ] }, "firstperson": { "rotation": [ 0, -135, 25 ], "translation": [ 0, 4, 2 ], "scale": [ 1.7, 1.7, 1.7 ] } } } texture is located in /src/main/resources/textures/wooden_ring.png Error I get in the log: Description: There was a severe problem during mod loading that has caused the game to fail net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from Simple Rings (simplerings) Caused by: java.lang.NullPointerException at xyz.mglolenstine.SimpleRings.ItemRenderRegister.reg(ItemRenderRegister.java:12) at xyz.mglolenstine.SimpleRings.Rings.init(Rings.java:17) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:647) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) at com.google.common.eventbus.EventBus.post(EventBus.java:275) at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:253) at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:231) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) at com.google.common.eventbus.EventBus.post(EventBus.java:275) at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:148) at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:828) at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:357) at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:521) at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:352) at net.minecraft.client.main.Main.main(SourceFile:124) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
  4. My mistake... It's supposed to be "src/main/resources/mcmod.info"
  5. Ok, so I've built my first mod and when I launch Forge client, it starts and my plugin works. The only problem is that in the mod menu it doesn't say anything about the mod, not even the info I supplied in the mcmod.info file. All I see is "No mod information found. Ask your mod author to provide a mod mcmod.info file" When I close my minecraft and console pops up, I see this "[simplerings]: Mod simplerings is missing the required element 'name'. Substituting simplerings" My mcmod.info file is located in "src/resources/mcmod.info" and it looks as following [{ "modid": "simplerings", "name": "Simple Rings", "description": "Simple rings allow you to fly without having to get rare resources. But with great power comes great responsibility. Although basic ones are cheap, they're also limited.", "version": "${version}", "mcversion": "${mcversion}", "logoFile": "assets/examplemod/textures/logo.png", "url": "mglolenstine.xyz/mods/", "updateJSON": "mglolenstine.xyz/mods/SimpleRings/versions.json", "authorList": ["MGlolenstine"], "credits": "I'd like to thank my friends for not giving up on me." }] So please help!
  6. After installing forge's build.gradle file in my IntelliJ project, I get this error.

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.