No Spawner Change
ModGPL-3.0-only

No Spawner Change

A Minecraft mod that prevents changing the spawner type in survival mode.

582
Downloads
4
Followers
5 months ago
Updated
📦
8
Versions

📖About No Spawner Change

No Spawner Change

Static Badge
Static Badge
Static Badge

A Minecraft mod that prevents changing the spawner type in survival mode.

What does it do?

With this mod installed, by default, changing a spawner in survival mode will behave exactly like it usually does in
adventure mode.
So you won't be able to change the spawner type, unless the can_place_on component of the spawn egg allows it.

You can further customize this behavior using the config.

Config (default)

# Configuration for normal monster spawners
monster-spawner {
  # Whether to allow changing the mob type.
  allow-change = true
  # Whether to allow changing the mob type ONLY if the spawner is empty.
  only-if-empty = false
  # Whether to allow changing the mob type ONLY if the `can_place_on` component of the spawn egg is set.
  only-with-can-place-on = true
}
# Configuration for trial spawners
trial-spawner {
  # Whether to allow chaneging the mob type.
  allow-change = true
  # Whether to allow changing the mob type ONLY if the spawner is empty.
  only-if-empty = false
  # Whether to allow changing the mob type ONLY if the `can_place_on` component of the spawn egg is set.
  only-with-can-place-on = true
}

You can reload the config by using /reload.