Jump to content

mobs texture is messing up. [Forge 1.4.7] [RESOLVED]


xXRoboJackXx

Recommended Posts

Hi I'm fairly new to forge and I have tried to make a mobs texture but when I do my textures comes out like this http://puu.sh/26bH9 the same thing happens to my friend and I don't know the cause of it.

 

The mob in the mod file:

 

package blueagle.common;

 

import java.awt.Color;

import java.util.Map;

 

import net.minecraft.block.Block;

import net.minecraft.block.material.Material;

import net.minecraft.client.renderer.entity.RenderLiving;

import net.minecraft.creativetab.CreativeTabs;

import net.minecraft.entity.EntityEggInfo;

import net.minecraft.entity.EntityList;

import net.minecraft.entity.EnumCreatureType;

import net.minecraft.item.Item;

import net.minecraft.src.ModLoader;

import blueeagle.client.ClientProxy;

import cpw.mods.fml.common.Mod;

import cpw.mods.fml.common.Mod.Init;

import cpw.mods.fml.common.Mod.PreInit;

import cpw.mods.fml.common.SidedProxy;

import cpw.mods.fml.common.event.FMLInitializationEvent;

import cpw.mods.fml.common.event.FMLPreInitializationEvent;

import cpw.mods.fml.common.network.NetworkMod;

import cpw.mods.fml.common.registry.GameRegistry;

import cpw.mods.fml.common.registry.LanguageRegistry;

 

@Mod(modid = "BlueEagle", name = "The God Mod", version = "v0.50")

@NetworkMod(clientSideRequired = true, serverSideRequired = false)

 

public class mod_TheGodMod{

 

@SidedProxy(clientSide = "blueeagle.client.ClientProxy",

    serverSide = "blueeagle.common.CommonProxy")

public static ClientProxy proxy = new ClientProxy();

 

 

 

//The Creative Tab

 

public static CreativeTabs tabAllThingsGod = new TabAllThingsGod(CreativeTabs.getNextID(),"AllThingsGod");

 

/**

* Blocks

**/

 

static Block DemonicBlock;

 

int DemonicBlockID = 500;

 

Block DemonicWallsBlock;

 

int DemonicWallsBlockID = 501;

 

Block DemonicGlassBlock;

 

int DemonicGlassBlockID = 502;

 

    Block DemonicTorch;

   

    int DemonicTorchID = 503;

   

    Block HeroicBlock;

 

int HeroicBlockID = 504;

 

Block HeroicWallsBlock;

 

int HeroicWallsBlockID = 505;

 

Block HeroicGlassBlock;

 

int HeroicGlassBlockID = 506;

 

    Block HeroicTorch;

   

    int HeroicTorchID = 507;

   

    Block BalancedBlock;

 

int BalancedBlockID = 508;

 

    Block Balanced1Block;

 

int Balanced1BlockID = 509;

 

    Block Balanced2Block;

 

    int Balanced2BlockID = 510;

 

    Block Balanced3Block;

 

    int Balanced3BlockID = 511;

 

    Block Balanced4Block;

 

    int Balanced4BlockID = 512;

 

    Block Balanced5Block;

 

    int Balanced5BlockID = 513;

 

    Block Balanced6Block;

 

    int Balanced6BlockID = 514;

 

    Block Balanced7Block;

 

    int Balanced7BlockID = 515;

 

    Block Balanced8Block;

 

    int Balanced8BlockID = 516;

   

    Block BalancedGlass;

   

    int BalancedGlassID = 517;

   

    Block BalancedTorch;

   

    int BalancedTorchID = 518;

   

    //Normal Blocks :D

   

/**

* Items

**/

 

    Item DemonicHeart;

   

    int DemonicHeartID = 519;

/**

* Tools

**/

 

/**

* Armor

**/

 

/**

* Weapons

**/

 

/**               

* Biome

**/

 

/**

* Achievement

**/

   

    /**

    * Mobs

    **/

 

   

@PreInit

    public void initConfig(FMLPreInitializationEvent fpie)

    {

         

    }

 

    @Init

    public void load(FMLInitializationEvent fie){

DemonicBlock = new BlockDemonic(DemonicBlockID, 0, Material.God).setBlockName("Demonic Block");

DemonicWallsBlock = new DemonicWallsBlock(DemonicWallsBlockID, 1, Material.God).setBlockName("Demonic Walls Block");

DemonicGlassBlock = new DemonicGlassBlock(DemonicGlassBlockID, 2, Material.Godglass).setBlockName("Demonic Glass");

    DemonicTorch = new DemonicTorch(DemonicTorchID, 3, Material.circuits).setBlockName("Demonic Torch").setLightValue(2f);

HeroicBlock = new BlockHeroic(HeroicBlockID, 4, Material.God).setBlockName("Heroic Block");

HeroicWallsBlock = new HeroicWallsBlock(HeroicWallsBlockID, 5, Material.God).setBlockName("Heroic Walls Block");

HeroicGlassBlock = new HeroicGlassBlock(HeroicGlassBlockID, 6, Material.Godglass).setBlockName("Heroic Glass");

    HeroicTorch = new HeroicTorch(HeroicTorchID, 7, Material.circuits).setBlockName("Heroic Torch").setLightValue(2f);

BalancedBlock = new BlockBalanced(BalancedBlockID, 8, Material.God).setBlockName("Balanced Block");

Balanced1Block = new BlockBalanced(Balanced1BlockID, 9, Material.God).setBlockName("Balanced Block");

Balanced2Block = new BlockBalanced(Balanced2BlockID, 10, Material.God).setBlockName("Balanced Block");

Balanced3Block = new BlockBalanced(Balanced3BlockID, 11, Material.God).setBlockName("Balanced Block");

Balanced4Block = new BlockBalanced(Balanced4BlockID, 12, Material.God).setBlockName("Balanced Block");

Balanced5Block = new BlockBalanced(Balanced5BlockID, 13, Material.God).setBlockName("Balanced Block");

Balanced6Block = new BlockBalanced(Balanced6BlockID, 14, Material.God).setBlockName("Balanced Block");

Balanced7Block = new BlockBalanced(Balanced7BlockID, 15, Material.God).setBlockName("Balanced Block");

Balanced8Block = new BlockBalanced(Balanced8BlockID, 16, Material.God).setBlockName("Balanced Block");

BalancedGlass = new BalancedGlassBlock(BalancedGlassID, 17, Material.Godglass).setBlockName("Balanced Glass");

    BalancedTorch = new BalancedTorch(BalancedTorchID, 18, Material.circuits).setBlockName("Balanced Torch").setLightValue(2f);

 

   

    RegisteringBlocks();

    RegisteringBiomes();

    ItemNames();

    BlockNames();

    CraftingRecipes();

    SmeltingRecipes();

   

    proxy.registerRenders();

    }

   

   

public void RegisteringBlocks()

