Record Class WeightedBakedModel.class_10898

java.lang.Object
java.lang.Record
net.minecraft.client.render.model.WeightedBakedModel.class_10898
Record Components:
entries -
All Implemented Interfaces:
BakedModel.class_10892, ResolvableModel
Enclosing class:
WeightedBakedModel

@Environment(CLIENT) public static record WeightedBakedModel.class_10898(Pool<BakedModel.class_10892> entries) extends Record implements BakedModel.class_10892
Mappings:
Namespace Name
named net/minecraft/client/render/model/WeightedBakedModel$class_10898
intermediary net/minecraft/class_1097$class_10898
official hnw$a
named entries
intermediary comp_3816
official d
  • Field Details

  • Constructor Details

  • Method Details

    • method_68521

      public BakedModel method_68521(Baker baker)
      Specified by:
      method_68521 in interface BakedModel.class_10892
      Mappings:
      Namespace Name Mixin selector
      named method_68521 Lnet/minecraft/client/render/model/BakedModel$class_10892;method_68521(Lnet/minecraft/client/render/model/Baker;)Lnet/minecraft/client/render/model/BakedModel;
      intermediary method_68521 Lnet/minecraft/class_1087$class_10892;method_68521(Lnet/minecraft/class_7775;)Lnet/minecraft/class_1087;
      official a Lgtn$b;a(Lhnj;)Lgtn;
    • 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 Lhnr;a(Lhnr$a;)V
    • 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.
    • entries

      public Pool<BakedModel.class_10892> entries()
      Returns the value of the entries record component.
      Returns:
      the value of the entries record component