
Ragnar
Members-
Posts
85 -
Joined
-
Last visited
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
Ragnar's Achievements

Stone Miner (3/8)
0
Reputation
-
I made a custom armor model, now how do I make the model stay in the item? for example, the jetpack mekanism mod.
-
How to Create Custom Model Armor Without Programs
Ragnar replied to Ragnar's topic in Modder Support
someone? -
How to Create Custom Model Armor Without Programs
Ragnar replied to Ragnar's topic in Modder Support
was this, it worked but I had done just to see how it did, can you explain me how is the model render addBox? I speak the arguments, as they told me about .json models -
How to Create Custom Model Armor Without Programs
Ragnar replied to Ragnar's topic in Modder Support
my class does not extend ItemArmor, how can I render the armor if it does not extend to ItemArmor? -
How to Create Custom Model Armor Without Programs
Ragnar replied to Ragnar's topic in Modder Support
Someone knows how to tell me -
How to Create Custom Model Armor Without Programs
Ragnar replied to Ragnar's topic in Modder Support
the model does not appear, I do not know if it has to put in init, pre init or do something else -
How to Create Custom Model Armor Without Programs
Ragnar replied to Ragnar's topic in Modder Support
is this right? @SideOnly(Side.CLIENT) public class ModelElectricBoots extends ModelBiped{ ModelRenderer rightLeg; ModelRenderer leftLeg; public ModelElectricBoots() { textureWidth = 64; textureHeight = 64; rightLeg = new ModelRenderer(this, 0, 32); rightLeg.addBox(10F, 1F, 10F, 6, 8, 8); setRotation(rightLeg, 1F, 2F, -1F); rightLeg.setTextureSize(64, 64); rightLeg.mirror = true; rightLeg.setRotationPoint(-1F, -2F, 1F); leftLeg = new ModelRenderer(this, 0, 32); leftLeg.addBox(10F, 1F, 10F, 6, 8, 8); setRotation(rightLeg, 1F, 2F, -1F); leftLeg.setTextureSize(64, 64); leftLeg.mirror = true; leftLeg.setRotationPoint(-1F, -2F, 1F); bipedRightLeg.addChild(rightLeg); bipedRightLeg.addChild(leftLeg); } public void render(Entity entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch, float scale) { super.render(entity, limbSwing, limbSwingAmount, ageInTicks, netHeadYaw, headPitch, scale); setRotationAngles(limbSwing, limbSwingAmount, ageInTicks, netHeadYaw, headPitch, scale, entity); } public void setRotation(ModelRenderer model, float x, float y, float z) { model.rotateAngleX = x; model.rotateAngleY = y; model.rotateAngleZ = z; } } in armor class @SideOnly(Side.CLIENT) public ModelBiped getArmorModel(EntityLivingBase entityLiving, ItemStack itemStack, EntityEquipmentSlot armorSlot, ModelBiped _default) { ModelElectricBoots electricBoots = new ModelElectricBoots(); return electricBoots; } -
How to Create Custom Model Armor Without Programs
Ragnar replied to Ragnar's topic in Modder Support
For you, it's easy, you know how to program, you know how to speak English ... -
How to Create Custom Model Armor Without Programs
Ragnar replied to Ragnar's topic in Modder Support
public class LayerBipedArmor extends LayerArmorBase<ModelBiped> { public LayerBipedArmor(RenderLivingBase<?> rendererIn) { super(rendererIn); } protected void initArmor() { this.modelLeggings = new ModelBiped(0.5F); this.modelArmor = new ModelBiped(1.0F); } @SuppressWarnings("incomplete-switch") protected void setModelSlotVisible(ModelBiped p_188359_1_, EntityEquipmentSlot slotIn) { this.setModelVisible(p_188359_1_); switch (slotIn) { case HEAD: p_188359_1_.bipedHead.showModel = true; p_188359_1_.bipedHeadwear.showModel = true; break; case CHEST: p_188359_1_.bipedBody.showModel = true; p_188359_1_.bipedRightArm.showModel = true; p_188359_1_.bipedLeftArm.showModel = true; break; case LEGS: p_188359_1_.bipedBody.showModel = true; p_188359_1_.bipedRightLeg.showModel = true; p_188359_1_.bipedLeftLeg.showModel = true; break; case FEET: p_188359_1_.bipedRightLeg.showModel = true; p_188359_1_.bipedLeftLeg.showModel = true; } } protected void setModelVisible(ModelBiped model) { model.setVisible(false); } @Override protected ModelBiped getArmorModelHook(net.minecraft.entity.EntityLivingBase entity, net.minecraft.item.ItemStack itemStack, EntityEquipmentSlot slot, ModelBiped model) { return net.minecraftforge.client.ForgeHooksClient.getArmorModel(entity, itemStack, slot, model); } } I do not see anything that does the model of the armor here -
How to Create Custom Model Armor Without Programs
Ragnar replied to Ragnar's topic in Modder Support
Can anyone help me with this? -
How to Create Custom Model Armor Without Programs
Ragnar replied to Ragnar's topic in Modder Support
Can you give me a sample code for a modified armor model? just to have a base please -
How to Create Custom Model Armor Without Programs
Ragnar replied to Ragnar's topic in Modder Support
my armor is not crazy, it's just blocks together -
How to Create Custom Model Armor Without Programs
Ragnar replied to Ragnar's topic in Modder Support
still unclear -
How to Create Custom Model Armor Without Programs
Ragnar replied to Ragnar's topic in Modder Support
I do not mean without programming, I expressed myself poorly, I mean using only eclipse without other programs like the Techne -
How to Create Custom Model Armor Without Programs
Ragnar replied to Ragnar's topic in Modder Support
I just found a tutorial that uses a program called Techne, which after you create the armature it gives you a .java file which is a ready class. And no tutorial that teaches you to do without the program, just writing in class