Mechanical press !
This commit is contained in:
@@ -1468,6 +1468,9 @@ export function entity_ref(entity: Entity): EntityRef {
|
||||
get velocity() {
|
||||
return { x: entity.vx, y: entity.vy, z: entity.vz };
|
||||
},
|
||||
get on_ground() {
|
||||
return entity.on_ground;
|
||||
},
|
||||
teleport(x, y, z) {
|
||||
if (!entity.removed) entity.set_position(x, y, z);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user