Package net.minecraft

Record Class class_7365

java.lang.Object
java.lang.Record
net.minecraft.class_7365
Record Components:
roll -
All Implemented Interfaces:
ParticleEffect

public record class_7365(float roll) extends Record implements ParticleEffect
Mappings:
Namespace Name
official ie
intermediary net/minecraft/class_7365
named net/minecraft/class_7365
official c
intermediary comp_705
named roll
  • Field Details

    • roll

      private final float roll
      The field for the roll record component.
    • field_38679

      public static final com.mojang.serialization.Codec<class_7365> field_38679
      Mappings:
      Namespace Name Mixin selector
      official a Lie;a:Lcom/mojang/serialization/Codec;
      intermediary field_38679 Lnet/minecraft/class_7365;field_38679:Lcom/mojang/serialization/Codec;
      named field_38679 Lnet/minecraft/class_7365;field_38679:Lcom/mojang/serialization/Codec;
    • field_38680

      public static final ParticleEffect.Factory<class_7365> field_38680
      Mappings:
      Namespace Name Mixin selector
      official b Lie;b:Lib$a;
      intermediary field_38680 Lnet/minecraft/class_7365;field_38680:Lnet/minecraft/class_2394$class_2395;
      named field_38680 Lnet/minecraft/class_7365;field_38680:Lnet/minecraft/particle/ParticleEffect$Factory;
  • Constructor Details

    • class_7365

      public class_7365(float float2)
  • Method Details

    • getType

      public ParticleType<class_7365> getType()
      Specified by:
      getType in interface ParticleEffect
      Mappings:
      Namespace Name Mixin selector
      official b Lib;b()Lic;
      intermediary method_10295 Lnet/minecraft/class_2394;method_10295()Lnet/minecraft/class_2396;
      named getType Lnet/minecraft/particle/ParticleEffect;getType()Lnet/minecraft/particle/ParticleType;
    • write

      public void write(PacketByteBuf buf)
      Specified by:
      write in interface ParticleEffect
      Mappings:
      Namespace Name Mixin selector
      official a Lib;a(Lqa;)V
      intermediary method_10294 Lnet/minecraft/class_2394;method_10294(Lnet/minecraft/class_2540;)V
      named write Lnet/minecraft/particle/ParticleEffect;write(Lnet/minecraft/network/PacketByteBuf;)V
    • asString

      public String asString()
      Specified by:
      asString in interface ParticleEffect
      Mappings:
      Namespace Name Mixin selector
      official a Lib;a()Ljava/lang/String;
      intermediary method_10293 Lnet/minecraft/class_2394;method_10293()Ljava/lang/String;
      named asString Lnet/minecraft/particle/ParticleEffect;asString()Ljava/lang/String;
    • 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. All components in this record class 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.
    • roll

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