Interface MixinEntityAddon

All Known Implementing Classes:
MixinEntity

public interface MixinEntityAddon
The MixinEntity mixin injects a custom field into the Entity class to hold custom data. This interface provides a method to access that custom field.
  • Method Summary

    Modifier and Type
    Method
    Description
    GenericProperties<net.minecraft.util.Identifier>
    Gets the HashMap that stores custom data for a given Entity instance.
  • Method Details

    • tcdcommons_getCustomData

      GenericProperties<net.minecraft.util.Identifier> tcdcommons_getCustomData()
      Gets the HashMap that stores custom data for a given Entity instance. The Identifiers serve as unique keys that can be associated with different mods, and the Object values represent the custom data stored by those mods.