Résolu Faire regarder une entité à un endroit
-
Bonjour.
Je veux faire une entité (ici un dragon) qui attaque avec un projectile.
Or, pour faire ca, il faut que cette entité regarde l’entité à attaquer.
J’ai fait ce code mais le jeu crash sans rien dire dans la console.
Merci d’avancepublic class EntityBabyDragonBase extends EntityTameable { public EntityBabyDragonBase(World worldIn) { super(worldIn); this.setSize(1.0F, 0.5F); this.setTamed(false); } public EntityBabyDragonBase(World worldIn, double x, double y, double z) { super(worldIn); this.setPosition(x, y, z); } @Override protected void initEntityAI() { this.aiSit = new EntityAISit(this); this.tasks.addTask(1, new EntityAISwimming(this)); this.tasks.addTask(2, this.aiSit); // this.tasks.addTask(3, new EntityWolf.AIAvoidEntity(this, EntityLlama.class, 24.0F, 1.5D, 1.5D)); this.tasks.addTask(4, new EntityAILeapAtTarget(this, 0.4F)); // this.tasks.addTask(5, new EntityAIAttackMelee(this, 1.0D, true)); this.tasks.addTask(6, new EntityAIFollowOwner(this, 1.0D, 10.0F, 2.0F)); this.tasks.addTask(7, new EntityAIMate(this, 1.0D)); this.tasks.addTask(8, new EntityAIWanderAvoidWater(this, 1.0D)); // this.tasks.addTask(9, new EntityAIBeg(this, 8.0F)); this.tasks.addTask(10, new EntityAIWatchClosest(this, EntityPlayer.class, 8.0F)); this.tasks.addTask(10, new EntityAILookIdle(this)); this.targetTasks.addTask(1, new EntityAIOwnerHurtByTarget(this)); this.targetTasks.addTask(2, new EntityAIOwnerHurtTarget(this)); this.targetTasks.addTask(3, new EntityAIHurtByTarget(this, true, new Class[0])); // this.targetTasks.addTask(5, new EntityAINearestAttackableTarget(this, AbstractSkeleton.class, false)); } @Override public void onUpdate() { super.onUpdate(); if(this.getAttackTarget() != null) { for(int i = 1000; i > 0; i--) { if(i == 1) { this.getLookHelper().setLookPosition(this.getAttackTarget().posX, this.getAttackTarget().posY + (double)this.getAttackTarget().getEyeHeight(), this.getAttackTarget().posZ, (float)this.getHorizontalFaceSpeed(), (float)this.getVerticalFaceSpeed()); EntitySnowball entitysnowball = new EntitySnowball(this.world, this); entitysnowball.shoot(this, this.rotationPitch, this.rotationYaw, 0.0F, 1.5F, 1.0F); this.world.spawnEntity(entitysnowball); i=1000; } } } } @Override protected void applyEntityAttributes() { super.applyEntityAttributes(); if(this.getDragonType() == EnumDragonType.FIRE) { this.getEntityAttribute(SharedMonsterAttributes.MOVEMENT_SPEED).setBaseValue(0.29000001192092896D); if(this.isTamed()) { this.getEntityAttribute(SharedMonsterAttributes.MAX_HEALTH).setBaseValue(35.0D); } else { this.getEntityAttribute(SharedMonsterAttributes.MAX_HEALTH).setBaseValue(25.0D); } this.getAttributeMap().registerAttribute(SharedMonsterAttributes.ATTACK_DAMAGE).setBaseValue(17.0D); } else if(this.getDragonType() == EnumDragonType.ICE) { this.getEntityAttribute(SharedMonsterAttributes.MOVEMENT_SPEED).setBaseValue(0.3500001192092896D); if(this.isTamed()) { this.getEntityAttribute(SharedMonsterAttributes.MAX_HEALTH).setBaseValue(33.0D); } else { this.getEntityAttribute(SharedMonsterAttributes.MAX_HEALTH).setBaseValue(25.0D); } this.getAttributeMap().registerAttribute(SharedMonsterAttributes.ATTACK_DAMAGE).setBaseValue(12.0D); } else if(this.getDragonType() == EnumDragonType.EARTH) { this.getEntityAttribute(SharedMonsterAttributes.MOVEMENT_SPEED).setBaseValue(0.2500001192092896D); if(this.isTamed()) { this.getEntityAttribute(SharedMonsterAttributes.MAX_HEALTH).setBaseValue(50.0D); } else { this.getEntityAttribute(SharedMonsterAttributes.MAX_HEALTH).setBaseValue(25.0D); } this.getAttributeMap().registerAttribute(SharedMonsterAttributes.ATTACK_DAMAGE).setBaseValue(15.0D); } } public EnumDragonType getDragonType() { return EnumDragonType.NONE; } public boolean processInteract(EntityPlayer player, EnumHand hand) { ItemStack itemstack = player.getHeldItem(hand); if(this.isTamed()) { if(!itemstack.isEmpty()) { if(itemstack.getItem() instanceof ItemFood) { ItemFood itemfood = (ItemFood)itemstack.getItem(); if(itemfood.isWolfsFavoriteMeat() && this.getHealth() < 20.0f) { if(!player.capabilities.isCreativeMode) { itemstack.shrink(1); } this.heal((float)itemfood.getHealAmount(itemstack)); return true; } } } if(this.isOwner(player) && !this.world.isRemote && !this.isBreedingItem(itemstack)) { this.aiSit.setSitting(!this.isSitting()); this.isJumping = false; this.navigator.clearPath(); this.setAttackTarget((EntityLivingBase)null); } } else { if(this.getDragonType() == EnumDragonType.ICE) { if(itemstack.getItem() == Item.getItemFromBlock(Blocks.PACKED_ICE)) { if(!player.capabilities.isCreativeMode) { itemstack.shrink(1); } if(!this.world.isRemote) { if(this.rand.nextInt(3) == 0 && !net.minecraftforge.event.ForgeEventFactory.onAnimalTame(this, player)) { this.setTamedBy(player); this.navigator.clearPath(); this.setAttackTarget((EntityLivingBase)null); this.aiSit.setSitting(true); this.setHealth(35.0F); this.playTameEffect(true); this.world.setEntityState(this, (byte)7); } else { this.playTameEffect(false); this.world.setEntityState(this, (byte)6); } } } } else if(this.getDragonType() == EnumDragonType.FIRE) { if(itemstack.getItem() == Item.getItemFromBlock(Blocks.MAGMA)) { if(!player.capabilities.isCreativeMode) { itemstack.shrink(1); } if(!this.world.isRemote) { if(this.rand.nextInt(3) == 0 && !net.minecraftforge.event.ForgeEventFactory.onAnimalTame(this, player)) { this.setTamedBy(player); this.navigator.clearPath(); this.setAttackTarget((EntityLivingBase)null); this.aiSit.setSitting(true); this.setHealth(33.0F); this.playTameEffect(true); this.world.setEntityState(this, (byte)7); } else { this.playTameEffect(false); this.world.setEntityState(this, (byte)6); } } } } else if(this.getDragonType() == EnumDragonType.EARTH) { if(itemstack.getItem() == Item.getItemFromBlock(Blocks.DIRT)) { if(!player.capabilities.isCreativeMode) { itemstack.shrink(1); } if(!this.world.isRemote) { if(this.rand.nextInt(3) == 0 && !net.minecraftforge.event.ForgeEventFactory.onAnimalTame(this, player)) { this.setTamedBy(player); this.navigator.clearPath(); this.setAttackTarget((EntityLivingBase)null); this.aiSit.setSitting(true); this.setHealth(50.0F); this.playTameEffect(true); this.world.setEntityState(this, (byte)7); } else { this.playTameEffect(false); this.world.setEntityState(this, (byte)6); } } } } } return super.processInteract(player, hand); } @Override public EntityAgeable createChild(EntityAgeable ageable) { EntityWolf entitywolf = new EntityWolf(this.world); UUID uuid = this.getOwnerId(); if(uuid != null) { entitywolf.setOwnerId(uuid); entitywolf.setTamed(true); } return entitywolf; } }
-
@robin4002 voila mon entité !
public class EntityProjectileBase extends EntityThrowable { public boolean homing = true; private int ticksAlive = 0; protected EntityLivingBase target; protected EntityBabyDragonBase shootingEntity; protected Entity predefTarget; public boolean shouldUpdateTarget = true; private static EnumDragonType dragonType; public EntityProjectileBase(World par1World) { super(par1World); } public EntityProjectileBase(World par1World, Entity par2Entity) { super(par1World); } public EntityProjectileBase(World par1World, EntityBabyDragonBase par3EntityPlayer) { super(par1World, par3EntityPlayer); this.shootingEntity = par3EntityPlayer; } public EntityProjectileBase(World par1World, EntityBabyDragonBase par3EntityPlayer, Entity target) { super(par1World, par3EntityPlayer); this.posY = par3EntityPlayer.posY + 1; this.shootingEntity = par3EntityPlayer; this.predefTarget = target; this.shouldUpdateTarget = false; } public EnumDragonType getDragonType() { return EnumDragonType.NONE; } protected void entityInit() {} protected float getGravityVelocity() { return 0.0F; } protected float func_70182_d() { return 1.2F; } protected float func_70183_g() { return -0.0F; } public void onUpdate() { super.onUpdate(); this.ticksAlive += 1; if(this.ticksAlive >= 300) { setDead(); this.ticksAlive = 0; } if(predefTarget != null) { this.target = (EntityLivingBase)predefTarget; } // TODO - Fix the spawn particle // this.world.spawnParticle("smoke", this.posX, this.posY, this.posZ, 0.0D, 0.0D, 0.0D); // this.worldObj.spawnParticle("flame", this.posX, this.posY, this.posZ, 0.0D, 0.0D, 0.0D); if(this.ticksAlive >= 5) { if((this.target == null) || (this.target.velocityChanged) || (!this.target.canEntityBeSeen(this)) || this.target.isDead || this.target.getEntityData().getInteger("missilesTargeting") != this.hashCode()) { if(shouldUpdateTarget) this.target = this.getNearestEntity(); } } if(this.target != null) { double d = this.target.getEntityBoundingBox().minX + (this.target.getEntityBoundingBox().maxX - this.target.getEntityBoundingBox().minX) / 2.0D - this.posX; double d1 = this.target.getEntityBoundingBox().minY + (this.target.getEntityBoundingBox().maxY - this.target.getEntityBoundingBox().minY) / 2.0D - this.posY; double d2 = this.target.getEntityBoundingBox().minZ + (this.target.getEntityBoundingBox().maxZ - this.target.getEntityBoundingBox().minZ) / 2.0D - this.posZ; this.shoot(d, d1, d2, 1.9F, 0.0F); this.posY += (0.5 * Math.sin(this.ticksAlive)); this.posX += (0.5 * Math.cos(this.ticksAlive)); if(this.getDragonType() == EnumDragonType.FIRE) { this.world.spawnParticle(EnumParticleTypes.FLAME, this.posX, this.posY, this.posZ, 0, 0, 0, 0); } else if(this.getDragonType() == EnumDragonType.ICE) { this.world.spawnParticle(EnumParticleTypes.SNOWBALL, this.posX, this.posY, this.posZ, 0, 0, 0, 0); } else if(this.getDragonType() == EnumDragonType.EARTH) { this.world.spawnParticle(EnumParticleTypes.SLIME, this.posX, this.posY, this.posZ, 0, 0, 0, 0); } } float f4 = 0.99F; float f6 = 0.05F; if(!this.homing) { this.motionX *= f4; this.motionY *= f4; this.motionZ *= f4; this.motionY -= f6; } } private EntityLiving getTarget(double d, double d1, double d2, double d3) { double d4 = -1.0D; EntityLiving entityliving = null; List list = this.world.getEntitiesWithinAABBExcludingEntity(getThrower(), this.getEntityBoundingBox().expand(16.0D, 16.0D, 16.0D)); for(int i = 0; i < list.size(); i++) { EntityLiving entityliving1 = (EntityLiving)list.get(i); if(entityliving1 != getThrower()) { double d5 = entityliving1.getDistance(d, d1, d2); if(((d3 < 0.0D) || (d5 < d3 * d3)) && ((d4 == -1.0D) || (d5 < d4)) && (entityliving1.canEntityBeSeen(this))) { d4 = d5; entityliving = entityliving1; } } } return entityliving; } public boolean validTarget(EntityLiving entityliving) { if(entityliving.equals(getThrower())) { return false; } return true; } protected void onImpact(RayTraceResult movingobjectposition) { if(movingobjectposition.entityHit != null) { if(movingobjectposition.entityHit != this.getThrower()) { movingobjectposition.entityHit.attackEntityFrom(DamageSource.causeMobDamage(this.shootingEntity), ((EntityBabyDragonBase)this.getThrower()).getDragonDamage()); if(this.getDragonType() == EnumDragonType.FIRE && !this.world.isRemote) { movingobjectposition.entityHit.setFire(4); } else if(this.getDragonType() == EnumDragonType.ICE && !this.world.isRemote) { ((EntityLivingBase)movingobjectposition.entityHit).addPotionEffect(new PotionEffect(MobEffects.SLOWNESS, 20 * 4, 1)); ((EntityLivingBase)movingobjectposition.entityHit).addPotionEffect(new PotionEffect(MobEffects.MINING_FATIGUE, 20 * 4, 0)); } else if(this.getDragonType() == EnumDragonType.EARTH && !this.world.isRemote) { ((EntityLivingBase)movingobjectposition.entityHit).addPotionEffect(new PotionEffect(MobEffects.NAUSEA, 20 * 4, 0)); ((EntityLivingBase)movingobjectposition.entityHit).addPotionEffect(new PotionEffect(MobEffects.HUNGER, 20 * 4, 0)); ((EntityLivingBase)movingobjectposition.entityHit).addPotionEffect(new PotionEffect(MobEffects.POISON, 20 * 4, 0)); } if(!this.world.isRemote) { this.setDead(); } } if(movingobjectposition.entityHit.getEntityData().getInteger("missilesTargeting") != 0) { movingobjectposition.entityHit.getEntityData().setInteger("missilesTargeting", 0); } } else if(!this.world.isRemote) { this.setDead(); } } private EntityLiving getNearestEntity() { EntityLiving target = null; float explosionSize = 10.0F; explosionSize *= 2.0F; int i = MathHelper.floor(this.posX - explosionSize - 1.0D); int j = MathHelper.floor(this.posX + explosionSize + 1.0D); int k = MathHelper.floor(this.posY - explosionSize - 1.0D); int l1 = MathHelper.floor(this.posY + explosionSize + 1.0D); int i2 = MathHelper.floor(this.posZ - explosionSize - 1.0D); int j2 = MathHelper.floor(this.posZ + explosionSize + 1.0D); if(!this.world.isRemote) { List list = this.world.getEntitiesWithinAABBExcludingEntity(getThrower(), new AxisAlignedBB(i, k, i2, j, l1, j2)); for(int k2 = 0; k2 < list.size(); k2++) { Entity entity = (Entity)list.get(k2); if(((entity instanceof EntityLiving)) && (((EntityLiving)entity).canEntityBeSeen(this))) { target = (EntityLiving)entity; if(target.getEntityData().getInteger("missilesTargeting") == 0) { target.getEntityData().setInteger("missilesTargeting", this.hashCode()); return target; } } } } return target; } }
-
up :backhand_index_pointing_up:
-
@feedback j’ai fait ca :
public class EntityProjectileBase extends EntityThrowable { public boolean homing = true; private int ticksAlive = 0; protected EntityLivingBase target; protected EntityBabyDragonBase shootingEntity; protected Entity predefTarget; public boolean shouldUpdateTarget = true; private static EnumDragonType dragonType; public EntityProjectileBase(World par1World) { super(par1World); } public EntityProjectileBase(World par1World, Entity par2Entity) { super(par1World); } public EntityProjectileBase(World par1World, EntityBabyDragonBase par3EntityPlayer) { super(par1World, par3EntityPlayer); this.shootingEntity = par3EntityPlayer; } public EntityProjectileBase(World par1World, EntityBabyDragonBase par3EntityPlayer, Entity target) { super(par1World, par3EntityPlayer); this.shootingEntity = par3EntityPlayer; this.predefTarget = target; this.shouldUpdateTarget = false; } public EnumDragonType getDragonType() { return EnumDragonType.NONE; } protected void entityInit() {} protected float getGravityVelocity() { return 0.0F; } protected float func_70182_d() { return 1.2F; } protected float func_70183_g() { return -0.0F; } public void onUpdate() { super.onUpdate(); this.ticksAlive += 1; if(this.ticksAlive >= 300) { setDead(); this.ticksAlive = 0; } if(predefTarget != null) { this.target = (EntityLivingBase)predefTarget; } // TODO - Fix the spawn particle // this.world.spawnParticle("smoke", this.posX, this.posY, this.posZ, 0.0D, 0.0D, 0.0D); // this.worldObj.spawnParticle("flame", this.posX, this.posY, this.posZ, 0.0D, 0.0D, 0.0D); if(this.ticksAlive >= 5) { if((this.target == null) || (this.target.velocityChanged) || (!this.target.canEntityBeSeen(this)) || this.target.isDead || this.target.getEntityData().getInteger("missilesTargeting") != this.hashCode()) { if(shouldUpdateTarget) this.target = this.getNearestEntity(); } } if(this.target != null) { double d = this.target.getEntityBoundingBox().minX + (this.target.getEntityBoundingBox().maxX - this.target.getEntityBoundingBox().minX) / 2.0D - this.posX; double d1 = this.target.getEntityBoundingBox().minY + (this.target.getEntityBoundingBox().maxY - this.target.getEntityBoundingBox().minY) / 2.0D - this.posY; double d2 = this.target.getEntityBoundingBox().minZ + (this.target.getEntityBoundingBox().maxZ - this.target.getEntityBoundingBox().minZ) / 2.0D - this.posZ; this.shoot(d, d1, d2, 0.9F, 0.0F); this.posY += (0.5 * Math.sin(this.ticksAlive)); this.posX += (0.5 * Math.cos(this.ticksAlive)); if(this.getDragonType() == EnumDragonType.FIRE) { this.world.spawnParticle(EnumParticleTypes.FLAME, this.posX, this.posY, this.posZ, 0, 0, 0, 0); } else if(this.getDragonType() == EnumDragonType.ICE) { this.world.spawnParticle(EnumParticleTypes.SNOWBALL, this.posX, this.posY, this.posZ, 0, 0, 0, 0); } else if(this.getDragonType() == EnumDragonType.EARTH) { this.world.spawnParticle(EnumParticleTypes.SLIME, this.posX, this.posY, this.posZ, 0, 0, 0, 0); } } float f4 = 0.99F; float f6 = 0.05F; if(!this.homing) { this.motionX *= f4; this.motionY *= f4; this.motionZ *= f4; this.motionY -= f6; } } private EntityLiving getTarget(double d, double d1, double d2, double d3) { double d4 = -1.0D; EntityLiving entityliving = null; List list = this.world.getEntitiesWithinAABBExcludingEntity(getThrower(), this.getEntityBoundingBox().expand(16.0D, 16.0D, 16.0D)); for(int i = 0; i < list.size(); i++) { EntityLiving entityliving1 = (EntityLiving)list.get(i); if(entityliving1 != getThrower()) { double d5 = entityliving1.getDistance(d, d1, d2); if(((d3 < 0.0D) || (d5 < d3 * d3)) && ((d4 == -1.0D) || (d5 < d4)) && (entityliving1.canEntityBeSeen(this))) { d4 = d5; entityliving = entityliving1; } } } return entityliving; } public boolean validTarget(EntityLiving entityliving) { if(entityliving.equals(getThrower())) { return false; } return true; } protected void onImpact(RayTraceResult movingobjectposition) { if(movingobjectposition.entityHit != null) { if(movingobjectposition.entityHit != this.getThrower()) { movingobjectposition.entityHit.attackEntityFrom(DamageSource.causeMobDamage(this.shootingEntity), ((EntityBabyDragonBase)this.getThrower()).getDragonDamage()); if(this.getDragonType() == EnumDragonType.FIRE && this.world.isRemote) { movingobjectposition.entityHit.setFire(2); } else if(this.getDragonType() == EnumDragonType.ICE && this.world.isRemote) { ((EntityLivingBase)movingobjectposition.entityHit).addPotionEffect(new PotionEffect(MobEffects.SLOWNESS, 20*2, 1)); } else if(this.getDragonType() == EnumDragonType.EARTH && this.world.isRemote) { ((EntityLivingBase)movingobjectposition.entityHit).addPotionEffect(new PotionEffect(MobEffects.NAUSEA, 20*2, 0)); } } if(movingobjectposition.entityHit.getEntityData().getInteger("missilesTargeting") != 0) { movingobjectposition.entityHit.getEntityData().setInteger("missilesTargeting", 0); } if(!this.world.isRemote) { setDead(); } } if(!this.world.isRemote) { setDead(); } if((!this.isDead) && (movingobjectposition.typeOfHit == RayTraceResult.Type.BLOCK) && (!this.world.isRemote)) setDead(); } private EntityLiving getNearestEntity() { EntityLiving target = null; float explosionSize = 10.0F; explosionSize *= 2.0F; int i = MathHelper.floor(this.posX - explosionSize - 1.0D); int j = MathHelper.floor(this.posX + explosionSize + 1.0D); int k = MathHelper.floor(this.posY - explosionSize - 1.0D); int l1 = MathHelper.floor(this.posY + explosionSize + 1.0D); int i2 = MathHelper.floor(this.posZ - explosionSize - 1.0D); int j2 = MathHelper.floor(this.posZ + explosionSize + 1.0D); if(!this.world.isRemote) { List list = this.world.getEntitiesWithinAABBExcludingEntity(getThrower(), new AxisAlignedBB(i, k, i2, j, l1, j2)); for(int k2 = 0; k2 < list.size(); k2++) { Entity entity = (Entity)list.get(k2); if(((entity instanceof EntityLiving)) && (((EntityLiving)entity).canEntityBeSeen(this))) { target = (EntityLiving)entity; if(target.getEntityData().getInteger("missilesTargeting") == 0) { target.getEntityData().setInteger("missilesTargeting", this.hashCode()); return target; } } } } return target; } }
Mais la console me donne cette erreur :
net.minecraft.util.ReportedException: Adding entity to track at net.minecraft.entity.EntityTracker.track(EntityTracker.java:261) [EntityTracker.class:?] at net.minecraftforge.fml.common.registry.EntityRegistry.tryTrackingEntity(EntityRegistry.java:369) [EntityRegistry.class:?] at net.minecraft.entity.EntityTracker.track(EntityTracker.java:82) [EntityTracker.class:?] at net.minecraft.world.ServerWorldEventHandler.onEntityAdded(ServerWorldEventHandler.java:43) [ServerWorldEventHandler.class:?] at net.minecraft.world.World.onEntityAdded(World.java:1329) [World.class:?] at net.minecraft.world.WorldServer.onEntityAdded(WorldServer.java:1175) [WorldServer.class:?] at net.minecraft.world.World.spawnEntity(World.java:1320) [World.class:?] at net.minecraft.world.WorldServer.spawnEntity(WorldServer.java:1121) [WorldServer.class:?] at com.drastic.redskyll.objects.entity.base.EntityBabyDragonBase.onUpdate(EntityBabyDragonBase.java:87) [EntityBabyDragonBase.class:?] at net.minecraft.world.World.updateEntityWithOptionalForce(World.java:2174) [World.class:?] at net.minecraft.world.WorldServer.updateEntityWithOptionalForce(WorldServer.java:871) [WorldServer.class:?] at net.minecraft.world.World.updateEntity(World.java:2133) [World.class:?] at net.minecraft.world.World.updateEntities(World.java:1934) [World.class:?] at net.minecraft.world.WorldServer.updateEntities(WorldServer.java:643) [WorldServer.class:?] at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:842) [MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:743) [MinecraftServer.class:?] at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:192) [IntegratedServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:592) [MinecraftServer.class:?] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_251] Caused by: java.lang.IllegalArgumentException: Don't know how to add class com.drastic.redskyll.objects.entity.EntityMagmaBall! at net.minecraft.entity.EntityTrackerEntry.createSpawnPacket(EntityTrackerEntry.java:681) ~[EntityTrackerEntry.class:?] at net.minecraft.entity.EntityTrackerEntry.updatePlayerEntity(EntityTrackerEntry.java:399) ~[EntityTrackerEntry.class:?] at net.minecraft.entity.EntityTrackerEntry.updatePlayerEntities(EntityTrackerEntry.java:509) ~[EntityTrackerEntry.class:?] at net.minecraft.entity.EntityTracker.track(EntityTracker.java:235) ~[EntityTracker.class:?] ... 18 more [17:00:06] [Server thread/ERROR] [minecraft/EntityTracker]: "Silently" catching entity tracking error. net.minecraft.util.ReportedException: Adding entity to track at net.minecraft.entity.EntityTracker.track(EntityTracker.java:261) [EntityTracker.class:?] at net.minecraftforge.fml.common.registry.EntityRegistry.tryTrackingEntity(EntityRegistry.java:369) [EntityRegistry.class:?] at net.minecraft.entity.EntityTracker.track(EntityTracker.java:82) [EntityTracker.class:?] at net.minecraft.world.ServerWorldEventHandler.onEntityAdded(ServerWorldEventHandler.java:43) [ServerWorldEventHandler.class:?] at net.minecraft.world.World.onEntityAdded(World.java:1329) [World.class:?] at net.minecraft.world.WorldServer.onEntityAdded(WorldServer.java:1175) [WorldServer.class:?] at net.minecraft.world.World.spawnEntity(World.java:1320) [World.class:?] at net.minecraft.world.WorldServer.spawnEntity(WorldServer.java:1121) [WorldServer.class:?] at com.drastic.redskyll.objects.entity.base.EntityBabyDragonBase.onUpdate(EntityBabyDragonBase.java:87) [EntityBabyDragonBase.class:?] at net.minecraft.world.World.updateEntityWithOptionalForce(World.java:2174) [World.class:?] at net.minecraft.world.WorldServer.updateEntityWithOptionalForce(WorldServer.java:871) [WorldServer.class:?] at net.minecraft.world.World.updateEntity(World.java:2133) [World.class:?] at net.minecraft.world.World.updateEntities(World.java:1934) [World.class:?] at net.minecraft.world.WorldServer.updateEntities(WorldServer.java:643) [WorldServer.class:?] at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:842) [MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:743) [MinecraftServer.class:?] at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:192) [IntegratedServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:592) [MinecraftServer.class:?] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_251] Caused by: java.lang.IllegalArgumentException: Don't know how to add class com.drastic.redskyll.objects.entity.EntityMagmaBall! at net.minecraft.entity.EntityTrackerEntry.createSpawnPacket(EntityTrackerEntry.java:681) ~[EntityTrackerEntry.class:?] at net.minecraft.entity.EntityTrackerEntry.updatePlayerEntity(EntityTrackerEntry.java:399) ~[EntityTrackerEntry.class:?] at net.minecraft.entity.EntityTrackerEntry.updatePlayerEntities(EntityTrackerEntry.java:509) ~[EntityTrackerEntry.class:?] at net.minecraft.entity.EntityTracker.track(EntityTracker.java:235) ~[EntityTracker.class:?] ... 18 more [17:00:07] [Server thread/ERROR] [minecraft/EntityTracker]: "Silently" catching entity tracking error. net.minecraft.util.ReportedException: Adding entity to track at net.minecraft.entity.EntityTracker.track(EntityTracker.java:261) [EntityTracker.class:?] at net.minecraftforge.fml.common.registry.EntityRegistry.tryTrackingEntity(EntityRegistry.java:369) [EntityRegistry.class:?] at net.minecraft.entity.EntityTracker.track(EntityTracker.java:82) [EntityTracker.class:?] at net.minecraft.world.ServerWorldEventHandler.onEntityAdded(ServerWorldEventHandler.java:43) [ServerWorldEventHandler.class:?] at net.minecraft.world.World.onEntityAdded(World.java:1329) [World.class:?] at net.minecraft.world.WorldServer.onEntityAdded(WorldServer.java:1175) [WorldServer.class:?] at net.minecraft.world.World.spawnEntity(World.java:1320) [World.class:?] at net.minecraft.world.WorldServer.spawnEntity(WorldServer.java:1121) [WorldServer.class:?] at com.drastic.redskyll.objects.entity.base.EntityBabyDragonBase.onUpdate(EntityBabyDragonBase.java:87) [EntityBabyDragonBase.class:?] at net.minecraft.world.World.updateEntityWithOptionalForce(World.java:2174) [World.class:?] at net.minecraft.world.WorldServer.updateEntityWithOptionalForce(WorldServer.java:871) [WorldServer.class:?] at net.minecraft.world.World.updateEntity(World.java:2133) [World.class:?] at net.minecraft.world.World.updateEntities(World.java:1934) [World.class:?] at net.minecraft.world.WorldServer.updateEntities(WorldServer.java:643) [WorldServer.class:?] at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:842) [MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:743) [MinecraftServer.class:?] at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:192) [IntegratedServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:592) [MinecraftServer.class:?] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_251] Caused by: java.lang.IllegalArgumentException: Don't know how to add class com.drastic.redskyll.objects.entity.EntityMagmaBall! at net.minecraft.entity.EntityTrackerEntry.createSpawnPacket(EntityTrackerEntry.java:681) ~[EntityTrackerEntry.class:?] at net.minecraft.entity.EntityTrackerEntry.updatePlayerEntity(EntityTrackerEntry.java:399) ~[EntityTrackerEntry.class:?] at net.minecraft.entity.EntityTrackerEntry.updatePlayerEntities(EntityTrackerEntry.java:509) ~[EntityTrackerEntry.class:?] at net.minecraft.entity.EntityTracker.track(EntityTracker.java:235) ~[EntityTracker.class:?] ... 18 more [17:00:08] [Server thread/ERROR] [minecraft/EntityTracker]: "Silently" catching entity tracking error. net.minecraft.util.ReportedException: Adding entity to track at net.minecraft.entity.EntityTracker.track(EntityTracker.java:261) [EntityTracker.class:?] at net.minecraftforge.fml.common.registry.EntityRegistry.tryTrackingEntity(EntityRegistry.java:369) [EntityRegistry.class:?] at net.minecraft.entity.EntityTracker.track(EntityTracker.java:82) [EntityTracker.class:?] at net.minecraft.world.ServerWorldEventHandler.onEntityAdded(ServerWorldEventHandler.java:43) [ServerWorldEventHandler.class:?] at net.minecraft.world.World.onEntityAdded(World.java:1329) [World.class:?] at net.minecraft.world.WorldServer.onEntityAdded(WorldServer.java:1175) [WorldServer.class:?] at net.minecraft.world.World.spawnEntity(World.java:1320) [World.class:?] at net.minecraft.world.WorldServer.spawnEntity(WorldServer.java:1121) [WorldServer.class:?] at com.drastic.redskyll.objects.entity.base.EntityBabyDragonBase.onUpdate(EntityBabyDragonBase.java:87) [EntityBabyDragonBase.class:?] at net.minecraft.world.World.updateEntityWithOptionalForce(World.java:2174) [World.class:?] at net.minecraft.world.WorldServer.updateEntityWithOptionalForce(WorldServer.java:871) [WorldServer.class:?] at net.minecraft.world.World.updateEntity(World.java:2133) [World.class:?] at net.minecraft.world.World.updateEntities(World.java:1934) [World.class:?] at net.minecraft.world.WorldServer.updateEntities(WorldServer.java:643) [WorldServer.class:?] at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:842) [MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:743) [MinecraftServer.class:?] at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:192) [IntegratedServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:592) [MinecraftServer.class:?] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_251] Caused by: java.lang.IllegalArgumentException: Don't know how to add class com.drastic.redskyll.objects.entity.EntityMagmaBall! at net.minecraft.entity.EntityTrackerEntry.createSpawnPacket(EntityTrackerEntry.java:681) ~[EntityTrackerEntry.class:?] at net.minecraft.entity.EntityTrackerEntry.updatePlayerEntity(EntityTrackerEntry.java:399) ~[EntityTrackerEntry.class:?] at net.minecraft.entity.EntityTrackerEntry.updatePlayerEntities(EntityTrackerEntry.java:509) ~[EntityTrackerEntry.class:?] at net.minecraft.entity.EntityTracker.track(EntityTracker.java:235) ~[EntityTracker.class:?] ... 18 more [17:00:08] [Server thread/ERROR] [minecraft/EntityTracker]: "Silently" catching entity tracking error. net.minecraft.util.ReportedException: Adding entity to track at net.minecraft.entity.EntityTracker.track(EntityTracker.java:261) [EntityTracker.class:?] at net.minecraftforge.fml.common.registry.EntityRegistry.tryTrackingEntity(EntityRegistry.java:369) [EntityRegistry.class:?] at net.minecraft.entity.EntityTracker.track(EntityTracker.java:82) [EntityTracker.class:?] at net.minecraft.world.ServerWorldEventHandler.onEntityAdded(ServerWorldEventHandler.java:43) [ServerWorldEventHandler.class:?] at net.minecraft.world.World.onEntityAdded(World.java:1329) [World.class:?] at net.minecraft.world.WorldServer.onEntityAdded(WorldServer.java:1175) [WorldServer.class:?] at net.minecraft.world.World.spawnEntity(World.java:1320) [World.class:?] at net.minecraft.world.WorldServer.spawnEntity(WorldServer.java:1121) [WorldServer.class:?] at com.drastic.redskyll.objects.entity.base.EntityBabyDragonBase.onUpdate(EntityBabyDragonBase.java:87) [EntityBabyDragonBase.class:?] at net.minecraft.world.World.updateEntityWithOptionalForce(World.java:2174) [World.class:?] at net.minecraft.world.WorldServer.updateEntityWithOptionalForce(WorldServer.java:871) [WorldServer.class:?] at net.minecraft.world.World.updateEntity(World.java:2133) [World.class:?] at net.minecraft.world.World.updateEntities(World.java:1934) [World.class:?] at net.minecraft.world.WorldServer.updateEntities(WorldServer.java:643) [WorldServer.class:?] at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:842) [MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:743) [MinecraftServer.class:?] at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:192) [IntegratedServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:592) [MinecraftServer.class:?] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_251] Caused by: java.lang.IllegalArgumentException: Don't know how to add class com.drastic.redskyll.objects.entity.EntityMagmaBall! at net.minecraft.entity.EntityTrackerEntry.createSpawnPacket(EntityTrackerEntry.java:681) ~[EntityTrackerEntry.class:?] at net.minecraft.entity.EntityTrackerEntry.updatePlayerEntity(EntityTrackerEntry.java:399) ~[EntityTrackerEntry.class:?] at net.minecraft.entity.EntityTrackerEntry.updatePlayerEntities(EntityTrackerEntry.java:509) ~[EntityTrackerEntry.class:?] at net.minecraft.entity.EntityTracker.track(EntityTracker.java:235) ~[EntityTracker.class:?] ... 18 more [17:00:09] [Client thread/INFO] [minecraft/AdvancementList]: Loaded 9 advancements [17:00:12] [Server thread/INFO] [minecraft/MinecraftServer]: Player652 has made the advancement [Best Friends Forever] [17:00:12] [Client thread/INFO] [minecraft/GuiNewChat]: [CHAT] Player652 has made the advancement [Best Friends Forever] [17:00:12] [Client thread/INFO] [minecraft/AdvancementList]: Loaded 11 advancements [17:00:14] [Server thread/ERROR] [minecraft/EntityTracker]: "Silently" catching entity tracking error. net.minecraft.util.ReportedException: Adding entity to track at net.minecraft.entity.EntityTracker.track(EntityTracker.java:261) [EntityTracker.class:?] at net.minecraftforge.fml.common.registry.EntityRegistry.tryTrackingEntity(EntityRegistry.java:369) [EntityRegistry.class:?] at net.minecraft.entity.EntityTracker.track(EntityTracker.java:82) [EntityTracker.class:?] at net.minecraft.world.ServerWorldEventHandler.onEntityAdded(ServerWorldEventHandler.java:43) [ServerWorldEventHandler.class:?] at net.minecraft.world.World.onEntityAdded(World.java:1329) [World.class:?] at net.minecraft.world.WorldServer.onEntityAdded(WorldServer.java:1175) [WorldServer.class:?] at net.minecraft.world.World.spawnEntity(World.java:1320) [World.class:?] at net.minecraft.world.WorldServer.spawnEntity(WorldServer.java:1121) [WorldServer.class:?] at com.drastic.redskyll.objects.entity.base.EntityBabyDragonBase.onUpdate(EntityBabyDragonBase.java:87) [EntityBabyDragonBase.class:?] at net.minecraft.world.World.updateEntityWithOptionalForce(World.java:2174) [World.class:?] at net.minecraft.world.WorldServer.updateEntityWithOptionalForce(WorldServer.java:871) [WorldServer.class:?] at net.minecraft.world.World.updateEntity(World.java:2133) [World.class:?] at net.minecraft.world.World.updateEntities(World.java:1934) [World.class:?] at net.minecraft.world.WorldServer.updateEntities(WorldServer.java:643) [WorldServer.class:?] at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:842) [MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:743) [MinecraftServer.class:?] at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:192) [IntegratedServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:592) [MinecraftServer.class:?] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_251] Caused by: java.lang.IllegalArgumentException: Don't know how to add class com.drastic.redskyll.objects.entity.EntityMagmaBall! at net.minecraft.entity.EntityTrackerEntry.createSpawnPacket(EntityTrackerEntry.java:681) ~[EntityTrackerEntry.class:?] at net.minecraft.entity.EntityTrackerEntry.updatePlayerEntity(EntityTrackerEntry.java:399) ~[EntityTrackerEntry.class:?] at net.minecraft.entity.EntityTrackerEntry.updatePlayerEntities(EntityTrackerEntry.java:509) ~[EntityTrackerEntry.class:?] at net.minecraft.entity.EntityTracker.track(EntityTracker.java:235) ~[EntityTracker.class:?] ... 18 more [17:00:14] [Server thread/ERROR] [minecraft/EntityTracker]: "Silently" catching entity tracking error. net.minecraft.util.ReportedException: Adding entity to track at net.minecraft.entity.EntityTracker.track(EntityTracker.java:261) [EntityTracker.class:?] at net.minecraftforge.fml.common.registry.EntityRegistry.tryTrackingEntity(EntityRegistry.java:369) [EntityRegistry.class:?] at net.minecraft.entity.EntityTracker.track(EntityTracker.java:82) [EntityTracker.class:?] at net.minecraft.world.ServerWorldEventHandler.onEntityAdded(ServerWorldEventHandler.java:43) [ServerWorldEventHandler.class:?] at net.minecraft.world.World.onEntityAdded(World.java:1329) [World.class:?] at net.minecraft.world.WorldServer.onEntityAdded(WorldServer.java:1175) [WorldServer.class:?] at net.minecraft.world.World.spawnEntity(World.java:1320) [World.class:?] at net.minecraft.world.WorldServer.spawnEntity(WorldServer.java:1121) [WorldServer.class:?] at com.drastic.redskyll.objects.entity.base.EntityBabyDragonBase.onUpdate(EntityBabyDragonBase.java:87) [EntityBabyDragonBase.class:?] at net.minecraft.world.World.updateEntityWithOptionalForce(World.java:2174) [World.class:?] at net.minecraft.world.WorldServer.updateEntityWithOptionalForce(WorldServer.java:871) [WorldServer.class:?] at net.minecraft.world.World.updateEntity(World.java:2133) [World.class:?] at net.minecraft.world.World.updateEntities(World.java:1934) [World.class:?] at net.minecraft.world.WorldServer.updateEntities(WorldServer.java:643) [WorldServer.class:?] at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:842) [MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:743) [MinecraftServer.class:?] at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:192) [IntegratedServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:592) [MinecraftServer.class:?] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_251] Caused by: java.lang.IllegalArgumentException: Don't know how to add class com.drastic.redskyll.objects.entity.EntityMagmaBall! at net.minecraft.entity.EntityTrackerEntry.createSpawnPacket(EntityTrackerEntry.java:681) ~[EntityTrackerEntry.class:?] at net.minecraft.entity.EntityTrackerEntry.updatePlayerEntity(EntityTrackerEntry.java:399) ~[EntityTrackerEntry.class:?] at net.minecraft.entity.EntityTrackerEntry.updatePlayerEntities(EntityTrackerEntry.java:509) ~[EntityTrackerEntry.class:?] at net.minecraft.entity.EntityTracker.track(EntityTracker.java:235) ~[EntityTracker.class:?] ... 18 more [17:00:14] [Server thread/ERROR] [minecraft/EntityTracker]: "Silently" catching entity tracking error. net.minecraft.util.ReportedException: Adding entity to track at net.minecraft.entity.EntityTracker.track(EntityTracker.java:261) [EntityTracker.class:?] at net.minecraftforge.fml.common.registry.EntityRegistry.tryTrackingEntity(EntityRegistry.java:369) [EntityRegistry.class:?] at net.minecraft.entity.EntityTracker.track(EntityTracker.java:82) [EntityTracker.class:?] at net.minecraft.world.ServerWorldEventHandler.onEntityAdded(ServerWorldEventHandler.java:43) [ServerWorldEventHandler.class:?] at net.minecraft.world.World.onEntityAdded(World.java:1329) [World.class:?] at net.minecraft.world.WorldServer.onEntityAdded(WorldServer.java:1175) [WorldServer.class:?] at net.minecraft.world.World.spawnEntity(World.java:1320) [World.class:?] at net.minecraft.world.WorldServer.spawnEntity(WorldServer.java:1121) [WorldServer.class:?] at com.drastic.redskyll.objects.entity.base.EntityBabyDragonBase.onUpdate(EntityBabyDragonBase.java:87) [EntityBabyDragonBase.class:?] at net.minecraft.world.World.updateEntityWithOptionalForce(World.java:2174) [World.class:?] at net.minecraft.world.WorldServer.updateEntityWithOptionalForce(WorldServer.java:871) [WorldServer.class:?] at net.minecraft.world.World.updateEntity(World.java:2133) [World.class:?] at net.minecraft.world.World.updateEntities(World.java:1934) [World.class:?] at net.minecraft.world.WorldServer.updateEntities(WorldServer.java:643) [WorldServer.class:?] at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:842) [MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:743) [MinecraftServer.class:?] at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:192) [IntegratedServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:592) [MinecraftServer.class:?] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_251] Caused by: java.lang.IllegalArgumentException: Don't know how to add class com.drastic.redskyll.objects.entity.EntityMagmaBall! at net.minecraft.entity.EntityTrackerEntry.createSpawnPacket(EntityTrackerEntry.java:681) ~[EntityTrackerEntry.class:?] at net.minecraft.entity.EntityTrackerEntry.updatePlayerEntity(EntityTrackerEntry.java:399) ~[EntityTrackerEntry.class:?] at net.minecraft.entity.EntityTrackerEntry.updatePlayerEntities(EntityTrackerEntry.java:509) ~[EntityTrackerEntry.class:?] at net.minecraft.entity.EntityTracker.track(EntityTracker.java:235) ~[EntityTracker.class:?] ... 18 more [17:00:14] [Server thread/ERROR] [minecraft/EntityTracker]: "Silently" catching entity tracking error. net.minecraft.util.ReportedException: Adding entity to track at net.minecraft.entity.EntityTracker.track(EntityTracker.java:261) [EntityTracker.class:?] at net.minecraftforge.fml.common.registry.EntityRegistry.tryTrackingEntity(EntityRegistry.java:369) [EntityRegistry.class:?] at net.minecraft.entity.EntityTracker.track(EntityTracker.java:82) [EntityTracker.class:?] at net.minecraft.world.ServerWorldEventHandler.onEntityAdded(ServerWorldEventHandler.java:43) [ServerWorldEventHandler.class:?] at net.minecraft.world.World.onEntityAdded(World.java:1329) [World.class:?] at net.minecraft.world.WorldServer.onEntityAdded(WorldServer.java:1175) [WorldServer.class:?] at net.minecraft.world.World.spawnEntity(World.java:1320) [World.class:?] at net.minecraft.world.WorldServer.spawnEntity(WorldServer.java:1121) [WorldServer.class:?] at com.drastic.redskyll.objects.entity.base.EntityBabyDragonBase.onUpdate(EntityBabyDragonBase.java:87) [EntityBabyDragonBase.class:?] at net.minecraft.world.World.updateEntityWithOptionalForce(World.java:2174) [World.class:?] at net.minecraft.world.WorldServer.updateEntityWithOptionalForce(WorldServer.java:871) [WorldServer.class:?] at net.minecraft.world.World.updateEntity(World.java:2133) [World.class:?] at net.minecraft.world.World.updateEntities(World.java:1934) [World.class:?] at net.minecraft.world.WorldServer.updateEntities(WorldServer.java:643) [WorldServer.class:?] at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:842) [MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:743) [MinecraftServer.class:?] at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:192) [IntegratedServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:592) [MinecraftServer.class:?] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_251] Caused by: java.lang.IllegalArgumentException: Don't know how to add class com.drastic.redskyll.objects.entity.EntityMagmaBall! at net.minecraft.entity.EntityTrackerEntry.createSpawnPacket(EntityTrackerEntry.java:681) ~[EntityTrackerEntry.class:?] at net.minecraft.entity.EntityTrackerEntry.updatePlayerEntity(EntityTrackerEntry.java:399) ~[EntityTrackerEntry.class:?] at net.minecraft.entity.EntityTrackerEntry.updatePlayerEntities(EntityTrackerEntry.java:509) ~[EntityTrackerEntry.class:?] at net.minecraft.entity.EntityTracker.track(EntityTracker.java:235) ~[EntityTracker.class:?] ... 18 more [17:00:14] [Server thread/ERROR] [minecraft/EntityTracker]: "Silently" catching entity tracking error. net.minecraft.util.ReportedException: Adding entity to track at net.minecraft.entity.EntityTracker.track(EntityTracker.java:261) [EntityTracker.class:?] at net.minecraftforge.fml.common.registry.EntityRegistry.tryTrackingEntity(EntityRegistry.java:369) [EntityRegistry.class:?] at net.minecraft.entity.EntityTracker.track(EntityTracker.java:82) [EntityTracker.class:?] at net.minecraft.world.ServerWorldEventHandler.onEntityAdded(ServerWorldEventHandler.java:43) [ServerWorldEventHandler.class:?] at net.minecraft.world.World.onEntityAdded(World.java:1329) [World.class:?] at net.minecraft.world.WorldServer.onEntityAdded(WorldServer.java:1175) [WorldServer.class:?] at net.minecraft.world.World.spawnEntity(World.java:1320) [World.class:?] at net.minecraft.world.WorldServer.spawnEntity(WorldServer.java:1121) [WorldServer.class:?] at com.drastic.redskyll.objects.entity.base.EntityBabyDragonBase.onUpdate(EntityBabyDragonBase.java:87) [EntityBabyDragonBase.class:?] at net.minecraft.world.World.updateEntityWithOptionalForce(World.java:2174) [World.class:?] at net.minecraft.world.WorldServer.updateEntityWithOptionalForce(WorldServer.java:871) [WorldServer.class:?] at net.minecraft.world.World.updateEntity(World.java:2133) [World.class:?] at net.minecraft.world.World.updateEntities(World.java:1934) [World.class:?] at net.minecraft.world.WorldServer.updateEntities(WorldServer.java:643) [WorldServer.class:?] at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:842) [MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:743) [MinecraftServer.class:?] at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:192) [IntegratedServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:592) [MinecraftServer.class:?] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_251] Caused by: java.lang.IllegalArgumentException: Don't know how to add class com.drastic.redskyll.objects.entity.EntityMagmaBall! at net.minecraft.entity.EntityTrackerEntry.createSpawnPacket(EntityTrackerEntry.java:681) ~[EntityTrackerEntry.class:?] at net.minecraft.entity.EntityTrackerEntry.updatePlayerEntity(EntityTrackerEntry.java:399) ~[EntityTrackerEntry.class:?] at net.minecraft.entity.EntityTrackerEntry.updatePlayerEntities(EntityTrackerEntry.java:509) ~[EntityTrackerEntry.class:?] at net.minecraft.entity.EntityTracker.track(EntityTracker.java:235) ~[EntityTracker.class:?] ... 18 more [17:00:14] [Server thread/ERROR] [minecraft/EntityTracker]: "Silently" catching entity tracking error. net.minecraft.util.ReportedException: Adding entity to track at net.minecraft.entity.EntityTracker.track(EntityTracker.java:261) [EntityTracker.class:?] at net.minecraftforge.fml.common.registry.EntityRegistry.tryTrackingEntity(EntityRegistry.java:369) [EntityRegistry.class:?] at net.minecraft.entity.EntityTracker.track(EntityTracker.java:82) [EntityTracker.class:?] at net.minecraft.world.ServerWorldEventHandler.onEntityAdded(ServerWorldEventHandler.java:43) [ServerWorldEventHandler.class:?] at net.minecraft.world.World.onEntityAdded(World.java:1329) [World.class:?] at net.minecraft.world.WorldServer.onEntityAdded(WorldServer.java:1175) [WorldServer.class:?] at net.minecraft.world.World.spawnEntity(World.java:1320) [World.class:?] at net.minecraft.world.WorldServer.spawnEntity(WorldServer.java:1121) [WorldServer.class:?] at com.drastic.redskyll.objects.entity.base.EntityBabyDragonBase.onUpdate(EntityBabyDragonBase.java:87) [EntityBabyDragonBase.class:?] at net.minecraft.world.World.updateEntityWithOptionalForce(World.java:2174) [World.class:?] at net.minecraft.world.WorldServer.updateEntityWithOptionalForce(WorldServer.java:871) [WorldServer.class:?] at net.minecraft.world.World.updateEntity(World.java:2133) [World.class:?] at net.minecraft.world.World.updateEntities(World.java:1934) [World.class:?] at net.minecraft.world.WorldServer.updateEntities(WorldServer.java:643) [WorldServer.class:?] at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:842) [MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:743) [MinecraftServer.class:?] at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:192) [IntegratedServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:592) [MinecraftServer.class:?] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_251] Caused by: java.lang.IllegalArgumentException: Don't know how to add class com.drastic.redskyll.objects.entity.EntityMagmaBall! at net.minecraft.entity.EntityTrackerEntry.createSpawnPacket(EntityTrackerEntry.java:681) ~[EntityTrackerEntry.class:?] at net.minecraft.entity.EntityTrackerEntry.updatePlayerEntity(EntityTrackerEntry.java:399) ~[EntityTrackerEntry.class:?] at net.minecraft.entity.EntityTrackerEntry.updatePlayerEntities(EntityTrackerEntry.java:509) ~[EntityTrackerEntry.class:?] at net.minecraft.entity.EntityTracker.track(EntityTracker.java:235) ~[EntityTracker.class:?] ... 18 more [17:00:14] [Server thread/ERROR] [minecraft/EntityTracker]: "Silently" catching entity tracking error. net.minecraft.util.ReportedException: Adding entity to track at net.minecraft.entity.EntityTracker.track(EntityTracker.java:261) [EntityTracker.class:?] at net.minecraftforge.fml.common.registry.EntityRegistry.tryTrackingEntity(EntityRegistry.java:369) [EntityRegistry.class:?] at net.minecraft.entity.EntityTracker.track(EntityTracker.java:82) [EntityTracker.class:?] at net.minecraft.world.ServerWorldEventHandler.onEntityAdded(ServerWorldEventHandler.java:43) [ServerWorldEventHandler.class:?] at net.minecraft.world.World.onEntityAdded(World.java:1329) [World.class:?] at net.minecraft.world.WorldServer.onEntityAdded(WorldServer.java:1175) [WorldServer.class:?] at net.minecraft.world.World.spawnEntity(World.java:1320) [World.class:?] at net.minecraft.world.WorldServer.spawnEntity(WorldServer.java:1121) [WorldServer.class:?] at com.drastic.redskyll.objects.entity.base.EntityBabyDragonBase.onUpdate(EntityBabyDragonBase.java:87) [EntityBabyDragonBase.class:?] at net.minecraft.world.World.updateEntityWithOptionalForce(World.java:2174) [World.class:?] at net.minecraft.world.WorldServer.updateEntityWithOptionalForce(WorldServer.java:871) [WorldServer.class:?] at net.minecraft.world.World.updateEntity(World.java:2133) [World.class:?] at net.minecraft.world.World.updateEntities(World.java:1934) [World.class:?] at net.minecraft.world.WorldServer.updateEntities(WorldServer.java:643) [WorldServer.class:?] at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:842) [MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:743) [MinecraftServer.class:?] at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:192) [IntegratedServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:592) [MinecraftServer.class:?] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_251] Caused by: java.lang.IllegalArgumentException: Don't know how to add class com.drastic.redskyll.objects.entity.EntityMagmaBall! at net.minecraft.entity.EntityTrackerEntry.createSpawnPacket(EntityTrackerEntry.java:681) ~[EntityTrackerEntry.class:?] at net.minecraft.entity.EntityTrackerEntry.updatePlayerEntity(EntityTrackerEntry.java:399) ~[EntityTrackerEntry.class:?] at net.minecraft.entity.EntityTrackerEntry.updatePlayerEntities(EntityTrackerEntry.java:509) ~[EntityTrackerEntry.class:?] at net.minecraft.entity.EntityTracker.track(EntityTracker.java:235) ~[EntityTracker.class:?] ... 18 more [17:00:14] [Server thread/ERROR] [minecraft/EntityTracker]: "Silently" catching entity tracking error. net.minecraft.util.ReportedException: Adding entity to track at net.minecraft.entity.EntityTracker.track(EntityTracker.java:261) [EntityTracker.class:?] at net.minecraftforge.fml.common.registry.EntityRegistry.tryTrackingEntity(EntityRegistry.java:369) [EntityRegistry.class:?] at net.minecraft.entity.EntityTracker.track(EntityTracker.java:82) [EntityTracker.class:?] at net.minecraft.world.ServerWorldEventHandler.onEntityAdded(ServerWorldEventHandler.java:43) [ServerWorldEventHandler.class:?] at net.minecraft.world.World.onEntityAdded(World.java:1329) [World.class:?] at net.minecraft.world.WorldServer.onEntityAdded(WorldServer.java:1175) [WorldServer.class:?] at net.minecraft.world.World.spawnEntity(World.java:1320) [World.class:?] at net.minecraft.world.WorldServer.spawnEntity(WorldServer.java:1121) [WorldServer.class:?] at com.drastic.redskyll.objects.entity.base.EntityBabyDragonBase.onUpdate(EntityBabyDragonBase.java:87) [EntityBabyDragonBase.class:?] at net.minecraft.world.World.updateEntityWithOptionalForce(World.java:2174) [World.class:?] at net.minecraft.world.WorldServer.updateEntityWithOptionalForce(WorldServer.java:871) [WorldServer.class:?] at net.minecraft.world.World.updateEntity(World.java:2133) [World.class:?] at net.minecraft.world.World.updateEntities(World.java:1934) [World.class:?] at net.minecraft.world.WorldServer.updateEntities(WorldServer.java:643) [WorldServer.class:?] at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:842) [MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:743) [MinecraftServer.class:?] at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:192) [IntegratedServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:592) [MinecraftServer.class:?] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_251] Caused by: java.lang.IllegalArgumentException: Don't know how to add class com.drastic.redskyll.objects.entity.EntityMagmaBall! at net.minecraft.entity.EntityTrackerEntry.createSpawnPacket(EntityTrackerEntry.java:681) ~[EntityTrackerEntry.class:?] at net.minecraft.entity.EntityTrackerEntry.updatePlayerEntity(EntityTrackerEntry.java:399) ~[EntityTrackerEntry.class:?] at net.minecraft.entity.EntityTrackerEntry.updatePlayerEntities(EntityTrackerEntry.java:509) ~[EntityTrackerEntry.class:?] at net.minecraft.entity.EntityTracker.track(EntityTracker.java:235) ~[EntityTracker.class:?] ... 18 more [17:00:14] [Server thread/ERROR] [minecraft/EntityTracker]: "Silently" catching entity tracking error. net.minecraft.util.ReportedException: Adding entity to track at net.minecraft.entity.EntityTracker.track(EntityTracker.java:261) [EntityTracker.class:?] at net.minecraftforge.fml.common.registry.EntityRegistry.tryTrackingEntity(EntityRegistry.java:369) [EntityRegistry.class:?] at net.minecraft.entity.EntityTracker.track(EntityTracker.java:82) [EntityTracker.class:?] at net.minecraft.world.ServerWorldEventHandler.onEntityAdded(ServerWorldEventHandler.java:43) [ServerWorldEventHandler.class:?] at net.minecraft.world.World.onEntityAdded(World.java:1329) [World.class:?] at net.minecraft.world.WorldServer.onEntityAdded(WorldServer.java:1175) [WorldServer.class:?] at net.minecraft.world.World.spawnEntity(World.java:1320) [World.class:?] at net.minecraft.world.WorldServer.spawnEntity(WorldServer.java:1121) [WorldServer.class:?] at com.drastic.redskyll.objects.entity.base.EntityBabyDragonBase.onUpdate(EntityBabyDragonBase.java:87) [EntityBabyDragonBase.class:?] at net.minecraft.world.World.updateEntityWithOptionalForce(World.java:2174) [World.class:?] at net.minecraft.world.WorldServer.updateEntityWithOptionalForce(WorldServer.java:871) [WorldServer.class:?] at net.minecraft.world.World.updateEntity(World.java:2133) [World.class:?] at net.minecraft.world.World.updateEntities(World.java:1934) [World.class:?] at net.minecraft.world.WorldServer.updateEntities(WorldServer.java:643) [WorldServer.class:?] at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:842) [MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:743) [MinecraftServer.class:?] at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:192) [IntegratedServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:592) [MinecraftServer.class:?] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_251] Caused by: java.lang.IllegalArgumentException: Don't know how to add class com.drastic.redskyll.objects.entity.EntityMagmaBall! at net.minecraft.entity.EntityTrackerEntry.createSpawnPacket(EntityTrackerEntry.java:681) ~[EntityTrackerEntry.class:?] at net.minecraft.entity.EntityTrackerEntry.updatePlayerEntity(EntityTrackerEntry.java:399) ~[EntityTrackerEntry.class:?] at net.minecraft.entity.EntityTrackerEntry.updatePlayerEntities(EntityTrackerEntry.java:509) ~[EntityTrackerEntry.class:?] at net.minecraft.entity.EntityTracker.track(EntityTracker.java:235) ~[EntityTracker.class:?] ... 18 more [17:00:14] [Server thread/ERROR] [minecraft/EntityTracker]: "Silently" catching entity tracking error. net.minecraft.util.ReportedException: Adding entity to track at net.minecraft.entity.EntityTracker.track(EntityTracker.java:261) [EntityTracker.class:?] at net.minecraftforge.fml.common.registry.EntityRegistry.tryTrackingEntity(EntityRegistry.java:369) [EntityRegistry.class:?] at net.minecraft.entity.EntityTracker.track(EntityTracker.java:82) [EntityTracker.class:?] at net.minecraft.world.ServerWorldEventHandler.onEntityAdded(ServerWorldEventHandler.java:43) [ServerWorldEventHandler.class:?] at net.minecraft.world.World.onEntityAdded(World.java:1329) [World.class:?] at net.minecraft.world.WorldServer.onEntityAdded(WorldServer.java:1175) [WorldServer.class:?] at net.minecraft.world.World.spawnEntity(World.java:1320) [World.class:?] at net.minecraft.world.WorldServer.spawnEntity(WorldServer.java:1121) [WorldServer.class:?] at com.drastic.redskyll.objects.entity.base.EntityBabyDragonBase.onUpdate(EntityBabyDragonBase.java:87) [EntityBabyDragonBase.class:?] at net.minecraft.world.World.updateEntityWithOptionalForce(World.java:2174) [World.class:?] at net.minecraft.world.WorldServer.updateEntityWithOptionalForce(WorldServer.java:871) [WorldServer.class:?] at net.minecraft.world.World.updateEntity(World.java:2133) [World.class:?] at net.minecraft.world.World.updateEntities(World.java:1934) [World.class:?] at net.minecraft.world.WorldServer.updateEntities(WorldServer.java:643) [WorldServer.class:?] at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:842) [MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:743) [MinecraftServer.class:?] at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:192) [IntegratedServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:592) [MinecraftServer.class:?] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_251] Caused by: java.lang.IllegalArgumentException: Don't know how to add class com.drastic.redskyll.objects.entity.EntityMagmaBall! at net.minecraft.entity.EntityTrackerEntry.createSpawnPacket(EntityTrackerEntry.java:681) ~[EntityTrackerEntry.class:?] at net.minecraft.entity.EntityTrackerEntry.updatePlayerEntity(EntityTrackerEntry.java:399) ~[EntityTrackerEntry.class:?] at net.minecraft.entity.EntityTrackerEntry.updatePlayerEntities(EntityTrackerEntry.java:509) ~[EntityTrackerEntry.class:?] at net.minecraft.entity.EntityTracker.track(EntityTracker.java:235) ~[EntityTracker.class:?] ... 18 more [17:00:15] [Server thread/ERROR] [minecraft/EntityTracker]: "Silently" catching entity tracking error. net.minecraft.util.ReportedException: Adding entity to track at net.minecraft.entity.EntityTracker.track(EntityTracker.java:261) [EntityTracker.class:?] at net.minecraftforge.fml.common.registry.EntityRegistry.tryTrackingEntity(EntityRegistry.java:369) [EntityRegistry.class:?] at net.minecraft.entity.EntityTracker.track(EntityTracker.java:82) [EntityTracker.class:?] at net.minecraft.world.ServerWorldEventHandler.onEntityAdded(ServerWorldEventHandler.java:43) [ServerWorldEventHandler.class:?] at net.minecraft.world.World.onEntityAdded(World.java:1329) [World.class:?] at net.minecraft.world.WorldServer.onEntityAdded(WorldServer.java:1175) [WorldServer.class:?] at net.minecraft.world.World.spawnEntity(World.java:1320) [World.class:?] at net.minecraft.world.WorldServer.spawnEntity(WorldServer.java:1121) [WorldServer.class:?] at com.drastic.redskyll.objects.entity.base.EntityBabyDragonBase.onUpdate(EntityBabyDragonBase.java:87) [EntityBabyDragonBase.class:?] at net.minecraft.world.World.updateEntityWithOptionalForce(World.java:2174) [World.class:?] at net.minecraft.world.WorldServer.updateEntityWithOptionalForce(WorldServer.java:871) [WorldServer.class:?] at net.minecraft.world.World.updateEntity(World.java:2133) [World.class:?] at net.minecraft.world.World.updateEntities(World.java:1934) [World.class:?] at net.minecraft.world.WorldServer.updateEntities(WorldServer.java:643) [WorldServer.class:?] at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:842) [MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:743) [MinecraftServer.class:?] at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:192) [IntegratedServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:592) [MinecraftServer.class:?] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_251] Caused by: java.lang.IllegalArgumentException: Don't know how to add class com.drastic.redskyll.objects.entity.EntityMagmaBall! at net.minecraft.entity.EntityTrackerEntry.createSpawnPacket(EntityTrackerEntry.java:681) ~[EntityTrackerEntry.class:?] at net.minecraft.entity.EntityTrackerEntry.updatePlayerEntity(EntityTrackerEntry.java:399) ~[EntityTrackerEntry.class:?] at net.minecraft.entity.EntityTrackerEntry.updatePlayerEntities(EntityTrackerEntry.java:509) ~[EntityTrackerEntry.class:?] at net.minecraft.entity.EntityTracker.track(EntityTracker.java:235) ~[EntityTracker.class:?] ... 18 more [17:00:15] [Server thread/ERROR] [minecraft/EntityTracker]: "Silently" catching entity tracking error. net.minecraft.util.ReportedException: Adding entity to track at net.minecraft.entity.EntityTracker.track(EntityTracker.java:261) [EntityTracker.class:?] at net.minecraftforge.fml.common.registry.EntityRegistry.tryTrackingEntity(EntityRegistry.java:369) [EntityRegistry.class:?] at net.minecraft.entity.EntityTracker.track(EntityTracker.java:82) [EntityTracker.class:?] at net.minecraft.world.ServerWorldEventHandler.onEntityAdded(ServerWorldEventHandler.java:43) [ServerWorldEventHandler.class:?] at net.minecraft.world.World.onEntityAdded(World.java:1329) [World.class:?] at net.minecraft.world.WorldServer.onEntityAdded(WorldServer.java:1175) [WorldServer.class:?] at net.minecraft.world.World.spawnEntity(World.java:1320) [World.class:?] at net.minecraft.world.WorldServer.spawnEntity(WorldServer.java:1121) [WorldServer.class:?] at com.drastic.redskyll.objects.entity.base.EntityBabyDragonBase.onUpdate(EntityBabyDragonBase.java:87) [EntityBabyDragonBase.class:?] at net.minecraft.world.World.updateEntityWithOptionalForce(World.java:2174) [World.class:?] at net.minecraft.world.WorldServer.updateEntityWithOptionalForce(WorldServer.java:871) [WorldServer.class:?] at net.minecraft.world.World.updateEntity(World.java:2133) [World.class:?] at net.minecraft.world.World.updateEntities(World.java:1934) [World.class:?] at net.minecraft.world.WorldServer.updateEntities(WorldServer.java:643) [WorldServer.class:?] at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:842) [MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:743) [MinecraftServer.class:?] at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:192) [IntegratedServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:592) [MinecraftServer.class:?] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_251] Caused by: java.lang.IllegalArgumentException: Don't know how to add class com.drastic.redskyll.objects.entity.EntityMagmaBall! at net.minecraft.entity.EntityTrackerEntry.createSpawnPacket(EntityTrackerEntry.java:681) ~[EntityTrackerEntry.class:?] at net.minecraft.entity.EntityTrackerEntry.updatePlayerEntity(EntityTrackerEntry.java:399) ~[EntityTrackerEntry.class:?] at net.minecraft.entity.EntityTrackerEntry.updatePlayerEntities(EntityTrackerEntry.java:509) ~[EntityTrackerEntry.class:?] at net.minecraft.entity.EntityTracker.track(EntityTracker.java:235) ~[EntityTracker.class:?] ... 18 more [17:00:15] [Server thread/ERROR] [minecraft/EntityTracker]: "Silently" catching entity tracking error. net.minecraft.util.ReportedException: Adding entity to track at net.minecraft.entity.EntityTracker.track(EntityTracker.java:261) [EntityTracker.class:?] at net.minecraftforge.fml.common.registry.EntityRegistry.tryTrackingEntity(EntityRegistry.java:369) [EntityRegistry.class:?] at net.minecraft.entity.EntityTracker.track(EntityTracker.java:82) [EntityTracker.class:?] at net.minecraft.world.ServerWorldEventHandler.onEntityAdded(ServerWorldEventHandler.java:43) [ServerWorldEventHandler.class:?] at net.minecraft.world.World.onEntityAdded(World.java:1329) [World.class:?] at net.minecraft.world.WorldServer.onEntityAdded(WorldServer.java:1175) [WorldServer.class:?] at net.minecraft.world.World.spawnEntity(World.java:1320) [World.class:?] at net.minecraft.world.WorldServer.spawnEntity(WorldServer.java:1121) [WorldServer.class:?] at com.drastic.redskyll.objects.entity.base.EntityBabyDragonBase.onUpdate(EntityBabyDragonBase.java:87) [EntityBabyDragonBase.class:?] at net.minecraft.world.World.updateEntityWithOptionalForce(World.java:2174) [World.class:?] at net.minecraft.world.WorldServer.updateEntityWithOptionalForce(WorldServer.java:871) [WorldServer.class:?] at net.minecraft.world.World.updateEntity(World.java:2133) [World.class:?] at net.minecraft.world.World.updateEntities(World.java:1934) [World.class:?] at net.minecraft.world.WorldServer.updateEntities(WorldServer.java:643) [WorldServer.class:?] at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:842) [MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:743) [MinecraftServer.class:?] at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:192) [IntegratedServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:592) [MinecraftServer.class:?] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_251] Caused by: java.lang.IllegalArgumentException: Don't know how to add class com.drastic.redskyll.objects.entity.EntityMagmaBall! at net.minecraft.entity.EntityTrackerEntry.createSpawnPacket(EntityTrackerEntry.java:681) ~[EntityTrackerEntry.class:?] at net.minecraft.entity.EntityTrackerEntry.updatePlayerEntity(EntityTrackerEntry.java:399) ~[EntityTrackerEntry.class:?] at net.minecraft.entity.EntityTrackerEntry.updatePlayerEntities(EntityTrackerEntry.java:509) ~[EntityTrackerEntry.class:?] at net.minecraft.entity.EntityTracker.track(EntityTracker.java:235) ~[EntityTracker.class:?] ... 18 more [17:00:17] [Server thread/INFO] [minecraft/IntegratedServer]: Saving and pausing game... [17:00:17] [Server thread/INFO] [minecraft/MinecraftServer]: Saving chunks for level 'New World'/overworld
-
Ton entité n’est pas enregistré.
-
@robin4002 comment ca ?
-
@robin4002 ah effectivement xD
-
L’entité EntityMagmaBall que tu as créé doit être enregistré avec un EntityType, sinon le paquet permettant de faire spawn l’entité sur le client (afin qu’elle soit visible à celui-ci) ne peut pas fonctionner. Il faut un truc du genre :
@SubscribeEvent public static void registerEntity(RegistryEvent.Register<EntityEntry> event) { EntityEntry scoutball = EntityEntryBuilder.create().entity(EntityScoutBall.class).name("scout_ball").id("scout_ball", 0).tracker(64, 2, true).build(); event.getRegistry().registerAll(scoutball); }
-
@robin4002 voila mon entité !
public class EntityProjectileBase extends EntityThrowable { public boolean homing = true; private int ticksAlive = 0; protected EntityLivingBase target; protected EntityBabyDragonBase shootingEntity; protected Entity predefTarget; public boolean shouldUpdateTarget = true; private static EnumDragonType dragonType; public EntityProjectileBase(World par1World) { super(par1World); } public EntityProjectileBase(World par1World, Entity par2Entity) { super(par1World); } public EntityProjectileBase(World par1World, EntityBabyDragonBase par3EntityPlayer) { super(par1World, par3EntityPlayer); this.shootingEntity = par3EntityPlayer; } public EntityProjectileBase(World par1World, EntityBabyDragonBase par3EntityPlayer, Entity target) { super(par1World, par3EntityPlayer); this.posY = par3EntityPlayer.posY + 1; this.shootingEntity = par3EntityPlayer; this.predefTarget = target; this.shouldUpdateTarget = false; } public EnumDragonType getDragonType() { return EnumDragonType.NONE; } protected void entityInit() {} protected float getGravityVelocity() { return 0.0F; } protected float func_70182_d() { return 1.2F; } protected float func_70183_g() { return -0.0F; } public void onUpdate() { super.onUpdate(); this.ticksAlive += 1; if(this.ticksAlive >= 300) { setDead(); this.ticksAlive = 0; } if(predefTarget != null) { this.target = (EntityLivingBase)predefTarget; } // TODO - Fix the spawn particle // this.world.spawnParticle("smoke", this.posX, this.posY, this.posZ, 0.0D, 0.0D, 0.0D); // this.worldObj.spawnParticle("flame", this.posX, this.posY, this.posZ, 0.0D, 0.0D, 0.0D); if(this.ticksAlive >= 5) { if((this.target == null) || (this.target.velocityChanged) || (!this.target.canEntityBeSeen(this)) || this.target.isDead || this.target.getEntityData().getInteger("missilesTargeting") != this.hashCode()) { if(shouldUpdateTarget) this.target = this.getNearestEntity(); } } if(this.target != null) { double d = this.target.getEntityBoundingBox().minX + (this.target.getEntityBoundingBox().maxX - this.target.getEntityBoundingBox().minX) / 2.0D - this.posX; double d1 = this.target.getEntityBoundingBox().minY + (this.target.getEntityBoundingBox().maxY - this.target.getEntityBoundingBox().minY) / 2.0D - this.posY; double d2 = this.target.getEntityBoundingBox().minZ + (this.target.getEntityBoundingBox().maxZ - this.target.getEntityBoundingBox().minZ) / 2.0D - this.posZ; this.shoot(d, d1, d2, 1.9F, 0.0F); this.posY += (0.5 * Math.sin(this.ticksAlive)); this.posX += (0.5 * Math.cos(this.ticksAlive)); if(this.getDragonType() == EnumDragonType.FIRE) { this.world.spawnParticle(EnumParticleTypes.FLAME, this.posX, this.posY, this.posZ, 0, 0, 0, 0); } else if(this.getDragonType() == EnumDragonType.ICE) { this.world.spawnParticle(EnumParticleTypes.SNOWBALL, this.posX, this.posY, this.posZ, 0, 0, 0, 0); } else if(this.getDragonType() == EnumDragonType.EARTH) { this.world.spawnParticle(EnumParticleTypes.SLIME, this.posX, this.posY, this.posZ, 0, 0, 0, 0); } } float f4 = 0.99F; float f6 = 0.05F; if(!this.homing) { this.motionX *= f4; this.motionY *= f4; this.motionZ *= f4; this.motionY -= f6; } } private EntityLiving getTarget(double d, double d1, double d2, double d3) { double d4 = -1.0D; EntityLiving entityliving = null; List list = this.world.getEntitiesWithinAABBExcludingEntity(getThrower(), this.getEntityBoundingBox().expand(16.0D, 16.0D, 16.0D)); for(int i = 0; i < list.size(); i++) { EntityLiving entityliving1 = (EntityLiving)list.get(i); if(entityliving1 != getThrower()) { double d5 = entityliving1.getDistance(d, d1, d2); if(((d3 < 0.0D) || (d5 < d3 * d3)) && ((d4 == -1.0D) || (d5 < d4)) && (entityliving1.canEntityBeSeen(this))) { d4 = d5; entityliving = entityliving1; } } } return entityliving; } public boolean validTarget(EntityLiving entityliving) { if(entityliving.equals(getThrower())) { return false; } return true; } protected void onImpact(RayTraceResult movingobjectposition) { if(movingobjectposition.entityHit != null) { if(movingobjectposition.entityHit != this.getThrower()) { movingobjectposition.entityHit.attackEntityFrom(DamageSource.causeMobDamage(this.shootingEntity), ((EntityBabyDragonBase)this.getThrower()).getDragonDamage()); if(this.getDragonType() == EnumDragonType.FIRE && !this.world.isRemote) { movingobjectposition.entityHit.setFire(4); } else if(this.getDragonType() == EnumDragonType.ICE && !this.world.isRemote) { ((EntityLivingBase)movingobjectposition.entityHit).addPotionEffect(new PotionEffect(MobEffects.SLOWNESS, 20 * 4, 1)); ((EntityLivingBase)movingobjectposition.entityHit).addPotionEffect(new PotionEffect(MobEffects.MINING_FATIGUE, 20 * 4, 0)); } else if(this.getDragonType() == EnumDragonType.EARTH && !this.world.isRemote) { ((EntityLivingBase)movingobjectposition.entityHit).addPotionEffect(new PotionEffect(MobEffects.NAUSEA, 20 * 4, 0)); ((EntityLivingBase)movingobjectposition.entityHit).addPotionEffect(new PotionEffect(MobEffects.HUNGER, 20 * 4, 0)); ((EntityLivingBase)movingobjectposition.entityHit).addPotionEffect(new PotionEffect(MobEffects.POISON, 20 * 4, 0)); } if(!this.world.isRemote) { this.setDead(); } } if(movingobjectposition.entityHit.getEntityData().getInteger("missilesTargeting") != 0) { movingobjectposition.entityHit.getEntityData().setInteger("missilesTargeting", 0); } } else if(!this.world.isRemote) { this.setDead(); } } private EntityLiving getNearestEntity() { EntityLiving target = null; float explosionSize = 10.0F; explosionSize *= 2.0F; int i = MathHelper.floor(this.posX - explosionSize - 1.0D); int j = MathHelper.floor(this.posX + explosionSize + 1.0D); int k = MathHelper.floor(this.posY - explosionSize - 1.0D); int l1 = MathHelper.floor(this.posY + explosionSize + 1.0D); int i2 = MathHelper.floor(this.posZ - explosionSize - 1.0D); int j2 = MathHelper.floor(this.posZ + explosionSize + 1.0D); if(!this.world.isRemote) { List list = this.world.getEntitiesWithinAABBExcludingEntity(getThrower(), new AxisAlignedBB(i, k, i2, j, l1, j2)); for(int k2 = 0; k2 < list.size(); k2++) { Entity entity = (Entity)list.get(k2); if(((entity instanceof EntityLiving)) && (((EntityLiving)entity).canEntityBeSeen(this))) { target = (EntityLiving)entity; if(target.getEntityData().getInteger("missilesTargeting") == 0) { target.getEntityData().setInteger("missilesTargeting", this.hashCode()); return target; } } } } return target; } }