Package net.minecraft

Record Class class_11749

java.lang.Object
java.lang.Record
net.minecraft.class_11749
Record Components:
particle -
scaling -
speed -

public record class_11749(ParticleEffect particle, float scaling, float speed) extends Record
Mappings:
Namespace Name
named net/minecraft/class_11749
intermediary net/minecraft/class_11749
official ma
named particle
intermediary comp_4620
official c
named scaling
intermediary comp_4621
official d
named speed
intermediary comp_4622
official e
  • Field Details

    • particle

      private final ParticleEffect particle
      The field for the particle record component.
    • scaling

      private final float scaling
      The field for the scaling record component.
    • speed

      private final float speed
      The field for the speed record component.
    • field_62054

      public static final com.mojang.serialization.MapCodec<class_11749> field_62054
      Mappings:
      Namespace Name Mixin selector
      named field_62054 Lnet/minecraft/class_11749;field_62054:Lcom/mojang/serialization/MapCodec;
      intermediary field_62054 Lnet/minecraft/class_11749;field_62054:Lcom/mojang/serialization/MapCodec;
      official a Lma;a:Lcom/mojang/serialization/MapCodec;
    • field_62055

      public static final PacketCodec<RegistryByteBuf,class_11749> field_62055
      Mappings:
      Namespace Name Mixin selector
      named field_62055 Lnet/minecraft/class_11749;field_62055:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_62055 Lnet/minecraft/class_11749;field_62055:Lnet/minecraft/class_9139;
      official b Lma;b:Lzv;
  • Constructor Details

    • class_11749

      public class_11749(ParticleEffect particleEffect, float float2, float float3)
  • Method Details

    • 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.
    • particle

      public ParticleEffect particle()
      Returns the value of the particle record component.
      Returns:
      the value of the particle record component
    • scaling

      public float scaling()
      Returns the value of the scaling record component.
      Returns:
      the value of the scaling record component
    • speed

      public float speed()
      Returns the value of the speed record component.
      Returns:
      the value of the speed record component