Why is this code failing? (Player Rendering for 1.15.2)

Started by CaiGuyCrafter on Wed, 05/19/2021 - 18:18

Topic category: Troubleshooting, bugs, and solutions

Last seen on 02:36, 23. Jul 2021
Joined Dec 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Why is this code failing? (Player Rendering for 1.15.2)
Thu, 05/20/2021 - 22:34 (edited)

Okay, so I'm trying to render some hair onto the player. I've followed the code from Tbroski on the "1.15.2 -  Editing a Player Model?" forum by doing the exact file I have for the model and inputting it's contents in the place of what they had. (The file's name is "ModelJinRyuuHairColor1".) This is my code:

/**
 * This mod element is always locked. Enter your code in the methods below.
 * If you don't need some of these methods, you can remove them as they
 * are overrides of the base class TheMinecraftAnimeModModElements.ModElement.
 *
 * You can register new events in this class too.
 *
 * As this class is loaded into mod element list, it NEEDS to extend
 * ModElement class. If you remove this extend statement or remove the
 * constructor, the compilation will fail.
 *
 * If you want to make a plain independent class, create it using
 * Project Browser - New... and make sure to make the class
 * outside net.mcreator.theminecraftanimemod as this package is managed by MCreator.
 *
 * If you change workspace package, modid or prefix, you will need
 * to manually adapt this file to these changes or remake it.
*/
package net.mcreator.theminecraftanimemod;

import net.minecraftforge.fml.event.server.FMLServerStartingEvent;
import net.minecraftforge.fml.event.lifecycle.FMLCommonSetupEvent;
import com.google.common.collect.ImmutableList;
import com.mojang.blaze3d.matrix.MatrixStack;
import com.mojang.blaze3d.vertex.IVertexBuilder;
import net.minecraft.client.renderer.entity.model.AgeableModel;
import net.minecraft.client.renderer.model.ModelRenderer;
import net.minecraft.entity.LivingEntity;
import com.mojang.blaze3d.matrix.MatrixStack;
import com.mojang.blaze3d.vertex.IVertexBuilder;
import net.minecraft.client.entity.player.AbstractClientPlayerEntity;
import net.minecraft.client.renderer.IRenderTypeBuffer;
import net.minecraft.util.math.MathHelper;
import net.minecraft.client.renderer.ItemRenderer;
import net.minecraft.client.renderer.entity.IEntityRenderer;
import net.minecraft.client.renderer.entity.layers.LayerRenderer;
import net.minecraft.client.renderer.entity.model.EntityModel;
import net.minecraft.client.renderer.texture.OverlayTexture;
import net.minecraft.entity.LivingEntity;
import net.minecraft.entity.player.PlayerEntity;
import net.minecraft.client.renderer.entity.*;
import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.fml.event.lifecycle.FMLClientSetupEvent;
import net.minecraftforge.eventbus.api.SubscribeEvent;
import net.minecraft.client.renderer.entity.model.PlayerModel;
import net.minecraft.client.Minecraft;
import net.minecraftforge.fml.common.ObfuscationReflectionHelper;
import java.util.List;
import java.util.Map;
import net.minecraft.util.ResourceLocation;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.api.distmarker.OnlyIn;
import net.minecraftforge.api.distmarker.Dist;

@Mod.EventBusSubscriber(modid = "ModelHair_1_color_3", bus = Mod.EventBusSubscriber.Bus.MOD)
@ModelHair_1_color_31ModelModElements.ModElement.Tag
public class ModelHair_1_color_3 extends ModelHair_1_color_3ModElements.ModElement {
    /**
     * Do not remove this constructor
     */
    public ModelHair_1_color_3(ModelHair_1_color_3ModElements instance) {
        super(instance, 1);
    }
 
    @Override
    public void initElements() {
    }
 
    @OnlyIn(Dist.CLIENT)
    @Override
    public void clientLoad(FMLClientSetupEvent event)
    {
        Map<String, PlayerRenderer> playerSkinMap = Minecraft.getInstance().getRenderManager().getSkinMap();
        ModelHair_1_color_3.addPlayerLayers(playerSkinMap.get("default"));
        ModelHair_1_color_3.addPlayerLayers(playerSkinMap.get("slim"));
    }
 
    @Override
    public void init(FMLCommonSetupEvent event) {
    }
 
    @Override
    public void serverLoad(FMLServerStartingEvent event) {
    }
 
public static void addPlayerLayers(PlayerRenderer renderer)
    {
        List<LayerRenderer<AbstractClientPlayerEntity, PlayerModel<AbstractClientPlayerEntity>>> layers = ObfuscationReflectionHelper.getPrivateValue(LivingRenderer.class, renderer, "field_177097_h");
        if(layers != null)
        {
        layers.add(new playerlayer<>(renderer));
        }
    }

 public static class player<T extends LivingEntity> extends AgeableModel<T> {
 
