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 ctx
intermediary net/minecraft/class_9283
named net/minecraft/class_9283
official d
intermediary comp_2386
named shape
official e
intermediary comp_2387
named colors
official f
intermediary comp_2388
named fadeColors
official g
intermediary comp_2389
named hasTrail
official h
intermediary comp_2390
named hasTwinkle
  • Field Details

    • shape

      private final class_9283.Type shape
      The field for the shape record component.
    • colors

      private final IntList colors
      The field for the colors record component.
    • fadeColors

      private final IntList fadeColors
      The field for the fadeColors record component.
    • hasTrail

      private final boolean hasTrail
      The field for the hasTrail record component.
    • hasTwinkle

      private final boolean hasTwinkle
      The field for the hasTwinkle record component.
    • field_49315

      public static final class_9283 field_49315
      Mappings:
      Namespace Name Mixin selector
      official a Lctx;a:Lctx;
      intermediary field_49315 Lnet/minecraft/class_9283;field_49315:Lnet/minecraft/class_9283;
      named field_49315 Lnet/minecraft/class_9283;field_49315:Lnet/minecraft/class_9283;
    • field_49318

      private static final com.mojang.serialization.Codec<IntList> field_49318
      Mappings:
      Namespace Name Mixin selector
      official i Lctx;i:Lcom/mojang/serialization/Codec;
      intermediary field_49318 Lnet/minecraft/class_9283;field_49318:Lcom/mojang/serialization/Codec;
      named field_49318 Lnet/minecraft/class_9283;field_49318:Lcom/mojang/serialization/Codec;
    • field_49316

      public static final com.mojang.serialization.Codec<class_9283> field_49316
      Mappings:
      Namespace Name Mixin selector
      official b Lctx;b:Lcom/mojang/serialization/Codec;
      intermediary field_49316 Lnet/minecraft/class_9283;field_49316:Lcom/mojang/serialization/Codec;
      named field_49316 Lnet/minecraft/class_9283;field_49316:Lcom/mojang/serialization/Codec;
    • field_49319

      private static final PacketCodec<ByteBuf,IntList> field_49319
      Mappings:
      Namespace Name Mixin selector
      official j Lctx;j:Lye;
      intermediary field_49319 Lnet/minecraft/class_9283;field_49319:Lnet/minecraft/class_9139;
      named field_49319 Lnet/minecraft/class_9283;field_49319:Lnet/minecraft/network/codec/PacketCodec;
    • field_49317

      public static final PacketCodec<ByteBuf,class_9283> field_49317
      Mappings:
      Namespace Name Mixin selector
      official c Lctx;c:Lye;
      intermediary field_49317 Lnet/minecraft/class_9283;field_49317:Lnet/minecraft/class_9139;
      named field_49317 Lnet/minecraft/class_9283;field_49317:Lnet/minecraft/network/codec/PacketCodec;
    • field_49320

      private static final Text field_49320
      Mappings:
      Namespace Name Mixin selector
      official k Lctx;k:Lwg;
      intermediary field_49320 Lnet/minecraft/class_9283;field_49320:Lnet/minecraft/class_2561;
      named field_49320 Lnet/minecraft/class_9283;field_49320:Lnet/minecraft/text/Text;
  • Constructor Details

  • Method Details

    • method_57409

      public void method_57409(Consumer<Text> consumer, TooltipContext tooltipContext)
      Specified by:
      method_57409 in interface class_9299
      Mappings:
      Namespace Name Mixin selector
      official a Lcuj;a(Ljava/util/function/Consumer;Lcsz;)V
      intermediary method_57409 Lnet/minecraft/class_9299;method_57409(Ljava/util/function/Consumer;Lnet/minecraft/class_1836;)V
      named method_57409 Lnet/minecraft/class_9299;method_57409(Ljava/util/function/Consumer;Lnet/minecraft/client/item/TooltipContext;)V
    • method_57475

      public void method_57475(Consumer<Text> consumer)
      Mappings:
      Namespace Name Mixin selector
      official a Lctx;a(Ljava/util/function/Consumer;)V
      intermediary method_57475 Lnet/minecraft/class_9283;method_57475(Ljava/util/function/Consumer;)V
      named method_57475 Lnet/minecraft/class_9283;method_57475(Ljava/util/function/Consumer;)V
    • method_57477

      public void method_57477(Consumer<Text> consumer)
      Mappings:
      Namespace Name Mixin selector
      official b Lctx;b(Ljava/util/function/Consumer;)V
      intermediary method_57477 Lnet/minecraft/class_9283;method_57477(Ljava/util/function/Consumer;)V
      named method_57477 Lnet/minecraft/class_9283;method_57477(Ljava/util/function/Consumer;)V
    • method_57476

      private static Text method_57476(MutableText mutableText, IntList intList)
      Mappings:
      Namespace Name Mixin selector
      official a Lctx;a(Lwu;Lit/unimi/dsi/fastutil/ints/IntList;)Lwg;
      intermediary method_57476 Lnet/minecraft/class_9283;method_57476(Lnet/minecraft/class_5250;Lit/unimi/dsi/fastutil/ints/IntList;)Lnet/minecraft/class_2561;
      named method_57476 Lnet/minecraft/class_9283;method_57476(Lnet/minecraft/text/MutableText;Lit/unimi/dsi/fastutil/ints/IntList;)Lnet/minecraft/text/Text;
    • method_57472

      private static Text method_57472(int int2)
      Mappings:
      Namespace Name Mixin selector
      official a Lctx;a(I)Lwg;
      intermediary method_57472 Lnet/minecraft/class_9283;method_57472(I)Lnet/minecraft/class_2561;
      named method_57472 Lnet/minecraft/class_9283;method_57472(I)Lnet/minecraft/text/Text;
    • method_57474

      public class_9283 method_57474(IntList intList)
      Mappings:
      Namespace Name Mixin selector
      official a Lctx;a(Lit/unimi/dsi/fastutil/ints/IntList;)Lctx;
      intermediary method_57474 Lnet/minecraft/class_9283;method_57474(Lit/unimi/dsi/fastutil/ints/IntList;)Lnet/minecraft/class_9283;
      named method_57474 Lnet/minecraft/class_9283;method_57474(Lit/unimi/dsi/fastutil/ints/IntList;)Lnet/minecraft/class_9283;
    • 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.
    • shape

      public class_9283.Type shape()
      Returns the value of the shape record component.
      Returns:
      the value of the shape record component
    • colors

      public IntList colors()
      Returns the value of the colors record component.
      Returns:
      the value of the colors record component
    • fadeColors

      public IntList fadeColors()
      Returns the value of the fadeColors record component.
      Returns:
      the value of the fadeColors record component
    • hasTrail

      public boolean hasTrail()
      Returns the value of the hasTrail record component.
      Returns:
      the value of the hasTrail record component
    • hasTwinkle

      public boolean hasTwinkle()
      Returns the value of the hasTwinkle record component.
      Returns:
      the value of the hasTwinkle record component