Interface ModelModifier.BeforeBakeItem.Context

Enclosing interface:
ModelModifier.BeforeBakeItem

@NonExtendable public static interface ModelModifier.BeforeBakeItem.Context
The context for a before bake item model modification event.
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.client.renderer.item.ItemModel.BakingContext
    The vanilla context being used to bake this model.
    net.minecraft.resources.Identifier
    The corresponding item ID of the model being baked.
    org.joml.Matrix4fc
    The transformation applied during baking of this model.
  • Method Details

    • itemId

      net.minecraft.resources.Identifier itemId()
      The corresponding item ID of the model being baked.
    • bakingContext

      net.minecraft.client.renderer.item.ItemModel.BakingContext bakingContext()
      The vanilla context being used to bake this model.
    • transformation

      org.joml.Matrix4fc transformation()
      The transformation applied during baking of this model.