Interface ExtendedUnbakedGeometry

All Superinterfaces:
net.minecraft.client.resources.model.UnbakedGeometry, UnbakedGeometryExtension
All Known Implementing Classes:
CompositeUnbakedGeometry, ObjGeometry
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ExtendedUnbakedGeometry extends net.minecraft.client.resources.model.UnbakedGeometry
Base interface for unbaked models that wish to support the NeoForge-added bake method that receives additional properties.
  • Field Summary

    Fields inherited from interface net.minecraft.client.resources.model.UnbakedGeometry

    EMPTY
  • Method Summary

    Modifier and Type
    Method
    Description
    default net.minecraft.client.resources.model.QuadCollection
    bake(net.minecraft.client.renderer.block.model.TextureSlots p_405831_, net.minecraft.client.resources.model.ModelBaker p_405026_, net.minecraft.client.resources.model.ModelState p_405122_, net.minecraft.client.resources.model.ModelDebugName p_405635_)
     
    net.minecraft.client.resources.model.QuadCollection
    bake(net.minecraft.client.renderer.block.model.TextureSlots textureSlots, net.minecraft.client.resources.model.ModelBaker baker, net.minecraft.client.resources.model.ModelState state, net.minecraft.client.resources.model.ModelDebugName debugName, net.minecraft.util.context.ContextMap additionalProperties)
    Version of UnbakedGeometry.bake(TextureSlots, ModelBaker, ModelState, ModelDebugName) that also receives additional properties sourced from UnbakedModelExtension.fillAdditionalProperties(net.minecraft.util.context.ContextMap.Builder).
  • Method Details

    • bake

      default net.minecraft.client.resources.model.QuadCollection bake(net.minecraft.client.renderer.block.model.TextureSlots p_405831_, net.minecraft.client.resources.model.ModelBaker p_405026_, net.minecraft.client.resources.model.ModelState p_405122_, net.minecraft.client.resources.model.ModelDebugName p_405635_)
      Specified by:
      bake in interface net.minecraft.client.resources.model.UnbakedGeometry
    • bake

      net.minecraft.client.resources.model.QuadCollection bake(net.minecraft.client.renderer.block.model.TextureSlots textureSlots, net.minecraft.client.resources.model.ModelBaker baker, net.minecraft.client.resources.model.ModelState state, net.minecraft.client.resources.model.ModelDebugName debugName, net.minecraft.util.context.ContextMap additionalProperties)
      Description copied from interface: UnbakedGeometryExtension
      Version of UnbakedGeometry.bake(TextureSlots, ModelBaker, ModelState, ModelDebugName) that also receives additional properties sourced from UnbakedModelExtension.fillAdditionalProperties(net.minecraft.util.context.ContextMap.Builder).
      Specified by:
      bake in interface UnbakedGeometryExtension