Package net.minecraft

Record Class class_10582

java.lang.Object
java.lang.Record
net.minecraft.class_10582
Record Components:
byEquipment -

public record class_10582(Map<EquipmentSlot,Float> byEquipment) extends Record
Mappings:
Namespace Name
named net/minecraft/class_10582
intermediary net/minecraft/class_10582
official buy
named byEquipment
intermediary comp_3477
official f
  • Field Details

    • byEquipment

      private final Map<EquipmentSlot,Float> byEquipment
      The field for the byEquipment record component.
    • field_55655

      public static final float field_55655
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_55655 Lnet/minecraft/class_10582;field_55655:F
      intermediary field_55655 Lnet/minecraft/class_10582;field_55655:F
      official a Lbuy;a:F
    • field_55656

      public static final float field_55656
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_55656 Lnet/minecraft/class_10582;field_55656:F
      intermediary field_55656 Lnet/minecraft/class_10582;field_55656:F
      official b Lbuy;b:F
    • field_55657

      public static final int field_55657
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_55657 Lnet/minecraft/class_10582;field_55657:I
      intermediary field_55657 Lnet/minecraft/class_10582;field_55657:I
      official c Lbuy;c:I
    • field_55658

      public static final class_10582 field_55658
      Mappings:
      Namespace Name Mixin selector
      named field_55658 Lnet/minecraft/class_10582;field_55658:Lnet/minecraft/class_10582;
      intermediary field_55658 Lnet/minecraft/class_10582;field_55658:Lnet/minecraft/class_10582;
      official d Lbuy;d:Lbuy;
    • field_55659

      public static final com.mojang.serialization.Codec<class_10582> field_55659
      Mappings:
      Namespace Name Mixin selector
      named field_55659 Lnet/minecraft/class_10582;field_55659:Lcom/mojang/serialization/Codec;
      intermediary field_55659 Lnet/minecraft/class_10582;field_55659:Lcom/mojang/serialization/Codec;
      official e Lbuy;e:Lcom/mojang/serialization/Codec;
  • Constructor Details

  • Method Details

    • method_66238

      private static Map<EquipmentSlot,Float> method_66238(Map<EquipmentSlot,Float> map)
      Mappings:
      Namespace Name Mixin selector
      named method_66238 Lnet/minecraft/class_10582;method_66238(Ljava/util/Map;)Ljava/util/Map;
      intermediary method_66238 Lnet/minecraft/class_10582;method_66238(Ljava/util/Map;)Ljava/util/Map;
      official a Lbuy;a(Ljava/util/Map;)Ljava/util/Map;
    • method_66241

      private static Map<EquipmentSlot,Float> method_66241(Map<EquipmentSlot,Float> map)
      Mappings:
      Namespace Name Mixin selector
      named method_66241 Lnet/minecraft/class_10582;method_66241(Ljava/util/Map;)Ljava/util/Map;
      intermediary method_66241 Lnet/minecraft/class_10582;method_66241(Ljava/util/Map;)Ljava/util/Map;
      official b Lbuy;b(Ljava/util/Map;)Ljava/util/Map;
    • method_66234

      public class_10582 method_66234(EquipmentSlot equipmentSlot)
      Mappings:
      Namespace Name Mixin selector
      named method_66234 Lnet/minecraft/class_10582;method_66234(Lnet/minecraft/entity/EquipmentSlot;)Lnet/minecraft/class_10582;
      intermediary method_66234 Lnet/minecraft/class_10582;method_66234(Lnet/minecraft/class_1304;)Lnet/minecraft/class_10582;
      official a Lbuy;a(Lbvj;)Lbuy;
    • method_66235

      public class_10582 method_66235(EquipmentSlot equipmentSlot, float float2)
      Mappings:
      Namespace Name Mixin selector
      named method_66235 Lnet/minecraft/class_10582;method_66235(Lnet/minecraft/entity/EquipmentSlot;F)Lnet/minecraft/class_10582;
      intermediary method_66235 Lnet/minecraft/class_10582;method_66235(Lnet/minecraft/class_1304;F)Lnet/minecraft/class_10582;
      official a Lbuy;a(Lbvj;F)Lbuy;
    • method_66240

      public float method_66240(EquipmentSlot equipmentSlot)
      Mappings:
      Namespace Name Mixin selector
      named method_66240 Lnet/minecraft/class_10582;method_66240(Lnet/minecraft/entity/EquipmentSlot;)F
      intermediary method_66240 Lnet/minecraft/class_10582;method_66240(Lnet/minecraft/class_1304;)F
      official b Lbuy;b(Lbvj;)F
    • method_66242

      public boolean method_66242(EquipmentSlot equipmentSlot)
      Mappings:
      Namespace Name Mixin selector
      named method_66242 Lnet/minecraft/class_10582;method_66242(Lnet/minecraft/entity/EquipmentSlot;)Z
      intermediary method_66242 Lnet/minecraft/class_10582;method_66242(Lnet/minecraft/class_1304;)Z
      official c Lbuy;c(Lbvj;)Z
    • 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.
    • byEquipment

      public Map<EquipmentSlot,Float> byEquipment()
      Returns the value of the byEquipment record component.
      Returns:
      the value of the byEquipment record component