Package net.minecraft

Record Class class_9285

java.lang.Object
java.lang.Record
net.minecraft.class_9285
Record Components:
modifiers -
showInTooltip -

public record class_9285(List<class_9285.class_9287> modifiers, boolean showInTooltip) extends Record
Mappings:
Namespace Name
official ctz
intermediary net/minecraft/class_9285
named net/minecraft/class_9285
official e
intermediary comp_2393
named modifiers
official f
intermediary comp_2394
named showInTooltip
  • Field Details

    • modifiers

      private final List<class_9285.class_9287> modifiers
      The field for the modifiers record component.
    • showInTooltip

      private final boolean showInTooltip
      The field for the showInTooltip record component.
    • field_49326

      public static final class_9285 field_49326
      Mappings:
      Namespace Name Mixin selector
      official a Lctz;a:Lctz;
      intermediary field_49326 Lnet/minecraft/class_9285;field_49326:Lnet/minecraft/class_9285;
      named field_49326 Lnet/minecraft/class_9285;field_49326:Lnet/minecraft/class_9285;
    • field_49327

      public static final com.mojang.serialization.Codec<class_9285> field_49327
      Mappings:
      Namespace Name Mixin selector
      official b Lctz;b:Lcom/mojang/serialization/Codec;
      intermediary field_49327 Lnet/minecraft/class_9285;field_49327:Lcom/mojang/serialization/Codec;
      named field_49327 Lnet/minecraft/class_9285;field_49327:Lcom/mojang/serialization/Codec;
    • field_49328

      public static final PacketCodec<RegistryByteBuf,class_9285> field_49328
      Mappings:
      Namespace Name Mixin selector
      official c Lctz;c:Lye;
      intermediary field_49328 Lnet/minecraft/class_9285;field_49328:Lnet/minecraft/class_9139;
      named field_49328 Lnet/minecraft/class_9285;field_49328:Lnet/minecraft/network/codec/PacketCodec;
    • field_49329

      public static final DecimalFormat field_49329
      Mappings:
      Namespace Name Mixin selector
      official d Lctz;d:Ljava/text/DecimalFormat;
      intermediary field_49329 Lnet/minecraft/class_9285;field_49329:Ljava/text/DecimalFormat;
      named field_49329 Lnet/minecraft/class_9285;field_49329:Ljava/text/DecimalFormat;
  • Constructor Details

  • Method Details

    • method_57480

      public static class_9285.class_9286 method_57480()
      Mappings:
      Namespace Name Mixin selector
      official a Lctz;a()Lctz$a;
      intermediary method_57480 Lnet/minecraft/class_9285;method_57480()Lnet/minecraft/class_9285$class_9286;
      named method_57480 Lnet/minecraft/class_9285;method_57480()Lnet/minecraft/class_9285$class_9286;
    • method_57484

      public class_9285 method_57484(RegistryEntry<EntityAttribute> registryEntry, EntityAttributeModifier entityAttributeModifier, class_9274 class_9274)
      Mappings:
      Namespace Name Mixin selector
      official a Lctz;a(Lil;Lbrt;Lbqd;)Lctz;
      intermediary method_57484 Lnet/minecraft/class_9285;method_57484(Lnet/minecraft/class_6880;Lnet/minecraft/class_1322;Lnet/minecraft/class_9274;)Lnet/minecraft/class_9285;
      named method_57484 Lnet/minecraft/class_9285;method_57484(Lnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/entity/attribute/EntityAttributeModifier;Lnet/minecraft/class_9274;)Lnet/minecraft/class_9285;
    • method_57482

      public void method_57482(EquipmentSlot equipmentSlot, BiConsumer<RegistryEntry<EntityAttribute>,EntityAttributeModifier> biConsumer)
      Mappings:
      Namespace Name Mixin selector
      official a Lctz;a(Lbqc;Ljava/util/function/BiConsumer;)V
      intermediary method_57482 Lnet/minecraft/class_9285;method_57482(Lnet/minecraft/class_1304;Ljava/util/function/BiConsumer;)V
      named method_57482 Lnet/minecraft/class_9285;method_57482(Lnet/minecraft/entity/EquipmentSlot;Ljava/util/function/BiConsumer;)V
    • method_57481

      public double method_57481(double double2, EquipmentSlot equipmentSlot)
      Mappings:
      Namespace Name Mixin selector
      official a Lctz;a(DLbqc;)D
      intermediary method_57481 Lnet/minecraft/class_9285;method_57481(DLnet/minecraft/class_1304;)D
      named method_57481 Lnet/minecraft/class_9285;method_57481(DLnet/minecraft/entity/EquipmentSlot;)D
    • 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. 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.
    • modifiers

      public List<class_9285.class_9287> modifiers()
      Returns the value of the modifiers record component.
      Returns:
      the value of the modifiers record component
    • showInTooltip

      public boolean showInTooltip()
      Returns the value of the showInTooltip record component.
      Returns:
      the value of the showInTooltip record component