Record Class RangeDispatchItemModel.Unbaked

java.lang.Object
java.lang.Record
net.minecraft.client.render.item.model.RangeDispatchItemModel.Unbaked
Record Components:
property -
scale -
entries -
fallback -
All Implemented Interfaces:
ItemModel.Unbaked, ResolvableModel
Enclosing class:
RangeDispatchItemModel

@Environment(CLIENT) public static record RangeDispatchItemModel.Unbaked(NumericProperty property, float scale, List<RangeDispatchItemModel.Entry> entries, Optional<ItemModel.Unbaked> fallback) extends Record implements ItemModel.Unbaked
Mappings:
Namespace Name
named net/minecraft/client/render/item/model/RangeDispatchItemModel$Unbaked
intermediary net/minecraft/class_10448$class_10450
official hbr$b
named property
intermediary comp_3395
official b
named scale
intermediary comp_3396
official c
named entries
intermediary comp_3397
official d
named fallback
intermediary comp_3398
official e
  • Field Details Link icon

    • property Link icon

      private final NumericProperty property
      The field for the property record component.
    • scale Link icon

      private final float scale
      The field for the scale record component.
    • entries Link icon

      private final List<RangeDispatchItemModel.Entry> entries
      The field for the entries record component.
    • fallback Link icon

      private final Optional<ItemModel.Unbaked> fallback
      The field for the fallback record component.
    • CODEC Link icon

      public static final com.mojang.serialization.MapCodec<RangeDispatchItemModel.Unbaked> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/client/render/item/model/RangeDispatchItemModel$Unbaked;CODEC:Lcom/mojang/serialization/MapCodec;
      intermediary field_55361 Lnet/minecraft/class_10448$class_10450;field_55361:Lcom/mojang/serialization/MapCodec;
      official a Lhbr$b;a:Lcom/mojang/serialization/MapCodec;
  • Constructor Details Link icon

  • Method Details Link icon

    • getCodec Link icon

      public com.mojang.serialization.MapCodec<RangeDispatchItemModel.Unbaked> 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 Lhbm$b;a()Lcom/mojang/serialization/MapCodec;
    • bake Link icon

      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 Lhbm$b;a(Lhbm$a;)Lhbm;
    • 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 Lhhl;a(Lhhl$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. 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.
    • property Link icon

      public NumericProperty property()
      Returns the value of the property record component.
      Returns:
      the value of the property record component
    • scale Link icon

      public float scale()
      Returns the value of the scale record component.
      Returns:
      the value of the scale record component
    • entries Link icon

      Returns the value of the entries record component.
      Returns:
      the value of the entries record component
    • fallback Link icon

      public Optional<ItemModel.Unbaked> fallback()
      Returns the value of the fallback record component.
      Returns:
      the value of the fallback record component