Package net.minecraft
Record Class class_9283
java.lang.Object
java.lang.Record
net.minecraft.class_9283
- Record Components:
shape-colors-fadeColors-hasTrail-hasTwinkle-
- All Implemented Interfaces:
class_9299
public record class_9283(class_9283.Type shape, IntList colors, IntList fadeColors, boolean hasTrail, boolean hasTwinkle)
extends Record
implements class_9299
- Mappings:
Namespace Name official ctxintermediary net/minecraft/class_9283named net/minecraft/class_9283official dintermediary comp_2386named shapeofficial eintermediary comp_2387named colorsofficial fintermediary comp_2388named fadeColorsofficial gintermediary comp_2389named hasTrailofficial hintermediary comp_2390named hasTwinkle
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final IntListThe field for thecolorsrecord component.private final IntListThe field for thefadeColorsrecord component.static final class_9283static final com.mojang.serialization.Codec<class_9283> static final PacketCodec<ByteBuf, class_9283> private static final com.mojang.serialization.Codec<IntList> private static final PacketCodec<ByteBuf, IntList> private static final Textprivate final booleanThe field for thehasTrailrecord component.private final booleanThe field for thehasTwinklerecord component.private final class_9283.TypeThe field for theshaperecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_9283(class_9283.Type type, IntList intList, IntList intList2, boolean bool, boolean bool2) -
Method Summary
Modifier and TypeMethodDescriptioncolors()Returns the value of thecolorsrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefadeColorsrecord component.final inthashCode()Returns a hash code value for this object.booleanhasTrail()Returns the value of thehasTrailrecord component.booleanReturns the value of thehasTwinklerecord component.voidmethod_57409(Consumer<Text> consumer, TooltipContext tooltipContext) private static Textmethod_57472(int int2) method_57474(IntList intList) voidmethod_57475(Consumer<Text> consumer) private static Textmethod_57476(MutableText mutableText, IntList intList) voidmethod_57477(Consumer<Text> consumer) shape()Returns the value of theshaperecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
shape
The field for theshaperecord component. -
colors
The field for thecolorsrecord component. -
fadeColors
The field for thefadeColorsrecord component. -
hasTrail
private final boolean hasTrailThe field for thehasTrailrecord component. -
hasTwinkle
private final boolean hasTwinkleThe field for thehasTwinklerecord component. -
field_49315
- Mappings:
Namespace Name Mixin selector official aLctx;a:Lctx;intermediary field_49315Lnet/minecraft/class_9283;field_49315:Lnet/minecraft/class_9283;named field_49315Lnet/minecraft/class_9283;field_49315:Lnet/minecraft/class_9283;
-
field_49318
- Mappings:
Namespace Name Mixin selector official iLctx;i:Lcom/mojang/serialization/Codec;intermediary field_49318Lnet/minecraft/class_9283;field_49318:Lcom/mojang/serialization/Codec;named field_49318Lnet/minecraft/class_9283;field_49318:Lcom/mojang/serialization/Codec;
-
field_49316
- Mappings:
Namespace Name Mixin selector official bLctx;b:Lcom/mojang/serialization/Codec;intermediary field_49316Lnet/minecraft/class_9283;field_49316:Lcom/mojang/serialization/Codec;named field_49316Lnet/minecraft/class_9283;field_49316:Lcom/mojang/serialization/Codec;
-
field_49319
- Mappings:
Namespace Name Mixin selector official jLctx;j:Lye;intermediary field_49319Lnet/minecraft/class_9283;field_49319:Lnet/minecraft/class_9139;named field_49319Lnet/minecraft/class_9283;field_49319:Lnet/minecraft/network/codec/PacketCodec;
-
field_49317
- Mappings:
Namespace Name Mixin selector official cLctx;c:Lye;intermediary field_49317Lnet/minecraft/class_9283;field_49317:Lnet/minecraft/class_9139;named field_49317Lnet/minecraft/class_9283;field_49317:Lnet/minecraft/network/codec/PacketCodec;
-
field_49320
- Mappings:
Namespace Name Mixin selector official kLctx;k:Lwg;intermediary field_49320Lnet/minecraft/class_9283;field_49320:Lnet/minecraft/class_2561;named field_49320Lnet/minecraft/class_9283;field_49320:Lnet/minecraft/text/Text;
-
-
Constructor Details
-
class_9283
public class_9283(class_9283.Type type, IntList intList, IntList intList2, boolean bool, boolean bool2)
-
-
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
-
method_57475
- Mappings:
Namespace Name Mixin selector official aLctx;a(Ljava/util/function/Consumer;)Vintermediary method_57475Lnet/minecraft/class_9283;method_57475(Ljava/util/function/Consumer;)Vnamed method_57475Lnet/minecraft/class_9283;method_57475(Ljava/util/function/Consumer;)V
-
method_57477
- Mappings:
Namespace Name Mixin selector official bLctx;b(Ljava/util/function/Consumer;)Vintermediary method_57477Lnet/minecraft/class_9283;method_57477(Ljava/util/function/Consumer;)Vnamed method_57477Lnet/minecraft/class_9283;method_57477(Ljava/util/function/Consumer;)V
-
method_57476
- Mappings:
Namespace Name Mixin selector official aLctx;a(Lwu;Lit/unimi/dsi/fastutil/ints/IntList;)Lwg;intermediary method_57476Lnet/minecraft/class_9283;method_57476(Lnet/minecraft/class_5250;Lit/unimi/dsi/fastutil/ints/IntList;)Lnet/minecraft/class_2561;named method_57476Lnet/minecraft/class_9283;method_57476(Lnet/minecraft/text/MutableText;Lit/unimi/dsi/fastutil/ints/IntList;)Lnet/minecraft/text/Text;
-
method_57472
- Mappings:
Namespace Name Mixin selector official aLctx;a(I)Lwg;intermediary method_57472Lnet/minecraft/class_9283;method_57472(I)Lnet/minecraft/class_2561;named method_57472Lnet/minecraft/class_9283;method_57472(I)Lnet/minecraft/text/Text;
-
method_57474
- Mappings:
Namespace Name Mixin selector official aLctx;a(Lit/unimi/dsi/fastutil/ints/IntList;)Lctx;intermediary method_57474Lnet/minecraft/class_9283;method_57474(Lit/unimi/dsi/fastutil/ints/IntList;)Lnet/minecraft/class_9283;named method_57474Lnet/minecraft/class_9283;method_57474(Lit/unimi/dsi/fastutil/ints/IntList;)Lnet/minecraft/class_9283;
-
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 '=='. -
shape
Returns the value of theshaperecord component.- Returns:
- the value of the
shaperecord component
-
colors
Returns the value of thecolorsrecord component.- Returns:
- the value of the
colorsrecord component
-
fadeColors
Returns the value of thefadeColorsrecord component.- Returns:
- the value of the
fadeColorsrecord component
-
hasTrail
public boolean hasTrail()Returns the value of thehasTrailrecord component.- Returns:
- the value of the
hasTrailrecord component
-
hasTwinkle
public boolean hasTwinkle()Returns the value of thehasTwinklerecord component.- Returns:
- the value of the
hasTwinklerecord component
-