Package net.minecraft.client.particle
Class ItemPickupParticle
java.lang.Object
net.minecraft.client.particle.Particle
net.minecraft.client.particle.ItemPickupParticle
- Mappings:
Namespace Name named net/minecraft/client/particle/ItemPickupParticle
intermediary net/minecraft/class_693
official gax
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.particle.Particle
Particle.DynamicAlpha
-
Field Summary
Modifier and TypeFieldDescriptionprivate final BufferBuilderStorage
private final EntityRenderDispatcher
private static final int
private final Entity
private final Entity
private double
private double
private double
private double
private double
private double
private int
Fields inherited from class net.minecraft.client.particle.Particle
age, alpha, angle, ascending, blue, collidesWithWorld, dead, gravityStrength, green, maxAge, onGround, prevAngle, prevPosX, prevPosY, prevPosZ, random, red, spacingXZ, spacingY, velocityMultiplier, velocityX, velocityY, velocityZ, world, x, y, z
-
Constructor Summary
ModifierConstructorDescriptionItemPickupParticle
(EntityRenderDispatcher dispatcher, BufferBuilderStorage bufferStorage, ClientWorld world, Entity itemEntity, Entity interactingEntity) private
ItemPickupParticle
(EntityRenderDispatcher dispatcher, BufferBuilderStorage bufferStorage, ClientWorld world, Entity itemEntity, Entity interactingEntity, Vec3d velocity) -
Method Summary
Modifier and TypeMethodDescriptionvoid
buildGeometry
(VertexConsumer vertexConsumer, Camera camera, float tickDelta) Renders this particle to the givenVertexConsumer
buffer.private Entity
getType()
Returns the rendering category this particle is rendered under.void
tick()
Called each game tick (20 times per second), and should be used to do core particle logic, such as movement and collision.private void
private void
Methods inherited from class net.minecraft.client.particle.Particle
getBoundingBox, getBrightness, getGroup, getMaxAge, isAlive, markDead, move, move, repositionFromBoundingBox, scale, setAlpha, setBoundingBox, setBoundingBoxSpacing, setColor, setMaxAge, setPos, setVelocity, toString
-
Field Details
-
field_32656
private static final int field_32656- See Also:
- Mappings:
Namespace Name Mixin selector named field_32656
Lnet/minecraft/client/particle/ItemPickupParticle;field_32656:I
intermediary field_32656
Lnet/minecraft/class_693;field_32656:I
official a
Lgax;a:I
-
bufferStorage
- Mappings:
Namespace Name Mixin selector named bufferStorage
Lnet/minecraft/client/particle/ItemPickupParticle;bufferStorage:Lnet/minecraft/client/render/BufferBuilderStorage;
intermediary field_20944
Lnet/minecraft/class_693;field_20944:Lnet/minecraft/class_4599;
official b
Lgax;b:Lgdv;
-
itemEntity
- Mappings:
Namespace Name Mixin selector named itemEntity
Lnet/minecraft/client/particle/ItemPickupParticle;itemEntity:Lnet/minecraft/entity/Entity;
intermediary field_3823
Lnet/minecraft/class_693;field_3823:Lnet/minecraft/class_1297;
official D
Lgax;D:Lbsv;
-
interactingEntity
- Mappings:
Namespace Name Mixin selector named interactingEntity
Lnet/minecraft/client/particle/ItemPickupParticle;interactingEntity:Lnet/minecraft/entity/Entity;
intermediary field_3821
Lnet/minecraft/class_693;field_3821:Lnet/minecraft/class_1297;
official E
Lgax;E:Lbsv;
-
ticksExisted
private int ticksExisted- Mappings:
Namespace Name Mixin selector named ticksExisted
Lnet/minecraft/client/particle/ItemPickupParticle;ticksExisted:I
intermediary field_3826
Lnet/minecraft/class_693;field_3826:I
official F
Lgax;F:I
-
dispatcher
- Mappings:
Namespace Name Mixin selector named dispatcher
Lnet/minecraft/client/particle/ItemPickupParticle;dispatcher:Lnet/minecraft/client/render/entity/EntityRenderDispatcher;
intermediary field_3824
Lnet/minecraft/class_693;field_3824:Lnet/minecraft/class_898;
official G
Lgax;G:Lgiw;
-
targetX
private double targetX- Mappings:
Namespace Name Mixin selector named targetX
Lnet/minecraft/client/particle/ItemPickupParticle;targetX:D
intermediary field_47684
Lnet/minecraft/class_693;field_47684:D
official H
Lgax;H:D
-
targetY
private double targetY- Mappings:
Namespace Name Mixin selector named targetY
Lnet/minecraft/client/particle/ItemPickupParticle;targetY:D
intermediary field_47685
Lnet/minecraft/class_693;field_47685:D
official I
Lgax;I:D
-
targetZ
private double targetZ- Mappings:
Namespace Name Mixin selector named targetZ
Lnet/minecraft/client/particle/ItemPickupParticle;targetZ:D
intermediary field_47686
Lnet/minecraft/class_693;field_47686:D
official J
Lgax;J:D
-
lastTargetX
private double lastTargetX- Mappings:
Namespace Name Mixin selector named lastTargetX
Lnet/minecraft/client/particle/ItemPickupParticle;lastTargetX:D
intermediary field_47687
Lnet/minecraft/class_693;field_47687:D
official K
Lgax;K:D
-
lastTargetY
private double lastTargetY- Mappings:
Namespace Name Mixin selector named lastTargetY
Lnet/minecraft/client/particle/ItemPickupParticle;lastTargetY:D
intermediary field_47688
Lnet/minecraft/class_693;field_47688:D
official L
Lgax;L:D
-
lastTargetZ
private double lastTargetZ- Mappings:
Namespace Name Mixin selector named lastTargetZ
Lnet/minecraft/client/particle/ItemPickupParticle;lastTargetZ:D
intermediary field_47689
Lnet/minecraft/class_693;field_47689:D
official M
Lgax;M:D
-
-
Constructor Details
-
ItemPickupParticle
public ItemPickupParticle(EntityRenderDispatcher dispatcher, BufferBuilderStorage bufferStorage, ClientWorld world, Entity itemEntity, Entity interactingEntity) - Mappings:
Namespace Name Mixin selector 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
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
official <init>
Lgax;<init>(Lgiw;Lgdv;Lfxw;Lbsv;Lbsv;)V
-
ItemPickupParticle
private ItemPickupParticle(EntityRenderDispatcher dispatcher, BufferBuilderStorage bufferStorage, ClientWorld world, Entity itemEntity, Entity interactingEntity, Vec3d velocity) - Mappings:
Namespace Name Mixin selector 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
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
official <init>
Lgax;<init>(Lgiw;Lgdv;Lfxw;Lbsv;Lbsv;Levs;)V
-
-
Method Details
-
getOrCopy
- Mappings:
Namespace Name Mixin selector named getOrCopy
Lnet/minecraft/client/particle/ItemPickupParticle;getOrCopy(Lnet/minecraft/entity/Entity;)Lnet/minecraft/entity/Entity;
intermediary method_29358
Lnet/minecraft/class_693;method_29358(Lnet/minecraft/class_1297;)Lnet/minecraft/class_1297;
official a
Lgax;a(Lbsv;)Lbsv;
-
getType
Returns the rendering category this particle is rendered under.For more information on the properties and types available to each
Particle
, visitParticleTextureSheet
.- Specified by:
getType
in classParticle
- Returns:
- the rendering category this particle is rendered under
- Mappings:
Namespace Name Mixin selector named getType
Lnet/minecraft/client/particle/Particle;getType()Lnet/minecraft/client/particle/ParticleTextureSheet;
intermediary method_18122
Lnet/minecraft/class_703;method_18122()Lnet/minecraft/class_3999;
official b
Lgbd;b()Lgbh;
-
buildGeometry
Renders this particle to the givenVertexConsumer
buffer.- Specified by:
buildGeometry
in classParticle
- Parameters:
vertexConsumer
- the buffer to render tocamera
- the current active gameCamera
tickDelta
- frame tick delta amount- Mappings:
Namespace Name Mixin selector named buildGeometry
Lnet/minecraft/client/particle/Particle;buildGeometry(Lnet/minecraft/client/render/VertexConsumer;Lnet/minecraft/client/render/Camera;F)V
intermediary method_3074
Lnet/minecraft/class_703;method_3074(Lnet/minecraft/class_4588;Lnet/minecraft/class_4184;F)V
official a
Lgbd;a(Lfad;Lfer;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. -
updateTargetPos
private void updateTargetPos()- Mappings:
Namespace Name Mixin selector named updateTargetPos
Lnet/minecraft/client/particle/ItemPickupParticle;updateTargetPos()V
intermediary method_55617
Lnet/minecraft/class_693;method_55617()V
official c
Lgax;c()V
-
updateLastTargetPos
private void updateLastTargetPos()- Mappings:
Namespace Name Mixin selector named updateLastTargetPos
Lnet/minecraft/client/particle/ItemPickupParticle;updateLastTargetPos()V
intermediary method_55618
Lnet/minecraft/class_693;method_55618()V
official d
Lgax;d()V
-