Started by
Pepigeon
on
Topic category: Help with Minecraft modding (Java Edition)
i am modding a mob that has a model that i can't make smaller in blockbench because it has already blocks that are 1x1 and a java model can't be smaller so what code do i need to edit/ import to make my mob 2x smaller? and where do i need to do that? i am a beginner and the other forums are confusing and old?
first of all, i would think it would look better in minecraft if you use the regular scale
if you want smaller, you can probably convey it by fitting a texture onto a space that's 2x smaller than what the texture would normally fit on
go to the mob elemete, lock it.
open up "entityname"Renderer.java.
add "import com.mojang.blaze3d.vertex.PoseStack;
then add " protected void scale(SnifferEntity p_116460_, PoseStack p_116461_, float p_116462_) {
p_116461_.scale(0.5F, 0.5F, 0.5F);
}"
then edited the scale to fit how you'd like it.
Okay, but where would I put these bits and bobs?
ContinuedOak literaly said where lol on the renderer file of the element
That much is obvious, I meant where in the file.
And I solved the problem now