    {

GameRegistry.registerBlock(DemonicBlock);

GameRegistry.registerBlock(DemonicWallsBlock);

GameRegistry.registerBlock(DemonicGlassBlock);

GameRegistry.registerBlock(DemonicTorch);

GameRegistry.registerBlock(HeroicBlock);

GameRegistry.registerBlock(HeroicWallsBlock);

GameRegistry.registerBlock(HeroicGlassBlock);

GameRegistry.registerBlock(HeroicTorch);

GameRegistry.registerBlock(BalancedBlock);

GameRegistry.registerBlock(Balanced1Block);

GameRegistry.registerBlock(Balanced2Block);

GameRegistry.registerBlock(Balanced3Block);

GameRegistry.registerBlock(Balanced4Block);

GameRegistry.registerBlock(Balanced5Block);

GameRegistry.registerBlock(Balanced6Block);

GameRegistry.registerBlock(Balanced7Block);

GameRegistry.registerBlock(Balanced8Block);

GameRegistry.registerBlock(BalancedTorch);

GameRegistry.registerBlock(BalancedGlass);

 

    }

 

public void RegisteringBiomes()

{

 

}

 

public void ItemNames()

{

 

}

 

public void BlockNames()

{

LanguageRegistry.addName(DemonicBlock, "Demonic Block");

LanguageRegistry.addName(DemonicWallsBlock, "Demonic Walls Block");

LanguageRegistry.addName(DemonicGlassBlock, "Demonic Glass");

LanguageRegistry.addName(DemonicTorch, "Demonic Torch");

LanguageRegistry.addName(HeroicBlock, "Heroic Block");

LanguageRegistry.addName(HeroicWallsBlock, "Heroic Walls Block");

LanguageRegistry.addName(HeroicGlassBlock, "Heroic Glass");

LanguageRegistry.addName(HeroicTorch, "Heroic Torch");

LanguageRegistry.addName(BalancedBlock, "Balanced Block");

LanguageRegistry.addName(Balanced1Block, "Balanced Block");

LanguageRegistry.addName(Balanced2Block, "Balanced Block");

LanguageRegistry.addName(Balanced3Block, "Balanced Block");

LanguageRegistry.addName(Balanced4Block, "Balanced Block");

LanguageRegistry.addName(Balanced5Block, "Balanced Block");

LanguageRegistry.addName(Balanced6Block, "Balanced Block");

LanguageRegistry.addName(Balanced7Block, "Balanced Block");

LanguageRegistry.addName(Balanced8Block, "Balanced Block");

LanguageRegistry.addName(BalancedGlass, "Balanced Glass");

LanguageRegistry.addName(BalancedTorch, "Balanced Torch");

 

 

}

 

public void CraftingRecipes()

{

 

}

 

public void SmeltingRecipes()

{

 

}

 

 

{

ModLoader.registerEntityID(EntityAngel.class, "Angel", 31);//registers the mobs name and id

ModLoader.addSpawn("Angel", 1, -1, 1, EnumCreatureType.ambient);//makes the mob spawn in game

ModLoader.addLocalization("entity.Angel.name", "Angel");//adds Mob name on the spawn egg

EntityList.entityEggs.put(Integer.valueOf(31), new EntityEggInfo(31, 858325, (new Color(21, 15, 6)).getRGB()));//creates the spawn egg, and chnages color of egg

}

  public void addRenderer(Map var1)

  {

{

  var1.put(EntityAngel.class, new RenderLiving(new ModelAngel(), 0.5F));

}

  }

}

 

 

 

Entity file:

 

package blueagle.common;

 

import net.minecraft.entity.Entity;

import net.minecraft.entity.ai.EntityAIAttackOnCollide;

import net.minecraft.entity.ai.EntityAIHurtByTarget;

import net.minecraft.entity.ai.EntityAILookIdle;

import net.minecraft.entity.ai.EntityAIMoveTwardsRestriction;

import net.minecraft.entity.ai.EntityAINearestAttackableTarget;

import net.minecraft.entity.ai.EntityAISwimming;

import net.minecraft.entity.ai.EntityAIWander;

import net.minecraft.entity.monster.EntityMob;

import net.minecraft.entity.player.EntityPlayer;

import net.minecraft.item.Item;

import net.minecraft.world.World;

 

public class EntityAngel extends EntityMob//extend this to make mob hostile

