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.

MinecraftWero

Forge Modder
  • Joined

  • Last visited

  1. I guess there was an issue with formatting in the main post.. anyways I managed to fix it, here is my item class:
  2. what code do you need? I thought I posted everything that was needed
  3. wow I feel so dumb now.. that fixed it! thank you. Edit: is there anyway to make it sound as soon as I press the right click? it's working now but it has a tiny delay.
  4. Hello, I wanted to add a custom sound to my mod and it registers but it sounds different than the sound I want to use, here's my code: SoundHandler
  5. heres the error EDIT: Here's my code:
  6. I tried using this RenderingRegistry.registerEntityRenderingHandler(EntityBacon.class, new RenderSnowball(ModItems.rawbacon )); But it asks me to add arguments and i tried everything but can't figure it out.
  7. So i made an item that launches another custom item, and it is working, but i want the render to look like the snowball looks when you throw it I don't want a custom model. How would i go about this?
  8. You know what i am just dumb, i thought it was named correctly i was missing an "s". Feeling really stupid now thanks!
  9. I am having this error in the console:
  10. what i did was create a new class for the rendering of my items: public static void registerItemRender(){ } public static void register(Item item){ Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(item, 0, new ModelResourceLocation(Strings.MODID + ":" + item.getUnlocalizedName().substring(5), "inventory"));
  11. Yeah about that.. the /. is just to show the locactions on mac. But i found this code on the forums: export _JAVA_OPTIONS='-Xmx2G' Basically when you select the folder to install the mdk you type this on terminal and start the gradlew setupDecompWorkspace the process will start and it will say "picked up JAVA_OPTIONS" So now i fixed the problem and i am ready to start coding 1.9.4! EDIT: uhm for some reason the eclipse folder was not created i was following the forge documentation but i will see what i can do.
  12. Uhm i don't see what i am missing, the wikipedia page said /Users/<username> so that's where i put the gradle folder . Sorry i really sound like am new here, i used to have a mod "the bacon mod" but i left it a while ago and now i want to comeback to the modding scene but lots of things have changed since last time i modded.
  13. Okay so i tried installing it again with no luck, it still gives me the same message, maybe i have to do some more research or the properties file is wrong?
  14. alright so i did this: the gradle.properties has only this line: org.gradle.jvmargs=-Xmx2G is that correct?

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.