Jump to content

Creating a mob


edymondo

Recommended Posts

I am having trouble with creating a custom mob, i am having the problem of nothing happening when i use the spawn egg. I think it is something to do with the model or the model class as i haven't used techne before. I am using a basic biped model.

 

here is all the relevant code:

 

 

Model Class

package net.mymod.Model;

import net.minecraft.client.model.ModelBase;
import net.minecraft.client.model.ModelRenderer;
import net.minecraft.entity.Entity;
import net.minecraft.util.MathHelper;

public class ModelVampire extends ModelBase
{
  //fields
    ModelRenderer head;
    ModelRenderer body;
    ModelRenderer lleg;
    ModelRenderer rleg;
    ModelRenderer rarm;
    ModelRenderer larm;
  
  public ModelVampire()
  {
    textureWidth = 64;
    textureHeight = 64;
    
      head = new ModelRenderer(this, 0, 0);
      head.addBox(-3F, -6F, -3F, 9, 10, 10);
      head.setRotationPoint(-1.5F, -10F, -2F);
      head.setTextureSize(64, 32);
      head.mirror = true;
      setRotation(head, 0F, 0F, 0F);
      body = new ModelRenderer(this, 0, 20);
      body.addBox(-5F, 0F, -4F, 10, 15, ;
      body.setRotationPoint(0F, -6F, 0F);
      body.setTextureSize(64, 32);
      body.mirror = true;
      setRotation(body, 0F, 0F, 0F);
      lleg = new ModelRenderer(this, 16, 43);
      lleg.addBox(-2F, 0F, -2F, 4, 15, 4);
      lleg.setRotationPoint(3F, 9F, 0F);
      lleg.setTextureSize(64, 32);
      lleg.mirror = true;
      setRotation(lleg, 0F, 0F, 0F);
      rleg = new ModelRenderer(this, 0, 43);
      rleg.addBox(-2F, 0F, -2F, 4, 15, 4);
      rleg.setRotationPoint(-3F, 9F, 0F);
      rleg.setTextureSize(64, 32);
      rleg.mirror = true;
      setRotation(rleg, 0F, 0F, 0F);
      rarm = new ModelRenderer(this, 38, 24);
      rarm.addBox(0F, -1F, -2F, 5, 20, 4);
      rarm.setRotationPoint(5F, -5F, 0F);
      rarm.setTextureSize(64, 32);
      rarm.mirror = true;
      setRotation(rarm, 0F, 0F, 0F);
      larm = new ModelRenderer(this, 38, 0);
      larm.addBox(-2F, -1F, -2F, 5, 20, 4);
      larm.setRotationPoint(-8F, -5F, 0F);
      larm.setTextureSize(64, 32);
      larm.mirror = true;
      setRotation(larm, 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, entity);
    head.render(f5);
    body.render(f5);
    lleg.render(f5);
    rleg.render(f5);
    rarm.render(f5);
    larm.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, Entity entity)
  {
    super.setRotationAngles(f, f1, f2, f3, f4, f5, entity);
    
    this.head.rotateAngleY = f3 / (180F / (float)Math.PI);
    this.head.rotateAngleX = f4 / (180F / (float)Math.PI);
    //this.lhornang.rotateAngleY = f3 / (180F / (float)Math.PI);
    //this.lhornang.rotateAngleX = f4 / (180F / (float)Math.PI);
    //this.rhorn.rotateAngleY = f3 / (180F / (float)Math.PI);
    //this.rhorn.rotateAngleX = f4 / (180F / (float)Math.PI);
    this.rarm.rotateAngleX = MathHelper.cos(f * 0.6662F + (float)Math.PI) * 2.0F * f1 * 0.5F;
    this.larm.rotateAngleX = MathHelper.cos(f * 0.6662F) * 2.0F * f1 * 0.5F;
    this.rarm.rotateAngleZ = 0.0F;
    this.larm.rotateAngleZ = 0.0F;
    this.rleg.rotateAngleX = MathHelper.cos(f * 0.6662F) * 1.4F * f1;
    this.lleg.rotateAngleX = MathHelper.cos(f * 0.6662F + (float)Math.PI) * 1.4F * f1;
    this.rleg.rotateAngleY = 0.0F;
    this.lleg.rotateAngleY = 0.0F;
    
  }

}

 

Client proxy class

 

package net.mymod.mod.proxy;

import net.mymod.Model.ModelVampire;
import net.mymod.mod.Entity.EntityVampire;
import net.mymod.mod.Renderer.RenderVampire;
import cpw.mods.fml.client.registry.RenderingRegistry;

public class ClientProxy extends CommonProxy {

public void registerRenderThings() {
//Entities
		RenderingRegistry.registerEntityRenderingHandler(EntityVampire.class, new RenderVampire(new ModelVampire(), 0.3F));
	}

	public void registerTileEntitySpecialRenderer() {

	}
}

 

Common Proxy

 

package net.mymod.mod.proxy;

public class CommonProxy {

public void registerRenderThings() {

}

public void registerTileEntitySpecialRenderer() {

}
}

 

Render Vampire

 

package net.mymod.mod.Renderer;

import net.minecraft.client.model.ModelBase;
import net.minecraft.client.renderer.entity.RenderLiving;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLiving;
import net.minecraft.util.ResourceLocation;
import net.mymod.Model.ModelVampire;
import net.mymod.mod.mymod;
import net.mymod.mod.Entity.EntityVampire;

public class RenderVampire extends RenderLiving {

private static final ResourceLocation texture = new ResourceLocation(mymod.modid + ":" + "textures/model/Vampire.png");

protected ModelVampire modelEntity;

public RenderVampire(ModelBase par1ModelBase, float par2) {
	super(par1ModelBase, par2);
	modelEntity = ((ModelVampire) mainModel);
}

public void renderVampire(EntityVampire entity, double x, double y, double z, float u, float v) {
	super.doRender(entity, x, y, z, u, v);
}

public void doRenderLiving(EntityLiving entityLiving, double x, double y, double z, float u, float v) {
	renderVampire((EntityVampire)entityLiving, x, y, z, u, v);
}

public void doRender(Entity entity, double x, double y, double z, float u, float v) {
	renderVampire((EntityVampire)entity, x, y, z, u, v);
}


@Override
protected ResourceLocation getEntityTexture(Entity var1) {
	return texture;
}



}

 

Entity Vampire

 

package net.mymod.mod.Entity;

import net.minecraft.block.Block;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.entity.SharedMonsterAttributes;
import net.minecraft.entity.ai.EntityAIAttackOnCollide;
import net.minecraft.entity.ai.EntityAIHurtByTarget;
import net.minecraft.entity.ai.EntityAILookIdle;
import net.minecraft.entity.ai.EntityAIMoveThroughVillage;
import net.minecraft.entity.ai.EntityAINearestAttackableTarget;
import net.minecraft.entity.ai.EntityAISwimming;
import net.minecraft.entity.ai.EntityAIWander;
import net.minecraft.entity.ai.EntityAIWatchClosest;
import net.minecraft.entity.monster.EntityMob;
import net.minecraft.entity.passive.EntityVillager;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Items;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.world.World;
import net.minecraftforge.common.ForgeModContainer;
import net.mymod.mod.mymod;

public class EntityVampire extends EntityMob {

public EntityVampire(World world) {
	super(world);
        
	this.setTextureName(mymod.modid + ":Vampire");

	this.tasks.addTask(0, new EntityAISwimming(this));
        this.tasks.addTask(4, new EntityAIAttackOnCollide(this, EntityVillager.class, 1.0D, true));
        this.tasks.addTask(2, new EntityAIAttackOnCollide(this, EntityPlayer.class, 1.0D, false));
        this.tasks.addTask(6, new EntityAIMoveThroughVillage(this, 1.0D, false));
        this.tasks.addTask(7, new EntityAIWander(this, 1.0D));
        this.tasks.addTask(8, new EntityAIWatchClosest(this, EntityPlayer.class, 8.0F));
        this.targetTasks.addTask(1, new EntityAIHurtByTarget(this, true));
        this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityPlayer.class, 0, true));
        this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityVillager.class, 0, true));
}

private void setTextureName(String string) {
	// TODO Auto-generated method stub

}