{

   

public EntityAngel(World par1World)

{

super(par1World);

this.texture = "/mob/Angel.png";//Set Mob texture

this.moveSpeed = 0.4f;//sets how fast this mob moves

isImmuneToFire = false;

//below this is all the ai tasks that specify how the mob will behave mess around with it to see what happens

this.tasks.addTask(0, new EntityAISwimming(this));

this.tasks.addTask(1, new EntityAIAttackOnCollide(this, EntityPlayer.class, this.moveSpeed, false));

this.tasks.addTask(2, new EntityAIMoveTwardsRestriction(this, this.moveSpeed));

this.tasks.addTask(3, new EntityAIWander(this, this.moveSpeed));

this.tasks.addTask(4, new EntityAILookIdle(this));

this.targetTasks.addTask(0, new EntityAIHurtByTarget(this, false));

this.targetTasks.addTask(1, new EntityAINearestAttackableTarget(this, EntityPlayer.class, 25.0F, 0, true));

//this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityDemon.class, 16.0F, 0, true));

 

}

 

public int func_82193_c(Entity par1Entity) //the amount of damage

{

return 4;

}

 

protected void fall(float par1) {}

public int getMaxHealth() // Mob health

{

return 10;

}

 

protected String getLivingSound()

{

return "";

}

 

protected String getHurtSound()

{

return "";

}

 

protected String getDeathSound()

{

return "";

}

 

protected int getDropItemId()

{

return Item.stick.itemID;

}

 

protected boolean canDespawn()

{

return true;

}

 

 

 

protected boolean isAIEnabled()//Allow your AI task to work?

{

return true;

}

}

 

 

Model file:

 

package blueagle.common;

 

import net.minecraft.client.model.ModelBase;

import net.minecraft.client.model.ModelRenderer;

import net.minecraft.entity.Entity;

import net.minecraft.util.MathHelper;

 

public class ModelAngel extends ModelBase

{

  //fields

    ModelRenderer head;

    ModelRenderer body;

    ModelRenderer rightarm;

    ModelRenderer leftarm;

    ModelRenderer Wing1;

    ModelRenderer Wing2;

    ModelRenderer Body_1;

    ModelRenderer leftleg;

    ModelRenderer Wing3;

    ModelRenderer wing4;

    ModelRenderer wing5;

    ModelRenderer wing6;

    ModelRenderer wing7;

    ModelRenderer wing8;

    ModelRenderer wing9;

    ModelRenderer wing10;

    ModelRenderer Wing11;

    ModelRenderer Wing12;

    ModelRenderer wing13;

    ModelRenderer wing14;

    ModelRenderer wing15;

    ModelRenderer wing16;

    ModelRenderer wing17;

    ModelRenderer Wing20;

    ModelRenderer wing21;

    ModelRenderer wing22;

    ModelRenderer wing23;

    ModelRenderer wing24;

    ModelRenderer wing25;

    ModelRenderer wing26;

    ModelRenderer wing27;

    ModelRenderer wing28;

    ModelRenderer wing29;

    ModelRenderer wing30;

    ModelRenderer wing31;

    ModelRenderer wing32;

    ModelRenderer Hood_top;

    ModelRenderer Hood_right;

    ModelRenderer Hood_left;

    ModelRenderer Hood_back;

    ModelRenderer Hood_front_1;

    ModelRenderer hood_front_2;

    ModelRenderer hood_front_3;

    ModelRenderer hood_front_4;

    ModelRenderer hood_front_5;

    ModelRenderer Hood_front_6;

    ModelRenderer hood_front_7;

    ModelRenderer Body_detail_1;

    ModelRenderer Body_detail_2;

    ModelRenderer body_detail_3;

    ModelRenderer body_detail_4;

    ModelRenderer bodyh_detail_5;

    ModelRenderer body_detail_6;

    ModelRenderer body_detail_7;

    ModelRenderer Top_left_side;

    ModelRenderer top_right_side;

    ModelRenderer Main_robe;

    ModelRenderer robe_bottom;

    ModelRenderer bottom_robe_detail_2;

    ModelRenderer bottomrobe_detail__3;

    ModelRenderer Robe;

    ModelRenderer bottom_robe_detail_4;

    ModelRenderer bottom_robe_detail_5;

    ModelRenderer right_hand;

    ModelRenderer left_hand;

 

  public ModelAngel()

