
LeiteDesnatado
Members-
Content Count
15 -
Joined
-
Last visited
Community Reputation
0 NeutralAbout LeiteDesnatado
-
Rank
Tree Puncher
Recent Profile Visitors
370 profile views
-
Why is my helmet armor model isn't loading properly?, I'm almost sure it's my model class because a model I downloaded worked fine package com.leitedesnatado.examplemod.client.model; import com.mojang.blaze3d.matrix.MatrixStack; import com.mojang.blaze3d.vertex.IVertexBuilder; import net.minecraft.client.renderer.entity.model.BipedModel; import net.minecraft.client.renderer.model.ModelRenderer; import net.minecraft.entity.LivingEntity; import net.minecraftforge.api.distmarker.OnlyIn; import net.minecraftforge.api.distmarker.Dist; @OnlyIn(Dist.CLIENT) public class ModelGoggles extends BipedModel<LivingEntity> { private ModelRenderer armorHead; public ModelGoggles(float modelSize) { super(modelSize, 0.0F, 64, 64); armorHead = new ModelRenderer(this); armorHead.setRotationPoint(0.0F, 0.0F, 0.0F); armorHead.setTextureOffset(11, 0).addBox(-4.0F, -5.0F, -5.0F, 8.0F, 3.0F, 1.0F, 0.0F); armorHead.setTextureOffset(0, 10).addBox(4.0F, -4.0F, -5.0F, 1.0F, 1.0F, 9.0F, 0.0F); armorHead.setTextureOffset(0, 0).addBox(-5.0F, -4.0F, -5.0F, 1.0F, 1.0F, 9.0F, 0.0F); armorHead.setTextureOffset(11, 11).addBox(-5.0F, -4.0F, 4.0F, 10.0F, 1.0F, 1.0F, 0.0F); bipedHead.addChild(armorHead); } public void setRotationAngles(LivingEntity entityIn, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch) { super.setRotationAngles(entityIn, limbSwing, limbSwingAmount, ageInTicks, netHeadYaw, headPitch); } @Override public void render(MatrixStack matrixStackIn, IVertexBuilder bufferIn, int packedLightIn, int packedOverlayIn, float red, float green, float blue, float alpha) { super.render(matrixStackIn, bufferIn, packedLightIn, packedOverlayIn, red, green, blue, alpha); } public void setRotationAngle(ModelRenderer modelRenderer, float x, float y, float z) { modelRenderer.rotateAngleX = x; modelRenderer.rotateAngleY = y; modelRenderer.rotateAngleZ = z; } }
-
If I build a structure using a modded block I created then make it into a nbt file to use the structure in my mod and later modify the block(for example adding a property) will the structure block have the new property?
-
How can I use the villager/wandering trade system in my entity and make custom trades?
-
Do you have an example code?
-
How could I make an event to for example make all parrots variant 2 or all creepers charged? because what define this conditions are private
-
why is forge modding so darn hard
LeiteDesnatado replied to Crazy_sheep's topic in General Discussion
Even though it's old you can watch thenewboston's java tutorials it's really good -
why is forge modding so darn hard
LeiteDesnatado replied to Crazy_sheep's topic in General Discussion
I agree with other people said about learning java first, but as a beginner I think it's hard to learn modding because there aren't many tutorials and most of them are incomplete -
[1.15.2]Why am I getting this error?
LeiteDesnatado replied to LeiteDesnatado's topic in Modder Support
It worked thank you! -
[1.15.2]Why am I getting this error?
LeiteDesnatado replied to LeiteDesnatado's topic in Modder Support
How could I fix that? -
I'm making an entity and I'm getting this error in the class ModEntityTypes in the entity penguin when registering it (before I created the penguin entity my another entity was working fine) Error in eclipse: https://prnt.sc/vlmsev Github: https://github.com/LeiteDesnatado/Mod Class ModEntityTypes: https://pastebin.com/U8qnCFCd Class PenguinEntity: https://pastebin.com/mQfPtiYu
-
LeiteDesnatado started following [1.15.2] Is there any open source mod that I can learn from?
-
[1.15.2] How do I make entity swim and breath underwater?
LeiteDesnatado replied to LeiteDesnatado's topic in Modder Support
Thank you! -
I'm a beginner in modding, and my item texture aren't showing up, can someone say what did I do wrong? and I know I shouldn't be using IHasModel but I'm a beginner and writting good code is not a think I'm looking for right now Code: https://github.com/LeiteDesnatado/testmod