Record Class SpecialModelRenderer.BakeContext.class_11696

java.lang.Object
java.lang.Record
net.minecraft.client.render.item.model.special.SpecialModelRenderer.BakeContext.class_11696
Record Components:
entityModelSet -
materials -
All Implemented Interfaces:
SpecialModelRenderer.BakeContext
Enclosing interface:
SpecialModelRenderer.BakeContext

@Environment(CLIENT) public static record SpecialModelRenderer.BakeContext.class_11696(LoadedEntityModels entityModelSet, class_11701 materials) extends Record implements SpecialModelRenderer.BakeContext
Mappings:
Namespace Name
named net/minecraft/client/render/item/model/special/SpecialModelRenderer$BakeContext$class_11696
intermediary net/minecraft/class_10515$class_11695$class_11696
official hug$a$a
named entityModelSet
intermediary comp_3391
official a
named materials
intermediary comp_4551
official b
  • Field Details

  • Constructor Details

  • Method Details

    • toString

      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

      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

      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.
    • entityModelSet

      public LoadedEntityModels entityModelSet()
      Returns the value of the entityModelSet record component.
      Specified by:
      entityModelSet in interface SpecialModelRenderer.BakeContext
      Returns:
      the value of the entityModelSet record component
    • materials

      public class_11701 materials()
      Returns the value of the materials record component.
      Specified by:
      materials in interface SpecialModelRenderer.BakeContext
      Returns:
      the value of the materials record component