mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-28 07:55:45 +00:00
Fix most of entities
This commit is contained in:
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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user