Class AttackBeam.BeamData
java.lang.Object
com.pixelmonmod.pixelmon.battles.attacks.animations.AttackAnimationData
com.pixelmonmod.pixelmon.battles.attacks.animations.StandardParticleAnimationData
com.pixelmonmod.pixelmon.battles.attacks.animations.particles.AttackBeam.BeamData
- Enclosing class:
- AttackBeam
-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.battles.attacks.animations.StandardParticleAnimationData
lifetimeTicks, power, rgb, scale, speed, texture
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
initFromAttack
(ImmutableAttack attack, int effectivePower, Element effectiveType) readFromByteBuffer
(io.netty.buffer.ByteBuf buf) setInverted
(boolean inverted) setSegments
(int segments) setVariation
(float variation) 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
-
segments
public int segments -
variation
public float variation -
inverted
public boolean inverted
-
-
Constructor Details
-
BeamData
public BeamData()
-
-
Method Details
-
initFromAttack
- 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
-
setSegments
-
setVariation
-
setInverted
-