Add alot
This commit is contained in:
@@ -69,14 +69,14 @@ export class Trigger {
|
||||
}
|
||||
|
||||
Update() {
|
||||
world
|
||||
.getDimension("overworld")
|
||||
.getEntities({ type: "minecraft:player" })
|
||||
.forEach((player) => {
|
||||
//Check if the distance between the player and the trigger is less than the width of the trigger
|
||||
// if (this.hasPlayerEnterdTrigger(player.location)) {
|
||||
// world.sendMessage(`Player ${player.nameTag} is in trigger`);
|
||||
// }
|
||||
});
|
||||
// world
|
||||
// .getDimension("overworld")
|
||||
// .getEntities({ type: "minecraft:player" })
|
||||
// .forEach((player) => {
|
||||
// //Check if the distance between the player and the trigger is less than the width of the trigger
|
||||
// // if (this.hasPlayerEnterdTrigger(player.location)) {
|
||||
// // world.sendMessage(`Player ${player.nameTag} is in trigger`);
|
||||
// // }
|
||||
// });
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user