Record Class SpecialModelRenderer.BakeContext.Simple

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

@Environment(CLIENT) public static record SpecialModelRenderer.BakeContext.Simple(LoadedEntityModels entityModelSet, SpriteHolder materials, PlayerSkinCache playerSkinRenderCache) extends Record implements SpecialModelRenderer.BakeContext
Mappings:
Namespace Name
named net/minecraft/client/render/item/model/special/SpecialModelRenderer$BakeContext$Simple
intermediary net/minecraft/class_10515$class_11695$class_11696
official iam$a$a
named entityModelSet
intermediary comp_3391
official a
named materials
intermediary comp_4551
official b
named playerSkinRenderCache
intermediary comp_4658
official c
  • 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
    • spriteHolder

      public SpriteHolder spriteHolder()
      Specified by:
      spriteHolder in interface SpecialModelRenderer.BakeContext
      Mappings:
      Namespace Name Mixin selector
      named spriteHolder Lnet/minecraft/client/render/item/model/special/SpecialModelRenderer$BakeContext;spriteHolder()Lnet/minecraft/client/texture/SpriteHolder;
      intermediary comp_4551 Lnet/minecraft/class_10515$class_11695;comp_4551()Lnet/minecraft/class_11701;
      official c Liam$a;c()Lido;
    • playerSkinRenderCache

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

      public SpriteHolder materials()
      Returns the value of the materials record component.
      Returns:
      the value of the materials record component