From 9e67cbf2e3c7a4938e85c8c36151bcd2f5edf4a4 Mon Sep 17 00:00:00 2001 From: Rseifert Date: Mon, 16 Jul 2012 14:14:17 -0400 Subject: [PATCH] . --- .../src/eui/robotics/EntityRobot.java | 38 ++++++++++--------- 1 file changed, 21 insertions(+), 17 deletions(-) diff --git a/minecraft/net/minecraft/src/eui/robotics/EntityRobot.java b/minecraft/net/minecraft/src/eui/robotics/EntityRobot.java index 85501ad3..e772d681 100644 --- a/minecraft/net/minecraft/src/eui/robotics/EntityRobot.java +++ b/minecraft/net/minecraft/src/eui/robotics/EntityRobot.java @@ -1,28 +1,32 @@ package net.minecraft.src.eui.robotics; import net.minecraft.src.*; -public class EntityRobot extends Entity { - +public class EntityRobot extends EntityCreature { + protected int attackStrength = 0; public EntityRobot(World par1World) { super(par1World); } - public boolean isActive() - { - return false; - } + public boolean isAIEnabled() + { + return false; + } + protected boolean canDespawn() + { + return false; + } @Override - protected void entityInit() { - // TODO Auto-generated method stub - - } + public void writeEntityToNBT(NBTTagCompound par1NBTTagCompound) + { + super.writeEntityToNBT(par1NBTTagCompound); + } + + public void readEntityFromNBT(NBTTagCompound par1NBTTagCompound) + { + super.readEntityFromNBT(par1NBTTagCompound); + } @Override - protected void readEntityFromNBT(NBTTagCompound var1) { + public int getMaxHealth() { // TODO Auto-generated method stub - - } - @Override - protected void writeEntityToNBT(NBTTagCompound var1) { - // TODO Auto-generated method stub - + return 0; } }