    public final ModelRenderer head_joint;
	public final ModelRenderer bang_right_1;
	public final ModelRenderer bang_right_2;
	public final ModelRenderer bang_right_3;
	public final ModelRenderer bang_right_4;
	public final ModelRenderer bang_middle;
	public final ModelRenderer bang_left_1;
	public final ModelRenderer bang_left_2;
	public final ModelRenderer bang_left_3;
	public final ModelRenderer bang_left_4;
	public final ModelRenderer bang_left_5;
	public final ModelRenderer hair_right_1;
	public final ModelRenderer hair_right_2;
	public final ModelRenderer hair_right_3;
	public final ModelRenderer hair_right_4;
	public final ModelRenderer hair_left_1;
	public final ModelRenderer hair_left_2;
	public final ModelRenderer hair_left_3;
	public final ModelRenderer hair_left_4;
	public final ModelRenderer hair_left_5;
	public final ModelRenderer hair_left_6;
	public final ModelRenderer hair_left_7;
	public final ModelRenderer hair_left_8;
	public final ModelRenderer hair_left_9;
	public final ModelRenderer hair_left_10;
	public final ModelRenderer hair_right_6;
	public final ModelRenderer hair_right_7;
	public final ModelRenderer hair_right_8;
	public final ModelRenderer hair_right_9;
	public final ModelRenderer hair_right_10;
	public final ModelRenderer hair_right_11;
	public final ModelRenderer hair_right_12;
	public final ModelRenderer hair_right_13;
	public final ModelRenderer hair_left_12;
	public final ModelRenderer hair_left_13;
	public final ModelRenderer hair_left_14;
	public final ModelRenderer hair_left_15;
	public final ModelRenderer hair_left_16;
	public final ModelRenderer hair_right_14;
	public final ModelRenderer hair_right_15;
	public final ModelRenderer hair_right_17;
	public final ModelRenderer hair_right_18;
	public final ModelRenderer hair_right_19;
	public final ModelRenderer hair_right_20;
	public final ModelRenderer hair_right_21;
	public final ModelRenderer hair_right_22;
	public final ModelRenderer hair_left_17;
	public final ModelRenderer hair_left_18;
	public final ModelRenderer hair_left_19;
	public final ModelRenderer hair_left_20;
	public final ModelRenderer hair_left_21;
	public final ModelRenderer hair_left_22;
	public final ModelRenderer hair_left_23;
	public final ModelRenderer hair_left_24;
	public final ModelRenderer hair_left_25;
	public final ModelRenderer hair_right_23;
	public final ModelRenderer hair_left_26;
	public final ModelRenderer hair_left_27;
	public final ModelRenderer hair_left_28;
	public final ModelRenderer hair_left_29;
	public final ModelRenderer hair_left_30;
	public final ModelRenderer hair_left_31;
	public final ModelRenderer hair_left_32;
	public final ModelRenderer hair_right_24;
	public final ModelRenderer hair_right_25;
	public final ModelRenderer hair_left_33;
	public final ModelRenderer hair_left_34;
	public final ModelRenderer hair_left_35;
	public final ModelRenderer hair_left_35_1;

 
    public player() {
        textureWidth = 64;
        textureHeight = 64;
 
        head_joint = new ModelRenderer(this);
        head_joint.setRotationPoint(0.0F, 0.0F, 0.0F);
        head_joint.setTextureOffset(24, 0).addBox(-3.0F, -6.0F, -1.0F, 6.0F, 6.0F, 1.0F, 0.0F, false);
 
        bang_right_1 = new ModelRenderer(this);
		bang_right_1.setRotationPoint(-2.5F, -9.5F, -5.5F);
		setRotationAngle(bang_right_1, 0.0F, 0.0F, 0.821F);
		bang_right_1.setTextureOffset(58, 0).addBox(0.7F, 0.0F, 0.0F, 2.0F, 3.0F, 1.0F, 0.0F, false);

		bang_right_2 = new ModelRenderer(this);
		bang_right_2.setRotationPoint(-4.4F, -7.5F, -5.5F);
		setRotationAngle(bang_right_2, 0.0F, 0.0F, 0.4691F);
		bang_right_2.setTextureOffset(58, 0).addBox(0.5F, 0.0F, 0.0F, 2.0F, 3.0F, 1.0F, 0.0F, false);

		bang_right_3 = new ModelRenderer(this);
		bang_right_3.setRotationPoint(-5.5F, -5.5F, -5.5F);
		setRotationAngle(bang_right_3, 0.0F, 0.0F, 0.1955F);
		bang_right_3.setTextureOffset(58, 0).addBox(0.3F, 0.0F, 0.0F, 2.0F, 3.0F, 1.0F, 0.0F, false);

		bang_right_4 = new ModelRenderer(this);
		bang_right_4.setRotationPoint(-6.0F, -3.0F, -5.5F);
		bang_right_4.setTextureOffset(58, 0).addBox(0.2F, 0.0F, 0.0F, 2.0F, 3.0F, 1.0F, 0.0F, false);

		bang_middle = new ModelRenderer(this);
		bang_middle.setRotationPoint(-0.5F, -10.0F, -4.5F);
		setRotationAngle(bang_middle, -0.3519F, 0.0F, 0.5473F);
		bang_middle.setTextureOffset(58, 0).addBox(-0.2F, 0.0F, 0.0F, 2.0F, 3.0F, 1.0F, 0.0F, false);

		bang_left_1 = new ModelRenderer(this);
		bang_left_1.setRotationPoint(0.5F, -8.3F, -5.5F);
		setRotationAngle(bang_left_1, 0.0F, 0.0F, -0.6646F);
		bang_left_1.setTextureOffset(58, 0).addBox(-0.3F, 0.0F, 0.0F, 2.0F, 3.0F, 1.0F, 0.0F, false);

		bang_left_2 = new ModelRenderer(this);
		bang_left_2.setRotationPoint(2.0F, -8.0F, -5.0F);
		setRotationAngle(bang_left_2, 0.0F, 0.0F, -0.821F);
		bang_left_2.setTextureOffset(58, 0).addBox(-0.3F, 0.0F, 0.0F, 2.0F, 3.0F, 1.0F, 0.0F, false);

		bang_left_3 = new ModelRenderer(this);
		bang_left_3.setRotationPoint(1.8F, -7.0F, -5.5F);
		setRotationAngle(bang_left_3, 0.0F, 0.0F, -0.43F);
		bang_left_3.setTextureOffset(58, 0).addBox(-0.5F, 0.0F, 0.0F, 2.0F, 3.0F, 1.0F, 0.0F, false);

		bang_left_4 = new ModelRenderer(this);
		bang_left_4.setRotationPoint(3.0F, -4.7F, -5.5F);
		setRotationAngle(bang_left_4, 0.0F, 0.0F, -0.1955F);
		bang_left_4.setTextureOffset(58, 0).addBox(-0.7F, 0.0F, 0.0F, 2.0F, 3.0F, 1.0F, 0.0F, false);

		bang_left_5 = new ModelRenderer(this);
		bang_left_5.setRotationPoint(3.5F, -2.7F, -5.5F);
		bang_left_5.setTextureOffset(58, 0).addBox(-0.8F, 0.0F, 0.0F, 2.0F, 3.0F, 1.0F, 0.0F, false);

		hair_right_1 = new ModelRenderer(this);
		hair_right_1.setRotationPoint(-3.5F, -10.5F, -4.0F);
		setRotationAngle(hair_right_1, 0.0F, 0.0F, 0.2346F);
		hair_right_1.setTextureOffset(56, 0).addBox(0.3F, 0.0F, 0.0F, 2.0F, 3.0F, 2.0F, 0.0F, false);

		hair_right_2 = new ModelRenderer(this);
		hair_right_2.setRotationPoint(-3.0F, -11.7F, -3.9F);
		setRotationAngle(hair_right_2, 0.0F, -0.1564F, 0.2346F);
		hair_right_2.setTextureOffset(57, 0).addBox(0.0F, 0.0F, 0.0F, 2.0F, 3.0F, 1.0F, 0.0F, false);

		hair_right_3 = new ModelRenderer(this);
		hair_right_3.setRotationPoint(-1.3F, -11.9F, -4.0F);
		setRotationAngle(hair_right_3, -0.1955F, -0.4691F, 0.3128F);
		hair_right_3.setTextureOffset(57, 0).addBox(0.0F, 0.0F, 0.0F, 2.0F, 4.0F, 2.0F, 0.0F, false);

		hair_right_4 = new ModelRenderer(this);
		hair_right_4.setRotationPoint(-0.2F, -11.9F, -2.6F);
		setRotationAngle(hair_right_4, -0.1955F, 0.3519F, 0.0391F);
		hair_right_4.setTextureOffset(57, 0).addBox(0.0F, 0.0F, 0.0F, 2.0F, 4.0F, 2.0F, 0.0F, false);

		hair_left_1 = new ModelRenderer(this);
		hair_left_1.setRotationPoint(2.8F, -12.1F, -2.3F);
		setRotationAngle(hair_left_1, -0.391F, 0.0391F, 0.0782F);
		hair_left_1.setTextureOffset(56, 0).addBox(0.6F, 0.0F, 0.0F, 1.0F, 4.0F, 3.0F, 0.0F, false);

		hair_left_2 = new ModelRenderer(this);
		hair_left_2.setRotationPoint(3.0F, -14.0F, -1.0F);
		setRotationAngle(hair_left_2, -0.391F, 0.0391F, 0.0782F);
		hair_left_2.setTextureOffset(56, 0).addBox(-0.5F, 0.0F, 0.0F, 2.0F, 4.0F, 1.0F, 0.0F, false);

		hair_left_3 = new ModelRenderer(this);
		hair_left_3.setRotationPoint(2.4F, -9.5F, -3.6F);
		setRotationAngle(hair_left_3, -0.391F, 0.0391F, 0.0782F);
		hair_left_3.setTextureOffset(56, 0).addBox(0.0F, 0.5F, 0.0F, 2.0F, 2.0F, 2.0F, 0.0F, false);

		hair_left_4 = new ModelRenderer(this);
		hair_left_4.setRotationPoint(3.0F, -12.1F, -2.3F);
		setRotationAngle(hair_left_4, -0.1564F, 0.0391F, -0.2737F);
		hair_left_4.setTextureOffset(56, 0).addBox(-0.7F, 0.0F, -1.0F, 2.0F, 4.0F, 2.0F, 0.0F, false);

		hair_left_5 = new ModelRenderer(this);
		hair_left_5.setRotationPoint(3.4F, -8.7F, -3.0F);
		setRotationAngle(hair_left_5, -0.1173F, 0.0391F, -0.391F);
		hair_left_5.setTextureOffset(56, 0).addBox(-0.1F, 0.5F, 0.0F, 2.0F, 3.0F, 2.0F, 0.0F, false);

		hair_left_6 = new ModelRenderer(this);
		hair_left_6.setRotationPoint(3.5F, -8.7F, -3.6F);
		setRotationAngle(hair_left_6, -0.1173F, 0.0391F, 0.391F);
		hair_left_6.setTextureOffset(56, 0).addBox(0.9F, 0.5F, 0.0F, 1.0F, 3.0F, 2.0F, 0.0F, false);

		hair_left_7 = new ModelRenderer(this);
		hair_left_7.setRotationPoint(4.5F, -9.0F, -1.0F);
		setRotationAngle(hair_left_7, -0.1173F, -0.2737F, 0.4691F);
		hair_left_7.setTextureOffset(56, 0).addBox(0.9F, 0.5F, 0.0F, 1.0F, 3.0F, 2.0F, 0.0F, false);

		hair_left_8 = new ModelRenderer(this);
		hair_left_8.setRotationPoint(4.4F, -6.0F, 0.0F);
		setRotationAngle(hair_left_8, -0.1173F, -0.2737F, 0.6255F);
		hair_left_8.setTextureOffset(56, 0).addBox(0.0F, -1.0F, 0.0F, 2.0F, 4.0F, 2.0F, 0.0F, false);

		hair_left_9 = new ModelRenderer(this);
		hair_left_9.setRotationPoint(4.0F, -6.7F, -3.2F);
		setRotationAngle(hair_left_9, -0.1173F, 0.0391F, 0.43F);
		hair_left_9.setTextureOffset(56, 0).addBox(-0.1F, 0.5F, 0.0F, 2.0F, 3.0F, 2.0F, 0.0F, false);

		hair_left_10 = new ModelRenderer(this);
		hair_left_10.setRotationPoint(1.0F, -14.5F, -1.0F);
		setRotationAngle(hair_left_10, -0.391F, 0.1564F, -0.0391F);
		hair_left_10.setTextureOffset(56, 0).addBox(0.5F, 0.5F, 0.0F, 2.0F, 2.0F, 1.0F, 0.0F, false);

		hair_right_6 = new ModelRenderer(this);
		hair_right_6.setRotationPoint(-4.5F, -10.0F, -2.0F);
		setRotationAngle(hair_right_6, 0.0F, 0.2346F, -0.0782F);
		hair_right_6.setTextureOffset(56, 0).addBox(0.3F, 0.0F, 0.0F, 2.0F, 3.0F, 2.0F, 0.0F, false);

		hair_right_7 = new ModelRenderer(this);
		hair_right_7.setRotationPoint(-5.3F, -8.8F, -0.5F);
		setRotationAngle(hair_right_7, -0.1564F, 0.1173F, -0.3519F);
		hair_right_7.setTextureOffset(56, 0).addBox(0.3F, 0.0F, 0.0F, 2.0F, 3.0F, 2.0F, 0.0F, false);

		hair_right_8 = new ModelRenderer(this);
		hair_right_8.setRotationPoint(-5.5F, -10.0F, -0.1F);
		setRotationAngle(hair_right_8, -0.1955F, 0.1173F, -0.3519F);
		hair_right_8.setTextureOffset(56, 0).addBox(0.2F, 0.0F, 0.0F, 2.0F, 2.0F, 2.0F, 0.0F, false);

		hair_right_9 = new ModelRenderer(this);
		hair_right_9.setRotationPoint(-5.5F, -7.5F, -2.5F);
		setRotationAngle(hair_right_9, -0.1564F, 0.1173F, -0.3519F);
		hair_right_9.setTextureOffset(56, 0).addBox(0.3F, 0.0F, 0.0F, 2.0F, 3.0F, 2.0F, 0.0F, false);

		hair_right_10 = new ModelRenderer(this);
		hair_right_10.setRotationPoint(-5.8F, -8.5F, 2.0F);
		setRotationAngle(hair_right_10, -0.1173F, 0.1173F, -0.5473F);
		hair_right_10.setTextureOffset(56, 0).addBox(0.1F, 0.0F, 0.0F, 2.0F, 4.0F, 2.0F, 0.0F, false);

		hair_right_11 = new ModelRenderer(this);
		hair_right_11.setRotationPoint(-5.9F, -9.0F, -2.1F);
		setRotationAngle(hair_right_11, -0.1564F, 0.1955F, -0.3519F);
		hair_right_11.setTextureOffset(56, 0).addBox(0.0F, 0.0F, 0.0F, 2.0F, 3.0F, 2.0F, 0.0F, false);

		hair_right_12 = new ModelRenderer(this);
		hair_right_12.setRotationPoint(-6.2F, -9.8F, 2.3F);
		setRotationAngle(hair_right_12, -0.1564F, 0.1173F, -0.5082F);
		hair_right_12.setTextureOffset(56, 0).addBox(0.0F, 0.0F, 0.0F, 2.0F, 2.0F, 2.0F, 0.0F, false);

		hair_right_13 = new ModelRenderer(this);
		hair_right_13.setRotationPoint(-6.0F, -6.0F, 1.0F);
		setRotationAngle(hair_right_13, -0.1173F, 0.1173F, -0.5473F);
		hair_right_13.setTextureOffset(56, 0).addBox(0.0F, 0.0F, 0.0F, 2.0F, 4.0F, 2.0F, 0.0F, false);

		hair_left_12 = new ModelRenderer(this);
		hair_left_12.setRotationPoint(4.7F, -9.5F, 2.0F);
		setRotationAngle(hair_left_12, -0.1955F, -0.1173F, 0.7037F);
		hair_left_12.setTextureOffset(56, 0).addBox(0.3F, 0.0F, 0.0F, 2.0F, 3.0F, 2.0F, 0.0F, false);

		hair_left_13 = new ModelRenderer(this);
		hair_left_13.setRotationPoint(5.5F, -10.3F, 2.4F);
		setRotationAngle(hair_left_13, -0.1955F, -0.1173F, 0.7037F);
		hair_left_13.setTextureOffset(56, 0).addBox(0.0F, 0.0F, 0.0F, 2.0F, 3.0F, 2.0F, 0.0F, false);

		hair_left_14 = new ModelRenderer(this);
		hair_left_14.setRotationPoint(5.0F, -10.4F, -0.8F);
		setRotationAngle(hair_left_14, -0.1173F, -0.2737F, 0.4691F);
		hair_left_14.setTextureOffset(56, 0).addBox(-0.3F, 0.5F, 0.0F, 2.0F, 3.0F, 2.0F, 0.0F, false);

		hair_left_15 = new ModelRenderer(this);
		hair_left_15.setRotationPoint(-0.5F, -14.7F, -1.3F);
		setRotationAngle(hair_left_15, -0.2346F, -0.1955F, -0.1173F);
		hair_left_15.setTextureOffset(56, 0).addBox(0.5F, 0.5F, 0.0F, 2.0F, 7.0F, 1.0F, 0.0F, false);

		hair_left_16 = new ModelRenderer(this);
		hair_left_16.setRotationPoint(-1.5F, -15.2F, 0.3F);
		setRotationAngle(hair_left_16, -0.3128F, -0.3128F, -0.1173F);
		hair_left_16.setTextureOffset(56, 0).addBox(-0.5F, 0.0F, 0.0F, 2.0F, 8.0F, 1.0F, 0.0F, false);

		hair_right_14 = new ModelRenderer(this);
		hair_right_14.setRotationPoint(-0.9F, -14.5F, -1.3F);
		setRotationAngle(hair_right_14, -0.2346F, -0.3128F, 0.3484F);
		hair_right_14.setTextureOffset(56, 0).addBox(0.5F, 0.0F, 0.0F, 2.0F, 7.0F, 1.0F, 0.0F, false);

		hair_right_15 = new ModelRenderer(this);
		hair_right_15.setRotationPoint(-2.3F, -15.0F, -0.4F);
		setRotationAngle(hair_right_15, -0.2346F, -0.3128F, 0.192F);
		hair_right_15.setTextureOffset(56, 0).addBox(0.5F, 0.0F, 0.0F, 2.0F, 8.0F, 1.0F, 0.0F, false);

		hair_right_17 = new ModelRenderer(this);
		hair_right_17.setRotationPoint(-2.8F, -12.0F, -1.3F);
		setRotationAngle(hair_right_17, -0.2346F, -0.3128F, 0.192F);
		hair_right_17.setTextureOffset(56, 0).addBox(0.7F, 0.0F, 0.0F, 1.0F, 3.0F, 2.0F, 0.0F, false);

		hair_right_18 = new ModelRenderer(this);
		hair_right_18.setRotationPoint(-2.4F, -15.5F, 1.5F);
		setRotationAngle(hair_right_18, -0.1955F, 0.0F, 0.192F);
		hair_right_18.setTextureOffset(56, 0).addBox(0.5F, 0.0F, 0.0F, 2.0F, 4.0F, 1.0F, 0.0F, false);

		hair_right_19 = new ModelRenderer(this);
		hair_right_19.setRotationPoint(-3.1F, -12.0F, 0.5F);
		setRotationAngle(hair_right_19, -0.2346F, -0.1564F, 0.192F);
		hair_right_19.setTextureOffset(56, 0).addBox(0.0F, 0.0F, 0.0F, 2.0F, 4.0F, 2.0F, 0.0F, false);

		hair_right_20 = new ModelRenderer(this);
		hair_right_20.setRotationPoint(-2.9F, -11.0F, 2.5F);
		setRotationAngle(hair_right_20, -0.2346F, 0.1564F, 0.192F);
		hair_right_20.setTextureOffset(56, 0).addBox(0.1F, 0.0F, 0.0F, 2.0F, 3.0F, 2.0F, 0.0F, false);

		hair_right_21 = new ModelRenderer(this);
		hair_right_21.setRotationPoint(-2.3F, -12.8F, 3.0F);
		setRotationAngle(hair_right_21, -0.2346F, 0.1564F, 0.192F);
		hair_right_21.setTextureOffset(56, 0).addBox(0.9F, 0.0F, 0.0F, 1.0F, 4.0F, 2.0F, 0.0F, false);

		hair_right_22 = new ModelRenderer(this);
		hair_right_22.setRotationPoint(-2.0F, -14.0F, 3.2F);
		setRotationAngle(hair_right_22, -0.2346F, 0.1564F, 0.192F);
		hair_right_22.setTextureOffset(56, 0).addBox(0.7F, 0.0F, -1.0F, 2.0F, 4.0F, 2.0F, 0.0F, false);

		hair_left_17 = new ModelRenderer(this);
		hair_left_17.setRotationPoint(0.0F, -15.8F, 0.3F);
		setRotationAngle(hair_left_17, -0.1955F, -0.3128F, 0.0782F);
		hair_left_17.setTextureOffset(56, 0).addBox(-0.5F, 0.5F, 0.0F, 2.0F, 8.0F, 1.0F, 0.0F, false);

		hair_left_18 = new ModelRenderer(this);
		hair_left_18.setRotationPoint(0.8F, -15.0F, 0.7F);
		setRotationAngle(hair_left_18, -0.1955F, -0.3128F, -0.0782F);
		hair_left_18.setTextureOffset(56, 0).addBox(-0.5F, 0.0F, 0.0F, 2.0F, 4.0F, 2.0F, 0.0F, false);

		hair_left_19 = new ModelRenderer(this);
		hair_left_19.setRotationPoint(0.9F, -12.8F, -2.0F);
		setRotationAngle(hair_left_19, -0.391F, 0.1564F, -0.0391F);
		hair_left_19.setTextureOffset(56, 0).addBox(0.7F, 0.0F, 0.0F, 2.0F, 4.0F, 2.0F, 0.0F, false);

		hair_left_20 = new ModelRenderer(this);
		hair_left_20.setRotationPoint(0.8F, -11.0F, -2.4F);
		setRotationAngle(hair_left_20, -0.1955F, 0.1564F, -0.0782F);
		hair_left_20.setTextureOffset(56, 0).addBox(0.7F, 0.0F, 0.0F, 1.0F, 4.0F, 2.0F, 0.0F, false);

		hair_left_21 = new ModelRenderer(this);
		hair_left_21.setRotationPoint(0.9F, -12.5F, 0.0F);
		setRotationAngle(hair_left_21, -0.1955F, -0.3128F, -0.0782F);
		hair_left_21.setTextureOffset(56, 0).addBox(0.9F, 0.0F, 0.0F, 1.0F, 5.0F, 2.0F, 0.0F, false);

		hair_left_22 = new ModelRenderer(this);
		hair_left_22.setRotationPoint(2.0F, -10.8F, 2.2F);
		setRotationAngle(hair_left_22, -0.2737F, -0.0782F, -0.1599F);
		hair_left_22.setTextureOffset(56, 0).addBox(0.1F, 0.0F, 0.0F, 2.0F, 3.0F, 2.0F, 0.0F, false);

		hair_left_23 = new ModelRenderer(this);
		hair_left_23.setRotationPoint(1.5F, -12.8F, 2.8F);
		setRotationAngle(hair_left_23, -0.2346F, -0.0391F, -0.2381F);
		hair_left_23.setTextureOffset(56, 0).addBox(0.9F, 0.0F, 0.0F, 1.0F, 4.0F, 2.0F, 0.0F, false);

		hair_left_24 = new ModelRenderer(this);
		hair_left_24.setRotationPoint(0.9F, -14.0F, 3.3F);
		setRotationAngle(hair_left_24, -0.2346F, 0.0391F, -0.3161F);
		hair_left_24.setTextureOffset(56, 0).addBox(-0.5F, 0.0F, 0.0F, 2.0F, 4.0F, 2.0F, 0.0F, false);

		hair_left_25 = new ModelRenderer(this);
		hair_left_25.setRotationPoint(2.0F, -10.3F, 4.5F);
		setRotationAngle(hair_left_25, -0.7821F, -0.1173F, 0.0391F);
		hair_left_25.setTextureOffset(56, 0).addBox(0.3F, 0.0F, 0.0F, 2.0F, 4.0F, 2.0F, 0.0F, false);

		hair_right_23 = new ModelRenderer(this);
		hair_right_23.setRotationPoint(-3.2F, -10.3F, 4.5F);
		setRotationAngle(hair_right_23, -0.7821F, -0.1173F, 0.2346F);
		hair_right_23.setTextureOffset(56, 0).addBox(0.3F, 0.0F, 0.0F, 2.0F, 4.0F, 2.0F, 0.0F, false);

		hair_left_26 = new ModelRenderer(this);
		hair_left_26.setRotationPoint(-0.5F, -9.0F, 4.5F);
		setRotationAngle(hair_left_26, -0.5866F, -0.43F, 0.0782F);
		hair_left_26.setTextureOffset(56, 0).addBox(0.3F, 0.0F, 0.0F, 2.0F, 4.0F, 2.0F, 0.0F, false);

		hair_left_27 = new ModelRenderer(this);
		hair_left_27.setRotationPoint(-0.5F, -11.2F, 4.0F);
		setRotationAngle(hair_left_27, -0.5866F, -0.43F, 0.0782F);
		hair_left_27.setTextureOffset(56, 0).addBox(0.1F, 0.0F, 0.0F, 2.0F, 5.0F, 2.0F, 0.0F, false);

		hair_left_28 = new ModelRenderer(this);
		hair_left_28.setRotationPoint(-0.7F, -12.5F, 4.9F);
		setRotationAngle(hair_left_28, -0.5866F, -0.43F, 0.0782F);
		hair_left_28.setTextureOffset(56, 0).addBox(-0.1F, 0.0F, 0.0F, 2.0F, 5.0F, 1.0F, 0.0F, false);

		hair_left_29 = new ModelRenderer(this);
		hair_left_29.setRotationPoint(-0.7F, -10.5F, 5.5F);
		setRotationAngle(hair_left_29, -0.5866F, -0.43F, 0.0782F);
		hair_left_29.setTextureOffset(56, 0).addBox(0.1F, 0.0F, 0.0F, 2.0F, 4.0F, 2.0F, 0.0F, false);

		hair_left_30 = new ModelRenderer(this);
		hair_left_30.setRotationPoint(1.9F, -11.3F, 5.5F);
		setRotationAngle(hair_left_30, -0.7821F, -0.1173F, 0.0391F);
		hair_left_30.setTextureOffset(56, 0).addBox(0.1F, 0.0F, 0.0F, 2.0F, 4.0F, 2.0F, 0.0F, false);

		hair_left_31 = new ModelRenderer(this);
		hair_left_31.setRotationPoint(0.0F, -6.2F, 2.8F);
		setRotationAngle(hair_left_31, -0.5866F, -0.43F, 0.0782F);
		hair_left_31.setTextureOffset(56, 0).addBox(0.5F, 0.0F, 0.0F, 2.0F, 3.0F, 2.0F, 0.0F, false);

		hair_left_32 = new ModelRenderer(this);
		hair_left_32.setRotationPoint(3.2F, -8.0F, 3.4F);
		setRotationAngle(hair_left_32, -0.5866F, -0.6646F, 0.5864F);
		hair_left_32.setTextureOffset(56, 0).addBox(0.3F, 0.0F, 0.0F, 2.0F, 4.0F, 2.0F, 0.0F, false);

		hair_right_24 = new ModelRenderer(this);
		hair_right_24.setRotationPoint(-3.0F, -8.0F, 3.4F);
		setRotationAngle(hair_right_24, -0.5866F, -0.6646F, 0.1173F);
		hair_right_24.setTextureOffset(56, 0).addBox(0.3F, 0.0F, 0.0F, 2.0F, 4.0F, 2.0F, 0.0F, false);

		hair_right_25 = new ModelRenderer(this);
		hair_right_25.setRotationPoint(-2.7F, -6.6F, 2.6F);
		setRotationAngle(hair_right_25, -0.5866F, -0.6646F, 0.1173F);
		hair_right_25.setTextureOffset(56, 0).addBox(0.5F, 0.0F, 0.0F, 2.0F, 3.0F, 2.0F, 0.0F, false);

		hair_left_33 = new ModelRenderer(this);
		hair_left_33.setRotationPoint(0.0F, -12.5F, 1.7F);
		setRotationAngle(hair_left_33, -0.1955F, -0.3128F, -0.0782F);
		hair_left_33.setTextureOffset(56, 0).addBox(0.9F, 0.0F, 0.0F, 1.0F, 5.0F, 2.0F, 0.0F, false);

		hair_left_34 = new ModelRenderer(this);
		hair_left_34.setRotationPoint(-0.2F, -14.0F, 1.9F);
		setRotationAngle(hair_left_34, -0.1955F, -0.3128F, -0.0782F);
		hair_left_34.setTextureOffset(56, 0).addBox(0.9F, 0.0F, 0.0F, 1.0F, 4.0F, 2.0F, 0.0F, false);

		hair_left_35 = new ModelRenderer(this);
		hair_left_35.setRotationPoint(-1.7F, -12.5F, 4.0F);
		setRotationAngle(hair_left_35, -0.1955F, 0.2737F, -0.0782F);
		hair_left_35.setTextureOffset(56, 0).addBox(0.1F, 0.0F, 0.0F, 2.0F, 5.0F, 2.0F, 0.0F, false);

		hair_left_35_1 = new ModelRenderer(this);
		hair_left_35_1.setRotationPoint(4.0F, -12.5F, -0.1F);
		setRotationAngle(hair_left_35_1, -0.1564F, -0.3128F, 0.2737F);
		hair_left_35_1.setTextureOffset(56, 0).addBox(-0.1F, 0.0F, 0.0F, 2.0F, 5.0F, 2.0F, 0.0F, false);
	}

@Override
	public void setRotationAngles(Entity entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch){
		//previously the render function, render code was moved to a method below
	}

