-
Notifications
You must be signed in to change notification settings - Fork 1
[1.16+] World Whitelist
Alberto edited this page Jul 15, 2022
·
4 revisions
The World Whitelist object is used to make properties apply only in certain dimensions / biomes.
-
world_whitelist
: (Object) the object that contains the different whitelists-
dimensions
: a list of dimensions names where the properties will be applied -
biomes
: a list of biomes names where the properties will be applied -
deepness
: Range Object representing the min and max Y level where the properties will be applied
-
This example makes creeper that spawn in Deserts have Speed II and creepers that spawn in the Nether have Fire Resistance.
{
"mob_id": "minecraft:creeper",
"potion_effects": [
{
"id": "minecraft:speed",
"amplifier": {
"min": 1
},
"world_whitelist": {
"biomes": [
"minecraft:desert",
"minecraft:desert_hills",
"minecraft:desert_lakes"
]
}
},
{
"id": "minecraft:fire_resistance",
"world_whitelist": {
"dimensions": [
"minecraft:the_nether"
]
}
}
]
}