Jump to content

Rasdek11

Members
  • Posts

    5
  • Joined

  • Last visited

Rasdek11's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  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...
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.