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 - official - iw- intermediary - net/minecraft/class_7227- named - net/minecraft/particle/SculkChargeParticleEffect- official - c- intermediary - comp_632- named - roll
- 
Nested Class SummaryNested classes/interfaces inherited from interface net.minecraft.particle.ParticleEffectParticleEffect.Factory<T extends ParticleEffect>
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<SculkChargeParticleEffect>static final ParticleEffect.Factory<SculkChargeParticleEffect>private final floatThe field for therollrecord component.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionasString()final booleanIndicates whether some other object is "equal to" this one.getType()final inthashCode()Returns a hash code value for this object.floatroll()Returns the value of therollrecord component.final StringtoString()Returns a string representation of this record class.voidwrite(PacketByteBuf buf) 
- 
Field Details- 
rollprivate final float rollThe field for therollrecord component.
- 
CODEC- Mappings:
- Namespace - Name - Mixin selector - official - a- Liw;a:Lcom/mojang/serialization/Codec;- intermediary - field_38005- Lnet/minecraft/class_7227;field_38005:Lcom/mojang/serialization/Codec;- named - CODEC- Lnet/minecraft/particle/SculkChargeParticleEffect;CODEC:Lcom/mojang/serialization/Codec;
 
- 
FACTORY- Mappings:
- Namespace - Name - Mixin selector - official - b- Liw;b:Lit$a;- intermediary - field_38006- Lnet/minecraft/class_7227;field_38006:Lnet/minecraft/class_2394$class_2395;- named - FACTORY- Lnet/minecraft/particle/SculkChargeParticleEffect;FACTORY:Lnet/minecraft/particle/ParticleEffect$Factory;
 
 
- 
- 
Constructor Details- 
SculkChargeParticleEffectpublic SculkChargeParticleEffect(float float2) 
 
- 
- 
Method Details- 
getType- Specified by:
- getTypein interface- ParticleEffect
- Mappings:
- Namespace - Name - Mixin selector - official - b- Lit;b()Liu;- 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- Specified by:
- writein interface- ParticleEffect
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lit;a(Lsf;)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- Specified by:
- asStringin interface- ParticleEffect
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lit;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;
 
- 
toStringReturns 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.
- 
hashCodepublic 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.
- 
equalsIndicates 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 '=='.
- 
rollpublic float roll()Returns the value of therollrecord component.- Returns:
- the value of the rollrecord component
 
 
-