#Give effect to player while he's inside structure

5 messages · Page 1 of 1 (latest)

chilly pasture
#

This script shows how to give effect while player in specific structure.

chilly pasture
upper inletBOT
#

Paste version of example.js from @chilly pasture

quaint matrix
#

isStructureAtLocation(location: BlockPos, structureId: String | ResourceLocation)

Attempts to check if a specific structure is at a specified block location using a structures resource location.

@return boolean

const kuLevel = new Ku.Level(...);

const isThere = kuLevel.isStructureAtLocation(BlockPos.ZERO, "minecraft:structures/god_knows");
console.log(isThere) // true or false```