Record Class ShulkerBoxModelRenderer.Unbaked

java.lang.Object
java.lang.Record
net.minecraft.client.render.item.model.special.ShulkerBoxModelRenderer.Unbaked
Record Components:
texture -
openness -
facing -
All Implemented Interfaces:
SpecialModelRenderer.Unbaked
Enclosing class:
ShulkerBoxModelRenderer

@Environment(CLIENT) public static record ShulkerBoxModelRenderer.Unbaked(Identifier texture, float openness, Direction facing) extends Record implements SpecialModelRenderer.Unbaked
Mappings:
Namespace Name
named net/minecraft/client/render/item/model/special/ShulkerBoxModelRenderer$Unbaked
intermediary net/minecraft/class_10511$class_10512
official hdv$a
named texture
intermediary comp_3422
official b
named openness
intermediary comp_3423
official c
named facing
intermediary comp_3424
official d
  • Field Details Link icon

    • texture Link icon

      private final Identifier texture
      The field for the texture record component.
    • openness Link icon

      private final float openness
      The field for the openness record component.
    • facing Link icon

      private final Direction facing
      The field for the facing record component.
    • CODEC Link icon

      public static final com.mojang.serialization.MapCodec<ShulkerBoxModelRenderer.Unbaked> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/client/render/item/model/special/ShulkerBoxModelRenderer$Unbaked;CODEC:Lcom/mojang/serialization/MapCodec;
      intermediary field_55448 Lnet/minecraft/class_10511$class_10512;field_55448:Lcom/mojang/serialization/MapCodec;
      official a Lhdv$a;a:Lcom/mojang/serialization/MapCodec;
  • Constructor Details Link icon

    • Unbaked Link icon

      public Unbaked()
    • Unbaked Link icon

      public Unbaked(DyeColor color)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/item/model/special/ShulkerBoxModelRenderer$Unbaked;<init>(Lnet/minecraft/util/DyeColor;)V
      intermediary <init> Lnet/minecraft/class_10511$class_10512;<init>(Lnet/minecraft/class_1767;)V
      official <init> Lhdv$a;<init>(Lcvn;)V
    • Unbaked Link icon

      public Unbaked(Identifier identifier, float float2, Direction direction)
  • Method Details Link icon

    • getCodec Link icon

      public com.mojang.serialization.MapCodec<ShulkerBoxModelRenderer.Unbaked> getCodec()
      Specified by:
      getCodec in interface SpecialModelRenderer.Unbaked
      Mappings:
      Namespace Name Mixin selector
      named getCodec Lnet/minecraft/client/render/item/model/special/SpecialModelRenderer$Unbaked;getCodec()Lcom/mojang/serialization/MapCodec;
      intermediary method_65696 Lnet/minecraft/class_10515$class_10516;method_65696()Lcom/mojang/serialization/MapCodec;
      official a Lhdx$a;a()Lcom/mojang/serialization/MapCodec;
    • bake Link icon

      public SpecialModelRenderer<?> bake(LoadedEntityModels entityModels)
      Specified by:
      bake in interface SpecialModelRenderer.Unbaked
      Mappings:
      Namespace Name Mixin selector
      named bake Lnet/minecraft/client/render/item/model/special/SpecialModelRenderer$Unbaked;bake(Lnet/minecraft/client/render/entity/model/LoadedEntityModels;)Lnet/minecraft/client/render/item/model/special/SpecialModelRenderer;
      intermediary method_65698 Lnet/minecraft/class_10515$class_10516;method_65698(Lnet/minecraft/class_5599;)Lnet/minecraft/class_10515;
      official a Lhdx$a;a(Lgfa;)Lhdx;
    • 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. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      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.
    • texture Link icon

      public Identifier texture()
      Returns the value of the texture record component.
      Returns:
      the value of the texture record component
    • openness Link icon

      public float openness()
      Returns the value of the openness record component.
      Returns:
      the value of the openness record component
    • facing Link icon

      public Direction facing()
      Returns the value of the facing record component.
      Returns:
      the value of the facing record component