/origin
The /origin
command can be used to check for origins/powers, and set the player's origin from a specified origin layer.
Syntax:
origin get <target> <originLayer>
Fetch the origin of the specified target from a specified origin layer.
<target>
being a target selector, username, or UUID; can only select one at a time- (e.g:
@a[limit = 1]
,@p
,eggohito
,70ecd8a7-5abb-492a-a3b3-9aae099400db
)
- (e.g:
<originLayer>
being the namespace and ID of an origin layer- (e.g:
origins:origin
(data/origins/origin_layers/origin.json
))
- (e.g:
origin has origin <targets> <originLayer> <origin>
Check if the specified target(s) has a specified origin from a specified origin layer.
<targets>
being a target selector, username, or UUID- (e.g:
@a
,eggohito
,70ecd8a7-5abb-492a-a3b3-9aae099400db
)
- (e.g:
<originLayer>
being the namespace and ID of an origin layer- (e.g:
origins:origin
(data/origins/origin_layers/origin.json
))
- (e.g:
<origin>
being the namespace and ID of an origin- (e.g:
origins:human
(data/origins/origins/human.json
))
- (e.g:
origin has power <targets> <power>
Check if the specified target(s) has the specified power.
<targets>
being a target selector, username, or UUID- (e.g:
@a
,eggohito
,70ecd8a7-5abb-492a-a3b3-9aae099400db
)
- (e.g:
<power>
being the namespace and ID of a power- (e.g:
origins:arcane_skin
(data/origins/powers/arcane_skin.json
))
- (e.g:
origin set <targets> <originLayer> <origin>
Set the specified target(s) origin in a specified origin layer.
<targets>
being a target selector, username, or UUID- (e.g:
@a
,eggohito
,70ecd8a7-5abb-492a-a3b3-9aae099400db
)
- (e.g:
<originLayer>
being the namespace and ID of an origin layer- (e.g:
origins:origin
(data/origins/origin_layers/origin.json
))
- (e.g:
<origin>
being the namespace and ID of an origin- (e.g:
origins:human
(data/origins/origins/human.json
))
- (e.g: