/entityPrefix for entity related commands
Syntax
/entity [count] [entity] [radius]Parameters
countOptionalintegerPrint the entity count in the world
entityOptionalnumberThe entity to target
radiusOptionalnumberOptional radius, if not specified will ray-cast and select entity in front
Subcommands
/entity cleanRemove all entities
/entity cloneClone specified entity
Parameters:
count- The number of clones to createentity- The entity to clone/entity dumpDump the saved data for an entity
Parameters:
entity- The entity to dump/entity effectApply an effect to the specified entities
Parameters:
duration- How long the effect should last/entity effect.effectThe entity effect to apply
/entity hidefromadventureplayersHide selected entities from adventure mode players
/entity hidefromadventureplayers.removeIf specified, will make selected entities visible to adventure mode players
/entity intangibleAdd or remove the Intangible component on selected entities
/entity intangible.removeIf specified, will remove the Intangible component
/entity interactableEnable or disable the Interactable component on selected entities
/entity interactable.disableIf specified, will disable instead of enable the Interactable component
/entity invulnerableAdd or remove the Invulnerable component on selected entities
/entity invulnerable.removeIf specified, will remove the Invulnerable component
/entity lodSet the entity LOD (Level of Detail) ratio
Parameters:
ratio- The LOD ratio value/entity lod.defaultReset the entity LOD ratio to default
/entity nameplateModify an entity's Nameplate component
Parameters:
entity- The entity to modify the nameplate fortext- The text to set on the nameplate/entity nameplate.removeRemove the nameplate from an entity
/entity removeRemove an entity
Parameters:
entity- The entity to remove/entity remove.othersRemove all other entities instead of the specified one
/entity resendResend all tracked entities to a player
Parameters:
player- The player to resend entities to/entity snapshotCommands related to entity snapshots
Parameters:
history- Print snapshot history/entity snapshot.lengthSet length of snapshot history
Parameters:
length- The history length in milliseconds/entity statsPrefix for entity stat operation commands
/entity stats.addIncrement (or decrement if negative) the value of a specified stat on an entity
Parameters:
statAmount- The amount to add to the statstatName- The name of the stat to add to/entity stats.dumpDump all statistics of an entity
/entity stats.getRetrieve the value of a specified stat on an entity
Parameters:
statName- The name of the stat to get/entity stats.resetReset the value of a specified stat on an entity to its initial value
Parameters:
statName- The name of the stat to reset/entity stats.setSet the value of a specified stat on an entity to a specified value
Parameters:
statName- The name of the stat to setstatValue- The value to set the stat to/entity stats.settomaxSet a stat to its max value
Parameters:
statName- The name of the stat to set to max/entity trackerDisplay player entity tracker information
Parameters:
player- The player to check tracker information forServer Messages
snapshot.lengthSetSnapshot history length is now {millis, number}ms
dump.noEntityWithUuidNo entity with id {uuid} found!
dump.badArgumentExpected int entity id or UUID but got: '{arg}'
dump.noEntityWithIdNo entity with id {id} found!
dump.dumpDoneDumped entity data to server log!
nameplate.updatedSet Nameplate component on entity.
nameplate.removedRemoved Nameplate component from entity.
clone.cloneFailedCould not clone entity '{id}'
clone.clonedCloned entity
clone.cloned.multipleCloned entity {count} times
count.countEntities: {count, number}
remove.unableToRemoveUnable to remove entity with id {id}!
lod.ratioSetSet LOD ratio to {ratio, number}
tracker.noViewerComponentPlayer missing EntityViewer component
resend.noEntityViewerComponentPlayer missing EntityView component
interactable.success.setSuccessfully enabled Interactable component on {amount} entities
interactable.success.unsetSuccessfully disabled Interactable component on {amount} entities
intangible.success.setSuccessfully added the Intangible component to {amount} entities
intangible.success.unsetSuccessfully removed the Intangible component from {amount} entities
invulnerable.success.setSuccessfully added the Invulnerable component to {amount} entities
invulnerable.success.unsetSuccessfully removed the Invulnerable component from {amount} entities
hidefromadventureplayers.success.set{amount} entities hidden from adventure mode players
hidefromadventureplayers.success.unset{amount} entities no longer hidden from adventure mode players