	@Override
	public void render(MatrixStack matrixStack, IVertexBuilder buffer, int packedLight, int packedOverlay, float red, float green, float blue, float alpha){
		head_joint.render(matrixStack, buffer, packedLight, packedOverlay);
		bang_right_1.render(matrixStack, buffer, packedLight, packedOverlay);
		bang_right_2.render(matrixStack, buffer, packedLight, packedOverlay);
		bang_right_3.render(matrixStack, buffer, packedLight, packedOverlay);
		bang_right_4.render(matrixStack, buffer, packedLight, packedOverlay);
		bang_middle.render(matrixStack, buffer, packedLight, packedOverlay);
		bang_left_1.render(matrixStack, buffer, packedLight, packedOverlay);
		bang_left_2.render(matrixStack, buffer, packedLight, packedOverlay);
		bang_left_3.render(matrixStack, buffer, packedLight, packedOverlay);
		bang_left_4.render(matrixStack, buffer, packedLight, packedOverlay);
		bang_left_5.render(matrixStack, buffer, packedLight, packedOverlay);
		hair_right_1.render(matrixStack, buffer, packedLight, packedOverlay);
		hair_right_2.render(matrixStack, buffer, packedLight, packedOverlay);
		hair_right_3.render(matrixStack, buffer, packedLight, packedOverlay);
		hair_right_4.render(matrixStack, buffer, packedLight, packedOverlay);
		hair_left_1.render(matrixStack, buffer, packedLight, packedOverlay);
		hair_left_2.render(matrixStack, buffer, packedLight, packedOverlay);
		hair_left_3.render(matrixStack, buffer, packedLight, packedOverlay);
		hair_left_4.render(matrixStack, buffer, packedLight, packedOverlay);
		hair_left_5.render(matrixStack, buffer, packedLight, packedOverlay);
		hair_left_6.render(matrixStack, buffer, packedLight, packedOverlay);
		hair_left_7.render(matrixStack, buffer, packedLight, packedOverlay);
		hair_left_8.render(matrixStack, buffer, packedLight, packedOverlay);
		hair_left_9.render(matrixStack, buffer, packedLight, packedOverlay);
		hair_left_10.render(matrixStack, buffer, packedLight, packedOverlay);
		hair_right_6.render(matrixStack, buffer, packedLight, packedOverlay);
		hair_right_7.render(matrixStack, buffer, packedLight, packedOverlay);
		hair_right_8.render(matrixStack, buffer, packedLight, packedOverlay);
		hair_right_9.render(matrixStack, buffer, packedLight, packedOverlay);
		hair_right_10.render(matrixStack, buffer, packedLight, packedOverlay);
		hair_right_11.render(matrixStack, buffer, packedLight, packedOverlay);
		hair_right_12.render(matrixStack, buffer, packedLight, packedOverlay);
		hair_right_13.render(matrixStack, buffer, packedLight, packedOverlay);
		hair_left_12.render(matrixStack, buffer, packedLight, packedOverlay);
		hair_left_13.render(matrixStack, buffer, packedLight, packedOverlay);
		hair_left_14.render(matrixStack, buffer, packedLight, packedOverlay);
		hair_left_15.render(matrixStack, buffer, packedLight, packedOverlay);
		hair_left_16.render(matrixStack, buffer, packedLight, packedOverlay);
		hair_right_14.render(matrixStack, buffer, packedLight, packedOverlay);
		hair_right_15.render(matrixStack, buffer, packedLight, packedOverlay);
		hair_right_17.render(matrixStack, buffer, packedLight, packedOverlay);
		hair_right_18.render(matrixStack, buffer, packedLight, packedOverlay);
		hair_right_19.render(matrixStack, buffer, packedLight, packedOverlay);
		hair_right_20.render(matrixStack, buffer, packedLight, packedOverlay);
		hair_right_21.render(matrixStack, buffer, packedLight, packedOverlay);
		hair_right_22.render(matrixStack, buffer, packedLight, packedOverlay);
		hair_left_17.render(matrixStack, buffer, packedLight, packedOverlay);
		hair_left_18.render(matrixStack, buffer, packedLight, packedOverlay);
		hair_left_19.render(matrixStack, buffer, packedLight, packedOverlay);
		hair_left_20.render(matrixStack, buffer, packedLight, packedOverlay);
		hair_left_21.render(matrixStack, buffer, packedLight, packedOverlay);
		hair_left_22.render(matrixStack, buffer, packedLight, packedOverlay);
		hair_left_23.render(matrixStack, buffer, packedLight, packedOverlay);
		hair_left_24.render(matrixStack, buffer, packedLight, packedOverlay);
		hair_left_25.render(matrixStack, buffer, packedLight, packedOverlay);
		hair_right_23.render(matrixStack, buffer, packedLight, packedOverlay);
		hair_left_26.render(matrixStack, buffer, packedLight, packedOverlay);
		hair_left_27.render(matrixStack, buffer, packedLight, packedOverlay);
		hair_left_28.render(matrixStack, buffer, packedLight, packedOverlay);
		hair_left_29.render(matrixStack, buffer, packedLight, packedOverlay);
		hair_left_30.render(matrixStack, buffer, packedLight, packedOverlay);
		hair_left_31.render(matrixStack, buffer, packedLight, packedOverlay);
		hair_left_32.render(matrixStack, buffer, packedLight, packedOverlay);
		hair_right_24.render(matrixStack, buffer, packedLight, packedOverlay);
		hair_right_25.render(matrixStack, buffer, packedLight, packedOverlay);
		hair_left_33.render(matrixStack, buffer, packedLight, packedOverlay);
		hair_left_34.render(matrixStack, buffer, packedLight, packedOverlay);
		hair_left_35.render(matrixStack, buffer, packedLight, packedOverlay);
		hair_left_35_1.render(matrixStack, buffer, packedLight, packedOverlay);
	}

