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]:Stringcommand: [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_lanternFile: libmc/asat.uchc
Function: AsAt
Arguments
as: [Type]:Stringcommand: [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
Show code (only available for UCHC files)
say ?message?File: libmc/executeat.uchc
Function: At
Arguments
at: [Type]:Stringcommand: [Type]:String
Description
Execute At
Show code (only available for UCHC files)
execute at ?at? run ?command?Function: AtAnchored
Arguments
at: [Type]:Stringcommand: [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]:Stringx: [Type]:Stringy: [Type]:Stringz: [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]:Stringpos2: [Type]:StringblockType: [Type]:String
Description
/fill wrapper
Show code (only available for UCHC files)
fill ?pos1? ?pos2? ?blockType? replaceFile: libmc/blocks/set.uchc
Function: SetBlock
Arguments
pos: [Type]:StringblockType: [Type]:String
Description
/setblock
Show code (only available for UCHC files)
setblock ?pos? ?blockType? replaceFile: libmc/blocks/not.uchc
Function: IfNotBlock
Arguments
pos: [Type]:StringblockType: [Type]:Stringcommand: [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]:Stringpos2: [Type]:Stringpos3: [Type]:String
Description
/clone wrapper
Show code (only available for UCHC files)
clone ?pos1? ?pos2? ?pos3? replace forceFile: libmc/entity/moveto.uchc
Function: MoveTo
Arguments
source: [Type]:Stringdest: [Type]:Stringspeed: [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]:Stringdest: [Type]:Stringxyz: [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]:Stringxyz: [Type]:String
Description
TP (source, x, y, z)
Show code (only available for UCHC files)
tp ?entitySelector? ?xyz?Function: TpEntityFacing
Arguments
entitySelector: [Type]:Stringxyz: [Type]:StringfacingEntity: [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]:Stringtag: [Type]:String
Description
Wrapper for /tag Add
Show code (only available for UCHC files)
tag ?entity? add ?tag?Function: RemoveTag
Arguments
entity: [Type]:Stringtag: [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]:Stringcommand: [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]:Stringcommand: [Type]:StringentitySelector: [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]:Stringcommand: [Type]:StringentitySelector: [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]:Stringxyz: [Type]:Stringdata: [Type]:String
Description
Summon (with NBT)
Show code (only available for UCHC files)
summon ?entityMcId? ?xyz? ?data?Function: Summon
Arguments
entityMcId: [Type]:Stringxyz: [Type]:String
Description
Summon (without any data)
Show code (only available for UCHC files)
summon ?entityMcId? ?xyz?Function: SummonTag
Arguments
entityMcId: [Type]:Stringxyz: [Type]:Stringtag: [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]:StringinHandCallback: [Type]:String
Description
Checks if "inHandMcId" is in the player's hand
File: libmc/player/ininventory.ucl
Native Command binding: InInventory
Arguments
inInventoryMcId: [Type]:StringinInventoryCallback: [Type]:String
Description
Checks if "inHandMcId" is in the player's hand
File: libmc/player/replaceitem.uchc
Function: ReplaceItem
Arguments
selector: [Type]:StringnewItem: [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]:Stringnumber: [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]:Stringevent: [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]:StringevRunnerCallback: [Type]:String
Description
No description provided
Native Command binding: EvRegister
Arguments
evRegisterScoreboardName: [Type]:StringevRegisterEvent: [Type]:StringevRegisterCallback: [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]:Stringxyz: [Type]:String
Description
/particle