generated from FabricMC/fabric-example-mod
-
Notifications
You must be signed in to change notification settings - Fork 176
AND Condition
apace100 edited this page Nov 2, 2020
·
2 revisions
Usable as any condition. Checks whether the all of the provided conditions are fulfilled.
Type ID: origins:and
Fields:
conditions
, array of Conditions of the same type: All of these need to evaluate to true
in order for the whole condition to be true
.
Example:
"condition": {
"type": "origins:and",
"conditions": [
{
"type": "origins:daytime"
},
{
"type": "origins:invisible"
}
]
}
This condition added to a power will make sure the power is only active when it is both day and the player is invisible.
Tutorials (Data packs)
Video Tutorial by CandyCaneCazoo
Tutorials (Add-ons)
Working with more unique powers
Lists
List of vanilla damage source names
Data Types