BasicallyUtilCommands

BasicallyUtilCommands

Mod

a serverside mod adding commands useful to mapmakers and others

Server ManagementUtility

306 downloads
2 followers
Follow Save

fully serverside mod adding new commands and more!

datapackers or mapmaker may find this useful

new commands:

/raycast <step count> <step length> <function name>

  • summons a marker entity with the tag "basicallycommandutils.raycast_origin"
  • moves it forward by <step length>, <step count> times
  • runs <function name> at each step as the entity running the raycast command

/distance <target pos> <scale>

  • returns the distance between the command pos and the target position multiplied by the scale
  • all players have permission to use this command

/check <blocks/intersect>

  • /check blocks <distance> <blockstate>
  • /check intersection <selector>

/check blocks returns how many matching blocks it found in a cuboid area

/check intersection returns how many of the selected entities hitboxes are intersecting with the position the command is executed at

/motion <set/add> <selector> <strength>

  • applies motion in the direction of the executed command

/heal <selector> <amount>

  • heals entities by set amount of health

/ignite <set/add> <duration> <selector>

  • sets the selected entities on fire for the specified duration

/entitify <pos> <block_display/falling_block> [keep/remove] [tag(s)]

  • turns the block at the target pos into an entity
  • multiple tags can be added: /entitify ~ ~ ~ block_display keep tag","another tag (thanks to json formatting: Tags:["+ <tag> +"])

  • the mod also adds a new player NBT tag called PlayerName which simply contains the players name

more features will be added in a future, feel free to suggest features via github issues


Project members

Vibe

Vibe

Organization

Details

Licensed MIT
Published 4 months ago
Updated 3 months ago