-
Notifications
You must be signed in to change notification settings - Fork 1
[Version 4.10] World Whitelist
Insane96 edited this page May 25, 2024
·
2 revisions
The World Whitelist object is used to make properties apply only in certain dimensions / biomes.
-
dimensions
: (Resource Location list) of dimensions where the condition is fulfilled -
inverse_dimension_list
: (Boolean) if true, thedimensions
list will be treated as a blacklist -
biomes
: (Resource Location list) of biomes where the condition is fulfilled -
inverse_biome_list
: (Boolean) if true, thebiomes
list will be treated as a blacklist -
deepness
: (Range Object) representing the min and max Y level where the condition is fulfilled -
moon_phases
: (String list) Of moon phases where the condition is fulfilled- Valid values: "full_moon", "waning_gibbous", "last_quarter", "waning_crescent", "new_moon", "waxing_crescent", "first_quarter", "waxing_gibbous"
-
structures
: (String list) Of structure ids (e.g. minecraft:fortress) where the condition is fulfilled -
inverse_structures
: (Boolean) if true, thestructures
list will be treated as a blacklist
This example makes:
Skeletons that spawn in Deserts have Speed II.
Skeletons that spawn in the Nether have Fire Resistance.
Skeletons that spawn during full moons have resistance.
Skeletons that DON'T spawn in desert temples to have Slowness.
{
"target": "minecraft:skeleton",
"potion_effects": [
{
"id": "minecraft:speed",
"amplifier": {
"min": 1
},
"conditions": {
"world": {
"biomes": [
"minecraft:desert"
]
}
}
},
{
"id": "minecraft:fire_resistance",
"conditions": {
"world": {
"dimensions": [
"minecraft:the_nether"
]
}
}
},
{
"id": "minecraft:resistance",
"conditions": {
"world": {
"moon_phases": [
"full_moon"
]
}
}
},
{
"id": "minecraft:slowness",
"conditions": {
"world": {
"structures": [
"minecraft:desert_pyramid"
],
"inverse_structures": true
}
}
}
]
}