Skip to main content

MapLock

Banner

Welcome to MapLock, a package designed to make remapper less repetetive, while also giving some helpful effects such as despawn() which will despawn any environment peice (of your choice) to make room for yours! Tutorials/explanations for each function can be found in the docs If you have any questions or would like to add to this repo dm me on discord @splashcard__#2121. Feel free as well to pr your own functions classes, ect. (make sure they are in the src folder and formatted as mine are)

Example functions:

import * as ml from './src/exports.ts'

//moves the entire environment to -9999 on th y axis evectively despawning it
ml.despawn("Contains", [
    "Environment" // the thing(s) to remove
])

or

import * as ml from './src/exports.ts'

//generates a feild of lasers with a given height and ammount
ml.laserfeild( // REQIUIRES V3 TO LIGHT
  0, //height
  21, //Minimum Light ID see examples for more details
  21, //ammount 
  true //allows Rotation? see examples for more details
)