Package net.minecraft
Record Class class_10712
java.lang.Object
java.lang.Record
net.minecraft.class_10712
- Record Components:
hideTooltip--
public record class_10712(boolean hideTooltip, SequencedSet<ComponentType<?>> hiddenComponents)
extends Record
- Mappings:
Namespace Name named net/minecraft/class_10712intermediary net/minecraft/class_10712official dbwnamed hideTooltipintermediary comp_3600official dnamed hiddenComponentsintermediary comp_3601official e
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<class_10712> static final PacketCodec<RegistryByteBuf, class_10712> static final class_10712private static final com.mojang.serialization.Codec<SequencedSet<ComponentType<?>>> private final SequencedSet<ComponentType<?>> The field for thehiddenComponentsrecord component.private final booleanThe field for thehideTooltiprecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thehiddenComponentsrecord component.booleanReturns the value of thehideTooltiprecord component.booleanmethod_67214(ComponentType<?> componentType) method_67215(ComponentType<?> componentType, boolean bool) final StringtoString()Returns a string representation of this record class.
-
Field Details
-
hideTooltip
private final boolean hideTooltipThe field for thehideTooltiprecord component. -
field_56319
- Mappings:
Namespace Name Mixin selector named field_56319Lnet/minecraft/class_10712;field_56319:Lcom/mojang/serialization/Codec;intermediary field_56319Lnet/minecraft/class_10712;field_56319:Lcom/mojang/serialization/Codec;official fLdbw;f:Lcom/mojang/serialization/Codec;
-
field_56316
- Mappings:
Namespace Name Mixin selector named field_56316Lnet/minecraft/class_10712;field_56316:Lcom/mojang/serialization/Codec;intermediary field_56316Lnet/minecraft/class_10712;field_56316:Lcom/mojang/serialization/Codec;official aLdbw;a:Lcom/mojang/serialization/Codec;
-
field_56317
- Mappings:
Namespace Name Mixin selector named field_56317Lnet/minecraft/class_10712;field_56317:Lnet/minecraft/network/codec/PacketCodec;intermediary field_56317Lnet/minecraft/class_10712;field_56317:Lnet/minecraft/class_9139;official bLdbw;b:Lyu;
-
field_56318
- Mappings:
Namespace Name Mixin selector named field_56318Lnet/minecraft/class_10712;field_56318:Lnet/minecraft/class_10712;intermediary field_56318Lnet/minecraft/class_10712;field_56318:Lnet/minecraft/class_10712;official cLdbw;c:Ldbw;
-
-
Constructor Details
-
class_10712
-
-
Method Details
-
method_67215
- Mappings:
Namespace Name Mixin selector named method_67215Lnet/minecraft/class_10712;method_67215(Lnet/minecraft/component/ComponentType;Z)Lnet/minecraft/class_10712;intermediary method_67215Lnet/minecraft/class_10712;method_67215(Lnet/minecraft/class_9331;Z)Lnet/minecraft/class_10712;official aLdbw;a(Lki;Z)Ldbw;
-
method_67214
- Mappings:
Namespace Name Mixin selector named method_67214Lnet/minecraft/class_10712;method_67214(Lnet/minecraft/component/ComponentType;)Zintermediary method_67214Lnet/minecraft/class_10712;method_67214(Lnet/minecraft/class_9331;)Zofficial aLdbw;a(Lki;)Z
-
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. -
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. -
equals
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 withObjects::equals(Object,Object); primitive components are compared with '=='. -
hideTooltip
public boolean hideTooltip()Returns the value of thehideTooltiprecord component.- Returns:
- the value of the
hideTooltiprecord component
-