-
Recently Browsing
No registered users viewing this page.
-
Posts
-
By diesieben07 · Posted
You still need reflection to register it. I don't know. It might be better to just make your own renderer and not use this vanilla stuff. -
I had asked on discord and someone suggested using reflection. but yeah, a subclass is way better This is correct? public class ModWoodType extends WoodType { public static final WoodType EFFETE = new ModWoodType("effete"); protected ModWoodType(String name) { super(name); } } Yeah, you told me that in another thread. But since I don't need to use reflection, I'm going to postpone studying error handling to another week And how should I go about doing that? I tried: @SubscribeEvent public static void modelRegistryEvent(ModelRegistryEvent e) { Atlases.SIGN_MATERIALS.put(ModWoodType.EFFETE, new RenderMaterial(Atlases.SIGN_ATLAS, new ResourceLocation("effetewood:entity/signs/effete"))); } It still doesn't work (The edit screen pops up for less than a second, and appear to have the missing pink/black texture), and the actual block just is invisible (dumb question: I don't need to specify "textures/entity/..." in the resouce location, right?)
-
By diesieben07 · Posted
I am locking this thread now, because too many irrelevant replies are coming in. If you have an issue, make your own thread and post logs. -
By diesieben07 · Posted
It is impossible for you to get this message on 1.14.4. Make your own thread and post logs.
-
-
Topics
-
Who's Online (See full list)