Jump to content

Squishling

Members
  • Posts

    6
  • Joined

  • Last visited

Squishling's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. @Draco18s sorry to be a nag, but now it is displaying as the text Over a black and pink box. I think it might be something to do with it not loading my model file? EDIT: This is my model file: { "parent": "item/generated", "textures": { "layer0": "stestmod:items/packet" } }
  2. Thanks. Will try this tomorrow (in ~20 hrs). This sounds like a very logical soloution. EDIT: I tried it now, and I still have the same problem. Code used: package co.uk.squishling.TestMod.registry; import co.uk.squishling.TestMod.init.ModItems; import net.minecraftforge.client.event.ModelRegistryEvent; import net.minecraftforge.fml.common.Mod.EventBusSubscriber; import net.minecraftforge.fml.common.eventhandler.SubscribeEvent; @EventBusSubscriber public class ModelRegistry { @SubscribeEvent public void register(ModelRegistryEvent event) { ModItems.registerRenders(); } }
  3. https://github.com/Squishling/Test-Mod Hi. I am Squishling. I am having trouble with my first item's model rendering. I have tried everything that I have found online, but no luck. Goal: To have an item rendered with a texture. Status: Black & purple cube. I have included a link to my code (At the top) and my console output (below). Thanks in advance, ~ Squishling
  4. @Draco18s nevermind, just found that out 5 mins ago .__. I should have known, as I have made bukkit plugins.
  5. Hi. I am Squishling. I have found some code on the internet for use with registering items, as the tutorial I was following was outdated. Keep in mind that this is my first mod: @SubscribeEvent public static void register(RegistryEvent.Register<Item> event) { event.getRegistry().register(packet); } I am trying to register items, and would like to know what I need to use as the parameter for the method (RegistryEvent.Register<Item> event). Feel free to ask for any more information. Thanks in advance, ~ Squishling
×
×
  • Create New...

Important Information

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