public interface DynamicLocation<E extends Entity & LocationOwner<L,E>,L extends Location & DynamicLocation<E,L>>
The lifecycle of the location is managed by the owning entity.
Modifier and Type | Field and Description |
---|---|
static ConfigKey<java.lang.Integer> |
MAX_SUB_LOCATIONS |
static ConfigKey<Entity> |
OWNER |
Modifier and Type | Method and Description |
---|---|
void |
deregister()
The complement of
register() , to deregister this location. |
E |
getOwner() |
LocationDefinition |
register()
An opportunity to register this location (e.g.
|
static final ConfigKey<java.lang.Integer> MAX_SUB_LOCATIONS
E getOwner()
LocationDefinition register()
LocationRegistry
or the
catalog, so that it will be persisted).void deregister()
register()
, to deregister this location.