Interface ExtendedUnbakedGeometry
- All Superinterfaces:
UnbakedGeometry, UnbakedGeometryExtension
- All Known Implementing Classes:
CompositeUnbakedGeometry, ObjGeometry, SimpleUnbakedGeometry
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Base interface for unbaked models that wish to support the NeoForge-added
bake method
that receives additional properties.-
Field Summary
Fields inherited from interface UnbakedGeometry
EMPTY -
Method Summary
Modifier and TypeMethodDescriptiondefault QuadCollectionbake(TextureSlots textureSlots, ModelBaker modelBaker, ModelState modelState, ModelDebugName name) bake(TextureSlots textureSlots, ModelBaker baker, ModelState state, ModelDebugName debugName, ContextMap additionalProperties) Version ofUnbakedGeometry.bake(TextureSlots, ModelBaker, ModelState, ModelDebugName)that also receives additional properties sourced fromUnbakedModelExtension.fillAdditionalProperties(ContextMap.Builder).
-
Method Details
-
bake
default QuadCollection bake(TextureSlots textureSlots, ModelBaker modelBaker, ModelState modelState, ModelDebugName name) - Specified by:
bakein interfaceUnbakedGeometry
-
bake
QuadCollection bake(TextureSlots textureSlots, ModelBaker baker, ModelState state, ModelDebugName debugName, ContextMap additionalProperties) Description copied from interface:UnbakedGeometryExtensionVersion ofUnbakedGeometry.bake(TextureSlots, ModelBaker, ModelState, ModelDebugName)that also receives additional properties sourced fromUnbakedModelExtension.fillAdditionalProperties(ContextMap.Builder).- Specified by:
bakein interfaceUnbakedGeometryExtension
-