Package net.minecraft
Record Class class_9282
java.lang.Object
java.lang.Record
net.minecraft.class_9282
- Record Components:
rgb-showInTooltip-
- All Implemented Interfaces:
class_9299
- Mappings:
Namespace Name official ctwintermediary net/minecraft/class_9282named net/minecraft/class_9282official dintermediary comp_2384named rgbofficial eintermediary comp_2385named showInTooltip
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<class_9282> static final PacketCodec<ByteBuf, class_9282> static final intprivate final intThe field for thergbrecord component.private 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) static intmethod_57470(ItemStack itemStack, int int2) static ItemStackmethod_57471(ItemStack itemStack, List<DyeItem> list) intrgb()Returns the value of thergbrecord component.booleanReturns the value of theshowInTooltiprecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
rgb
private final int rgbThe field for thergbrecord component. -
showInTooltip
private final boolean showInTooltipThe field for theshowInTooltiprecord component. -
field_49312
- Mappings:
Namespace Name Mixin selector official aLctw;a:Lcom/mojang/serialization/Codec;intermediary field_49312Lnet/minecraft/class_9282;field_49312:Lcom/mojang/serialization/Codec;named field_49312Lnet/minecraft/class_9282;field_49312:Lcom/mojang/serialization/Codec;
-
field_49313
- Mappings:
Namespace Name Mixin selector official bLctw;b:Lye;intermediary field_49313Lnet/minecraft/class_9282;field_49313:Lnet/minecraft/class_9139;named field_49313Lnet/minecraft/class_9282;field_49313:Lnet/minecraft/network/codec/PacketCodec;
-
field_49314
public static final int field_49314- See Also:
- Mappings:
Namespace Name Mixin selector official cLctw;c:Iintermediary field_49314Lnet/minecraft/class_9282;field_49314:Inamed field_49314Lnet/minecraft/class_9282;field_49314:I
-
-
Constructor Details
-
class_9282
public class_9282(int int2, boolean bool)
-
-
Method Details
-
method_57470
- Mappings:
Namespace Name Mixin selector official aLctw;a(Lcrj;I)Iintermediary method_57470Lnet/minecraft/class_9282;method_57470(Lnet/minecraft/class_1799;I)Inamed method_57470Lnet/minecraft/class_9282;method_57470(Lnet/minecraft/item/ItemStack;I)I
-
method_57471
- Mappings:
Namespace Name Mixin selector official aLctw;a(Lcrj;Ljava/util/List;)Lcrj;intermediary method_57471Lnet/minecraft/class_9282;method_57471(Lnet/minecraft/class_1799;Ljava/util/List;)Lnet/minecraft/class_1799;named method_57471Lnet/minecraft/class_9282;method_57471(Lnet/minecraft/item/ItemStack;Ljava/util/List;)Lnet/minecraft/item/ItemStack;
-
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 '=='. -
rgb
public int rgb()Returns the value of thergbrecord component.- Returns:
- the value of the
rgbrecord component
-
showInTooltip
public boolean showInTooltip()Returns the value of theshowInTooltiprecord component.- Returns:
- the value of the
showInTooltiprecord component
-