➤ Entity commands - ssomar1607/ExecutableItems GitHub Wiki
BRUT_HEX
- Info: Mainly used to keep the brut hex form in your command (to have the hex to work on the luckperms prefix command for example)
- Command: BRUT_HEX (command)
- Example:
- BRUT_HEX SENDMESSAGE HI
- Extra Notes: It works anywhere in the command line but it's recommended to put it in the first part of the cmd to make it less confusing
PARTICLE
- Info: Spawns particles in the player/target's location
- Command: PARTICLE {type} {quantity} {offset} {speed}
- {type}: The type of particle. Reference (ALL CAPS)
- {quantity}: The amount of particles that will spawn
- {offset}: The radius of the area where the particles may spawn in the player/target's location
- {speed}: To how fast or how big particles will be
- Example:
- PARTICLE FIREWORKS_SPARK 10 0.1 0.5
STRIKELIGHTNING
- Info: Strikes lightning with no damage on the entity
- Command: STRIKELIGHTNING
- Example:
- STRIKELIGHTNING
SETADULT
- Info: Sets the entity in it's "adult" state
- Command: SETADULT
- Example:
- SETADULT
- Example Situation:
- If this command is executed on a baby chicken, it will turn into its adult form.
TELEPORT POSITION
- Info: Teleports the entity in a specific location
- Command: TELEPORT POSITION {x} {y} {z}
- {x}: X-Coordinate
- {y}: Y-Coordinate
- {z}: Z-Coordinate
- Example:
- TELEPORT POSITION %target_x% %target_y% %target_z%
DROPITEM
- Info: Drops an item in the entity's location
- Command: DROPITEM {material} {quantity}
- {material}: The item type. Reference (MUST BE AT ALL CAPS)
- {quantity}: The amount of the item that will drop
- Example:
- DROPITEM DIAMOND 1
DROPEXECUTABLEITEM
- Info: Drops an Executable Item in the entity's location
- Command: DROPEXECUTABLEITEM {id} {quantity}
- {id}: Item id of the ExecutableItem
- {quantity}: The amount of the executable item that will drop
- Example:
- DROPEXECUTABLEITEM ElytraTrail 1
DELAY
- Info: Delays a command line for seconds
- Command: DELAY {amount}
- {amount}: To how long you want commands to be delayed (In seconds)
- Example:
- DELAY 10
HEAL
- Info: Heals the entity with a specific amount
- Command: HEAL {amount}
- {amount}: Per half hearts
- Example:
- HEAL 13
SETNAME
- Info: Forcefully sets the entity's name
- Command: SETNAME {name}
- {name}: The name you want the entity to have
- Example:
- SETNAME FLAG
PARTICLE
- Info: Spawns particles in the entity's location
- Command: PARTICLE {type} {quantity} {offset} {speed}
- {type}: The type of particle. Reference (ALL CAPS)
- {quantity}: The amount of particles that will spawn
- {offset}: The radius of the area where the particles may spawn in the entity's location
- {speed}: To how fast or how big particles will be
- Example:
- PARTICLE DAMAGE_INDICATOR 10 0.1 0.5
SETGLOW
- Info: Permanently gives the entity the glow effect
- Command: SETGLOW
- Example:
- SETGLOW
CHANGETO
- Info: Replaces the mob with a different type
- Command: CHANGETO {entityType}
- {entityType}: Type of entity. Reference
- Example:
- CHANGETO CHICKEN
DAMAGE
- Info: Damages the entity with a specific amount. (Damage dealt with the help of this command is not counted as player damage and more of an indirect damage)
- Command: DAMAGE {amount}
- {amount}: Amount of damage in hitpoints (Not in hearts)
- Example:
- DAMAGE 20
- This command will deal 20 damage
- DAMAGE 25%
- This command will deal 25% of the mob's hp
RANDOM RUN
- RANDOM RUN
- Info: The first part of the command
- Command: RANDOM RUN: {amount}
- {amount}: The amount of commands that will be randomly selected inside of the command line
- RANDOM END
- Info: The other part of the command
- Command: RANDOM END
- Example:
- 'RANDOM RUN: 1'
- CHANGETO COW
- CHANGETO CHICKEN
- CHANGETO PIG
- CHANGETO SHEEP
- RANDOM END
BURN
- Info: Burns the entity
- Command: BURN {timeinsecs}
- Example:
- BURN 50
DELAYTICK
- Info: Delays a command line for game ticks (20 ticks = 1 second)
- Command: DELAYTICK {amount}
- {amount}: To how long you want commands to be delayed (In ticks)
- Example:
- DELAYTICK 12
NOTHING*
- Info: Mainly used for RANDOM RUN commands as a "dummy" command for RNG adjustments
- Command: NOTHING*{amount}
- Example of usage:
- 'RANDOM RUN: 1'
- NOTHING*9
- DAMAGE 1000
- RANDOM END
This command line means that there is a 1/10 chance it will damage the entity by 1000
TELEPORT ENTITY TO PLAYER
- Info: Teleports the entity to the user of the item
- Command: TELEPORT ENTITY TO PLAYER
- Example:
- TELEPORT ENTITY TO PLAYER
TELEPORT PLAYER TO ENTITY
- Info: Teleports the user of the item to the entity
- Command: TELEPORT PLAYER TO ENTITY
- Example:
- TELEPORT PLAYER TO ENTITY
REMOVEGLOW
- Info: Removes the glow effect from the entity
- Command: REMOVEGLOW
- Example:
- REMOVEGLOW
KILL
- Info: Kills the mob without the death animation
- Command: KILL
- Example:
- KILL
BACKDASH
- Info: Launches mobs to a direction opposite of where they are looking at
- Command: BACKDASH {number}
- {number}: The strength of the launch
- Example:
- BACKDASH 3