LibMC - Autogenerated Documentation (No AI, human-written comments only)

File: libmc/execute.uchc

Function: Execute

Arguments

  • command: [Type]: String

Description

Simple run a command

Show code (only available for UCHC files) ?command?

File: libmc/executeas.uchc

Function: As

Arguments

  • as: [Type]: String
  • command: [Type]: String

Description

Execute At

Show code (only available for UCHC files) execute as ?as? run ?command?

File: libmc/debug.uchc

Function: Debug

Arguments

Description

Places a block of sea lantern above the block that contains the current code (helpful for debugging)

Show code (only available for UCHC files) setblock ~ ~1 ~ sea_lantern

File: libmc/asat.uchc

Function: AsAt

Arguments

  • as: [Type]: String
  • command: [Type]: String

Description

Execute At

Show code (only available for UCHC files) execute as ?as? at @s run ?command?

File: libmc/print.uchc

Function: Print

Arguments

  • message: [Type]: String

Description

Print

Show code (only available for UCHC files) say ?message?

File: libmc/executeat.uchc

Function: At

Arguments

  • at: [Type]: String
  • command: [Type]: String

Description

Execute At

Show code (only available for UCHC files) execute at ?at? run ?command?

Function: AtAnchored

Arguments

  • at: [Type]: String
  • command: [Type]: String

Description

Execute At (anchored eyes)

Show code (only available for UCHC files) execute at ?at? anchored eyes run ?command?

File: libmc/summon.uchc

Function: Summon

Arguments

  • entity: [Type]: String
  • x: [Type]: String
  • y: [Type]: String
  • z: [Type]: String

Description

Summon command

Show code (only available for UCHC files) summon ?entity? ?x? ?y? ?z?

File: libmc/blocks/fill.uchc

Function: FillBlocks

Arguments

  • pos1: [Type]: String
  • pos2: [Type]: String
  • blockType: [Type]: String

Description

/fill wrapper

Show code (only available for UCHC files) fill ?pos1? ?pos2? ?blockType? replace

File: libmc/blocks/set.uchc

Function: SetBlock

Arguments

  • pos: [Type]: String
  • blockType: [Type]: String

Description

/setblock

Show code (only available for UCHC files) setblock ?pos? ?blockType? replace

File: libmc/blocks/not.uchc

Function: IfNotBlock

Arguments

  • pos: [Type]: String
  • blockType: [Type]: String
  • command: [Type]: String

Description

Run if the block is not a specific block

Show code (only available for UCHC files) execute unless block ?pos? ?blockType? run ?command?

File: libmc/blocks/clone.uchc

Function: CloneBlocks

Arguments

  • pos1: [Type]: String
  • pos2: [Type]: String
  • pos3: [Type]: String

Description

/clone wrapper

Show code (only available for UCHC files) clone ?pos1? ?pos2? ?pos3? replace force

File: libmc/entity/moveto.uchc

Function: MoveTo

Arguments

  • source: [Type]: String
  • dest: [Type]: String
  • speed: [Type]: Float

Description

Move an entity to another (useful for projectiles) (dest needs to be limit=1)

Show code (only available for UCHC files) execute as ?source? at ?source? run tp @s ^ ^ ^?speed? facing entity ?dest?

Function: MoveToXYZ

Arguments

  • source: [Type]: String
  • dest: [Type]: String
  • xyz: [Type]: String

Description

No description provided

Show code (only available for UCHC files) execute as ?source? at ?source? run tp @s ?xyz? facing entity ?dest?

File: libmc/entity/tp.uchc

Function: TpEntity

Arguments

  • entitySelector: [Type]: String
  • xyz: [Type]: String

Description

TP (source, x, y, z)

Show code (only available for UCHC files) tp ?entitySelector? ?xyz?

Function: TpEntityFacing

Arguments

  • entitySelector: [Type]: String
  • xyz: [Type]: String
  • facingEntity: [Type]: String

Description

TP (With facing)

Show code (only available for UCHC files) tp ?entitySelector? ?xyz? facing entity ?facingEntity?

File: libmc/entity/tag.uchc

Function: AddTag

Arguments

  • entity: [Type]: String
  • tag: [Type]: String

Description

Wrapper for /tag Add

Show code (only available for UCHC files) tag ?entity? add ?tag?

Function: RemoveTag

Arguments

  • entity: [Type]: String
  • tag: [Type]: String

