public static class EntityInitializers.AddTags extends java.lang.Object implements EntityInitializer
Modifier and Type | Field and Description |
---|---|
java.util.List<java.lang.Object> |
tags |
Constructor and Description |
---|
AddTags(java.lang.Object... tags) |
Modifier and Type | Method and Description |
---|---|
void |
apply(EntityLocal entity)
Applies initialization logic to a just-built entity.
|
public void apply(EntityLocal entity)
EntityInitializer
apply
in interface EntityInitializer
entity
- guaranteed to be the actual implementation instance,
thus guaranteed to be castable to EntityInternal which is often desired,
or to the type at hand (it is not even a proxy)