protected void addRandomArmor()
    {
        super.addRandomArmor();
        this.setCurrentItemOrArmor(0, new ItemStack(Items.iron_sword));
        this.setCurrentItemOrArmor(1, new ItemStack(Items.leather_leggings));
        this.setCurrentItemOrArmor(1, new ItemStack(Items.leather_boots));
        this.setCurrentItemOrArmor(1, new ItemStack(Items.leather_helmet));
        this.setCurrentItemOrArmor(1, new ItemStack(Items.leather_chestplate));
    }
    
    protected Item getDropItem()
    {
        return Items.gold_nugget;
    }
    
    protected void dropRareDrop(int par1) {
    	this.entityDropItem(new ItemStack(Items.iron_sword, 1, 1), 0.0F);
    }
    
    protected String getLivingSound()
    {
        return "mymod.vampire-living";
    }

    /**
     * Returns the sound this mob makes when it is hurt.
     */
    protected String getHurtSound()
    {
        return "mymod.vampire-hurt";
    }

    /**
     * Returns the sound this mob makes on death.
     */
    protected String getDeathSound()
    {
        return "mymod.vampire-death";
    }

    protected void func_145780_a(int p_145780_1_, int p_145780_2_, int p_145780_3_, Block p_145780_4_)
    {
        this.playSound("mob.villager.step", 0.15F, 1.0F);
        
         
    }

    /*
protected void applyEntityAttributes()
    {
        super.applyEntityAttributes();
        this.getEntityAttribute(SharedMonsterAttributes.followRange).setBaseValue(40.0D);
        this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(0.23000000417232513D);
        this.getEntityAttribute(SharedMonsterAttributes.attackDamage).setBaseValue(3.0D);
        this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(20.0D);
    }
    */
    @Override
    protected void applyEntityAttributes()
    {
        
        super.applyEntityAttributes();
        this.getAttributeMap().registerAttribute(SharedMonsterAttributes.attackDamage);
        this.getEntityAttribute(SharedMonsterAttributes.attackDamage).setBaseValue(5.0D);
        this.getEntityAttribute(SharedMonsterAttributes.followRange).setBaseValue(100.0D);
        this.getEntityAttribute(SharedMonsterAttributes.knockbackResistance).setBaseValue(0.0D);
        this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(20.0D);
        this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(20.0D);
        
    }
protected boolean isAIEnabled()
    {
        return true;
    }
}

 

Entity Handler

 

package net.mymod.Handler;

import java.util.Random;

import net.minecraft.entity.EntityList;
import net.minecraft.entity.EnumCreatureType;
import net.minecraft.world.biome.BiomeGenBase;
import net.mymod.mod.mymod;
import cpw.mods.fml.common.registry.EntityRegistry;

public class EntityHandler {

public static void registerMonsters(Class entityClass, String name) {
	int entityId = EntityRegistry.findGlobalUniqueEntityId();
	long x = name.hashCode();
	Random random = new Random(x);
	int mainColor = random.nextInt() * 16777215;
	int subColor = random.nextInt() * 16777215;

	EntityRegistry.registerGlobalEntityID(entityClass, name, entityId);
	EntityRegistry.addSpawn(entityClass, 50, 2, 4, EnumCreatureType.monster, BiomeGenBase.beach, BiomeGenBase.desert, BiomeGenBase.forest);
	EntityRegistry.registerModEntity(entityClass, name, entityId, mymod.instance, 64, 1, true);
	EntityList.entityEggs.put(Integer.valueOf(entityId), new EntityList.EntityEggInfo(entityId, mainColor, subColor));
}
} 

 

Main modding class (there's not much in there to do with it)

	
EntityHandler.registerMonsters(EntityVampire.class, "Vampire");

 

If anyone could help that would be great, i am really stuck on this. thanks

Link to comment
Share on other sites

There are no errors in eclipse, but i hadn't thought of checking the console (good idea knokko) here is everything it says, and there do seem to be a lot of errors.

 

Here you go, everything from my last testing session.

 

 

[17:33:29] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker

[17:33:29] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker

[17:33:29] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker

[17:33:30] [main/INFO] [FML]: Forge Mod Loader version 7.2.156.1060 for Minecraft 1.7.2 loading

[17:33:30] [main/INFO] [FML]: Java is Java HotSpot 64-Bit Server VM, version 1.8.0_05, running on Windows 7:amd64:6.1, installed at C:\Users\ginny's laptop\Desktop\Forge stuff\eclipse for forge\jre

[17:33:30] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation

[17:33:30] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker

[17:33:30] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker

[17:33:30] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker

[17:33:30] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker

[17:33:30] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper

[17:33:30] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!

[17:33:31] [main/ERROR] [FML]: The minecraft jar file:/C:/Users/ginny's%20laptop/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.1.1060/forgeSrc-1.7.2-10.12.1.1060.jar!/net/minecraft/client/ClientBrandRetriever.class appears to be corrupt! There has been CRITICAL TAMPERING WITH MINECRAFT, it is highly unlikely minecraft will work! STOP NOW, get a clean copy and try again!

[17:33:31] [main/ERROR] [FML]: FML has been ordered to ignore the invalid or missing minecraft certificate. This is very likely to cause a problem!

[17:33:31] [main/ERROR] [FML]: Technical information: ClientBrandRetriever was at jar:file:/C:/Users/ginny's%20laptop/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.1.1060/forgeSrc-1.7.2-10.12.1.1060.jar!/net/minecraft/client/ClientBrandRetriever.class, there were 0 certificates for it

[17:33:31] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing

[17:33:31] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper

[17:33:31] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker

[17:33:32] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}

[17:33:34] [main/INFO]: Setting user: Player825

[17:33:36] [Client thread/INFO]: LWJGL Version: 2.9.0

[17:33:36] [Client thread/ERROR]: Couldn't set icon

javax.imageio.IIOException: Can't read input file!

at javax.imageio.ImageIO.read(Unknown Source) ~[?:1.8.0_05]

at net.minecraft.client.Minecraft.readImage(Minecraft.java:639) ~[Minecraft.class:?]

at net.minecraft.client.Minecraft.startGame(Minecraft.java:468) [Minecraft.class:?]

at net.minecraft.client.Minecraft.run(Minecraft.java:890) [Minecraft.class:?]

at net.minecraft.client.main.Main.main(Main.java:112) [Main.class:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_05]

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_05]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_05]

at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_05]

at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?]

at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?]

[17:33:37] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization

[17:33:37] [Client thread/INFO] [FML]: MinecraftForge v10.12.1.1060 Initialized

[17:33:37] [Client thread/INFO] [FML]: Replaced 141 ore recipies

[17:33:37] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization

[17:33:38] [Client thread/INFO] [FML]: Searching C:\Users\ginny's laptop\Desktop\Forge stuff\My mod\eclipse\mods for mods

[17:33:38] [Client thread/INFO] [examplemod]: Mod examplemod is missing the required element 'name'. Substituting examplemod

[17:33:39] [Client thread/ERROR] [FML]: FML has detected a mod that is using a package name based on 'net.minecraft.src' : net.minecraft.src.FMLRenderAccessLibrary. This is generally a severe programming error.  There should be no mod code in the minecraft namespace. MOVE YOUR MOD! If you're in eclipse, select your source code and 'refactor' it into a new package. Go on. DO IT NOW!

[17:33:43] [Client thread/INFO] [FML]: Forge Mod Loader has identified 5 mods to load

[17:33:43] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:examplemod, FMLFileResourcePack:Satangelic

[17:33:44] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0

 

Starting up SoundSystem...

Initializing LWJGL OpenAL

    (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)

[17:33:46] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas

OpenAL initialized.

 

[17:33:46] [sound Library Loader/INFO]: Sound engine started

[17:33:46] [Client thread/INFO]: Created: 256x256 textures/items-atlas

DIRT BLOCK >> tile.dirt

[17:33:46] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 5 mods

[17:33:46] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:examplemod, FMLFileResourcePack:Satangelic

[17:33:47] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas

[17:33:47] [Client thread/INFO]: Created: 256x256 textures/items-atlas

 

SoundSystem shutting down...

    Author: Paul Lamb, www.paulscode.com

 

 

Starting up SoundSystem...

Initializing LWJGL OpenAL

    (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)

OpenAL initialized.

 

[17:33:49] [sound Library Loader/INFO]: Sound engine started

