Package net.minecraft.particle
Record Class SculkChargeParticleEffect
java.lang.Object
java.lang.Record
net.minecraft.particle.SculkChargeParticleEffect
- Record Components:
roll
-
- All Implemented Interfaces:
ParticleEffect
- Mappings:
Namespace Name named net/minecraft/particle/SculkChargeParticleEffect
intermediary net/minecraft/class_7227
official lu
named roll
intermediary comp_632
official c
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec
<SculkChargeParticleEffect> static final PacketCodec
<RegistryByteBuf, SculkChargeParticleEffect> private final float
The field for theroll
record component. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.getType()
final int
hashCode()
Returns a hash code value for this object.float
roll()
Returns the value of theroll
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
roll
private final float rollThe field for theroll
record component. -
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/particle/SculkChargeParticleEffect;CODEC:Lcom/mojang/serialization/MapCodec;
intermediary field_38005
Lnet/minecraft/class_7227;field_38005:Lcom/mojang/serialization/MapCodec;
official a
Llu;a:Lcom/mojang/serialization/MapCodec;
-
PACKET_CODEC
- Mappings:
Namespace Name Mixin selector named PACKET_CODEC
Lnet/minecraft/particle/SculkChargeParticleEffect;PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;
intermediary field_48458
Lnet/minecraft/class_7227;field_48458:Lnet/minecraft/class_9139;
official b
Llu;b:Lzt;
-
-
Constructor Details
-
SculkChargeParticleEffect
public SculkChargeParticleEffect(float float2)
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceParticleEffect
- 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
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. All components in this record class are compared with '=='. -
roll
public float roll()Returns the value of theroll
record component.- Returns:
- the value of the
roll
record component
-