Interface UnboundEntityVariant
- All Superinterfaces:
EntityVariant
Represents an
EntityVariant that is not yet associated with any EntityInjection.
Unbound variants are created using the static factory methods in EntityVariant,
and later registered to an injection using the EntityInjection.Builder, e.g.,
EntityInjection.Builder.addVariant(UnboundEntityVariant).
For more details on creating and working with entity variants, see EntityVariant.
-
Method Summary
Modifier and TypeMethodDescriptionbind(EntityInjection<?, ?> injection) Binds this variant to the specified injection and returns a newBoundEntityVariant.Methods inherited from interface cz.jeme.bestium.api.inject.variant.EntityVariant
getId, getModelUrl
-
Method Details
-
bind
Binds this variant to the specified injection and returns a newBoundEntityVariant.Note: This method is intended for internal use only and should not be called directly as a part of this API.
- Parameters:
injection- the injection to bind this variant to- Returns:
- the bound variant
-