[17:33:49] [MCO Availability Checker #1/ERROR]: Couldn't connect to Realms

[17:33:53] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:music.menu

[17:34:04] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:gui.button.press

[17:34:05] [server thread/INFO]: Starting integrated minecraft server version 1.7.2

[17:34:05] [server thread/INFO]: Generating keypair

[17:34:06] [server thread/INFO] [FML]: Injecting existing block and item data into this server instance

[17:34:07] [server thread/INFO] [FML]: Loading dimension 0 (Test world) (net.minecraft.server.integrated.IntegratedServer@473d19ed)

[17:34:07] [server thread/INFO] [FML]: Loading dimension 1 (Test world) (net.minecraft.server.integrated.IntegratedServer@473d19ed)

[17:34:07] [server thread/INFO] [FML]: Loading dimension -1 (Test world) (net.minecraft.server.integrated.IntegratedServer@473d19ed)

[17:34:07] [server thread/INFO]: Preparing start region for level 0

java.lang.Exception: Stack trace

at java.lang.Thread.dumpStack(Unknown Source)

at net.minecraft.world.chunk.Chunk.addEntity(Chunk.java:860)

at net.minecraft.world.chunk.storage.AnvilChunkLoader.readChunkFromNBT(AnvilChunkLoader.java:421)

at net.minecraft.world.chunk.storage.AnvilChunkLoader.checkedReadChunkFromNBT(AnvilChunkLoader.java:108)

at net.minecraft.world.chunk.storage.AnvilChunkLoader.loadChunk(AnvilChunkLoader.java:88)

at net.minecraft.world.gen.ChunkProviderServer.safeLoadChunk(ChunkProviderServer.java:179)

at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:120)

at net.minecraft.server.MinecraftServer.initialWorldChunkLoad(MinecraftServer.java:307)

at net.minecraft.server.integrated.IntegratedServer.loadAllWorlds(IntegratedServer.java:79)

at net.minecraft.server.integrated.IntegratedServer.startServer(IntegratedServer.java:96)

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:442)

at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:742)

[17:34:08] [server thread/ERROR]: Wrong location! EntityPainting['Painting'/170, l='Test world', x=0.50, y=0.50, z=-0.06]

[17:34:08] [server thread/ERROR]: Wrong location! EntityPainting['Painting'/343, l='Test world', x=0.50, y=0.50, z=-0.06]

java.lang.Exception: Stack trace

at java.lang.Thread.dumpStack(Unknown Source)

at net.minecraft.world.chunk.Chunk.addEntity(Chunk.java:860)

at net.minecraft.world.chunk.storage.AnvilChunkLoader.readChunkFromNBT(AnvilChunkLoader.java:421)

at net.minecraft.world.chunk.storage.AnvilChunkLoader.checkedReadChunkFromNBT(AnvilChunkLoader.java:108)

at net.minecraft.world.chunk.storage.AnvilChunkLoader.loadChunk(AnvilChunkLoader.java:88)

at net.minecraft.world.gen.ChunkProviderServer.safeLoadChunk(ChunkProviderServer.java:179)

at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:120)

at net.minecraft.server.MinecraftServer.initialWorldChunkLoad(MinecraftServer.java:307)

at net.minecraft.server.integrated.IntegratedServer.loadAllWorlds(IntegratedServer.java:79)

at net.minecraft.server.integrated.IntegratedServer.startServer(IntegratedServer.java:96)

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:442)

at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:742)

[17:34:08] [server thread/INFO]: Preparing spawn area: 59%

[17:34:09] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:gui.button.press

[17:34:09] [Netty Client IO #0/INFO] [FML]: Server protocol version 1

[17:34:09] [Netty IO #1/INFO] [FML]: Client protocol version 1

[17:34:09] [Netty IO #1/INFO] [FML]: Client attempting to join with 5 mods : FML@7.2.156.1060,Forge@10.12.1.1060,mcp@8.09,mymod@Alpha 0.1,examplemod@1.0

[17:34:09] [Netty IO #1/INFO] [FML]: Attempting connection with missing mods [] at CLIENT

[17:34:09] [Netty Client IO #0/INFO] [FML]: Attempting connection with missing mods [] at SERVER

[17:34:09] [server thread/INFO] [FML]: [server thread] Server side modded connection established

[17:34:09] [server thread/INFO]: Player825[local:E:ee9cc9b3] logged in with entity id 556 at (695.5413154198842, 5.0381812904914085, -47.490206708705394)

[17:34:09] [server thread/INFO]: Player825 joined the game

[17:34:10] [Client thread/INFO] [FML]: [Client thread] Client side modded connection established

[17:34:11] [server thread/INFO]: Saving and pausing game...

[17:34:11] [server thread/INFO]: Saving chunks for level 'Test world'/Overworld

[17:34:11] [server thread/INFO]: Saving chunks for level 'Test world'/Nether

[17:34:11] [server thread/INFO]: Saving chunks for level 'Test world'/The End

java.lang.reflect.InvocationTargetException

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

at java.lang.reflect.Constructor.newInstance(Unknown Source)

at net.minecraft.entity.EntityList.createEntityByID(EntityList.java:221)

at net.minecraft.item.ItemMonsterPlacer.spawnCreature(ItemMonsterPlacer.java:173)

at net.minecraft.item.ItemMonsterPlacer.onItemUse(ItemMonsterPlacer.java:79)

at net.minecraft.item.ItemStack.tryPlaceItemIntoWorld(ItemStack.java:144)

at net.minecraft.server.management.ItemInWorldManager.activateBlockOrUseItem(ItemInWorldManager.java:418)

at net.minecraft.network.NetHandlerPlayServer.processPlayerBlockPlacement(NetHandlerPlayServer.java:588)

at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.processPacket(C08PacketPlayerBlockPlacement.java:74)

at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.processPacket(C08PacketPlayerBlockPlacement.java:122)

at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:232)

at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:182)

at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:716)

at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:604)

at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118)

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:482)

at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:742)

Caused by: java.lang.IllegalArgumentException: Attribute is already registered!

at net.minecraft.entity.ai.attributes.ServersideAttributeMap.registerAttribute(ServersideAttributeMap.java:41)

at net.mymod.mod.Entity.EntityVampire.applyEntityAttributes(EntityVampire.java:109)

at net.minecraft.entity.EntityLivingBase.<init>(EntityLivingBase.java:168)

at net.minecraft.entity.EntityLiving.<init>(EntityLiving.java:78)

at net.minecraft.entity.EntityCreature.<init>(EntityCreature.java:38)

at net.minecraft.entity.monster.EntityMob.<init>(EntityMob.java:21)

at net.mymod.mod.Entity.EntityVampire.<init>(EntityVampire.java:27)

... 19 more

[17:34:14] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:mob.pig.say

[17:34:14] [server thread/WARN]: Skipping Entity with id 3

[17:34:23] [server thread/INFO]: Saving and pausing game...

[17:34:23] [server thread/INFO]: Saving chunks for level 'Test world'/Overworld

[17:34:23] [server thread/INFO]: Saving chunks for level 'Test world'/Nether

[17:34:23] [server thread/INFO]: Saving chunks for level 'Test world'/The End

[17:34:23] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:gui.button.press

[17:34:24] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:gui.button.press

[17:34:27] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:gui.button.press

[17:34:28] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:gui.button.press

[17:34:32] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:step.grass

java.lang.reflect.InvocationTargetException

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

at java.lang.reflect.Constructor.newInstance(Unknown Source)

at net.minecraft.entity.EntityList.createEntityByID(EntityList.java:221)

at net.minecraft.item.ItemMonsterPlacer.spawnCreature(ItemMonsterPlacer.java:173)

at net.minecraft.item.ItemMonsterPlacer.onItemUse(ItemMonsterPlacer.java:79)

at net.minecraft.item.ItemStack.tryPlaceItemIntoWorld(ItemStack.java:144)

at net.minecraft.server.management.ItemInWorldManager.activateBlockOrUseItem(ItemInWorldManager.java:418)

at net.minecraft.network.NetHandlerPlayServer.processPlayerBlockPlacement(NetHandlerPlayServer.java:588)

at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.processPacket(C08PacketPlayerBlockPlacement.java:74)

at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.processPacket(C08PacketPlayerBlockPlacement.java:122)

at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:232)

at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:182)

at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:716)

at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:604)

at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118)

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:482)

at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:742)

Caused by: java.lang.IllegalArgumentException: Attribute is already registered!

at net.minecraft.entity.ai.attributes.ServersideAttributeMap.registerAttribute(ServersideAttributeMap.java:41)

at net.mymod.mod.Entity.EntityVampire.applyEntityAttributes(EntityVampire.java:109)

