Package net.minecraft.client.particle
Class ItemPickupParticle
java.lang.Object
net.minecraft.client.particle.Particle
net.minecraft.client.particle.ItemPickupParticle
-
Field Summary
Modifier and TypeFieldDescriptionprivate final EntityRenderDispatcher
private final Entity
private int
private static final int
private final RenderBuffers
private final Entity
private double
private double
private double
private double
private double
private double
-
Constructor Summary
ModifierConstructorDescriptionItemPickupParticle
(EntityRenderDispatcher p_107023_, RenderBuffers p_107024_, ClientLevel p_107025_, Entity p_107026_, Entity p_107027_) private
ItemPickupParticle
(EntityRenderDispatcher p_107029_, RenderBuffers p_107030_, ClientLevel p_107031_, Entity p_107032_, Entity p_107033_, Vec3 p_107034_) -
Method Summary
Modifier and TypeMethodDescriptionprivate Entity
getSafeCopy
(Entity p_107037_) void
render
(VertexConsumer p_107039_, Camera p_107040_, float p_107041_) private void
void
tick()
private void
Methods inherited from class net.minecraft.client.particle.Particle
getBoundingBox, getLifetime, getLightColor, getParticleGroup, getPos, isAlive, move, remove, scale, setAlpha, setBoundingBox, setColor, setLifetime, setLocationFromBoundingbox, setParticleSpeed, setPos, setPower, setSize, shouldCull, toString
-
Field Details
-
LIFE_TIME
private static final int LIFE_TIME- See Also:
-
renderBuffers
-
itemEntity
-
target
-
life
private int life -
entityRenderDispatcher
-
targetX
private double targetX -
targetY
private double targetY -
targetZ
private double targetZ -
targetXOld
private double targetXOld -
targetYOld
private double targetYOld -
targetZOld
private double targetZOld
-
-
Constructor Details
-
ItemPickupParticle
public ItemPickupParticle(EntityRenderDispatcher p_107023_, RenderBuffers p_107024_, ClientLevel p_107025_, Entity p_107026_, Entity p_107027_) -
ItemPickupParticle
private ItemPickupParticle(EntityRenderDispatcher p_107029_, RenderBuffers p_107030_, ClientLevel p_107031_, Entity p_107032_, Entity p_107033_, Vec3 p_107034_)
-
-
Method Details