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.

Rasdek11

Members
  • Joined

  • Last visited

Everything posted by Rasdek11

  1. K thanks
  2. So what should I do then... Do you know any other tutorials with updated codes?
  3. So... I tried to fix the ModItems.java but I feel like I just more screwed it up... Here is a result: public class ModItems { public static Item vapestick; public static void init() { vapestick = new ItemVapeStick(); } public static void register() { GameRegistry.register(vapestick); } public static void registerRenders() { registerRender(vapestick); } private static void registerRender(Item item) { System.out.println(item.getRegistryName()); ModelLoader.setCustomModelResourceLocation(item, 0, new ModelResourceLocation(item.getRegistryName(), "inventory")); } public class EventHandler { @SubscribeEvent public void pickupItem(EntityItemPickupEvent event) { System.out.println("Item picked up!"); } public void registerBlocks(RegistryEvent.Register<Block> event) { event.getRegistry().registerAll(); } } } Then in resources, there was pack.mcmeta file already so I edited it (in nope pad) and NoBrainly changed the code to that one you wrote above and lost the original code. After that, I couldn´t run the game, so I was forced to delete the file. I am a real beginner in MC modding and I just feel like I´m not able to do it. Would you be so kind and explain to me how to Register that item. I´m super confused off that article. I just wanted to learn something new.
  4. Nope, that didn´t help.
  5. Hi! I was trying to make my first MC mod and I already got stuck. I can´t get the texture for my item into the game ... can you please help me? VapeMod.java Reference.java CommonProxy.java ClientProxy.java ServerProxy.java ModItems.java ItemVapeStick.java itemvapestick.json Console output when I run the game...

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.