at net.minecraft.entity.EntityLivingBase.<init>(EntityLivingBase.java:168)

at net.minecraft.entity.EntityLiving.<init>(EntityLiving.java:78)

at net.minecraft.entity.EntityCreature.<init>(EntityCreature.java:38)

at net.minecraft.entity.monster.EntityMob.<init>(EntityMob.java:21)

at net.mymod.mod.Entity.EntityVampire.<init>(EntityVampire.java:27)

... 19 more

[17:34:32] [server thread/WARN]: Skipping Entity with id 3

[17:34:33] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:music.game.creative

[17:34:33] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:step.grass

[17:34:33] [server thread/WARN]: Skipping Entity with id 3

java.lang.reflect.InvocationTargetException

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

at java.lang.reflect.Constructor.newInstance(Unknown Source)

at net.minecraft.entity.EntityList.createEntityByID(EntityList.java:221)

at net.minecraft.item.ItemMonsterPlacer.spawnCreature(ItemMonsterPlacer.java:173)

at net.minecraft.item.ItemMonsterPlacer.onItemUse(ItemMonsterPlacer.java:79)

at net.minecraft.item.ItemStack.tryPlaceItemIntoWorld(ItemStack.java:144)

at net.minecraft.server.management.ItemInWorldManager.activateBlockOrUseItem(ItemInWorldManager.java:418)

at net.minecraft.network.NetHandlerPlayServer.processPlayerBlockPlacement(NetHandlerPlayServer.java:588)

at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.processPacket(C08PacketPlayerBlockPlacement.java:74)

at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.processPacket(C08PacketPlayerBlockPlacement.java:122)

at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:232)

at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:182)

at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:716)

at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:604)

at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118)

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:482)

at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:742)

Caused by: java.lang.IllegalArgumentException: Attribute is already registered!

at net.minecraft.entity.ai.attributes.ServersideAttributeMap.registerAttribute(ServersideAttributeMap.java:41)

at net.mymod.mod.Entity.EntityVampire.applyEntityAttributes(EntityVampire.java:109)

at net.minecraft.entity.EntityLivingBase.<init>(EntityLivingBase.java:168)

at net.minecraft.entity.EntityLiving.<init>(EntityLiving.java:78)

at net.minecraft.entity.EntityCreature.<init>(EntityCreature.java:38)

at net.minecraft.entity.monster.EntityMob.<init>(EntityMob.java:21)

at net.mymod.mod.Entity.EntityVampire.<init>(EntityVampire.java:27)

... 19 more

java.lang.reflect.InvocationTargetException

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

at java.lang.reflect.Constructor.newInstance(Unknown Source)

at net.minecraft.entity.EntityList.createEntityByID(EntityList.java:221)

at net.minecraft.item.ItemMonsterPlacer.spawnCreature(ItemMonsterPlacer.java:173)

at net.minecraft.item.ItemMonsterPlacer.onItemUse(ItemMonsterPlacer.java:79)

at net.minecraft.item.ItemStack.tryPlaceItemIntoWorld(ItemStack.java:144)

at net.minecraft.server.management.ItemInWorldManager.activateBlockOrUseItem(ItemInWorldManager.java:418)

at net.minecraft.network.NetHandlerPlayServer.processPlayerBlockPlacement(NetHandlerPlayServer.java:588)

at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.processPacket(C08PacketPlayerBlockPlacement.java:74)

at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.processPacket(C08PacketPlayerBlockPlacement.java:122)

at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:232)

at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:182)

at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:716)

at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:604)

at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118)

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:482)

at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:742)

Caused by: java.lang.IllegalArgumentException: Attribute is already registered!

at net.minecraft.entity.ai.attributes.ServersideAttributeMap.registerAttribute(ServersideAttributeMap.java:41)

at net.mymod.mod.Entity.EntityVampire.applyEntityAttributes(EntityVampire.java:109)

at net.minecraft.entity.EntityLivingBase.<init>(EntityLivingBase.java:168)

at net.minecraft.entity.EntityLiving.<init>(EntityLiving.java:78)

at net.minecraft.entity.EntityCreature.<init>(EntityCreature.java:38)

at net.minecraft.entity.monster.EntityMob.<init>(EntityMob.java:21)

at net.mymod.mod.Entity.EntityVampire.<init>(EntityVampire.java:27)

... 19 more

[17:34:33] [server thread/WARN]: Skipping Entity with id 3

[17:34:33] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:step.grass

java.lang.reflect.InvocationTargetException

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

at java.lang.reflect.Constructor.newInstance(Unknown Source)

at net.minecraft.entity.EntityList.createEntityByID(EntityList.java:221)

at net.minecraft.item.ItemMonsterPlacer.spawnCreature(ItemMonsterPlacer.java:173)

at net.minecraft.item.ItemMonsterPlacer.onItemUse(ItemMonsterPlacer.java:79)

at net.minecraft.item.ItemStack.tryPlaceItemIntoWorld(ItemStack.java:144)

at net.minecraft.server.management.ItemInWorldManager.activateBlockOrUseItem(ItemInWorldManager.java:418)

at net.minecraft.network.NetHandlerPlayServer.processPlayerBlockPlacement(NetHandlerPlayServer.java:588)

at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.processPacket(C08PacketPlayerBlockPlacement.java:74)

at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.processPacket(C08PacketPlayerBlockPlacement.java:122)

at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:232)

at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:182)

at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:716)

at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:604)

at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118)

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:482)

at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:742)

Caused by: java.lang.IllegalArgumentException: Attribute is already registered!

at net.minecraft.entity.ai.attributes.ServersideAttributeMap.registerAttribute(ServersideAttributeMap.java:41)

at net.mymod.mod.Entity.EntityVampire.applyEntityAttributes(EntityVampire.java:109)

at net.minecraft.entity.EntityLivingBase.<init>(EntityLivingBase.java:168)

at net.minecraft.entity.EntityLiving.<init>(EntityLiving.java:78)

at net.minecraft.entity.EntityCreature.<init>(EntityCreature.java:38)

at net.minecraft.entity.monster.EntityMob.<init>(EntityMob.java:21)

at net.mymod.mod.Entity.EntityVampire.<init>(EntityVampire.java:27)

... 19 more

[17:34:33] [server thread/WARN]: Skipping Entity with id 3

[17:34:33] [server thread/WARN]: Skipping Entity with id 3

java.lang.reflect.InvocationTargetException

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

at java.lang.reflect.Constructor.newInstance(Unknown Source)

at net.minecraft.entity.EntityList.createEntityByID(EntityList.java:221)

at net.minecraft.item.ItemMonsterPlacer.spawnCreature(ItemMonsterPlacer.java:173)

at net.minecraft.item.ItemMonsterPlacer.onItemUse(ItemMonsterPlacer.java:79)

at net.minecraft.item.ItemStack.tryPlaceItemIntoWorld(ItemStack.java:144)

at net.minecraft.server.management.ItemInWorldManager.activateBlockOrUseItem(ItemInWorldManager.java:418)

at net.minecraft.network.NetHandlerPlayServer.processPlayerBlockPlacement(NetHandlerPlayServer.java:588)

at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.processPacket(C08PacketPlayerBlockPlacement.java:74)

at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.processPacket(C08PacketPlayerBlockPlacement.java:122)

at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:232)

at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:182)

at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:716)

at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:604)

at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118)

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:482)

at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:742)

Caused by: java.lang.IllegalArgumentException: Attribute is already registered!

at net.minecraft.entity.ai.attributes.ServersideAttributeMap.registerAttribute(ServersideAttributeMap.java:41)

at net.mymod.mod.Entity.EntityVampire.applyEntityAttributes(EntityVampire.java:109)

at net.minecraft.entity.EntityLivingBase.<init>(EntityLivingBase.java:168)

at net.minecraft.entity.EntityLiving.<init>(EntityLiving.java:78)

at net.minecraft.entity.EntityCreature.<init>(EntityCreature.java:38)

at net.minecraft.entity.monster.EntityMob.<init>(EntityMob.java:21)

at net.mymod.mod.Entity.EntityVampire.<init>(EntityVampire.java:27)

... 19 more

[17:34:34] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:step.grass

java.lang.reflect.InvocationTargetException

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

at java.lang.reflect.Constructor.newInstance(Unknown Source)

at net.minecraft.entity.EntityList.createEntityByID(EntityList.java:221)

