Record Class ItemModel.BakeContext

java.lang.Object
java.lang.Record
net.minecraft.client.render.item.model.ItemModel.BakeContext
Record Components:
blockModelBaker -
entityModelSet -
missingItemModel -
Enclosing interface:
ItemModel

@Environment(CLIENT) public static record ItemModel.BakeContext(Baker blockModelBaker, LoadedEntityModels entityModelSet, ItemModel missingItemModel) extends Record
Mappings:
Namespace Name
named net/minecraft/client/render/item/model/ItemModel$BakeContext
intermediary net/minecraft/class_10439$class_10440
official hbm$a
named blockModelBaker
intermediary comp_3390
official a
named entityModelSet
intermediary comp_3391
official b
named missingItemModel
intermediary comp_3392
official c
  • Field Details Link icon

  • Constructor Details Link icon

  • Method Details Link icon

    • bake Link icon

      public BakedModel bake(Identifier id)
      Mappings:
      Namespace Name Mixin selector
      named bake Lnet/minecraft/client/render/item/model/ItemModel$BakeContext;bake(Lnet/minecraft/util/Identifier;)Lnet/minecraft/client/render/model/BakedModel;
      intermediary method_65592 Lnet/minecraft/class_10439$class_10440;method_65592(Lnet/minecraft/class_2960;)Lnet/minecraft/class_1087;
      official a Lhbm$a;a(Lakv;)Lhgt;
    • toString Link icon

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode Link icon

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals Link icon

      public final boolean equals(Object object)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • blockModelBaker Link icon

      public Baker blockModelBaker()
      Returns the value of the blockModelBaker record component.
      Returns:
      the value of the blockModelBaker record component
    • entityModelSet Link icon

      public LoadedEntityModels entityModelSet()
      Returns the value of the entityModelSet record component.
      Returns:
      the value of the entityModelSet record component
    • missingItemModel Link icon

      public ItemModel missingItemModel()
      Returns the value of the missingItemModel record component.
      Returns:
      the value of the missingItemModel record component