Files
Kubernetes-Manifests/minecraft/homestead/homestead-ysns-configmap.yaml
2026-06-01 10:10:01 +02:00

67 lines
3.0 KiB
YAML

apiVersion: v1
kind: ConfigMap
metadata:
name: homestead-ysns
namespace: minecraft
data:
disabled_entities.json5: |
{
// ----------------------------------------------------------------------------------------------------------------
// You Shall Not Spawn by ElocinDev.
// disabled_entities.json5
// ----------------------------------------------------------------------------------------------------------------
//
// Here you can disable entities from spawning globally, with no exceptions.
// Format: "modid:entity_name"
// Example: "minecraft:zombie"
//
// Note: As a more advanced method, you can use regex by starting the entry with !
// Format: "!{Regular expression}"
// Example: "!minecraft:.*" will disable all entities from minecraft. (NOT RECOMMENDED, JUST AN EXAMPLE)
//
"disabled": [
"eldritch_end:the_faceless",
"eldritch_end:eye",
"cozystudioscore:mushling"
],
// Don't touch this!
"CONFIG_VERSION": 1
}
per_dimension_entities.json5: |
{
// ----------------------------------------------------------------------------------------------------------------
// You Shall Not Spawn by ElocinDev.
// per_dimension_entities.json5
// ----------------------------------------------------------------------------------------------------------------
//
// entity: The entity's id you want to adjust. (For example: minecraft:zombie, regex can be used.)
// dimension: The dimension id you want to adjust. (For example: minecraft:overworld, regex can be used.)
// spawn_chance: The chance of the entity spawning. (For example: 0.1 is 10%, 0.5 is 50%, 0.0 will disable the spawn.)
//
// The example below adds a modifier for the zombie, with 1.0 spawn chance (100%).
// By default, this does nothing, but you for example set the spawn chance to 0.5, making zombies spawn half the time they usually do.
//
// YSNS CAN'T INCREASE SPAWN RATES! ANYTHING ABOVE 1.0 WILL NOT INCREASE SPAWNRATE!
//
// Note: As a more advanced method, you can use regex by starting the entry with !
// With regex, you can do things such as disabling multiple entities in a single entry, or cover multiple (or all) dimensions
// Format: "!{Regular expression}"
// Example: "!minecraft:.*" will disable all entities from minecraft. (NOT RECOMMENDED, JUST AN EXAMPLE)
//
// Regex works on both entity and dimension entries.
"dimensions": [
{
"entityId": "minecraft:zombie",
"dimension": "minecraft:overworld",
"spawn_chance": 1.0
},
{
"entityId": "cozystudioscore:mushling",
"dimension": "minecraft:overworld",
"spawn_chance": 0.0
}
],
// Don't touch this!
"CONFIG_VERSION": 1
}