at net.minecraft.item.ItemMonsterPlacer.spawnCreature(ItemMonsterPlacer.java:173)

at net.minecraft.item.ItemMonsterPlacer.onItemUse(ItemMonsterPlacer.java:79)

at net.minecraft.item.ItemStack.tryPlaceItemIntoWorld(ItemStack.java:144)

at net.minecraft.server.management.ItemInWorldManager.activateBlockOrUseItem(ItemInWorldManager.java:418)

at net.minecraft.network.NetHandlerPlayServer.processPlayerBlockPlacement(NetHandlerPlayServer.java:588)

at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.processPacket(C08PacketPlayerBlockPlacement.java:74)

at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.processPacket(C08PacketPlayerBlockPlacement.java:122)

at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:232)

at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:182)

at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:716)

at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:604)

at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118)

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:482)

at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:742)

Caused by: java.lang.IllegalArgumentException: Attribute is already registered!

at net.minecraft.entity.ai.attributes.ServersideAttributeMap.registerAttribute(ServersideAttributeMap.java:41)

at net.mymod.mod.Entity.EntityVampire.applyEntityAttributes(EntityVampire.java:109)

at net.minecraft.entity.EntityLivingBase.<init>(EntityLivingBase.java:168)

at net.minecraft.entity.EntityLiving.<init>(EntityLiving.java:78)

at net.minecraft.entity.EntityCreature.<init>(EntityCreature.java:38)

at net.minecraft.entity.monster.EntityMob.<init>(EntityMob.java:21)

at net.mymod.mod.Entity.EntityVampire.<init>(EntityVampire.java:27)

... 19 more

[17:34:34] [server thread/WARN]: Skipping Entity with id 3

[17:34:34] [server thread/WARN]: Skipping Entity with id 3

java.lang.reflect.InvocationTargetException

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

at java.lang.reflect.Constructor.newInstance(Unknown Source)

at net.minecraft.entity.EntityList.createEntityByID(EntityList.java:221)

at net.minecraft.item.ItemMonsterPlacer.spawnCreature(ItemMonsterPlacer.java:173)

at net.minecraft.item.ItemMonsterPlacer.onItemUse(ItemMonsterPlacer.java:79)

at net.minecraft.item.ItemStack.tryPlaceItemIntoWorld(ItemStack.java:144)

at net.minecraft.server.management.ItemInWorldManager.activateBlockOrUseItem(ItemInWorldManager.java:418)

at net.minecraft.network.NetHandlerPlayServer.processPlayerBlockPlacement(NetHandlerPlayServer.java:588)

at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.processPacket(C08PacketPlayerBlockPlacement.java:74)

at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.processPacket(C08PacketPlayerBlockPlacement.java:122)

at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:232)

at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:182)

at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:716)

at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:604)

at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118)

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:482)

at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:742)

Caused by: java.lang.IllegalArgumentException: Attribute is already registered!

at net.minecraft.entity.ai.attributes.ServersideAttributeMap.registerAttribute(ServersideAttributeMap.java:41)

at net.mymod.mod.Entity.EntityVampire.applyEntityAttributes(EntityVampire.java:109)

at net.minecraft.entity.EntityLivingBase.<init>(EntityLivingBase.java:168)

at net.minecraft.entity.EntityLiving.<init>(EntityLiving.java:78)

at net.minecraft.entity.EntityCreature.<init>(EntityCreature.java:38)

at net.minecraft.entity.monster.EntityMob.<init>(EntityMob.java:21)

at net.mymod.mod.Entity.EntityVampire.<init>(EntityVampire.java:27)

... 19 more

java.lang.reflect.InvocationTargetException

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

at java.lang.reflect.Constructor.newInstance(Unknown Source)

at net.minecraft.entity.EntityList.createEntityByID(EntityList.java:221)

at net.minecraft.item.ItemMonsterPlacer.spawnCreature(ItemMonsterPlacer.java:173)

at net.minecraft.item.ItemMonsterPlacer.onItemUse(ItemMonsterPlacer.java:79)

at net.minecraft.item.ItemStack.tryPlaceItemIntoWorld(ItemStack.java:144)

at net.minecraft.server.management.ItemInWorldManager.activateBlockOrUseItem(ItemInWorldManager.java:418)

at net.minecraft.network.NetHandlerPlayServer.processPlayerBlockPlacement(NetHandlerPlayServer.java:588)

at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.processPacket(C08PacketPlayerBlockPlacement.java:74)

at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.processPacket(C08PacketPlayerBlockPlacement.java:122)

at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:232)

at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:182)

at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:716)

at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:604)

at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118)

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:482)

at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:742)

Caused by: java.lang.IllegalArgumentException: Attribute is already registered!

at net.minecraft.entity.ai.attributes.ServersideAttributeMap.registerAttribute(ServersideAttributeMap.java:41)

at net.mymod.mod.Entity.EntityVampire.applyEntityAttributes(EntityVampire.java:109)

at net.minecraft.entity.EntityLivingBase.<init>(EntityLivingBase.java:168)

at net.minecraft.entity.EntityLiving.<init>(EntityLiving.java:78)

at net.minecraft.entity.EntityCreature.<init>(EntityCreature.java:38)

at net.minecraft.entity.monster.EntityMob.<init>(EntityMob.java:21)

at net.mymod.mod.Entity.EntityVampire.<init>(EntityVampire.java:27)

... 19 more

[17:34:34] [server thread/WARN]: Skipping Entity with id 3

[17:34:34] [server thread/INFO]: Saving and pausing game...

[17:34:34] [server thread/INFO]: Saving chunks for level 'Test world'/Overworld

[17:34:34] [server thread/INFO]: Saving chunks for level 'Test world'/Nether

[17:34:34] [server thread/INFO]: Saving chunks for level 'Test world'/The End

[17:34:35] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:gui.button.press

[17:34:36] [server thread/WARN]: Skipping Entity with id 3

java.lang.reflect.InvocationTargetException

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

at java.lang.reflect.Constructor.newInstance(Unknown Source)

at net.minecraft.entity.EntityList.createEntityByID(EntityList.java:221)

at net.minecraft.item.ItemMonsterPlacer.spawnCreature(ItemMonsterPlacer.java:173)

at net.minecraft.item.ItemMonsterPlacer.onItemUse(ItemMonsterPlacer.java:79)

at net.minecraft.item.ItemStack.tryPlaceItemIntoWorld(ItemStack.java:144)

at net.minecraft.server.management.ItemInWorldManager.activateBlockOrUseItem(ItemInWorldManager.java:418)

at net.minecraft.network.NetHandlerPlayServer.processPlayerBlockPlacement(NetHandlerPlayServer.java:588)

at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.processPacket(C08PacketPlayerBlockPlacement.java:74)

at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.processPacket(C08PacketPlayerBlockPlacement.java:122)

at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:232)

at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:182)

at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:716)

at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:604)

at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118)

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:482)

at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:742)

Caused by: java.lang.IllegalArgumentException: Attribute is already registered!

at net.minecraft.entity.ai.attributes.ServersideAttributeMap.registerAttribute(ServersideAttributeMap.java:41)

at net.mymod.mod.Entity.EntityVampire.applyEntityAttributes(EntityVampire.java:109)

at net.minecraft.entity.EntityLivingBase.<init>(EntityLivingBase.java:168)

at net.minecraft.entity.EntityLiving.<init>(EntityLiving.java:78)

at net.minecraft.entity.EntityCreature.<init>(EntityCreature.java:38)

at net.minecraft.entity.monster.EntityMob.<init>(EntityMob.java:21)

at net.mymod.mod.Entity.EntityVampire.<init>(EntityVampire.java:27)

... 19 more

java.lang.reflect.InvocationTargetException

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

at java.lang.reflect.Constructor.newInstance(Unknown Source)

at net.minecraft.entity.EntityList.createEntityByID(EntityList.java:221)

at net.minecraft.item.ItemMonsterPlacer.spawnCreature(ItemMonsterPlacer.java:173)

at net.minecraft.item.ItemMonsterPlacer.onItemUse(ItemMonsterPlacer.java:79)

at net.minecraft.item.ItemStack.tryPlaceItemIntoWorld(ItemStack.java:144)

at net.minecraft.server.management.ItemInWorldManager.activateBlockOrUseItem(ItemInWorldManager.java:418)

at net.minecraft.network.NetHandlerPlayServer.processPlayerBlockPlacement(NetHandlerPlayServer.java:588)

