90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!

Anti Entity Grief 1.0.7

Changelog

Changes

  • Move config loading to occur after capability inference

Explanation

In this mod, entities have two types of capabilities: pre-set and inferred. Pre-set capabilities are explicitly defined in configuration files (e.g., a Blaze being able to set things on fire). Inferred capabilities, on the other hand, are determined dynamically at runtime based on Minecraft’s internal calculations (e.g., a mob’s size determining whether it can trample crops).

Previously, the mod loaded configuration files immediately on startup, before inferred capabilities were assigned to entity types. This caused issues when attempting to apply inferred configurations—since they technically didn’t exist yet, the system would reject them.

To fix this, configuration loading is now delayed until after the world has fully loaded. By that point, all inferred capabilities are already assigned, ensuring that the stored configurations can be correctly applied without rejection.

Dependencies

Files

antientitygrief-1.0.7-1.21.4.jar(111.6 KiB) Primary Download

Project members

BVengo

Member

Details

Licensed LGPL-3.0-only
Published 9 months ago
Updated 3 days ago