Description

Remove

Show code (only available for UCHC files) tag ?entity? remove ?tag?

File: libmc/entity/damage.uchc

Function: Damage

Arguments

  • number: [Type]: String

Description

Damage of X damage

Show code (only available for UCHC files) damage @s ?number?

File: libmc/entity/not.uchc

Function: NotEntity

Arguments

  • selector: [Type]: String
  • command: [Type]: String

Description

Execute if the entity DOESN'T exists

Show code (only available for UCHC files) execute unless entity ?selector? run ?command?

File: libmc/entity/inradius.uchc

Function: EntityInRadius

Arguments

  • maxDistance: [Type]: String
  • command: [Type]: String
  • entitySelector: [Type]: String

Description

Is there an entity in the radius? (entitySelector for e.g.: tag=!Tag,type=player)

Show code (only available for UCHC files) execute at @s as @e[distance=..?maxDistance?,?entitySelector?] run ?command?

Function: EntityNotInRadius

Arguments

  • maxDistance: [Type]: String
  • command: [Type]: String
  • entitySelector: [Type]: String

Description

"Not" version

Show code (only available for UCHC files) execute at @s unless entity @e[distance=..?maxDistance?,?entitySelector?] run ?command?

File: libmc/entity/kill.uchc

Function: Kill

Arguments

  • entity: [Type]: String

Description

Kill

Show code (only available for UCHC files) kill ?entity?

File: libmc/entity/summon.uchc

Function: SummonData

Arguments

  • entityMcId: [Type]: String
  • xyz: [Type]: String
  • data: [Type]: String

Description

Summon (with NBT)

Show code (only available for UCHC files) summon ?entityMcId? ?xyz? ?data?

Function: Summon

Arguments

  • entityMcId: [Type]: String
  • xyz: [Type]: String

Description

Summon (without any data)

Show code (only available for UCHC files) summon ?entityMcId? ?xyz?

Function: SummonTag

Arguments

  • entityMcId: [Type]: String
  • xyz: [Type]: String
  • tag: [Type]: String

Description

Summon (without any data)

Show code (only available for UCHC files) summon ?entityMcId? ?xyz? {Tags:['?tag?']}

File: libmc/player/inhand.ucl

Native Command binding: InHand

Arguments

  • inHandMcId: [Type]: String
  • inHandCallback: [Type]: String

Description

Checks if "inHandMcId" is in the player's hand

File: libmc/player/ininventory.ucl

Native Command binding: InInventory

Arguments

  • inInventoryMcId: [Type]: String
  • inInventoryCallback: [Type]: String

Description

Checks if "inHandMcId" is in the player's hand

File: libmc/player/replaceitem.uchc

Function: ReplaceItem

Arguments

  • selector: [Type]: String
  • newItem: [Type]: String

Description

/item replace

Show code (only available for UCHC files) item replace entity ?selector? weapon with ?newItem?

File: libmc/player/clear.uchc

Function: Clear

Arguments

  • itemId: [Type]: String
  • number: [Type]: String

Description

Clear X item to the player

Show code (only available for UCHC files) clear @a ?itemId? ?number?

File: libmc/events/register.uchc

Function: EventRegisterUCHC

Arguments

  • varName: [Type]: String
  • event: [Type]: String

Description

Register an Event

Show code (only available for UCHC files) scoreboard objectives add __sys_event_?varName? ?event?

File: libmc/events/stop.ucl

Native Command binding: StopEvent

Arguments

  • stopEventScoreboardName: [Type]: String

Description

No description provided

File: libmc/events/event.ucl

Native Command binding: EvRunner

Arguments

  • evRunnerScoreboardName: [Type]: String
  • evRunnerCallback: [Type]: String

Description

No description provided

Native Command binding: EvRegister

Arguments

  • evRegisterScoreboardName: [Type]: String
  • evRegisterEvent: [Type]: String
  • evRegisterCallback: [Type]: String

Description

No description provided

File: libmc/events/reset.uchc

Function: EvReset

Arguments

  • evName: [Type]: String

Description

Event "reset" command

Show code (only available for UCHC files) scoreboard players reset @a __sys_event_?evName?

File: libmc/general/particle.uchc

Function: Particle

Arguments

  • name: [Type]: String
  • xyz: [Type]: String

Description

/particle

Show code (only available for UCHC files) particle ?name? ?xyz?