Package net.minecraft

Record Class class_10544.class_10545

java.lang.Object
java.lang.Record
net.minecraft.class_10544.class_10545
All Implemented Interfaces:
ItemModel.Unbaked, ResolvableModel
Enclosing class:
class_10544

@Environment(CLIENT) public static record class_10544.class_10545() extends Record implements ItemModel.Unbaked
Mappings:
Namespace Name
named net/minecraft/class_10544$class_10545
intermediary net/minecraft/class_10544$class_10545
official hbj$a
  • Field Details

    • field_55552

      public static final com.mojang.serialization.MapCodec<class_10544.class_10545> field_55552
      Mappings:
      Namespace Name Mixin selector
      named field_55552 Lnet/minecraft/class_10544$class_10545;field_55552:Lcom/mojang/serialization/MapCodec;
      intermediary field_55552 Lnet/minecraft/class_10544$class_10545;field_55552:Lcom/mojang/serialization/MapCodec;
      official a Lhbj$a;a:Lcom/mojang/serialization/MapCodec;
  • Constructor Details

    • class_10545

      public class_10545()
      Creates an instance of a class_10545 record class.
  • Method Details

    • resolve

      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 Lhhj;a(Lhhj$a;)V
    • bake

      public ItemModel bake(ItemModel.BakeContext context)
      Specified by:
      bake in interface ItemModel.Unbaked
      Mappings:
      Namespace Name Mixin selector
      named bake Lnet/minecraft/client/render/item/model/ItemModel$Unbaked;bake(Lnet/minecraft/client/render/item/model/ItemModel$BakeContext;)Lnet/minecraft/client/render/item/model/ItemModel;
      intermediary method_65587 Lnet/minecraft/class_10439$class_10441;method_65587(Lnet/minecraft/class_10439$class_10440;)Lnet/minecraft/class_10439;
      official a Lhbk$b;a(Lhbk$a;)Lhbk;
    • getCodec

      public com.mojang.serialization.MapCodec<class_10544.class_10545> getCodec()
      Specified by:
      getCodec in interface ItemModel.Unbaked
      Mappings:
      Namespace Name Mixin selector
      named getCodec Lnet/minecraft/client/render/item/model/ItemModel$Unbaked;getCodec()Lcom/mojang/serialization/MapCodec;
      intermediary method_65585 Lnet/minecraft/class_10439$class_10441;method_65585()Lcom/mojang/serialization/MapCodec;
      official a Lhbk$b;a()Lcom/mojang/serialization/MapCodec;
    • 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.
      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.