Commands - yeelp/Distinct-Damage-Descriptions GitHub Wiki
DDD has 1 main command that can be used in chat, though this command has many subcommands. DDD's main command is /distinctdamagedescriptions
though you can also use it via a shorter alias /ddd
The DDD command has 3 subcommands.
Syntax: /ddd resistance <set|add> <target> <dddtype> <amount>
-
target
is the target of the command. Can use target selectors. -
dddtype
is the damage type to modify the resistance of. Needs the ddd_ prefix. E.g. ddd_poison. -
amount
is a decimal value for the percentage or resistance. 1 would be 100%, 0.5 would by 50%, etc.
set
will set the resistance for the type dddtype
to the value amount
for all applicable entities matched by target
. add
will add the amount
to the resistance for the type dddtype
for all matched entities by target
.
Syntax: /ddd immunity <give|take|toggle> <target> <dddtype>
-
target
is the target of the command. Can use target selectors. -
dddtype
is the damage type to modify the resistance of. Needs the ddd_ prefix. E.g. ddd_poison.
give
will give immunity to all target
s, take
will remove it. toggle
will "swap" the immunity (e.g. an immune mob becomes susceptible and vice versa).
Introduced in 1.7.0
Syntax: /ddd adaptability <status|amount> ...
Syntax: /ddd adaptability status <give|take|toggle> <target>
-
target
is the target of the command. Can use target selectors.
give
will always turn on adaptability for the target
s, take
will always turn it off. toggle
will flip the target
's adaptability status. If a mob becomes adaptive it will use its adaptability amount specified in the config. Usually, mobs that are never adaptive have an adaptability amount of 0, so setting the mob's adaptability amount is typically needed as well.
Syntax: /ddd adaptability amount <set|add> <target> <amount>
-
target
is the target of the command. Can use target selectors. -
amount
is a decimal value for the percentage or resistance. 1 would be 100%, 0.5 would by 50%, etc.
set
will set the target
's adaptability amount to the specified amount
. add
will add the amount
to the existing adaptability amount the target
has