Interface LivingEntityFeatureRendererRegistrationCallback.RegistrationHelper
- Enclosing interface:
LivingEntityFeatureRendererRegistrationCallback
@NonExtendable
public static interface LivingEntityFeatureRendererRegistrationCallback.RegistrationHelper
A delegate object used to help register feature renderers for an entity renderer.
This is not meant for implementation by users of the API.
-
Method Summary
Modifier and TypeMethodDescription<T extends net.minecraft.entity.LivingEntity>
voidregister
(net.minecraft.client.render.entity.feature.FeatureRenderer<T, ? extends net.minecraft.client.render.entity.model.EntityModel<T>> featureRenderer) Adds a feature renderer to the entity renderer.
-
Method Details
-
register
<T extends net.minecraft.entity.LivingEntity> void register(net.minecraft.client.render.entity.feature.FeatureRenderer<T, ? extends net.minecraft.client.render.entity.model.EntityModel<T>> featureRenderer) Adds a feature renderer to the entity renderer.- Type Parameters:
T
- the type of entity- Parameters:
featureRenderer
- the feature renderer
-