at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.processPacket(C08PacketPlayerBlockPlacement.java:74)

at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.processPacket(C08PacketPlayerBlockPlacement.java:122)

at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:232)

at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:182)

at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:716)

at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:604)

at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118)

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:482)

at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:742)

Caused by: java.lang.IllegalArgumentException: Attribute is already registered!

at net.minecraft.entity.ai.attributes.ServersideAttributeMap.registerAttribute(ServersideAttributeMap.java:41)

at net.mymod.mod.Entity.EntityVampire.applyEntityAttributes(EntityVampire.java:109)

at net.minecraft.entity.EntityLivingBase.<init>(EntityLivingBase.java:168)

at net.minecraft.entity.EntityLiving.<init>(EntityLiving.java:78)

at net.minecraft.entity.EntityCreature.<init>(EntityCreature.java:38)

at net.minecraft.entity.monster.EntityMob.<init>(EntityMob.java:21)

at net.mymod.mod.Entity.EntityVampire.<init>(EntityVampire.java:27)

... 19 more

[17:34:36] [server thread/WARN]: Skipping Entity with id 3

[17:34:36] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:step.grass

java.lang.reflect.InvocationTargetException

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

at java.lang.reflect.Constructor.newInstance(Unknown Source)

at net.minecraft.entity.EntityList.createEntityByID(EntityList.java:221)

at net.minecraft.item.ItemMonsterPlacer.spawnCreature(ItemMonsterPlacer.java:173)

at net.minecraft.item.ItemMonsterPlacer.onItemUse(ItemMonsterPlacer.java:79)

at net.minecraft.item.ItemStack.tryPlaceItemIntoWorld(ItemStack.java:144)

at net.minecraft.server.management.ItemInWorldManager.activateBlockOrUseItem(ItemInWorldManager.java:418)

at net.minecraft.network.NetHandlerPlayServer.processPlayerBlockPlacement(NetHandlerPlayServer.java:588)

at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.processPacket(C08PacketPlayerBlockPlacement.java:74)

at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.processPacket(C08PacketPlayerBlockPlacement.java:122)

at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:232)

at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:182)

at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:716)

at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:604)

at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118)

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:482)

at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:742)

Caused by: java.lang.IllegalArgumentException: Attribute is already registered!

at net.minecraft.entity.ai.attributes.ServersideAttributeMap.registerAttribute(ServersideAttributeMap.java:41)

at net.mymod.mod.Entity.EntityVampire.applyEntityAttributes(EntityVampire.java:109)

at net.minecraft.entity.EntityLivingBase.<init>(EntityLivingBase.java:168)

at net.minecraft.entity.EntityLiving.<init>(EntityLiving.java:78)

at net.minecraft.entity.EntityCreature.<init>(EntityCreature.java:38)

at net.minecraft.entity.monster.EntityMob.<init>(EntityMob.java:21)

at net.mymod.mod.Entity.EntityVampire.<init>(EntityVampire.java:27)

... 19 more

[17:34:36] [server thread/WARN]: Skipping Entity with id 3

[17:34:37] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:step.grass

[17:34:37] [server thread/WARN]: Skipping Entity with id 3

java.lang.reflect.InvocationTargetException

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

at java.lang.reflect.Constructor.newInstance(Unknown Source)

at net.minecraft.entity.EntityList.createEntityByID(EntityList.java:221)

at net.minecraft.item.ItemMonsterPlacer.spawnCreature(ItemMonsterPlacer.java:173)

at net.minecraft.item.ItemMonsterPlacer.onItemUse(ItemMonsterPlacer.java:79)

at net.minecraft.item.ItemStack.tryPlaceItemIntoWorld(ItemStack.java:144)

at net.minecraft.server.management.ItemInWorldManager.activateBlockOrUseItem(ItemInWorldManager.java:418)

at net.minecraft.network.NetHandlerPlayServer.processPlayerBlockPlacement(NetHandlerPlayServer.java:588)

at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.processPacket(C08PacketPlayerBlockPlacement.java:74)

at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.processPacket(C08PacketPlayerBlockPlacement.java:122)

at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:232)

at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:182)

at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:716)

at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:604)

at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118)

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:482)

at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:742)

Caused by: java.lang.IllegalArgumentException: Attribute is already registered!

at net.minecraft.entity.ai.attributes.ServersideAttributeMap.registerAttribute(ServersideAttributeMap.java:41)

at net.mymod.mod.Entity.EntityVampire.applyEntityAttributes(EntityVampire.java:109)

at net.minecraft.entity.EntityLivingBase.<init>(EntityLivingBase.java:168)

at net.minecraft.entity.EntityLiving.<init>(EntityLiving.java:78)

at net.minecraft.entity.EntityCreature.<init>(EntityCreature.java:38)

at net.minecraft.entity.monster.EntityMob.<init>(EntityMob.java:21)

at net.mymod.mod.Entity.EntityVampire.<init>(EntityVampire.java:27)

... 19 more

[17:34:37] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:step.grass

[17:34:37] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:step.grass

java.lang.reflect.InvocationTargetException

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

at java.lang.reflect.Constructor.newInstance(Unknown Source)

at net.minecraft.entity.EntityList.createEntityByID(EntityList.java:221)

at net.minecraft.item.ItemMonsterPlacer.spawnCreature(ItemMonsterPlacer.java:173)

at net.minecraft.item.ItemMonsterPlacer.onItemUse(ItemMonsterPlacer.java:79)

at net.minecraft.item.ItemStack.tryPlaceItemIntoWorld(ItemStack.java:144)

at net.minecraft.server.management.ItemInWorldManager.activateBlockOrUseItem(ItemInWorldManager.java:418)

at net.minecraft.network.NetHandlerPlayServer.processPlayerBlockPlacement(NetHandlerPlayServer.java:588)

at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.processPacket(C08PacketPlayerBlockPlacement.java:74)

at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.processPacket(C08PacketPlayerBlockPlacement.java:122)

at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:232)

at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:182)

at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:716)

at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:604)

at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118)

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:482)

at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:742)

Caused by: java.lang.IllegalArgumentException: Attribute is already registered!

at net.minecraft.entity.ai.attributes.ServersideAttributeMap.registerAttribute(ServersideAttributeMap.java:41)

at net.mymod.mod.Entity.EntityVampire.applyEntityAttributes(EntityVampire.java:109)

at net.minecraft.entity.EntityLivingBase.<init>(EntityLivingBase.java:168)

at net.minecraft.entity.EntityLiving.<init>(EntityLiving.java:78)

at net.minecraft.entity.EntityCreature.<init>(EntityCreature.java:38)

at net.minecraft.entity.monster.EntityMob.<init>(EntityMob.java:21)

at net.mymod.mod.Entity.EntityVampire.<init>(EntityVampire.java:27)

... 19 more

[17:34:39] [server thread/WARN]: Skipping Entity with id 3

java.lang.reflect.InvocationTargetException

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

at java.lang.reflect.Constructor.newInstance(Unknown Source)

at net.minecraft.entity.EntityList.createEntityByID(EntityList.java:221)

at net.minecraft.item.ItemMonsterPlacer.spawnCreature(ItemMonsterPlacer.java:173)

at net.minecraft.item.ItemMonsterPlacer.onItemUse(ItemMonsterPlacer.java:79)

at net.minecraft.item.ItemStack.tryPlaceItemIntoWorld(ItemStack.java:144)

at net.minecraft.server.management.ItemInWorldManager.activateBlockOrUseItem(ItemInWorldManager.java:418)

at net.minecraft.network.NetHandlerPlayServer.processPlayerBlockPlacement(NetHandlerPlayServer.java:588)

at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.processPacket(C08PacketPlayerBlockPlacement.java:74)

at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.processPacket(C08PacketPlayerBlockPlacement.java:122)

at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:232)

at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:182)

at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:716)

at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:604)

at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118)

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:482)

at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:742)

Caused by: java.lang.IllegalArgumentException: Attribute is already registered!

at net.minecraft.entity.ai.attributes.ServersideAttributeMap.registerAttribute(ServersideAttributeMap.java:41)

at net.mymod.mod.Entity.EntityVampire.applyEntityAttributes(EntityVampire.java:109)

at net.minecraft.entity.EntityLivingBase.<init>(EntityLivingBase.java:168)

at net.minecraft.entity.EntityLiving.<init>(EntityLiving.java:78)

at net.minecraft.entity.EntityCreature.<init>(EntityCreature.java:38)

