2019-06-28 17:55:20 -04:00
CLASS net/minecraft/class_4003 net/minecraft/client/particle/SpriteBillboardParticle
2022-10-26 04:44:19 -04:00
COMMENT A {@link BillboardParticle} implementation class that renders a {@link Sprite} as its camera-facing texture.
2019-06-28 17:55:20 -04:00
FIELD field_17886 sprite Lnet/minecraft/class_1058;
METHOD method_18140 setSprite (Lnet/minecraft/class_4002;)V
2022-10-26 04:44:19 -04:00
COMMENT Sets the current {@link Sprite} of this particle to a random frame in its atlas sheet.
2019-04-12 10:15:55 -04:00
ARG 1 spriteProvider
2022-10-19 04:53:17 -04:00
COMMENT sprite access for retrieving random {@link Sprite} frames
2019-06-28 17:55:20 -04:00
METHOD method_18141 setSprite (Lnet/minecraft/class_1058;)V
2022-10-26 04:44:19 -04:00
COMMENT Sets the current {@link Sprite} of this particle.
2022-10-19 04:53:17 -04:00
COMMENT
COMMENT <p>
2022-10-26 04:44:19 -04:00
COMMENT To assign a {@link Sprite} based on particle age, see {@link #setSpriteForAge}.
2020-05-02 08:31:02 -04:00
ARG 1 sprite
2022-10-19 04:53:17 -04:00
COMMENT the new {@link Sprite} to assign to this {@link Particle}
2019-06-28 17:55:20 -04:00
METHOD method_18142 setSpriteForAge (Lnet/minecraft/class_4002;)V
2022-10-26 04:44:19 -04:00
COMMENT Sets the current {@link Sprite} of this particle based on the age of the particle, assuming the particle texture is an atlas with multiple frames.
2021-03-10 13:17:14 -05:00
ARG 1 spriteProvider
2022-10-19 04:53:17 -04:00
COMMENT sprite access for retrieving the proper {@link Sprite} based on lifetime progress