Apothic Spawners - Easy NPC Fix

Quick rating

Community listing page, reviews may not be monitored by the author.

Apothic Spawners - Easy NPC Fix

By ROCLIC_777Owner

No reviews yet

Parche de compatibilidad para Apothic Spawners que evita errores al utilizar entidades personalizadas y mods de NPC como Easy NPC.

Mod Loaders
Minecraft

About

Description

Apothic Spawners - Easy NPC Fix

Compatibility patch for Apothic Spawners on Minecraft 26.1.2 + NeoForge.

This project is an unofficial modified version of Apothic Spawners, originally created by Shadows-of-Fire.

🛠️ Included Fix

This patch fixes an issue that could cause a NullPointerException when Apothic Spawners processes certain entity spawning items, especially with custom entities and mods such as Easy NPC.

A null safety check was added to ASEvents to prevent Apothic Spawners from attempting to access builtInRegistryHolder() when the retrieved EntityType is null.

The fix applies to:

  • handleUseItem
  • handleTooltips

Before

if (type.builtInRegistryHolder().is(ASObjects.BLACKLISTED_FROM_SPAWNERS)) {

After

if (type != null && type.builtInRegistryHolder().is(ASObjects.BLACKLISTED_FROM_SPAWNERS)) {

📌 Compatibility

  • Minecraft: 26.1.2
  • Mod Loader: NeoForge
  • Apothic Spawners: 2.0.1
  • Easy NPC: Compatible

⚠️ Disclaimer

This is an unofficial community-made compatibility patch.

This project is not affiliated with or endorsed by Shadows-of-Fire.

The original Apothic Spawners project and its original code belong to Shadows-of-Fire.

Original project: https://modrinth.com/mod/apothic-spawners

📜 License

This project follows the MIT License of the original Apothic Spawners project.


🇪🇸 Español

Apothic Spawners - Easy NPC Fix

Parche de compatibilidad para Apothic Spawners en Minecraft 26.1.2 + NeoForge.

Este proyecto es una versión modificada y no oficial de Apothic Spawners, creado originalmente por Shadows-of-Fire.

🛠️ Corrección incluida

Este parche corrige un error que podía provocar un NullPointerException cuando Apothic Spawners procesaba determinados objetos de generación de entidades, especialmente con entidades personalizadas y mods como Easy NPC.

Se añadió una comprobación de seguridad en ASEvents para evitar que Apothic Spawners intente acceder a builtInRegistryHolder() cuando el EntityType obtenido es null.

La corrección se aplica a:

  • handleUseItem
  • handleTooltips

Antes

if (type.builtInRegistryHolder().is(ASObjects.BLACKLISTED_FROM_SPAWNERS)) {

Después

if (type != null && type.builtInRegistryHolder().is(ASObjects.BLACKLISTED_FROM_SPAWNERS)) {

📌 Compatibilidad

  • Minecraft: 26.1.2
  • Cargador: NeoForge
  • Apothic Spawners: 2.0.1
  • Easy NPC: Compatible

⚠️ Aviso

Este es un parche comunitario no oficial.

Este proyecto no está afiliado ni respaldado por Shadows-of-Fire.

El proyecto original Apothic Spawners y su código original pertenecen a Shadows-of-Fire.

Proyecto original: https://modrinth.com/mod/apothic-spawners

📜 Licencia

Este proyecto sigue la licencia MIT del proyecto original Apothic Spawners.