Class AttackEffect
java.lang.Object
com.pixelmonmod.pixelmon.client.particle.ParticleEffect
com.pixelmonmod.pixelmon.client.particle.particles.AttackEffect
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionint
float
int
double
double
double
boolean
float
boolean
int
double
int
net.minecraft.client.Minecraft
double
double
double
double
float
float
double
int
double
double
double
net.minecraft.resources.ResourceLocation
int
double
double
-
Constructor Summary
ConstructorDescriptionAttackEffect
(IAttackEffect effect, double startX, double startY, double startZ, double endX, double endY, double endZ, int accuracy, int hiddenUntil, boolean hiddenIsDisable, double noiseParam, double speed, int startID, int endID) AttackEffect
(IAttackEffect effect, int startEntityID, float[] startPos, int endEntityID, float[] endPos, StandardParticleAnimationData data) -
Method Summary
Modifier and TypeMethodDescriptionboolean
void
init
(ParticleArcanery particle, net.minecraft.world.level.Level world, double x, double y, double z, double vx, double vy, double vz, float size) void
postRender
(ParticleArcanery particle, float partialTicks) void
preRender
(ParticleArcanery particle, float partialTicks) void
render
(com.mojang.blaze3d.vertex.PoseStack matrix, ParticleArcanery particle, com.mojang.blaze3d.vertex.Tesselator tesselator, float partialTicks) setEndPos
(double endX, double endY, double endZ) setEndPos
(float endX, float endY, float endZ) void
setHideTicks
(int hideTicks, boolean hideWhileDisabled) setLifetimeTicks
(int ticks) setNoise
(double noiseParam) setStartPos
(double startX, double startY, double startZ) setStartPos
(float startX, float startY, float startZ) net.minecraft.resources.ResourceLocation
texture()
void
update
(ParticleArcanery particle)
-
Field Details
-
startX
public double startX -
startY
public double startY -
startZ
public double startZ -
endX
public double endX -
endY
public double endY -
endZ
public double endZ -
innaccuracy
public double innaccuracy -
travelledDistance
public double travelledDistance -
totalDistance
public double totalDistance -
maxAge
public int maxAge -
age
public int age -
eol
public boolean eol -
speed
public double speed -
mX
public double mX -
mY
public double mY -
mZ
public double mZ -
type
-
r
public float r -
g
public float g -
b
public float b -
scale
public float scale -
texture
public net.minecraft.resources.ResourceLocation texture -
ticker
public int ticker -
noiseParam
public double noiseParam -
startID
public int startID -
endID
public int endID -
mc
public net.minecraft.client.Minecraft mc -
callback
-
-
Constructor Details
-
AttackEffect
public AttackEffect() -
AttackEffect
public AttackEffect(IAttackEffect effect, int startEntityID, float[] startPos, int endEntityID, float[] endPos, StandardParticleAnimationData data) -
AttackEffect
public AttackEffect(IAttackEffect effect, double startX, double startY, double startZ, double endX, double endY, double endZ, int accuracy, int hiddenUntil, boolean hiddenIsDisable, double noiseParam, double speed, int startID, int endID)
-
-
Method Details
-
setLifetimeTicks
-
setHideTicks
-
setNoise
-
setStartPos
-
setStartPos
-
setEndPos
-
setEndPos
-
setHeading
public void setHeading() -
init
public void init(ParticleArcanery particle, net.minecraft.world.level.Level world, double x, double y, double z, double vx, double vy, double vz, float size) - Specified by:
init
in classParticleEffect
-
update
- Specified by:
update
in classParticleEffect
-
customRenderer
public boolean customRenderer()- Overrides:
customRenderer
in classParticleEffect
-
preRender
- Overrides:
preRender
in classParticleEffect
-
render
public void render(com.mojang.blaze3d.vertex.PoseStack matrix, ParticleArcanery particle, com.mojang.blaze3d.vertex.Tesselator tesselator, float partialTicks) - Overrides:
render
in classParticleEffect
-
postRender
- Overrides:
postRender
in classParticleEffect
-
texture
public net.minecraft.resources.ResourceLocation texture()- Specified by:
texture
in classParticleEffect
-