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

Spawner Drops Loot

A tiny NFC mod which makes spawner entities drop loot

Загрузки
79
Подписчики
0
Обновлён
27 ноября 2025 г.
Лицензия
Apache-2.0

Опубликован 15 июля 2025 г.

Spawner Drops Loot

While attempting to play through a challenge in my NFC world, I end up struggling over spawner-based mob farms. Entities spawned by spawners don't drop any loot, which is not good! I understand that this is an intentional gameplay change, but at some point it made me struggle as I needed some mobfarm drop.

This mod aims to return loot drops of entities spawned in spawners.

Installation

Compatibility

  • Works with NFC versions from 3.4.X to latest 3.5.2 (and probably beyond)
  • Early NFC versions may require additional changes, contact me in discord or other socials if you need some help
  • No need for clients to have the mod installed if it's installed on the server

Steps

  1. For NFC 3.5+ versions (has built-in ModLoader):
    • Download and put the mod into mods folder.
  2. For NFC pre-3.5 versions (needs separate ModLoader):

Building Mod

Check README.md for further details

Ченджлог

0.3Релизb1.7.3 · 27 ноября 2025 г.

Client-side version:

  • A big optimization of the mod code:
    • Removed method invoke hook of updateDelay with custom method within patched class
    • Removed call to the modID field with direct access via getModID()
    • Removed a whole MethodHandles code as it's unnecessary now (+ more comptability between java versions)
  • Fancier log with patch progress

Server-side version:

  • Initial server-side version of this mod, a port of client-side 0.3 version at this point
0.3Релизb1.7.3 · 27 ноября 2025 г.

Client-side version:

  • A big optimization of the mod code:
    • Removed method invoke hook of updateDelay with custom method within patched class
    • Removed call to the modID field with direct access via getModID()
    • Removed a whole MethodHandles code as it's unnecessary now (+ more comptability between java versions)
  • Fancier log with patch progress

Server-side version:

  • Initial server-side version of this mod, a port of client-side 0.3 version at this point
0.2Релизb1.7.3 · 22 июля 2025 г.
  • Better check code for obfuscated environment, previous one ended up crashing for absolutely no reason
  • Field/method access init code is now only called once, not every call
  • Put some Block construction methods within PatchBlockMobSpawner instead of accessing them outside, dumb me
  • Using MethodHandles.Lookup for faster method invoke (but the mod is forced to Java 8 and beyond, no support for 6-7 sorry)
0.1Релизb1.7.3 · 15 июля 2025 г.

Initial release.

Комментарии

Загружаем…