Companion
object Companion
Properties
Link copied to clipboard
Read-only registry of all constructed custom entity types, keyed by getNamespacedKey.
Functions
Link copied to clipboard
Whether both entities carry the same custom-entity key; false if either lacks one.
Link copied to clipboard
Compares by custom-entity key when both have one, otherwise by EntityType.
Link copied to clipboard
Cached live entities of the type registered under namespacedKey.
Link copied to clipboard
Reads the custom-entity key stored on entity, or null for vanilla/absent entities.