Package net.minecraft

Record Class class_9653.class_9654

java.lang.Object
java.lang.Record
net.minecraft.class_9653.class_9654
Record Components:
b -
c -
d -
e -
f -
g -
All Implemented Interfaces:
Predicate<AttributeModifiersComponent.Entry>
Enclosing class:
class_9653

Mappings:
Namespace Name
named net/minecraft/class_9653$class_9654
intermediary net/minecraft/class_9653$class_9654
official cf$a
named b
intermediary comp_2624
official b
named c
intermediary comp_2625
official c
named d
intermediary comp_2626
official d
named e
intermediary comp_2627
official e
named f
intermediary comp_2628
official f
named g
intermediary comp_2629
official g
  • Field Details

  • Constructor Details

  • Method Details

    • test

      public boolean test(AttributeModifiersComponent.Entry entry)
      Specified by:
      test in interface Predicate<AttributeModifiersComponent.Entry>
      Mappings:
      Namespace Name Mixin selector
      named test Lnet/minecraft/class_9653$class_9654;test(Lnet/minecraft/component/type/AttributeModifiersComponent$Entry;)Z
      intermediary method_59671 Lnet/minecraft/class_9653$class_9654;method_59671(Lnet/minecraft/class_9285$class_9287;)Z
      official a Lcf$a;a(Lcxf$b;)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.
    • b

      Returns the value of the b record component.
      Returns:
      the value of the b record component
    • c

      public Optional<UUID> c()
      Returns the value of the c record component.
      Returns:
      the value of the c record component
    • d

      public Optional<String> d()
      Returns the value of the d record component.
      Returns:
      the value of the d record component
    • e

      Returns the value of the e record component.
      Returns:
      the value of the e record component
    • f

      Returns the value of the f record component.
      Returns:
      the value of the f record component
    • g

      Returns the value of the g record component.
      Returns:
      the value of the g record component