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

@@ -258,13 +258,13 @@ public class TileLightRelay extends TileMod implements ITickableTileEntity, IWan
private static final DataParameter<BlockPos> EXIT_POS = EntityDataManager.createKey(EntityPlayerMover.class, DataSerializers.BLOCK_POS);
public EntityPlayerMover(World world) {
super(TYPE, world);
public EntityPlayerMover(EntityType<EntityPlayerMover> type, World world) {
super(type, world);
noClip = true;
}
public EntityPlayerMover(World world, BlockPos pos, BlockPos exitPos) {
this(world);
this(TYPE, world);
setPosition(pos.getX() + 0.5, pos.getY() + 0.5, pos.getZ() + 0.5);
setExit(exitPos);
}