Package net.minecraft
Record Class class_9300
java.lang.Object
java.lang.Record
net.minecraft.class_9300
- Record Components:
showInTooltip-
- All Implemented Interfaces:
class_9299
- Mappings:
Namespace Name official cukintermediary net/minecraft/class_9300named net/minecraft/class_9300official cintermediary comp_2417named showInTooltip
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<class_9300> static final PacketCodec<ByteBuf, class_9300> private static final Textprivate final booleanThe field for theshowInTooltiprecord 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.voidmethod_57409(Consumer<Text> consumer, TooltipContext tooltipContext) booleanReturns the value of theshowInTooltiprecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
showInTooltip
private final boolean showInTooltipThe field for theshowInTooltiprecord component. -
field_49366
- Mappings:
Namespace Name Mixin selector official aLcuk;a:Lcom/mojang/serialization/Codec;intermediary field_49366Lnet/minecraft/class_9300;field_49366:Lcom/mojang/serialization/Codec;named field_49366Lnet/minecraft/class_9300;field_49366:Lcom/mojang/serialization/Codec;
-
field_49367
- Mappings:
Namespace Name Mixin selector official bLcuk;b:Lye;intermediary field_49367Lnet/minecraft/class_9300;field_49367:Lnet/minecraft/class_9139;named field_49367Lnet/minecraft/class_9300;field_49367:Lnet/minecraft/network/codec/PacketCodec;
-
field_49368
- Mappings:
Namespace Name Mixin selector official dLcuk;d:Lwg;intermediary field_49368Lnet/minecraft/class_9300;field_49368:Lnet/minecraft/class_2561;named field_49368Lnet/minecraft/class_9300;field_49368:Lnet/minecraft/text/Text;
-
-
Constructor Details
-
class_9300
public class_9300(boolean bool)
-
-
Method Details
-
method_57409
- Specified by:
method_57409in interfaceclass_9299- Mappings:
Namespace Name Mixin selector official aLcuj;a(Ljava/util/function/Consumer;Lcsz;)Vintermediary method_57409Lnet/minecraft/class_9299;method_57409(Ljava/util/function/Consumer;Lnet/minecraft/class_1836;)Vnamed method_57409Lnet/minecraft/class_9299;method_57409(Ljava/util/function/Consumer;Lnet/minecraft/client/item/TooltipContext;)V
-
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. All components in this record class are compared with '=='. -
showInTooltip
public boolean showInTooltip()Returns the value of theshowInTooltiprecord component.- Returns:
- the value of the
showInTooltiprecord component
-