Unlike normal conditions, these conditions apply to crops
Condition Library
biome
Copy condition_xxx :
type : biome
value :
- minecraft:plains
random
Copy condition_xxx :
type : random
value : 0.3
suitable_season
Copy condition_xxx :
type : suitable_season
value :
- Spring
unsuitable_season
Copy condition_xxx :
type : suitable_season
value :
- Winter
crow_attack
Copy condition_xxx :
type : crow_attack
value :
chance : 0.005
fly-model : crow_fly
stand-model : crow_stand
water_more_than (For custom pots)
Copy condition_xxx :
type : water_more_than
value : 0
water_less_than (For custom pots)
Copy condition_xxx :
type : water_less_than
value : 1
moisture_more_than (For vanilla farmland)
Copy condition_xxx :
type : moisture_more_than
value : 0
moisture_less_than (For vanilla farmland)
Copy condition_xxx :
type : moisture_less_than
value : 1
pot
Copy condition_xxx :
type : pot
value :
- default
fertilizer
Copy condition_xxx :
type : fertilizer
value :
- speed_grow_1
fertilizer_type
Copy condition_xxx :
type : fertilizer_type
value :
- SPEED_GROW
temperature
Copy condition_xxx :
type : temperature
value :
- 0.15~0.85
“>” “>=” “<” “<=” “=” “!=”
Copy condition_xxx :
type : '='
value :
value1 : '20'
value2 : '%player_health%'
“startsWith” “endsWith” “equals” “contains” “in-list”
Copy '!startWith' :
value1 : '%player_name%'
value2 : 'X' <- player names that are not starting with "X"
condition_xxx :
type : 'contains'
value :
value1 : '%player_name%'
value2 : '_' <- player names that contain "_"
condition_xxx :
type : '!equals'
value :
value1 : '%player_name%'
value2 : 'XiaoMoMi' <- player names that not equal "XiaoMoMi"
condition_xxx :
type : 'in-list'
value :
papi : '%player_name%'
values :
- 'XiaoMoMi'
- 'XIAOMOMI'
- 'XlA0M0Ml'
logic (Create complex conditions)
Copy '||' :
condition_xxx1 : {}
condition_xxx2 : {}
'&&' :
condition_xxx3 : {}
condition_xxx4 : {}
light_more_than
Copy condition_xxx :
type : light_more_than
value : 7
light_less_than
Copy condition_xxx :
type : light_less_than
value : 8
natural_light_less_than
Copy condition_xxx :
type : natural_light_less_than
value : 8
natural_light_more_than
Copy condition_xxx :
type : natural_light_more_than
value : 8