  {

    textureWidth = 256;

    textureHeight = 128;

   

      head = new ModelRenderer(this, 1, 0);

      head.addBox(-4F, -8F, -4F, 8, 8, 8);

      head.setRotationPoint(0F, 0F, 0F);

      head.setTextureSize(256, 128);

      head.mirror = true;

      setRotation(head, 0F, 0F, 0F);

      body = new ModelRenderer(this, 40, 0);

      body.addBox(-4F, 0F, -2F, 8, 12, 4);

      body.setRotationPoint(0F, 0F, 0F);

      body.setTextureSize(256, 128);

      body.mirror = true;

      setRotation(body, 0F, 0F, 0F);

      rightarm = new ModelRenderer(this, 136, 16);

      rightarm.addBox(-3F, -2F, -2F, 4, 10, 6);

      rightarm.setRotationPoint(-6F, 2F, -2F);

      rightarm.setTextureSize(256, 128);

      rightarm.mirror = true;

      setRotation(rightarm, 0F, 0F, 0F);

      leftarm = new ModelRenderer(this, 112, 16);

      leftarm.addBox(-1F, -2F, -2F, 4, 10, 6);

      leftarm.setRotationPoint(6F, 2F, -2F);

      leftarm.setTextureSize(256, 128);

      leftarm.mirror = true;

      setRotation(leftarm, 0F, 0F, 0F);

      Wing1 = new ModelRenderer(this, 66, 121);

      Wing1.addBox(0F, 0F, 0F, 1, 6, 1);

      Wing1.setRotationPoint(0F, 2F, 2F);

      Wing1.setTextureSize(256, 128);

      Wing1.mirror = true;

      setRotation(Wing1, 0F, 0F, 0F);

      Wing2 = new ModelRenderer(this, 73, 119);

      Wing2.addBox(0F, 0F, 3F, 1, 8, 1);

      Wing2.setRotationPoint(1F, 1F, 0F);

      Wing2.setTextureSize(256, 128);

      Wing2.mirror = true;

      setRotation(Wing2, 0F, 0F, 0F);

      Body_1 = new ModelRenderer(this, 13, 72);

      Body_1.addBox(0F, 0F, 0F, 8, 8, 1);

      Body_1.setRotationPoint(-4F, 4F, -3F);

      Body_1.setTextureSize(256, 128);

      Body_1.mirror = true;

      setRotation(Body_1, 0F, 0F, 0F);

      leftleg = new ModelRenderer(this, 138, 79);

      leftleg.addBox(0F, 0F, 0F, 10, 10, 7);

      leftleg.setRotationPoint(-5F, 13F, -4F);

      leftleg.setTextureSize(256, 128);

      leftleg.mirror = true;

      setRotation(leftleg, 0F, 0F, 0F);

      Wing3 = new ModelRenderer(this, 4, 117);

      Wing3.addBox(0F, 0F, 0F, 1, 10, 1);

      Wing3.setRotationPoint(-3F, 0F, 4F);

      Wing3.setTextureSize(256, 128);

      Wing3.mirror = true;

      setRotation(Wing3, 0F, 0F, 0F);

      wing4 = new ModelRenderer(this, 8, 115);

      wing4.addBox(0F, 0F, 0F, 1, 12, 1);

      wing4.setRotationPoint(-4F, -1F, 4F);

      wing4.setTextureSize(256, 128);

      wing4.mirror = true;

      setRotation(wing4, 0F, 0F, 0F);

      wing5 = new ModelRenderer(this, 12, 112);

      wing5.addBox(0F, 0F, 0F, 1, 15, 1);

      wing5.setRotationPoint(-5F, -3F, 5F);

      wing5.setTextureSize(256, 128);

      wing5.mirror = true;

      setRotation(wing5, 0F, 0F, 0F);

      wing6 = new ModelRenderer(this, 16, 111);

      wing6.addBox(0F, 0F, 0F, 1, 16, 1);

      wing6.setRotationPoint(-6F, -4F, 5F);

      wing6.setTextureSize(256, 128);

      wing6.mirror = true;

      setRotation(wing6, 0F, 0F, 0F);

      wing7 = new ModelRenderer(this, 20, 108);

      wing7.addBox(0F, 0F, 0F, 1, 19, 1);

      wing7.setRotationPoint(-7F, -6F, 5F);

      wing7.setTextureSize(256, 128);

      wing7.mirror = true;

      setRotation(wing7, 0F, 0F, 0F);

      wing8 = new ModelRenderer(this, 24, 106);

      wing8.addBox(0F, 0F, 0F, 1, 21, 1);

      wing8.setRotationPoint(-8F, -8F, 6F);

      wing8.setTextureSize(256, 128);

      wing8.mirror = true;

      setRotation(wing8, 0F, 0F, 0F);

      wing9 = new ModelRenderer(this, 28, 103);

      wing9.addBox(0F, 0F, 0F, 1, 24, 1);

      wing9.setRotationPoint(-9F, -10F, 6F);

      wing9.setTextureSize(256, 128);

      wing9.mirror = true;

      setRotation(wing9, 0F, 0F, 0F);

      wing10 = new ModelRenderer(this, 52, 106);

      wing10.addBox(0F, 0F, 0F, 1, 21, 1);

      wing10.setRotationPoint(-15F, -9F, 4F);

      wing10.setTextureSize(256, 128);

      wing10.mirror = true;

      setRotation(wing10, 0F, 0F, 0F);

      Wing11 = new ModelRenderer(this, 0, 119);

      Wing11.addBox(0F, 0F, 0F, 1, 8, 1);

      Wing11.setRotationPoint(-2F, 1F, 3F);

      Wing11.setTextureSize(256, 128);

      Wing11.mirror = true;

      setRotation(Wing11, 0F, 0F, 0F);

      Wing12 = new ModelRenderer(this, 61, 121);

      Wing12.addBox(0F, 0F, 0F, 1, 6, 1);

      Wing12.setRotationPoint(-1F, 2F, 2F);

      Wing12.setTextureSize(256, 128);

      Wing12.mirror = true;

      setRotation(Wing12, 0F, 0F, 0F);

      wing13 = new ModelRenderer(this, 48, 102);

      wing13.addBox(0F, 0F, 0F, 1, 25, 1);

      wing13.setRotationPoint(-14F, -11F, 5F);

      wing13.setTextureSize(256, 128);

      wing13.mirror = true;

      setRotation(wing13, 0F, 0F, 0F);

      wing14 = new ModelRenderer(this, 44, 99);

      wing14.addBox(0F, 0F, 0F, 1, 28, 1);

      wing14.setRotationPoint(-13F, -13F, 6F);

      wing14.setTextureSize(256, 128);

      wing14.mirror = true;

      setRotation(wing14, 0F, 0F, 0F);

      wing15 = new ModelRenderer(this, 40, 97);

      wing15.addBox(0F, 0F, 0F, 1, 30, 1);

      wing15.setRotationPoint(-12F, -14F, 7F);

      wing15.setTextureSize(256, 128);

      wing15.mirror = true;

      setRotation(wing15, 0F, 0F, 0F);

      wing16 = new ModelRenderer(this, 36, 99);

      wing16.addBox(0F, 0F, 0F, 1, 28, 1);

      wing16.setRotationPoint(-11F, -13F, 6F);

      wing16.setTextureSize(256, 128);

      wing16.mirror = true;

      setRotation(wing16, 0F, 0F, 0F);

      wing17 = new ModelRenderer(this, 32, 102);

      wing17.addBox(0F, 0F, 0F, 1, 25, 1);

      wing17.setRotationPoint(-10F, -11F, 6F);

      wing17.setTextureSize(256, 128);

      wing17.mirror = true;

      setRotation(wing17, 0F, 0F, 0F);

      Wing20 = new ModelRenderer(this, 77, 117);

      Wing20.addBox(0F, 0F, 0F, 1, 10, 1);

      Wing20.setRotationPoint(2F, 0F, 4F);

      Wing20.setTextureSize(256, 128);

      Wing20.mirror = true;

      setRotation(Wing20, 0F, 0F, 0F);

      wing21 = new ModelRenderer(this, 81, 115);

      wing21.addBox(0F, 0F, 0F, 1, 12, 1);

      wing21.setRotationPoint(3F, -1F, 4F);

      wing21.setTextureSize(256, 128);

      wing21.mirror = true;

      setRotation(wing21, 0F, 0F, 0F);

      wing22 = new ModelRenderer(this, 85, 112);

      wing22.addBox(0F, 0F, 0F, 1, 15, 1);

      wing22.setRotationPoint(4F, -3F, 5F);

      wing22.setTextureSize(256, 128);

      wing22.mirror = true;

      setRotation(wing22, 0F, 0F, 0F);

      wing23 = new ModelRenderer(this, 89, 111);

      wing23.addBox(0F, 0F, 0F, 1, 16, 1);

      wing23.setRotationPoint(5F, -4F, 5F);

      wing23.setTextureSize(256, 128);

      wing23.mirror = true;

      setRotation(wing23, 0F, 0F, 0F);

      wing24 = new ModelRenderer(this, 93, 108);

      wing24.addBox(0F, 0F, 0F, 1, 19, 1);

      wing24.setRotationPoint(6F, -6F, 5F);

      wing24.setTextureSize(256, 128);

      wing24.mirror = true;

      setRotation(wing24, 0F, 0F, 0F);

      wing25 = new ModelRenderer(this, 97, 106);

      wing25.addBox(0F, 0F, 0F, 1, 21, 1);

      wing25.setRotationPoint(7F, -8F, 6F);

      wing25.setTextureSize(256, 128);

      wing25.mirror = true;

      setRotation(wing25, 0F, 0F, 0F);

      wing26 = new ModelRenderer(this, 101, 103);

      wing26.addBox(0F, 0F, 0F, 1, 24, 1);

      wing26.setRotationPoint(8F, -10F, 6F);

      wing26.setTextureSize(256, 128);

      wing26.mirror = true;

      setRotation(wing26, 0F, 0F, 0F);

      wing27 = new ModelRenderer(this, 105, 102);

      wing27.addBox(0F, 0F, 0F, 1, 25, 1);

      wing27.setRotationPoint(9F, -11F, 6F);

      wing27.setTextureSize(256, 128);

      wing27.mirror = true;

      setRotation(wing27, 0F, 0F, 0F);

      wing28 = new ModelRenderer(this, 109, 99);

      wing28.addBox(0F, 0F, 0F, 1, 28, 1);

      wing28.setRotationPoint(10F, -13F, 6F);

      wing28.setTextureSize(256, 128);

      wing28.mirror = true;

      setRotation(wing28, 0F, 0F, 0F);

      wing29 = new ModelRenderer(this, 113, 97);

      wing29.addBox(0F, 0F, 0F, 1, 30, 1);

      wing29.setRotationPoint(11F, -14F, 7F);

      wing29.setTextureSize(256, 128);

      wing29.mirror = true;

      setRotation(wing29, 0F, 0F, 0F);

      wing30 = new ModelRenderer(this, 117, 99);

      wing30.addBox(0F, 0F, 0F, 1, 28, 1);

      wing30.setRotationPoint(12F, -13F, 6F);

      wing30.setTextureSize(256, 128);

      wing30.mirror = true;

      setRotation(wing30, 0F, 0F, 0F);

      wing31 = new ModelRenderer(this, 121, 102);

      wing31.addBox(0F, 0F, 0F, 1, 25, 1);

      wing31.setRotationPoint(13F, -11F, 5F);

      wing31.setTextureSize(256, 128);

      wing31.mirror = true;

      setRotation(wing31, 0F, 0F, 0F);

      wing32 = new ModelRenderer(this, 125, 106);

      wing32.addBox(0F, 0F, 0F, 1, 21, 1);

      wing32.setRotationPoint(14F, -9F, 4F);

      wing32.setTextureSize(256, 128);

      wing32.mirror = true;

      setRotation(wing32, 0F, 0F, 0F);

      Hood_top = new ModelRenderer(this, 188, 0);

      Hood_top.addBox(0F, 0F, 0F, 10, 1, 10);

      Hood_top.setRotationPoint(-5F, -9F, -5F);

      Hood_top.setTextureSize(256, 128);

      Hood_top.mirror = true;

      setRotation(Hood_top, 0F, 0F, 0F);

      Hood_right = new ModelRenderer(this, 228, 0);

      Hood_right.addBox(0F, 0F, 0F, 1, 9, 10);

      Hood_right.setRotationPoint(4F, -9F, -5F);

      Hood_right.setTextureSize(256, 128);

      Hood_right.mirror = true;

      setRotation(Hood_right, 0F, 0F, 0F);

      Hood_left = new ModelRenderer(this, 166, 0);

      Hood_left.addBox(0F, 0F, 0F, 1, 9, 10);

      Hood_left.setRotationPoint(-5F, -9F, -5F);

      Hood_left.setTextureSize(256, 128);

      Hood_left.mirror = true;

      setRotation(Hood_left, 0F, 0F, 0F);

      Hood_back = new ModelRenderer(this, 197, 12);

      Hood_back.addBox(0F, 0F, 0F, 9, 9, 1);

      Hood_back.setRotationPoint(-5F, -9F, 4F);

      Hood_back.setTextureSize(256, 128);

      Hood_back.mirror = true;

      setRotation(Hood_back, 0F, 0F, 0F);

      Hood_front_1 = new ModelRenderer(this, 111, 0);

      Hood_front_1.addBox(0F, 0F, 0F, 2, 5, 1);

      Hood_front_1.setRotationPoint(-1F, -9F, -5F);

      Hood_front_1.setTextureSize(256, 128);

      Hood_front_1.mirror = true;

      setRotation(Hood_front_1, 0F, 0F, 0F);

      hood_front_2 = new ModelRenderer(this, 117, 0);

      hood_front_2.addBox(0F, 0F, 0F, 1, 4, 1);

      hood_front_2.setRotationPoint(1F, -9F, -5F);

      hood_front_2.setTextureSize(256, 128);

      hood_front_2.mirror = true;

      setRotation(hood_front_2, 0F, 0F, 0F);

      hood_front_3 = new ModelRenderer(this, 99, 0);

      hood_front_3.addBox(0F, 0F, 0F, 1, 6, 1);

      hood_front_3.setRotationPoint(-4F, -9F, -5F);

      hood_front_3.setTextureSize(256, 128);

      hood_front_3.mirror = true;

      setRotation(hood_front_3, 0F, 0F, 0F);

      hood_front_4 = new ModelRenderer(this, 125, 0);

      hood_front_4.addBox(0F, 0F, 0F, 1, 6, 1);

      hood_front_4.setRotationPoint(3F, -9F, -5F);

      hood_front_4.setTextureSize(256, 128);

      hood_front_4.mirror = true;

      setRotation(hood_front_4, 0F, 0F, 0F);

      hood_front_5 = new ModelRenderer(this, 107, 0);

      hood_front_5.addBox(0F, 0F, 0F, 1, 4, 1);

      hood_front_5.setRotationPoint(-2F, -9F, -5F);

      hood_front_5.setTextureSize(256, 128);

      hood_front_5.mirror = true;

      setRotation(hood_front_5, 0F, 0F, 0F);

      Hood_front_6 = new ModelRenderer(this, 103, 0);

      Hood_front_6.addBox(0F, 0F, 0F, 1, 5, 1);

      Hood_front_6.setRotationPoint(-3F, -9F, -5F);

      Hood_front_6.setTextureSize(256, 128);

      Hood_front_6.mirror = true;

      setRotation(Hood_front_6, 0F, 0F, 0F);

      hood_front_7 = new ModelRenderer(this, 121, 0);

      hood_front_7.addBox(0F, 0F, 0F, 1, 5, 1);

      hood_front_7.setRotationPoint(2F, -9F, -5F);

      hood_front_7.setTextureSize(256, 128);

      hood_front_7.mirror = true;

      setRotation(hood_front_7, 0F, 0F, 0F);

      Body_detail_1 = new ModelRenderer(this, -1, 62);

      Body_detail_1.addBox(0F, 0F, 0F, 1, 6, 2);

      Body_detail_1.setRotationPoint(-4F, 0F, -4F);

      Body_detail_1.setTextureSize(256, 128);

      Body_detail_1.mirror = true;

      setRotation(Body_detail_1, 0F, 0F, 0F);

      Body_detail_2 = new ModelRenderer(this, 37, 62);

      Body_detail_2.addBox(0F, 0F, 0F, 1, 6, 2);

      Body_detail_2.setRotationPoint(3F, 0F, -4F);

      Body_detail_2.setTextureSize(256, 128);

      Body_detail_2.mirror = true;

      setRotation(Body_detail_2, 0F, 0F, 0F);

      body_detail_3 = new ModelRenderer(this, 17, 63);

      body_detail_3.addBox(0F, 0F, 0F, 2, 5, 2);

      body_detail_3.setRotationPoint(-1F, 4F, -4F);

      body_detail_3.setTextureSize(256, 128);

      body_detail_3.mirror = true;

      setRotation(body_detail_3, 0F, 0F, 0F);

      body_detail_4 = new ModelRenderer(this, 5, 63);

      body_detail_4.addBox(0F, 0F, 0F, 1, 5, 2);

      body_detail_4.setRotationPoint(-3F, 2F, -4F);

      body_detail_4.setTextureSize(256, 128);

      body_detail_4.mirror = true;

      setRotation(body_detail_4, 0F, 0F, 0F);

      bodyh_detail_5 = new ModelRenderer(this, 11, 63);

      bodyh_detail_5.addBox(0F, 0F, 0F, 1, 5, 2);

      bodyh_detail_5.setRotationPoint(-2F, 3F, -4F);

      bodyh_detail_5.setTextureSize(256, 128);

      bodyh_detail_5.mirror = true;

      setRotation(bodyh_detail_5, 0F, 0F, 0F);

      body_detail_6 = new ModelRenderer(this, 31, 63);

      body_detail_6.addBox(0F, 0F, 0F, 1, 5, 2);

      body_detail_6.setRotationPoint(2F, 2F, -4F);

      body_detail_6.setTextureSize(256, 128);

      body_detail_6.mirror = true;

      setRotation(body_detail_6, 0F, 0F, 0F);

      body_detail_7 = new ModelRenderer(this, 25, 63);

      body_detail_7.addBox(0F, 0F, 0F, 1, 5, 2);

      body_detail_7.setRotationPoint(1F, 3F, -4F);

      body_detail_7.setTextureSize(256, 128);

      body_detail_7.mirror = true;

      setRotation(body_detail_7, 0F, 0F, 0F);

      Top_left_side = new ModelRenderer(this, 0, 40);

      Top_left_side.addBox(0F, 0F, 0F, 1, 14, 6);

      Top_left_side.setRotationPoint(-5F, 0F, -4F);

      Top_left_side.setTextureSize(256, 128);

      Top_left_side.mirror = true;

      setRotation(Top_left_side, 0F, 0F, 0F);

      top_right_side = new ModelRenderer(this, 28, 40);

      top_right_side.addBox(0F, 0F, 0F, 1, 14, 6);

      top_right_side.setRotationPoint(4F, 0F, -4F);

      top_right_side.setTextureSize(256, 128);

      top_right_side.mirror = true;

      setRotation(top_right_side, 0F, 0F, 0F);

      Main_robe = new ModelRenderer(this, 102, 54);

      Main_robe.addBox(0F, 0F, 0F, 8, 5, 5);

      Main_robe.setRotationPoint(-4F, 12F, -3F);

      Main_robe.setTextureSize(256, 128);

      Main_robe.mirror = true;

      setRotation(Main_robe, 0F, 0F, 0F);

      robe_bottom = new ModelRenderer(this, 94, 65);

      robe_bottom.addBox(0F, 0F, 0F, 12, 1, 9);

      robe_bottom.setRotationPoint(-6F, 23F, -5F);

      robe_bottom.setTextureSize(256, 128);

      robe_bottom.mirror = true;

      setRotation(robe_bottom, 0F, 0F, 0F);

      bottom_robe_detail_2 = new ModelRenderer(this, 102, 51);

      bottom_robe_detail_2.addBox(0F, 0F, 0F, 3, 1, 1);

      bottom_robe_detail_2.setRotationPoint(-4F, 12F, -4F);

      bottom_robe_detail_2.setTextureSize(256, 128);

      bottom_robe_detail_2.mirror = true;

      setRotation(bottom_robe_detail_2, 0F, 0F, 0F);

      bottomrobe_detail__3 = new ModelRenderer(this, 120, 51);

      bottomrobe_detail__3.addBox(0F, 0F, 0F, 3, 1, 1);

      bottomrobe_detail__3.setRotationPoint(1F, 12F, -4F);

      bottomrobe_detail__3.setTextureSize(256, 128);

      bottomrobe_detail__3.mirror = true;

      setRotation(bottomrobe_detail__3, 0F, 0F, 0F);

      Robe = new ModelRenderer(this, 138, 59);

      Robe.addBox(-2F, 0F, -2F, 10, 9, 7);

      Robe.setRotationPoint(-3F, 15F, -2F);

      Robe.setTextureSize(256, 128);

      Robe.mirror = true;

      setRotation(Robe, 0F, 0F, 0F);

      bottom_robe_detail_4 = new ModelRenderer(this, 130, 49);

      bottom_robe_detail_4.addBox(0F, 0F, 0F, 1, 1, 1);

      bottom_robe_detail_4.setRotationPoint(3F, 11F, -4F);

      bottom_robe_detail_4.setTextureSize(256, 128);

      bottom_robe_detail_4.mirror = true;

      setRotation(bottom_robe_detail_4, 0F, 0F, 0F);

      bottom_robe_detail_5 = new ModelRenderer(this, 96, 48);

      bottom_robe_detail_5.addBox(0F, 0F, 0F, 1, 1, 1);

      bottom_robe_detail_5.setRotationPoint(-4F, 11F, -4F);

      bottom_robe_detail_5.setTextureSize(256, 128);

      bottom_robe_detail_5.mirror = true;

      setRotation(bottom_robe_detail_5, 0F, 0F, 0F);

      right_hand = new ModelRenderer(this, 70, 16);

      right_hand.addBox(0F, 0F, 0F, 4, 2, 4);

      right_hand.setRotationPoint(-9F, 10F, -3F);

      right_hand.setTextureSize(256, 128);

      right_hand.mirror = true;

      setRotation(right_hand, 0F, 0F, 0F);

      left_hand = new ModelRenderer(this, 88, 16);

      left_hand.addBox(0F, 0F, 0F, 4, 2, 4);

      left_hand.setRotationPoint(5F, 10F, -3F);

      left_hand.setTextureSize(256, 128);

      left_hand.mirror = true;

      setRotation(left_hand, 0F, 0F, 0F);

  }

 

 

