Package net.minecraft

Record Class class_10339

java.lang.Object
java.lang.Record
net.minecraft.class_10339
Record Components:
target -
color -
All Implemented Interfaces:
ParticleEffect

public record class_10339(Vec3d target, int color) extends Record implements ParticleEffect
Mappings:
Namespace Name
named net/minecraft/class_10339
intermediary net/minecraft/class_10339
official lx
named target
intermediary comp_3292
official c
named color
intermediary comp_3293
official d
  • Field Details

    • target

      private final Vec3d target
      The field for the target record component.
    • color

      private final int color
      The field for the color record component.
    • field_54871

      public static final com.mojang.serialization.MapCodec<class_10339> field_54871
      Mappings:
      Namespace Name Mixin selector
      named field_54871 Lnet/minecraft/class_10339;field_54871:Lcom/mojang/serialization/MapCodec;
      intermediary field_54871 Lnet/minecraft/class_10339;field_54871:Lcom/mojang/serialization/MapCodec;
      official a Llx;a:Lcom/mojang/serialization/MapCodec;
    • field_54872

      public static final PacketCodec<RegistryByteBuf,class_10339> field_54872
      Mappings:
      Namespace Name Mixin selector
      named field_54872 Lnet/minecraft/class_10339;field_54872:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_54872 Lnet/minecraft/class_10339;field_54872:Lnet/minecraft/class_9139;
      official b Llx;b:Lzt;
  • Constructor Details

    • class_10339

      public class_10339(Vec3d vec3d, int int2)
  • Method Details

    • getType

      public ParticleType<class_10339> getType()
      Specified by:
      getType in interface ParticleEffect
      Mappings:
      Namespace Name Mixin selector
      named getType Lnet/minecraft/particle/ParticleEffect;getType()Lnet/minecraft/particle/ParticleType;
      intermediary method_10295 Lnet/minecraft/class_2394;method_10295()Lnet/minecraft/class_2396;
      official a Llq;a()Llr;
    • 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.
    • target

      public Vec3d target()
      Returns the value of the target record component.
      Returns:
      the value of the target record component
    • color

      public int color()
      Returns the value of the color record component.
      Returns:
      the value of the color record component