GameSpriter
Members-
Posts
3 -
Joined
-
Last visited
Converted
-
Gender
Undisclosed
-
Personal Text
I am new!
GameSpriter's Achievements
Tree Puncher (2/8)
0
Reputation
-
[1.10.2/1.9.4] Adding a sapling (texture only)
GameSpriter replied to spazzmods's topic in Modder Support
Sorry, I should have specified a bit more. Where do I get an IStateMapper from? I tried looking around but I can't seem to find where I create one. public static Builder build; build.build() Above returns a StateMapper and I'm not sure how to get a StateMapper into an IStateMapper. -
[1.10.2/1.9.4] Adding a sapling (texture only)
GameSpriter replied to spazzmods's topic in Modder Support
Okay, so I put the ModelLoader.setCustomStateMapper inside our ClientProxy. The issue I have is that we don't have more than one type of tree, and so I haven't created a "EnumType" for our wood. ...withName(BlockShinySapling.Type).withSuffix(_sapling).build(); This part is what I'm struggling with understanding what to do with. I can go in and create an enum for the wood type, but it seems like there would be a simpler way of doing this for only one wood type. Also, should I also be using the ModelLoader for all of our other blocks that are just the decorative ones with no special rendering? I have yet to figure out how to do that just by reading BlockModelShapes.class and ModelLoader.class. This is honestly probably going to be something with a very simplistic answer and it's just going over my head. -
[1.10.2/1.9.4] Adding a sapling (texture only)
GameSpriter replied to spazzmods's topic in Modder Support
So, as a beginner modder, I'm a little lost based on your explanation. Where would I call the StateMap.Builder? Also, what's the difference between using ModelLoader.setCustomModelResourceLocation/setCustomMeshDefinition and using Minecraft.getMinecraft().getRenderItem().getItemModelMesher() ? If you can't answer this specifically then is there somewhere I can get detailed documentation on these things without just peering at the forge source? Preferably somewhere with an example as to how these are used. It makes no difference to me if it's a video or written document as long as it's up to date with Minecraft 1.10.2. A lot of documentation seems to be out of date and a lot of things I have tried have failed due to changes in forge since the time of the written documentation being written. Thanks for the help!