Fix most of entities

This commit is contained in:
Vincent Lee committed 2019-06-27 22:36:46 -07:00
1 parent 207a66b121
commit 828d952a86
21 files changed
+333 -193

No files matched your search

@@ -96,7 +96,7 @@ import java.util.stream.Collectors;
public class EntityDoppleganger extends MobEntity implements IBotaniaBoss, IEntityAdditionalSpawnData {
@ObjectHolder(LibMisc.MOD_ID + ":doppleganger")
public static EntityType<?> TYPE;
public static EntityType<EntityDoppleganger> TYPE;
public static final float ARENA_RANGE = 12F;
public static final int ARENA_HEIGHT = 5;
@@ -149,9 +149,8 @@ public class EntityDoppleganger extends MobEntity implements IBotaniaBoss, IEnti
private UUID bossInfoUUID = bossInfo.getUniqueId();
public PlayerEntity trueKiller = null;
public EntityDoppleganger(World world) {
super(TYPE, world);
setSize(0.6F, 1.8F);
public EntityDoppleganger(EntityType<EntityDoppleganger> type, World world) {
this(type, world);
isImmuneToFire = true;
experienceValue = 825;
if(world.isRemote) {
@@ -159,6 +158,10 @@ public class EntityDoppleganger extends MobEntity implements IBotaniaBoss, IEnti
}
}
public EntityDoppleganger(World world) {
this(TYPE, world);
}
public static MultiblockSet makeMultiblockSet() {
Multiblock mb = new Multiblock();