Package net.minecraft

Record Class class_10712

java.lang.Object
java.lang.Record
net.minecraft.class_10712
Record Components:
hideTooltip -
hiddenComponents -

public record class_10712(boolean hideTooltip, SequencedSet<ComponentType<?>> hiddenComponents) extends Record
Mappings:
Namespace Name
named net/minecraft/class_10712
intermediary net/minecraft/class_10712
official dbw
named hideTooltip
intermediary comp_3600
official d
named hiddenComponents
intermediary comp_3601
official e
  • Field Details

    • hideTooltip

      private final boolean hideTooltip
      The field for the hideTooltip record component.
    • hiddenComponents

      private final SequencedSet<ComponentType<?>> hiddenComponents
      The field for the hiddenComponents record component.
    • field_56319

      private static final com.mojang.serialization.Codec<SequencedSet<ComponentType<?>>> field_56319
      Mappings:
      Namespace Name Mixin selector
      named field_56319 Lnet/minecraft/class_10712;field_56319:Lcom/mojang/serialization/Codec;
      intermediary field_56319 Lnet/minecraft/class_10712;field_56319:Lcom/mojang/serialization/Codec;
      official f Ldbw;f:Lcom/mojang/serialization/Codec;
    • field_56316

      public static final com.mojang.serialization.Codec<class_10712> field_56316
      Mappings:
      Namespace Name Mixin selector
      named field_56316 Lnet/minecraft/class_10712;field_56316:Lcom/mojang/serialization/Codec;
      intermediary field_56316 Lnet/minecraft/class_10712;field_56316:Lcom/mojang/serialization/Codec;
      official a Ldbw;a:Lcom/mojang/serialization/Codec;
    • field_56317

      public static final PacketCodec<RegistryByteBuf,class_10712> field_56317
      Mappings:
      Namespace Name Mixin selector
      named field_56317 Lnet/minecraft/class_10712;field_56317:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_56317 Lnet/minecraft/class_10712;field_56317:Lnet/minecraft/class_9139;
      official b Ldbw;b:Lyu;
    • field_56318

      public static final class_10712 field_56318
      Mappings:
      Namespace Name Mixin selector
      named field_56318 Lnet/minecraft/class_10712;field_56318:Lnet/minecraft/class_10712;
      intermediary field_56318 Lnet/minecraft/class_10712;field_56318:Lnet/minecraft/class_10712;
      official c Ldbw;c:Ldbw;
  • Constructor Details

  • Method Details

    • method_67215

      public class_10712 method_67215(ComponentType<?> componentType, boolean bool)
      Mappings:
      Namespace Name Mixin selector
      named method_67215 Lnet/minecraft/class_10712;method_67215(Lnet/minecraft/component/ComponentType;Z)Lnet/minecraft/class_10712;
      intermediary method_67215 Lnet/minecraft/class_10712;method_67215(Lnet/minecraft/class_9331;Z)Lnet/minecraft/class_10712;
      official a Ldbw;a(Lki;Z)Ldbw;
    • method_67214

      public boolean method_67214(ComponentType<?> componentType)
      Mappings:
      Namespace Name Mixin selector
      named method_67214 Lnet/minecraft/class_10712;method_67214(Lnet/minecraft/component/ComponentType;)Z
      intermediary method_67214 Lnet/minecraft/class_10712;method_67214(Lnet/minecraft/class_9331;)Z
      official a Ldbw;a(Lki;)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. 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.
    • hideTooltip

      public boolean hideTooltip()
      Returns the value of the hideTooltip record component.
      Returns:
      the value of the hideTooltip record component
    • hiddenComponents

      public SequencedSet<ComponentType<?>> hiddenComponents()
      Returns the value of the hiddenComponents record component.
      Returns:
      the value of the hiddenComponents record component