Class ItemPickupParticle

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

@Environment(CLIENT) public class ItemPickupParticle extends Particle
Mappings:
Namespace Name
official fqp
intermediary net/minecraft/class_693
named net/minecraft/client/particle/ItemPickupParticle
  • Field Details

    • field_32656

      private static final int field_32656
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lfqp;a:I
      intermediary field_32656 Lnet/minecraft/class_693;field_32656:I
      named field_32656 Lnet/minecraft/client/particle/ItemPickupParticle;field_32656:I
    • bufferStorage

      private final BufferBuilderStorage bufferStorage
      Mappings:
      Namespace Name Mixin selector
      official b Lfqp;b:Lftn;
      intermediary field_20944 Lnet/minecraft/class_693;field_20944:Lnet/minecraft/class_4599;
      named bufferStorage Lnet/minecraft/client/particle/ItemPickupParticle;bufferStorage:Lnet/minecraft/client/render/BufferBuilderStorage;
    • itemEntity

      private final Entity itemEntity
      Mappings:
      Namespace Name Mixin selector
      official D Lfqp;D:Lblv;
      intermediary field_3823 Lnet/minecraft/class_693;field_3823:Lnet/minecraft/class_1297;
      named itemEntity Lnet/minecraft/client/particle/ItemPickupParticle;itemEntity:Lnet/minecraft/entity/Entity;
    • interactingEntity

      private final Entity interactingEntity
      Mappings:
      Namespace Name Mixin selector
      official E Lfqp;E:Lblv;
      intermediary field_3821 Lnet/minecraft/class_693;field_3821:Lnet/minecraft/class_1297;
      named interactingEntity Lnet/minecraft/client/particle/ItemPickupParticle;interactingEntity:Lnet/minecraft/entity/Entity;
    • ticksExisted

      private int ticksExisted
      Mappings:
      Namespace Name Mixin selector
      official F Lfqp;F:I
      intermediary field_3826 Lnet/minecraft/class_693;field_3826:I
      named ticksExisted Lnet/minecraft/client/particle/ItemPickupParticle;ticksExisted:I
    • dispatcher

      private final EntityRenderDispatcher dispatcher
      Mappings:
      Namespace Name Mixin selector
      official G Lfqp;G:Lfyl;
      intermediary field_3824 Lnet/minecraft/class_693;field_3824:Lnet/minecraft/class_898;
      named dispatcher Lnet/minecraft/client/particle/ItemPickupParticle;dispatcher:Lnet/minecraft/client/render/entity/EntityRenderDispatcher;
    • targetX

      private double targetX
      Mappings:
      Namespace Name Mixin selector
      official H Lfqp;H:D
      intermediary field_47684 Lnet/minecraft/class_693;field_47684:D
      named targetX Lnet/minecraft/client/particle/ItemPickupParticle;targetX:D
    • targetY

      private double targetY
      Mappings:
      Namespace Name Mixin selector
      official I Lfqp;I:D
      intermediary field_47685 Lnet/minecraft/class_693;field_47685:D
      named targetY Lnet/minecraft/client/particle/ItemPickupParticle;targetY:D
    • targetZ

      private double targetZ
      Mappings:
      Namespace Name Mixin selector
      official J Lfqp;J:D
      intermediary field_47686 Lnet/minecraft/class_693;field_47686:D
      named targetZ Lnet/minecraft/client/particle/ItemPickupParticle;targetZ:D
    • lastTargetX

      private double lastTargetX
      Mappings:
      Namespace Name Mixin selector
      official K Lfqp;K:D
      intermediary field_47687 Lnet/minecraft/class_693;field_47687:D
      named lastTargetX Lnet/minecraft/client/particle/ItemPickupParticle;lastTargetX:D
    • lastTargetY

      private double lastTargetY
      Mappings:
      Namespace Name Mixin selector
      official L Lfqp;L:D
      intermediary field_47688 Lnet/minecraft/class_693;field_47688:D
      named lastTargetY Lnet/minecraft/client/particle/ItemPickupParticle;lastTargetY:D
    • lastTargetZ

      private double lastTargetZ
      Mappings:
      Namespace Name Mixin selector
      official M Lfqp;M:D
      intermediary field_47689 Lnet/minecraft/class_693;field_47689:D
      named lastTargetZ Lnet/minecraft/client/particle/ItemPickupParticle;lastTargetZ:D
  • Constructor Details

    • ItemPickupParticle

      public ItemPickupParticle(EntityRenderDispatcher dispatcher, BufferBuilderStorage bufferStorage, ClientWorld world, Entity itemEntity, Entity interactingEntity)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfqp;<init>(Lfyl;Lftn;Lfns;Lblv;Lblv;)V
      intermediary <init> Lnet/minecraft/class_693;<init>(Lnet/minecraft/class_898;Lnet/minecraft/class_4599;Lnet/minecraft/class_638;Lnet/minecraft/class_1297;Lnet/minecraft/class_1297;)V
      named <init> Lnet/minecraft/client/particle/ItemPickupParticle;<init>(Lnet/minecraft/client/render/entity/EntityRenderDispatcher;Lnet/minecraft/client/render/BufferBuilderStorage;Lnet/minecraft/client/world/ClientWorld;Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/Entity;)V
    • ItemPickupParticle

      private ItemPickupParticle(EntityRenderDispatcher dispatcher, BufferBuilderStorage bufferStorage, ClientWorld world, Entity itemEntity, Entity interactingEntity, Vec3d velocity)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfqp;<init>(Lfyl;Lftn;Lfns;Lblv;Lblv;Lelt;)V
      intermediary <init> Lnet/minecraft/class_693;<init>(Lnet/minecraft/class_898;Lnet/minecraft/class_4599;Lnet/minecraft/class_638;Lnet/minecraft/class_1297;Lnet/minecraft/class_1297;Lnet/minecraft/class_243;)V
      named <init> Lnet/minecraft/client/particle/ItemPickupParticle;<init>(Lnet/minecraft/client/render/entity/EntityRenderDispatcher;Lnet/minecraft/client/render/BufferBuilderStorage;Lnet/minecraft/client/world/ClientWorld;Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/Vec3d;)V
  • Method Details

    • getOrCopy

      private Entity getOrCopy(Entity entity)
      Mappings:
      Namespace Name Mixin selector
      official a Lfqp;a(Lblv;)Lblv;
      intermediary method_29358 Lnet/minecraft/class_693;method_29358(Lnet/minecraft/class_1297;)Lnet/minecraft/class_1297;
      named getOrCopy Lnet/minecraft/client/particle/ItemPickupParticle;getOrCopy(Lnet/minecraft/entity/Entity;)Lnet/minecraft/entity/Entity;
    • getType

      public ParticleTextureSheet getType()
      Returns the rendering category this particle is rendered under.

      For more information on the properties and types available to each Particle, visit ParticleTextureSheet.

      Specified by:
      getType in class Particle
      Returns:
      the rendering category this particle is rendered under
      Mappings:
      Namespace Name Mixin selector
      official b Lfqv;b()Lfqz;
      intermediary method_18122 Lnet/minecraft/class_703;method_18122()Lnet/minecraft/class_3999;
      named getType Lnet/minecraft/client/particle/Particle;getType()Lnet/minecraft/client/particle/ParticleTextureSheet;
    • buildGeometry

      public void buildGeometry(VertexConsumer vertexConsumer, Camera camera, float tickDelta)
      Renders this particle to the given VertexConsumer buffer.
      Specified by:
      buildGeometry in class Particle
      Parameters:
      vertexConsumer - the buffer to render to
      camera - the current active game Camera
      tickDelta - frame tick delta amount
      Mappings:
      Namespace Name Mixin selector
      official a Lfqv;a(Leqf;Leut;F)V
      intermediary method_3074 Lnet/minecraft/class_703;method_3074(Lnet/minecraft/class_4588;Lnet/minecraft/class_4184;F)V
      named buildGeometry Lnet/minecraft/client/particle/Particle;buildGeometry(Lnet/minecraft/client/render/VertexConsumer;Lnet/minecraft/client/render/Camera;F)V
    • tick

      public void tick()
      Called each game tick (20 times per second), and should be used to do core particle logic, such as movement and collision.
      Overrides:
      tick in class Particle
      Mappings:
      Namespace Name Mixin selector
      official a Lfqv;a()V
      intermediary method_3070 Lnet/minecraft/class_703;method_3070()V
      named tick Lnet/minecraft/client/particle/Particle;tick()V
    • updateTargetPos

      private void updateTargetPos()
      Mappings:
      Namespace Name Mixin selector
      official c Lfqp;c()V
      intermediary method_55617 Lnet/minecraft/class_693;method_55617()V
      named updateTargetPos Lnet/minecraft/client/particle/ItemPickupParticle;updateTargetPos()V
    • updateLastTargetPos

      private void updateLastTargetPos()
      Mappings:
      Namespace Name Mixin selector
      official d Lfqp;d()V
      intermediary method_55618 Lnet/minecraft/class_693;method_55618()V
      named updateLastTargetPos Lnet/minecraft/client/particle/ItemPickupParticle;updateLastTargetPos()V