Перейти к содержимому
Mineforgian

Variable Spawner Hardness

Makes spawners take longer to destroy depending on your difficulty for a slight extra challenge.

Загрузки
17K
Подписчики
23
Обновлён
25 апреля 2026 г.
Лицензия
MIT

Опубликован 5 января 2024 г.

Makes spawners take longer to destroy depending on your difficulty for a slight extra challenge.

Default spawner hardnesses

  • Peaceful: Same hardness as vanilla (5F)
  • Easy: Same as end stone (9F)
  • Normal: Same as ender chests (22.5F)
  • Hard: Same as ancient debris (30F)
  • Hardcore: Same as obsidian (50F)

Unlike some of the blocks mentioned above, you can still destroy a spawner with any tool you want as long as you don't use your bare hands.

Config

As of v1.3.0, the spawner hardnesses are configurable in the variablespawnerhardness-common.toml config file.

Sponsors

Thanks to the following GitHub sponsors for donating towards my modding efforts, who help motivate me to continue working on projects like Variable Spawner Hardness:

  • (None at the moment)

Ченджлог

26.x.x-1.5.0-forgeРелиз26.1.2, 26.2 · 25 апреля 2026 г.

Rewritten under a new multiloader architecture. Uses Forge's PlayerEvent.BreakSpeed and config API to improve compatibility with other mods - no Mixins used.

Confirmed working on MC 26.1.2 and 26.2.

26.x.x-1.5.0-neoРелиз26.1.2, 26.2 · 25 апреля 2026 г.

Rewritten under a new multiloader architecture, full feature parity with the Forge version. Uses Neo's PlayerEvent.BreakSpeed and config API to improve compatibility with other mods - no Mixins used.

Confirmed working on MC 26.1.2 and 26.2.

26.x.x-1.5.0-fabricРелиз26.2-rc-1, 26.2-rc-2, 26.2 · 25 апреля 2026 г.

Rewritten under a new multiloader architecture, full feature parity with the Forge version. Uses Mixin and custom code instead of Fabric API because they don't offer the things this mod needs (a config API and an equiv to Forge's PlayerEvent.BreakSpeed)

Also: Spawner break speed changes now only affect players on Fabric rather than all mobs. This was an issue specific to the Fabric version of the mod and this fix now brings it more in line with how the mod behaves on other loaders.

Works on MC 26.1.2 and newer, including snapshots.

1.21.11-1.4.3-fabricРелиз1.21.11 · 26 января 2026 г.
  • Ported and confirmed working on 1.21.11
1.21.11-1.4.6-forgeРелиз1.21.11 · 26 января 2026 г.
  • Ported and confirmed working on 1.21.11
1.21.11-25w43a-1.4.3Альфа25w43a · 27 октября 2025 г.

No changelog was specified.

1.21.10-1.4.3Релиз1.21.10 · 27 октября 2025 г.

No changelog was specified.

1.21.10-1.4.6-forgeРелиз1.21.10 · 27 октября 2025 г.

Ported to 1.21.10, performance improvements.

  • Using a switch that returns constant values is faster than indexing on mutable array contents (the array itself was static final, but there's currently no public API way of telling the JVM that the array contents won't change - JDK internals have @Stable but can't use it in this mod)
  • Grab level data once to reduce the number of untrusted final field reads (level#getDifficulty calls level#getLevelData)

Комментарии

Загружаем…