Package net.minecraft.client.particle
Class ItemPickupParticle
- java.lang.Object
-
- net.minecraft.client.particle.Particle
-
- net.minecraft.client.particle.ItemPickupParticle
-
public class ItemPickupParticle extends Particle
-
-
Field Summary
Fields Modifier and Type Field Description private EntityRendererManager
entityRenderDispatcher
private Entity
itemEntity
private int
life
private RenderTypeBuffers
renderBuffers
private Entity
target
-
Constructor Summary
Constructors Modifier Constructor Description ItemPickupParticle(EntityRendererManager p_i232400_1_, RenderTypeBuffers p_i232400_2_, ClientWorld p_i232400_3_, Entity p_i232400_4_, Entity p_i232400_5_)
private
ItemPickupParticle(EntityRendererManager p_i232401_1_, RenderTypeBuffers p_i232401_2_, ClientWorld p_i232401_3_, Entity p_i232401_4_, Entity p_i232401_5_, Vector3d p_i232401_6_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IParticleRenderType
getRenderType()
private Entity
getSafeCopy(Entity p_239181_1_)
void
render(IVertexBuilder p_225606_1_, ActiveRenderInfo p_225606_2_, float p_225606_3_)
void
tick()
-
Methods inherited from class net.minecraft.client.particle.Particle
getBoundingBox, getLifetime, getLightColor, isAlive, move, remove, scale, setAlpha, setBoundingBox, setColor, setLifetime, setLocationFromBoundingbox, setPos, setPower, setSize, shouldCull, toString
-
-
-
-
Field Detail
-
renderBuffers
private final RenderTypeBuffers renderBuffers
-
itemEntity
private final Entity itemEntity
-
target
private final Entity target
-
life
private int life
-
entityRenderDispatcher
private final EntityRendererManager entityRenderDispatcher
-
-
Constructor Detail
-
ItemPickupParticle
public ItemPickupParticle(EntityRendererManager p_i232400_1_, RenderTypeBuffers p_i232400_2_, ClientWorld p_i232400_3_, Entity p_i232400_4_, Entity p_i232400_5_)
-
ItemPickupParticle
private ItemPickupParticle(EntityRendererManager p_i232401_1_, RenderTypeBuffers p_i232401_2_, ClientWorld p_i232401_3_, Entity p_i232401_4_, Entity p_i232401_5_, Vector3d p_i232401_6_)
-
-
Method Detail
-
getRenderType
public IParticleRenderType getRenderType()
- Specified by:
getRenderType
in classParticle
-
render
public void render(IVertexBuilder p_225606_1_, ActiveRenderInfo p_225606_2_, float p_225606_3_)
-
-