-
Notifications
You must be signed in to change notification settings - Fork 1
Commands
ErrorCraft edited this page Dec 9, 2021
·
2 revisions
The entity command is used to apply entity modifiers to entities.
entity modify <targets> <modifier>
Modifies the entities with the specified modifier.
targets: The entities to modify.
modifier: The modifier to apply on the selected entities.
entity modify @s example:modifierModifies the current entity using the values in the example:modifier modifier.
The summon command already exists in vanilla Minecraft, but there's an addition to summon an entity with an entity modifier applied to it.
summon <entity> <position> <modifier>
Summons an entity and applies the specified modifier.
entity: The entity type to summon.
position: The position to summon the entity at.
modifier: The modifier to apply on the summoned entity.
summon minecraft:creeper ~ ~ ~ example:modifierSummons a creeper and applies the example:modifier modifier.