  public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5)

  {

    super.render(entity, f, f1, f2, f3, f4, f5);

    setRotationAngles(f, f1, f2, f3, f4, f5);

    head.render(f5);

    body.render(f5);

    rightarm.render(f5);

    leftarm.render(f5);

    Wing1.render(f5);

    Wing2.render(f5);

    Body_1.render(f5);

    leftleg.render(f5);

    Wing3.render(f5);

    wing4.render(f5);

    wing5.render(f5);

    wing6.render(f5);

    wing7.render(f5);

    wing8.render(f5);

    wing9.render(f5);

    wing10.render(f5);

    Wing11.render(f5);

    Wing12.render(f5);

    wing13.render(f5);

    wing14.render(f5);

    wing15.render(f5);

    wing16.render(f5);

    wing17.render(f5);

    Wing20.render(f5);

    wing21.render(f5);

    wing22.render(f5);

    wing23.render(f5);

    wing24.render(f5);

    wing25.render(f5);

    wing26.render(f5);

    wing27.render(f5);

    wing28.render(f5);

    wing29.render(f5);

    wing30.render(f5);

    wing31.render(f5);

    wing32.render(f5);

    Hood_top.render(f5);

    Hood_right.render(f5);

    Hood_left.render(f5);

    Hood_back.render(f5);

    Hood_front_1.render(f5);

    hood_front_2.render(f5);

    hood_front_3.render(f5);

    hood_front_4.render(f5);

    hood_front_5.render(f5);

    Hood_front_6.render(f5);

    hood_front_7.render(f5);

    Body_detail_1.render(f5);

    Body_detail_2.render(f5);

    body_detail_3.render(f5);

    body_detail_4.render(f5);

    bodyh_detail_5.render(f5);

    body_detail_6.render(f5);

    body_detail_7.render(f5);

    Top_left_side.render(f5);

    top_right_side.render(f5);

    Main_robe.render(f5);

    robe_bottom.render(f5);

    bottom_robe_detail_2.render(f5);

    bottomrobe_detail__3.render(f5);

    Robe.render(f5);

    bottom_robe_detail_4.render(f5);

    bottom_robe_detail_5.render(f5);

    right_hand.render(f5);

    left_hand.render(f5);

  }

 

  private void setRotation(ModelRenderer model, float x, float y, float z)

  {

    model.rotateAngleX = x;

    model.rotateAngleY = y;

    model.rotateAngleZ = z;

  }

 

  public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5)

  {

  super.setRotationAngles(f, f1, f2, f3, f4, f5, null);

  rightarm.rotateAngleX = MathHelper.cos(f * 0.6662F) * 1.0F * f1;

  leftarm.rotateAngleX = MathHelper.cos(f * 0.6662F + (float)Math.PI) * 1.0F * f1;

  }

  }

 

 

 

 

