@Environment(value=CLIENT) public class ItemPickupParticle extends Particle
Modifier and Type | Field and Description |
---|---|
private BufferBuilderStorage |
bufferStorage |
private EntityRenderDispatcher |
dispatcher |
private Entity |
interactingEntity |
private Entity |
itemEntity |
private int |
ticksExisted |
age, angle, collidesWithWorld, colorAlpha, colorBlue, colorGreen, colorRed, dead, gravityStrength, maxAge, onGround, prevAngle, prevPosX, prevPosY, prevPosZ, random, spacingXZ, spacingY, velocityX, velocityY, velocityZ, world, x, y, z
Modifier | Constructor and Description |
---|---|
|
ItemPickupParticle(EntityRenderDispatcher dispatcher,
BufferBuilderStorage bufferStorage,
ClientWorld world,
Entity itemEntity,
Entity interactingEntity) |
private |
ItemPickupParticle(EntityRenderDispatcher dispatcher,
BufferBuilderStorage bufferStorage,
ClientWorld world,
Entity entity,
Entity interactingEntity,
Vec3d velocity) |
Modifier and Type | Method and Description |
---|---|
void |
buildGeometry(VertexConsumer vertexConsumer,
Camera camera,
float tickDelta) |
ParticleTextureSheet |
getType() |
private Entity |
method_29358(Entity entity) |
void |
tick() |
getBoundingBox, getColorMultiplier, getMaxAge, isAlive, markDead, move, move, repositionFromBoundingBox, scale, setBoundingBox, setBoundingBoxSpacing, setColor, setColorAlpha, setMaxAge, setPos, toString
private final BufferBuilderStorage bufferStorage
private final Entity itemEntity
private final Entity interactingEntity
private int ticksExisted
private final EntityRenderDispatcher dispatcher
public ItemPickupParticle(EntityRenderDispatcher dispatcher, BufferBuilderStorage bufferStorage, ClientWorld world, Entity itemEntity, Entity interactingEntity)
private ItemPickupParticle(EntityRenderDispatcher dispatcher, BufferBuilderStorage bufferStorage, ClientWorld world, Entity entity, Entity interactingEntity, Vec3d velocity)
public ParticleTextureSheet getType()
public void buildGeometry(VertexConsumer vertexConsumer, Camera camera, float tickDelta)
buildGeometry
in class Particle