	 @Override
    protected Iterable<ModelRenderer> getHeadParts() {
        return ImmutableList.of(this.head_joint);
        return ImmutableList.of(this.bang_right_1);
        return ImmutableList.of(this.bang_right_2);
        return ImmutableList.of(this.bang_right_3);
        return ImmutableList.of(this.bang_right_4);
        return ImmutableList.of(this.bang_middle);
        return ImmutableList.of(this.bang_left_1);
        return ImmutableList.of(this.bang_left_2);
        return ImmutableList.of(this.bang_left_3);
        return ImmutableList.of(this.bang_left_4);
        return ImmutableList.of(this.bang_left_5);
        return ImmutableList.of(this.hair_right_1);
        return ImmutableList.of(this.hair_right_2);
        return ImmutableList.of(this.hair_right_3);
        return ImmutableList.of(this.hair_right_4);
        return ImmutableList.of(this.hair_left_1);
        return ImmutableList.of(this.hair_left_2);
        return ImmutableList.of(this.hair_left_3);
        return ImmutableList.of(this.hair_left_4);
        return ImmutableList.of(this.hair_left_5);
        return ImmutableList.of(this.hair_left_6);
        return ImmutableList.of(this.hair_left_7);
        return ImmutableList.of(this.hair_left_8);
        return ImmutableList.of(this.hair_left_9);
        return ImmutableList.of(this.hair_left_10);
        return ImmutableList.of(this.hair_right_6);
        return ImmutableList.of(this.hair_right_7);
        return ImmutableList.of(this.hair_right_8);
        return ImmutableList.of(this.hair_right_9);
        return ImmutableList.of(this.hair_right_10);
        return ImmutableList.of(this.hair_right_11);
        return ImmutableList.of(this.hair_right_12);
        return ImmutableList.of(this.hair_right_13);
        return ImmutableList.of(this.hair_left_12);
        return ImmutableList.of(this.hair_left_13);
        return ImmutableList.of(this.hair_left_14);
        return ImmutableList.of(this.hair_left_15);
        return ImmutableList.of(this.hair_left_16);
        return ImmutableList.of(this.hair_right_14);
        return ImmutableList.of(this.hair_right_15);
        return ImmutableList.of(this.hair_right_17);
        return ImmutableList.of(this.hair_right_18);
        return ImmutableList.of(this.hair_right_19);
        return ImmutableList.of(this.hair_right_20);
        return ImmutableList.of(this.hair_right_21);
        return ImmutableList.of(this.hair_right_22);
        return ImmutableList.of(this.hair_left_17);
        return ImmutableList.of(this.hair_left_18);
        return ImmutableList.of(this.hair_left_19);
        return ImmutableList.of(this.hair_left_20);
        return ImmutableList.of(this.hair_left_21);
        return ImmutableList.of(this.hair_left_22);
        return ImmutableList.of(this.hair_left_23);
        return ImmutableList.of(this.hair_left_24);
        return ImmutableList.of(this.hair_left_25);
        return ImmutableList.of(this.hair_right_23);
        return ImmutableList.of(this.hair_left_26);
        return ImmutableList.of(this.hair_left_27);
        return ImmutableList.of(this.hair_left_28);
        return ImmutableList.of(this.hair_left_29);
        return ImmutableList.of(this.hair_left_30);
        return ImmutableList.of(this.hair_left_31);
        return ImmutableList.of(this.hair_left_32);
        return ImmutableList.of(this.hair_right_24);
        return ImmutableList.of(this.hair_right_25);
        return ImmutableList.of(this.hair_left_33);
        return ImmutableList.of(this.hair_left_34);
        return ImmutableList.of(this.hair_left_35);
        return ImmutableList.of(this.hair_left_35_1);
    }

