Hello people, im trying to make my mobs generate baby versions (half scale) when they breed, i was able to do on minecraft 1.12, but now the command GlStateManager.scale dont exist anymore i think... can someone please help me with this Code? Thank you!
here how i did on 1.12
@SideOnly(Side.CLIENT)
public void registerRenderers() {
RenderLiving customRender = new RenderLiving<EntityAgeable>(Minecraft.getMinecraft().getRenderManager(), new ModelBlackCaiman(), 0) {
protected ResourceLocation getEntityTexture(EntityAgeable par1Entity) {
return new ResourceLocation("Crocodile_BlackCaiman.png");
}
protected void preRenderCallback(EntityAgeable entitylivingbaseIn, float partialTickTime) {
float f = 1.4F;
if (entitylivingbaseIn.getGrowingAge() < 0) {
f = (float)((double)f * 0.5D);
this.shadowSize = 0.35F;
} else {
this.shadowSize = 0.7F;
}
GlStateManager.scale(f, f, f);
}
};
RenderingRegistry.registerEntityRenderingHandler(EntitycrocodileBlackCaiman.class, customRender);
}
It's a great tool if you want to add a custom stick to the game, beyond that it isn't. Posting solutions doesn't help people improve in the long run, while if they figure out how to do it through advice you give them they'll actually understand why it didn't work in the first place, and how to solve similar issues in the future.
Hello people, im trying to make my mobs generate baby versions (half scale) when they breed, i was able to do on minecraft 1.12, but now the command GlStateManager.scale dont exist anymore i think... can someone please help me with this Code? Thank you!
here how i did on 1.12
anyone? plese?
Nobody repling to me either
i dont know what is happening to the modding comunity really... nobody is helping each other anymore
what really pisses me off is Mojang changing the code all the time... make the life of modders a living hell
heeeeelp someone plz
Just execute the code that GlStateManager.scale(float, float, float) executes.
am java man 😎
thanks i forgot to tell i fix this already, i made this way if someone need (it goes on render model part instead):
This is the saddest thread I've ever read.
You use MCreator? Don't.
if you dont like Mcreator thats your problem bruh... its a tool, and a fantastic one... i see a lot of haters of Mcreators today... THIS is sad...
also notice i post the solutions that i find myself to other people... thats how the minecraft comunity should work...
GL11 is not suported on 1.15 i think... anyway its fixed thanks!
It works, but is not recommended, it's best to use the new MatrixStack class.
You use MCreator? Don't.
It's a great tool if you want to add a custom stick to the game, beyond that it isn't. Posting solutions doesn't help people improve in the long run, while if they figure out how to do it through advice you give them they'll actually understand why it didn't work in the first place, and how to solve similar issues in the future.
You use MCreator? Don't.