Class AttackTube.TubeData
java.lang.Object
com.pixelmonmod.pixelmon.battles.attacks.animations.AttackAnimationData
com.pixelmonmod.pixelmon.battles.attacks.animations.StandardParticleAnimationData
com.pixelmonmod.pixelmon.battles.attacks.animations.particles.AttackTube.TubeData
- Enclosing class:
- AttackTube
-
Field Summary
Modifier and TypeFieldDescriptionfloat
boolean
float
float
float
int
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) setApexRadius
(float apexRadius) setConical
(boolean conical) setHeight
(float height) setNarrowness
(float narrowness) setRadius
(float radius) setSegments
(int segments) 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 -
height
public float height -
radius
public float radius -
conical
public boolean conical -
narrowness
public float narrowness -
apexRadius
public float apexRadius
-
-
Constructor Details
-
TubeData
public TubeData()
-
-
Method Details
-
writeToByteBuffer
public void writeToByteBuffer(io.netty.buffer.ByteBuf buf) - Overrides:
writeToByteBuffer
in classStandardParticleAnimationData
-
readFromByteBuffer
- Overrides:
readFromByteBuffer
in classStandardParticleAnimationData
-
initFromAttack
- Overrides:
initFromAttack
in classStandardParticleAnimationData
-
getEffectEnum
- Specified by:
getEffectEnum
in classAttackAnimationData
-
setSegments
-
setHeight
-
setRadius
-
setConical
-
setNarrowness
-
setApexRadius
-