Class AttackRain.RainData
java.lang.Object
com.pixelmonmod.pixelmon.battles.attacks.animations.AttackAnimationData
com.pixelmonmod.pixelmon.battles.attacks.animations.StandardParticleAnimationData
com.pixelmonmod.pixelmon.battles.attacks.animations.particles.AttackRain.RainData
- Enclosing class:
AttackRain
-
Field Summary
FieldsModifier and TypeFieldDescriptionint
int
float
Fields inherited from class com.pixelmonmod.pixelmon.battles.attacks.animations.StandardParticleAnimationData
lifetimeTicks, power, rgb, scale, speed, texture
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
initFromAttack
(ImmutableAttack immutableAttack, int effectivePower, net.minecraft.core.Holder<Type> effectiveType) readFromByteBuffer
(io.netty.buffer.ByteBuf buf) setDurationTicks
(int durationTicks) setHeightAboveTarget
(int heightAboveTarget) setMaxHorizontalDisplacement
(float maxHorizontalDisplacement) void
writeToByteBuffer
(io.netty.buffer.ByteBuf buf) Methods inherited from class com.pixelmonmod.pixelmon.battles.attacks.animations.StandardParticleAnimationData
makeEffect, setLifetimeTicks, setPower, setRGB, setScale, setSpeed, setTexture
Methods inherited from class com.pixelmonmod.pixelmon.battles.attacks.animations.AttackAnimationData
ball, beam, buff, createSystem, explosion, radial, rain, tube
-
Field Details
-
durationTicks
public int durationTicks -
maxHorizontalDisplacement
public float maxHorizontalDisplacement -
heightAboveTarget
public int heightAboveTarget
-
-
Constructor Details
-
RainData
public RainData()
-
-
Method Details
-
initFromAttack
public void initFromAttack(ImmutableAttack immutableAttack, int effectivePower, net.minecraft.core.Holder<Type> effectiveType) - Overrides:
initFromAttack
in classStandardParticleAnimationData
-
writeToByteBuffer
public void writeToByteBuffer(io.netty.buffer.ByteBuf buf) - Overrides:
writeToByteBuffer
in classStandardParticleAnimationData
-
readFromByteBuffer
- Overrides:
readFromByteBuffer
in classStandardParticleAnimationData
-
getEffectEnum
- Specified by:
getEffectEnum
in classAttackAnimationData
-
setDurationTicks
-
setMaxHorizontalDisplacement
-
setHeightAboveTarget
-