at net.minecraft.entity.monster.EntityMob.<init>(EntityMob.java:21)

at net.mymod.mod.Entity.EntityVampire.<init>(EntityVampire.java:27)

... 19 more

[17:34:39] [server thread/WARN]: Skipping Entity with id 3

[17:34:40] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:step.grass

[17:34:40] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:step.grass

[17:34:40] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:step.grass

[17:34:41] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:step.grass

[17:34:42] [server thread/INFO]: Saving and pausing game...

[17:34:42] [server thread/INFO]: Saving chunks for level 'Test world'/Overworld

[17:34:42] [server thread/INFO]: Saving chunks for level 'Test world'/Nether

[17:34:42] [server thread/INFO]: Saving chunks for level 'Test world'/The End

[17:34:44] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:gui.button.press

[17:34:44] [server thread/INFO]: Stopping server

[17:34:44] [server thread/INFO]: Saving players

[17:34:44] [server thread/INFO]: Saving worlds

[17:34:44] [server thread/INFO]: Saving chunks for level 'Test world'/Overworld

[17:34:44] [server thread/INFO]: Saving chunks for level 'Test world'/Nether

[17:34:44] [server thread/INFO]: Saving chunks for level 'Test world'/The End

[17:34:44] [server thread/INFO] [FML]: Unloading dimension 0

[17:34:44] [server thread/INFO] [FML]: Unloading dimension -1

[17:34:44] [server thread/INFO] [FML]: Unloading dimension 1

[17:34:46] [Client thread/INFO]: Stopping!

 

SoundSystem shutting down...

    Author: Paul Lamb, www.paulscode.com

 

Java HotSpot 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release

 

 

Link to comment
Share on other sites

The console points at applyEntityAttributes, I think the following rule is not good.

this.getAttributeMap().registerAttribute(SharedMonsterAttributes.attackDamage);

 

And left click the link like thing in this rule in the console:

"at net.mymod.mod.Entity.EntityVampire.applyEntityAttributes(EntityVampire.java:109)".

Link to comment
Share on other sites

are you sure? cause i don't see how thats the problem, i am following a tutorial in which it works, however i believe its part of the model, due to the fact that before they had set it out in the tutorial, it was already working (as a textureless blob). Also, would you mind telling me what to write instead, because i cant see it.

 

Here is the github of the tutorials i am using "https://github.com/NealeGaming/nealecraft/tree/master/net/nealecraft/mod"

 

(thanks for being so useful, if you dont mind, then i might give you another problem to fix, which no-one could explain to me before, or fix all the problems with)

Link to comment
Share on other sites

In programming you have to pay close attention to the console log.  It tells you exactly what type of problem is occurring and even the line of your code where the problem manifests (note that the actual problem might be somewhere else in your code, but the line indicated is where the error first causes trouble).

 

You do have several errors related to registering an attribute that is already registered.

 

Why don't you fix that error and then post the resulting log after that is fixed, and we can tackle the remaining errors.

 

You may also want to look at my tutorial on custom entities as well, maybe information there might give you hint on something that may be wrong: http://jabelarminecraft.blogspot.com/p/creating-custom-entities.html

 

I think that some of your other errors are related to mixing the types of entity registrations -- there was an older global ID style, and a newer mod ID style.

 

Anyway, clear out the one error and then let's tackle the next.

Check out my tutorials here: http://jabelarminecraft.blogspot.com/

Link to comment
Share on other sites

Thanks knokko and jabelar, mainly because now when i have a problem, i can find out whats causing it, but also because i now have a textureless blob, so the model still isn't loading. I have the console log here, if you can see what it is, then please tell me what is the reason for the problem, and how to fix it.

 

[21:33:13] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[21:33:13] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[21:33:13] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
[21:33:13] [main/INFO] [FML]: Forge Mod Loader version 7.2.156.1060 for Minecraft 1.7.2 loading
[21:33:13] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_05, running on Windows 7:amd64:6.1, installed at C:\Users\ginny's laptop\Desktop\Forge stuff\eclipse for forge\jre
[21:33:13] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[21:33:13] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[21:33:13] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
[21:33:13] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[21:33:13] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[21:33:13] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[21:33:13] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
[21:33:15] [main/ERROR] [FML]: The minecraft jar file:/C:/Users/ginny's%20laptop/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.1.1060/forgeSrc-1.7.2-10.12.1.1060.jar!/net/minecraft/client/ClientBrandRetriever.class appears to be corrupt! There has been CRITICAL TAMPERING WITH MINECRAFT, it is highly unlikely minecraft will work! STOP NOW, get a clean copy and try again!
[21:33:15] [main/ERROR] [FML]: FML has been ordered to ignore the invalid or missing minecraft certificate. This is very likely to cause a problem!
[21:33:15] [main/ERROR] [FML]: Technical information: ClientBrandRetriever was at jar:file:/C:/Users/ginny's%20laptop/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.1.1060/forgeSrc-1.7.2-10.12.1.1060.jar!/net/minecraft/client/ClientBrandRetriever.class, there were 0 certificates for it
[21:33:15] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[21:33:15] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[21:33:15] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
[21:33:16] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[21:33:17] [main/INFO]: Setting user: Player78
[21:33:20] [Client thread/INFO]: LWJGL Version: 2.9.0
[21:33:20] [Client thread/ERROR]: Couldn't set icon
javax.imageio.IIOException: Can't read input file!
at javax.imageio.ImageIO.read(Unknown Source) ~[?:1.8.0_05]
at net.minecraft.client.Minecraft.readImage(Minecraft.java:639) ~[Minecraft.class:?]
at net.minecraft.client.Minecraft.startGame(Minecraft.java:468) [Minecraft.class:?]
at net.minecraft.client.Minecraft.run(Minecraft.java:890) [Minecraft.class:?]
at net.minecraft.client.main.Main.main(Main.java:112) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_05]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_05]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_05]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_05]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?]
[21:33:22] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization
[21:33:22] [Client thread/INFO] [FML]: MinecraftForge v10.12.1.1060 Initialized
[21:33:23] [Client thread/INFO] [FML]: Replaced 141 ore recipies
[21:33:23] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization
[21:33:23] [Client thread/INFO] [FML]: Searching C:\Users\ginny's laptop\Desktop\Forge stuff\My mod\eclipse\mods for mods
[21:33:23] [Client thread/INFO] [examplemod]: Mod examplemod is missing the required element 'name'. Substituting examplemod
[21:33:24] [Client thread/ERROR] [FML]: FML has detected a mod that is using a package name based on 'net.minecraft.src' : net.minecraft.src.FMLRenderAccessLibrary. This is generally a severe programming error.  There should be no mod code in the minecraft namespace. MOVE YOUR MOD! If you're in eclipse, select your source code and 'refactor' it into a new package. Go on. DO IT NOW!
[21:33:27] [Client thread/INFO] [FML]: Forge Mod Loader has identified 5 mods to load
[21:33:27] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:examplemod, FMLFileResourcePack:Satangelic
[21:33:28] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0

