Update goals and remove unnecessary override

This commit is contained in:
Brady
2020-03-08 01:44:50 -06:00
parent 9f20ce9e18
commit aa95cbe0e4

View File

@@ -41,11 +41,12 @@ import net.minecraft.world.GameType;
import net.minecraft.world.IInteractionObject;
import net.minecraft.world.World;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
// Some Notes:
// onLivingUpdate makes a lot of references to mc fields
// - playerController
// - Inventory handling!
// - If chest deposit gets added it will be most useful for bot-system
/**
* @author Brady
@@ -69,14 +70,6 @@ public final class EntityBot extends EntityPlayerSP {
super.onUpdate();
}
@Override
public void closeScreenAndDropStack() {
this.inventory.setItemStack(ItemStack.EMPTY);
// EntityPlayer#closeScreen
this.openContainer = this.inventoryContainer;
}
@Override
public void sendStatusMessage(ITextComponent chatComponent, boolean actionBar) {
// TODO: Custom message handling
@@ -133,12 +126,12 @@ public final class EntityBot extends EntityPlayerSP {
}
@Override
public void onCriticalHit(Entity entityHit) {
public void onCriticalHit(@Nonnull Entity entityHit) {
// Don't render
}
@Override
public void onEnchantmentCritical(Entity entityHit) {
public void onEnchantmentCritical(@Nonnull Entity entityHit) {
// Don't render
}