Record Class SimpleBlockStateModel.Unbaked

java.lang.Object
java.lang.Record
net.minecraft.client.render.model.SimpleBlockStateModel.Unbaked
Record Components:
variant -
All Implemented Interfaces:
BlockStateModel.Unbaked, ResolvableModel
Enclosing class:
SimpleBlockStateModel

@Environment(CLIENT) public static record SimpleBlockStateModel.Unbaked(ModelVariant variant) extends Record implements BlockStateModel.Unbaked
Mappings:
Namespace Name
named net/minecraft/client/render/model/SimpleBlockStateModel$Unbaked
intermediary net/minecraft/class_10893$class_10894
official gth$a
named variant
intermediary comp_3815
official e
  • Field Details Link icon

    • variant Link icon

      private final ModelVariant variant
      The field for the variant record component.
    • CODEC Link icon

      public static final com.mojang.serialization.Codec<SimpleBlockStateModel.Unbaked> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/client/render/model/SimpleBlockStateModel$Unbaked;CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_57946 Lnet/minecraft/class_10893$class_10894;field_57946:Lcom/mojang/serialization/Codec;
      official d Lgth$a;d:Lcom/mojang/serialization/Codec;
  • Constructor Details Link icon

  • Method Details Link icon

    • bake Link icon

      public BlockStateModel bake(Baker baker)
      Specified by:
      bake in interface BlockStateModel.Unbaked
      Mappings:
      Namespace Name Mixin selector
      named bake Lnet/minecraft/client/render/model/BlockStateModel$Unbaked;bake(Lnet/minecraft/client/render/model/Baker;)Lnet/minecraft/client/render/model/BlockStateModel;
      intermediary method_68521 Lnet/minecraft/class_1087$class_10892;method_68521(Lnet/minecraft/class_7775;)Lnet/minecraft/class_1087;
      official a Lgta$b;a(Lhmz;)Lgta;
    • resolve Link icon

      public void resolve(ResolvableModel.Resolver resolver)
      Specified by:
      resolve in interface ResolvableModel
      Mappings:
      Namespace Name Mixin selector
      named resolve Lnet/minecraft/client/render/model/ResolvableModel;resolve(Lnet/minecraft/client/render/model/ResolvableModel$Resolver;)V
      intermediary method_62326 Lnet/minecraft/class_10526;method_62326(Lnet/minecraft/class_10526$class_10103;)V
      official a Lhnh;a(Lhnh$a;)V
    • 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.
    • variant Link icon

      public ModelVariant variant()
      Returns the value of the variant record component.
      Returns:
      the value of the variant record component