    public void setRotationAngle(ModelRenderer modelRenderer, float x, float y, float z) {
		modelRenderer.rotateAngleX = x;
		modelRenderer.rotateAngleY = y;
		modelRenderer.rotateAngleZ = z;
	}
}

public static class playerlayer<T extends LivingEntity, M extends EntityModel<T>> extends LayerRenderer<T, M> {
 
    public static ResourceLocation resource = new ResourceLocation("ModelHair_1_color_3", "textures/steve.png");
    public player model = new player();
 
    public playerlayer(IEntityRenderer<T, M> entityRendererIn) {
        super(entityRendererIn);
    }
 
    @Override
    public void render(MatrixStack matrixStackIn, IRenderTypeBuffer bufferIn, int packedLightIn, T entitylivingbaseIn, float limbSwing, float limbSwingAmount, float partialTicks, float ageInTicks, float netHeadYaw, float headPitch) {
         if (entitylivingbaseIn instanceof AbstractClientPlayerEntity) {
             matrixStackIn.push();
             this.getEntityModel().copyModelAttributesTo(this.model);
             this.model.setRotationAngles(entitylivingbaseIn, limbSwing, limbSwingAmount, ageInTicks, netHeadYaw, headPitch);
             IVertexBuilder ivertexbuilder = ItemRenderer.getBuffer(bufferIn, this.model.getRenderType(((AbstractClientPlayerEntity) entitylivingbaseIn).getLocationSkin()), false, false);
             this.model.render(matrixStackIn, ivertexbuilder, packedLightIn, OverlayTexture.NO_OVERLAY, 1.0F, 1.0F, 1.0F, 1.0F);
             matrixStackIn.pop();
         }
 
    }
}
}

 

 

 