Lastly the render file:

 

package blueagle.common;

 

import net.minecraft.client.renderer.entity.RenderLiving;

import net.minecraft.entity.Entity;

import net.minecraft.entity.EntityLiving;

 

public class RenderAngel extends RenderLiving

{

protected ModelAngel model;

 

public RenderAngel (ModelAngel modelAngel, float f)

{

super(modelAngel, f);

model = ((ModelAngel)mainModel);

}

 

public void renderAngel(EntityAngel entity, double par2, double par4, double par6, float par8, float par9)

    {

        super.doRenderLiving(entity, par2, par4, par6, par8, par9);

    }

 

public void doRenderLiving(EntityLiving par1EntityLiving, double par2, double par4, double par6, float par8, float par9)

    {

        renderAngel((EntityAngel)par1EntityLiving, par2, par4, par6, par8, par9);

    }

 

public void doRender(Entity par1Entity, double par2, double par4, double par6, float par8, float par9)

    {

        renderAngel((EntityAngel)par1Entity, par2, par4, par6, par8, par9);

    }

}

 

 

If anyone can help please do.

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • The mod I'm working on is in 1.19.2. The portal works correctly in Intellij but when I publish the jar, put it in the mods folder of the game it crashes with the following error whenever any entity collides with it: java.lang.IllegalAccessError: class com.github.warrentode.turtleblockacademy.blocks.TBAMiningPortalBlock tried to access protected field net.minecraft.world.entity.Entity.f_19819_ (com.github.warrentode.turtleblockacademy.blocks.TBAMiningPortalBlock is in module [email protected] of loader 'TRANSFORMER' @16c5b50a; net.minecraft.world.entity.Entity is in module [email protected] of loader 'TRANSFORMER' @16c5b50a)     at com.github.warrentode.turtleblockacademy.blocks.TBAMiningPortalBlock.m_7892_(TBAMiningPortalBlock.java:124) ~[turtleblockacademy-2024.2025-1.0.0.jar%23572!/:2024.2025-1.0.0] {re:classloading} The thing is, I have Entity.f_19819_ in my accessTransformer.cfg file in this line: public net.minecraft.world.entity.Entity f_19819_ # portalEntrancePos So what do I need to do to fix this error?
    • It will be about medeaival times
    • the mods are crashing and I'm not sure why so heres everything  crash log https://pastebin.com/RxLKbMNR  L2 Library (12library) has failed to load correctly java.lang.NoClassDefFoundError: org/antarcticgardens/newage/content/energiser/EnergiserBlock L2 Screen Tracker (12screentracker) has failed to load correctly java.lang.NoClassDefFoundError: Could not initialize class dev.xkmc.12library.base.L2Registrate Create: Interiors (interiors) has failed to load correctly java.lang.NoClassDefFoundError: Could not initialize class com.tterrag.registrate.AbstractRegistrate L2 Damage Tracker (12damagetracker) has failed to load correctly java.lang.NoClassDefFoundError: Could not initialize class dev.xkmc.l2library.base.L2Registrate Create Enchantment Industry (create_enchantment_industry) has failed to load correctly java.lang.NoClassDefFoundError: Could not initialize class com.simibubi.create.foundation.data.Createfiegistrate Create Crafts & Additions (createaddition) has failed to load correctly java.lang.NoClassDefFoundError: Could not initialize class com.simibubi.create.foundation.data.CreateRegistrate Create Slice & Dice (sliceanddice) has failed to load correctly java.lang.NoClassDefFoundError: Could not initialize class com.simibubi.create.foundation.data.CreateRegistrate L2 Tabs (12tabs) has failed to load correctly java.lang.NoClassDefFoundError: Could not initialize class dev.xkmc.l2library.base.L2Registrate Modular Golems (modulargolems) has failed to load correctly java.lang.NoClassDefFoundError: Could not initialize class dev.xkmc.l2library.base.L2Registrate Create: Steam 'n' FRails (railways) has failed to load correctly java.lang.NoClassDefFoundError : Could not initialize class com.simibubi.create.foundation.data.Createfregistrate Cuisine Delight (cuisinedelight) has failed to load correctly java.lang.NoClassDefFoundError: Could not initialize class dev.xkmc.12library.base.L2Registrate Create (create) has failed to load correctly java.lang.NoClassDefFoundError: Could not initialize class com.simibubi.create.Create Guardian Beam Defense (creategbd) has failed to load correctly java.lang.NoClassDefFoundError: Could not initialize class com.simibubi.create.foundation.data.CreateRegistrate L2 Item Selector (12itemselector) has failed to load correctly java.lang.NoClassDefFoundError: Could not initialize class dev.xkmc.l2library.base.L2Registrate
    • hey there, I have been using Forge for years without any problems, but for some time now I have been getting this error message when I click on “Installer” under the downloads. This happens on all versions. I have tried various things but have not gotten any results. If anyone has a solution, I would be very grateful!
    • I don't have mcreator installed.
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.