Class ItemPickupParticle

java.lang.Object
net.minecraft.client.particle.Particle
net.minecraft.client.particle.ItemPickupParticle

public class ItemPickupParticle extends Particle
  • Field Details

    • LIFE_TIME

      private static final int LIFE_TIME
      See Also:
    • renderBuffers

      private final RenderBuffers renderBuffers
    • itemEntity

      private final Entity itemEntity
    • target

      private final Entity target
    • life

      private int life
    • entityRenderDispatcher

      private final EntityRenderDispatcher 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

  • Method Details

    • getSafeCopy

      private Entity getSafeCopy(Entity p_107037_)
    • getRenderType

      public ParticleRenderType getRenderType()
      Specified by:
      getRenderType in class Particle
    • render

      public void render(VertexConsumer p_107039_, Camera p_107040_, float p_107041_)
      Specified by:
      render in class Particle
    • tick

      public void tick()
      Overrides:
      tick in class Particle
    • updatePosition

      private void updatePosition()
    • saveOldPosition

      private void saveOldPosition()
    • getRenderBoundingBox

      public AABB getRenderBoundingBox(float partialTicks)
      Description copied from class: Particle
      Returns the bounding box that should be used for particle culling. AABB.INFINITE can be returned for particles that should not be culled.
      Overrides:
      getRenderBoundingBox in class Particle