So, this is the Error I get from that:

 

Executing 
    Gradle task: runClient

Build 
    info: MCreator 2021.1.16710, forge-1.15.2, 64-bit, 8108 MB, Windows 10, 
    JVM 1.8.0_275, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk


    Configure project :

New 
    Dep: net.minecraftforge:forge:1.15.2-31.2.0_mapped_snapshot_20200514-1.15.1


    Task :compileJava

C:\Users\micai\MCreatorWorkspaces\the_minecraft_anime_mod\src\main\java\net\mcreator\theminecraftanimemod\EntityRender.java:57: 
    error: class ModelHair_1_color_3 is public, should be declared in a file 
    named ModelHair_1_color_3.java 
public 
    class ModelHair_1_color_3 extends 
    ModelHair_1_color_3ModElements.ModElement {

 
          ^

C:\Users\micai\MCreatorWorkspaces\the_minecraft_anime_mod\src\main\java\net\mcreator\theminecraftanimemod\EntityRender.java:57: 
    error: package ModelHair_1_color_3ModElements does not exist 
public 
    class ModelHair_1_color_3 extends 
    ModelHair_1_color_3ModElements.ModElement {

 
                                                                          ^

C:\Users\micai\MCreatorWorkspaces\the_minecraft_anime_mod\src\main\java\net\mcreator\theminecraftanimemod\EntityRender.java:56: 
    error: package ModelHair_1_color_31ModelModElements.ModElement does not 
    exist 
@ModelHair_1_color_31ModelModElements.ModElement.Tag

 
                                                   ^

C:\Users\micai\MCreatorWorkspaces\the_minecraft_anime_mod\src\main\java\net\mcreator\theminecraftanimemod\EntityRender.java:61: 
    error: cannot find symbol 
 
       public ModelHair_1_color_3(ModelHair_1_color_3ModElements instance) {

 
                                  ^

 
     symbol:   class ModelHair_1_color_3ModElements

 
     location: class ModelHair_1_color_3

C:\Users\micai\MCreatorWorkspaces\the_minecraft_anime_mod\src\main\java\net\mcreator\theminecraftanimemod\EntityRender.java:516: 
    error: cannot find symbol 
 
      public void setRotationAngles(Entity entity, float limbSwing, float 
    limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch){

 
                                    ^

 
     symbol:   class Entity

 
     location: class player<T>

 
     where T is a type-variable:

 
       T extends LivingEntity declared in class player

C:\Users\micai\MCreatorWorkspaces\the_minecraft_anime_mod\src\main\java\net\mcreator\theminecraftanimemod\EntityRender.java:65: 
    error: method does not override or implement a method from a supertype 
 
       @Override

 
       ^

C:\Users\micai\MCreatorWorkspaces\the_minecraft_anime_mod\src\main\java\net\mcreator\theminecraftanimemod\EntityRender.java:70: 
    error: method does not override or implement a method from a supertype 
 
       @Override

 
       ^

C:\Users\micai\MCreatorWorkspaces\the_minecraft_anime_mod\src\main\java\net\mcreator\theminecraftanimemod\EntityRender.java:78: 
    error: method does not override or implement a method from a supertype 
 
       @Override

 
       ^

C:\Users\micai\MCreatorWorkspaces\the_minecraft_anime_mod\src\main\java\net\mcreator\theminecraftanimemod\EntityRender.java:82: 
    error: method does not override or implement a method from a supertype 
 
       @Override

 
       ^

C:\Users\micai\MCreatorWorkspaces\the_minecraft_anime_mod\src\main\java\net\mcreator\theminecraftanimemod\EntityRender.java:95: 
    error: player is not abstract and does not override abstract method 
    getBodyParts() in AgeableModel 
 
    public static class player<T extends LivingEntity> extends AgeableModel<T> 
    {

 
                  ^

10 
    errors


    Task :compileJava FAILED

FAILURE: 
    Build failed with an exception.


    What went wrong:

Execution 
    failed for task ':compileJava'.


    Compilation failed; see the compiler error output for details.


    Try:

Run 
    with --stacktrace option to get the stack trace. Run with --info or 
    --debug option to get more log output. Run with --scan to get full 
    insights.


    Get more help at https://help.gradle.org

Deprecated 
    Gradle features were used in this build, making it incompatible with 
    Gradle 5.0.

Use 
    '--warning-mode all' to show the individual deprecation warnings.

See 
    https://docs.gradle.org/4.10.3/userguide/command_line_interface.html#se…

BUILD 
    FAILED in 5s


    actionable task: 1 executed

BUILD 
    FAILED

Task 
    completed in 8 seconds

 

If you can help it would be greatly appreciated, thanks!

Edited by CaiGuyCrafter on Thu, 05/20/2021 - 22:34
Last seen on 02:36, 23. Jul 2021
Joined Dec 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
If anyone has any…
Thu, 05/20/2021 - 22:34

If anyone has any suggestions, please notify me, I really need an answer! 

Last seen on 02:36, 23. Jul 2021
Joined Dec 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
It was either Techne or…
Fri, 05/21/2021 - 21:21

It was either Techne or Blockbench... I originally used Techne to create it then copied the file and edited it in Blockbench, but I can't remember which one I used for it, either the Techne one or the Blockbench one. I'm willing to bet the Blockbench one, though. Thanks, if you could help this would be great.