command system

This commit is contained in:
Sen 2025-03-18 01:29:36 +01:00
parent a8f6af2b37
commit a891ab4d3a
11 changed files with 361 additions and 87 deletions

View file

@ -2670,4 +2670,8 @@ public abstract class Entity
return null;
return ItemRegistry.getRegisteredItem(id.toLowerCase() + "_spawner");
}
public Position getPos() {
return new Position(this.posX, this.posY, this.posZ, this.rotYaw, this.rotPitch, this.worldObj.dimension.getDimensionId());
}
}