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 |
|---|
EntityInitializers.AddTags(java.lang.Object... tags) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(EntityLocal entity)
Applies initialization logic to a just-built entity.
|
public EntityInitializers.AddTags(java.lang.Object... tags)
public void apply(EntityLocal entity)
EntityInitializerapply in interface EntityInitializerentity - 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)