Starting up SoundSystem...
Initializing LWJGL OpenAL
    (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[21:33:30] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas
[21:33:31] [Client thread/INFO]: Created: 256x256 textures/items-atlas
DIRT BLOCK >> tile.dirt
[21:33:31] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 5 mods
[21:33:31] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:examplemod, FMLFileResourcePack:Satangelic
[21:33:32] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas
[21:33:32] [Client thread/INFO]: Created: 256x256 textures/items-atlas

Starting up SoundSystem...
OpenAL initialized.
Initializing LWJGL OpenAL
    (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
Exception in thread "Thread-8" java.lang.IllegalStateException: Only one OpenAL context may be instantiated at any one time.
at org.lwjgl.openal.AL.create(AL.java:113)
at org.lwjgl.openal.AL.create(AL.java:102)
at org.lwjgl.openal.AL.create(AL.java:201)
at paulscode.sound.libraries.LibraryLWJGLOpenAL.init(LibraryLWJGLOpenAL.java:164)
at paulscode.sound.SoundSystem.CommandNewLibrary(SoundSystem.java:1576)
at paulscode.sound.SoundSystem.CommandQueue(SoundSystem.java:2572)
at paulscode.sound.CommandThread.run(CommandThread.java:121)
[21:33:34] [MCO Availability Checker #1/ERROR]: Couldn't connect to Realms
[21:33:43] [server thread/INFO]: Starting integrated minecraft server version 1.7.2
[21:33:43] [server thread/INFO]: Generating keypair
[21:33:43] [server thread/INFO] [FML]: Injecting existing block and item data into this server instance
[21:33:44] [server thread/INFO] [FML]: Loading dimension 0 (Test world) (net.minecraft.server.integrated.IntegratedServer@7653f688)
[21:33:44] [server thread/INFO] [FML]: Loading dimension 1 (Test world) (net.minecraft.server.integrated.IntegratedServer@7653f688)
[21:33:44] [server thread/INFO] [FML]: Loading dimension -1 (Test world) (net.minecraft.server.integrated.IntegratedServer@7653f688)
[21:33:44] [server thread/INFO]: Preparing start region for level 0
[21:33:45] [server thread/INFO]: Preparing spawn area: 42%
[21:33:45] [server thread/ERROR]: Wrong location! EntityPainting['Painting'/114, l='Test world', x=0.50, y=0.50, z=-0.06]
[21:33:45] [server thread/ERROR]: Wrong location! EntityPainting['Painting'/284, l='Test world', x=0.50, y=0.50, z=-0.06]
java.lang.Exception: Stack trace
at java.lang.Thread.dumpStack(Unknown Source)
at net.minecraft.world.chunk.Chunk.addEntity(Chunk.java:860)
at net.minecraft.world.chunk.storage.AnvilChunkLoader.readChunkFromNBT(AnvilChunkLoader.java:421)
at net.minecraft.world.chunk.storage.AnvilChunkLoader.checkedReadChunkFromNBT(AnvilChunkLoader.java:108)
at net.minecraft.world.chunk.storage.AnvilChunkLoader.loadChunk(AnvilChunkLoader.java:88)
at net.minecraft.world.gen.ChunkProviderServer.safeLoadChunk(ChunkProviderServer.java:179)
at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:120)
at net.minecraft.server.MinecraftServer.initialWorldChunkLoad(MinecraftServer.java:307)
at net.minecraft.server.integrated.IntegratedServer.loadAllWorlds(IntegratedServer.java:79)
at net.minecraft.server.integrated.IntegratedServer.startServer(IntegratedServer.java:96)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:442)
at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:742)
java.lang.Exception: Stack trace
at java.lang.Thread.dumpStack(Unknown Source)
at net.minecraft.world.chunk.Chunk.addEntity(Chunk.java:860)
at net.minecraft.world.chunk.storage.AnvilChunkLoader.readChunkFromNBT(AnvilChunkLoader.java:421)
at net.minecraft.world.chunk.storage.AnvilChunkLoader.checkedReadChunkFromNBT(AnvilChunkLoader.java:108)
at net.minecraft.world.chunk.storage.AnvilChunkLoader.loadChunk(AnvilChunkLoader.java:88)
at net.minecraft.world.gen.ChunkProviderServer.safeLoadChunk(ChunkProviderServer.java:179)
at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:120)
at net.minecraft.server.MinecraftServer.initialWorldChunkLoad(MinecraftServer.java:307)
at net.minecraft.server.integrated.IntegratedServer.loadAllWorlds(IntegratedServer.java:79)
at net.minecraft.server.integrated.IntegratedServer.startServer(IntegratedServer.java:96)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:442)
at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:742)
[21:33:48] [Netty Client IO #0/INFO] [FML]: Server protocol version 1
[21:33:48] [Netty IO #1/INFO] [FML]: Client protocol version 1
[21:33:48] [Netty IO #1/INFO] [FML]: Client attempting to join with 5 mods : FML@7.2.156.1060,Forge@10.12.1.1060,mcp@8.09,mymod@Alpha 0.1,examplemod@1.0
[21:33:48] [Netty IO #1/INFO] [FML]: Attempting connection with missing mods [] at CLIENT
[21:33:48] [Netty Client IO #0/INFO] [FML]: Attempting connection with missing mods [] at SERVER
[21:33:48] [server thread/INFO] [FML]: [server thread] Server side modded connection established
[21:33:48] [server thread/INFO]: Player78[local:E:53a9d56d] logged in with entity id 454 at (698.6210492663582, 4.0, -55.7486550846268)
[21:33:48] [server thread/INFO]: Player78 joined the game
[21:33:48] [Client thread/INFO] [FML]: [Client thread] Client side modded connection established
[21:33:57] [server thread/INFO]: Saving and pausing game...
[21:33:57] [server thread/INFO]: Saving chunks for level 'Test world'/Overworld
[21:33:57] [server thread/INFO]: Saving chunks for level 'Test world'/Nether
[21:33:57] [server thread/INFO]: Saving chunks for level 'Test world'/The End
[21:34:09] [server thread/INFO]: Saving and pausing game...
[21:34:10] [server thread/INFO]: Saving chunks for level 'Test world'/Overworld
[21:34:10] [server thread/INFO]: Saving chunks for level 'Test world'/Nether
[21:34:10] [server thread/INFO]: Saving chunks for level 'Test world'/The End
[21:34:11] [Client thread/INFO]: Stopping!
[21:34:11] [server thread/INFO]: Stopping server
[21:34:11] [server thread/INFO]: Saving players
[21:34:11] [server thread/INFO]: Saving worlds
[21:34:11] [server thread/INFO]: Saving chunks for level 'Test world'/Overworld
[21:34:11] [server thread/INFO]: Saving chunks for level 'Test world'/Nether
[21:34:11] [server thread/INFO]: Saving chunks for level 'Test world'/The End
Exception in thread "Client Shutdown Thread" java.lang.NullPointerException
at net.minecraftforge.common.ForgeChunkManager.saveWorld(ForgeChunkManager.java:819)
at net.minecraftforge.common.ForgeInternalHandler.onDimensionSave(ForgeInternalHandler.java:70)
at cpw.mods.fml.common.eventhandler.ASMEventHandler_0_ForgeInternalHandler_onDimensionSave_Save.invoke(.dynamic)
at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:51)
at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:122)
at net.minecraft.world.WorldServer.saveAllChunks(WorldServer.java:876)
at net.minecraft.server.MinecraftServer.saveAllWorlds(MinecraftServer.java:370)
at net.minecraft.server.MinecraftServer.stopServer(MinecraftServer.java:403)
at net.minecraft.server.integrated.IntegratedServer.stopServer(IntegratedServer.java:255)
at net.minecraft.client.Minecraft.stopIntegratedServer(Minecraft.java:2671)
at net.minecraft.client.main.Main$2.run(Main.java:102)
AL lib: (EE) alc_cleanup: 1 device not closed
Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release

 

(I put it as code, because it should be easier to look at, also, the code is going to be the same apart from a few things like the problem you pointed out, and the speed, which was really high)

Link to comment
Share on other sites

Your render class is not equal to one of my render classes.

I will show you one that is surely working:

but keep in your mind that the problem can be somewhere else.

 public class RenderEnderhunter extends RenderLiving {

private static final ResourceLocation texture = new ResourceLocation(R.T + "textures/entities/enderhunter.png");

protected ModelEnderhunter modelEntity;

public RenderEnderhunter(ModelBase par1ModelBase, float par2) {
	super(par1ModelBase, par2);
	modelEntity = ((ModelEnderhunter) mainModel);
}
public void renderEnderhunter(EntityEnderhunter entity, double x, double y, double z, float u, float v){
	super.doRender(entity, x, y, z, u, v);
}
public void doRenderLiving(EntityLiving entityLiving, double x, double y, double z, float u, float v){
	renderEnderhunter((EntityEnderhunter)entityLiving, x, y, z, u, v);
}
public void doRender(Entity entity, double x, double y, double z, float u, float v){
	renderEnderhunter((EntityEnderhunter)entity, x, y, z, u, v);
}

@Override
protected ResourceLocation getEntityTexture(Entity var1) {
	return texture;
}



}

 

Link to comment
Share on other sites

One thing I noticed is that you're not overriding CommonProxy's registerRenderThings method in the ClientProxy class.

 

public class ClientProxy extends CommonProxy {

public void registerRenderThings() {

 

should be:

public class ClientProxy extends CommonProxy {

@Override

public void registerRenderThings() {

 

Link to comment
Share on other sites

It's just a guess, but why not try and resave your texture again as a PNG file. It seems to have the correct extension, but imageIO cannot read it. It's probably a .jpeg or .bmp with an incorrect extension.

If that doesn't work, I'm stumped.

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



×
×
  • Create New...

Important Information

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