Condition Object - SpaceCat97/SpaceCats-Wikis GitHub Wiki

JSON Specification

Field Name Data Type Required Description Default Value
type String Possible Values:
"inLava"
"inRain"
"inWater"
"onBlock"
"isUsingMainHand"
"isUsingOffHand"
"inBiome" - This is not available in 1.16.5
"timeRange"
"moonPhase"
"inDimension"
inverted Boolean If set to true, the bonus will apply when the condition is NOT met false
tooltipDescription String Specifically override the conditions text with your own string/translation key.
extra String If "type"="onBlock" then you must specify the block key in this field (eg. minecraft:dirt)

If "type"="inBiome" then you must specify the biome key in this field (eg. minecraft:plains)

If "type"="inDimension" then you must specify the dimension key in this field (eg. minecraft:overworld)

If "type"="timeRange" then you must specify the time range in ticks, using a comma to separate them. Make sure there are no spaces. (eg. "0,10000")

If "type"="moonPhase" then you must specify one of the following:
- full
- waninggibbous
- lastquarter
- waningcresent
- new
- waxingcresent
- firstquarter
- waxinggibbous

⚠️ **GitHub.com Fallback** ⚠️