Package net.minecraft.client.particle
Class SpriteBillboardParticle
java.lang.Object
net.minecraft.client.particle.Particle
net.minecraft.client.particle.BillboardParticle
net.minecraft.client.particle.SpriteBillboardParticle
- Direct Known Subclasses:
- AbstractDustParticle,- AbstractSlowingParticle,- AnimatedParticle,- AscendingParticle,- BlockDustParticle,- BlockFallingDustParticle,- BlockLeakParticle,- BlockMarkerParticle,- BubbleColumnUpParticle,- BubblePopParticle,- CampfireSmokeParticle,- CloudParticle,- ConnectionParticle,- CrackParticle,- CurrentDownParticle,- DamageParticle,- DragonBreathParticle,- EmotionParticle,- ExplosionLargeParticle,- ExplosionSmokeParticle,- FireworksSparkParticle.Flash,- FishingParticle,- GlowParticle,- GustParticle,- LavaEmberParticle,- LeavesParticle,- NoteParticle,- OminousSpawningParticle,- PortalParticle,- RainSplashParticle,- SculkChargeParticle,- SculkChargePopParticle,- ShriekParticle,- SnowflakeParticle,- SpellParticle,- SuspendParticle,- SweepAttackParticle,- TrailParticle,- TrialSpawnerDetectionParticle,- VibrationParticle,- WaterBubbleParticle,- WaterSuspendParticle
A 
BillboardParticle implementation class that renders a Sprite as its camera-facing texture.- Mappings:
- Namespace - Name - named - net/minecraft/client/particle/SpriteBillboardParticle- intermediary - net/minecraft/class_4003- official - gki
- 
Nested Class SummaryNested classes/interfaces inherited from class net.minecraft.client.particle.BillboardParticleBillboardParticle.RotatorNested classes/interfaces inherited from class net.minecraft.client.particle.ParticleParticle.DynamicAlpha
- 
Field SummaryFieldsFields inherited from class net.minecraft.client.particle.BillboardParticlescaleFields inherited from class net.minecraft.client.particle.Particleage, 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 SummaryConstructorsModifierConstructorDescriptionprotectedSpriteBillboardParticle(ClientWorld world, double x, double y, double z) protectedSpriteBillboardParticle(ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected floatgetMaxU()Returns the upper U coordinate of the UV coordinates used to draw this particle.protected floatgetMaxV()Returns the upper V coordinate of the UV coordinates used to draw this particle.protected floatgetMinU()Returns the lower U coordinate of the UV coordinates used to draw this particle.protected floatgetMinV()Returns the lower V coordinate of the UV coordinates used to draw this particle.voidsetSprite(SpriteProvider spriteProvider) Sets the currentSpriteof this particle to a random frame in its atlas sheet.protected voidSets the currentSpriteof this particle.voidsetSpriteForAge(SpriteProvider spriteProvider) Sets the currentSpriteof this particle based on the age of the particle, assuming the particle texture is an atlas with multiple frames.Methods inherited from class net.minecraft.client.particle.BillboardParticlegetRotator, getSize, method_60373, method_60374, render, scaleMethods inherited from class net.minecraft.client.particle.ParticlegetBoundingBox, getBrightness, getGroup, getMaxAge, getType, isAlive, markDead, move, move, renderCustom, repositionFromBoundingBox, setAlpha, setBoundingBox, setBoundingBoxSpacing, setColor, setMaxAge, setPos, setVelocity, tick, toString
- 
Field Details- 
sprite- Mappings:
- Namespace - Name - Mixin selector - named - sprite- Lnet/minecraft/client/particle/SpriteBillboardParticle;sprite:Lnet/minecraft/client/texture/Sprite;- intermediary - field_17886- Lnet/minecraft/class_4003;field_17886:Lnet/minecraft/class_1058;- official - E- Lgki;E:Lhet;
 
 
- 
- 
Constructor Details- 
SpriteBillboardParticle- Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/client/particle/Particle;<init>(Lnet/minecraft/client/world/ClientWorld;DDD)V- intermediary - <init>- Lnet/minecraft/class_703;<init>(Lnet/minecraft/class_638;DDD)V- official - <init>- Lgji;<init>(Lgga;DDD)V
 
- 
SpriteBillboardParticleprotected SpriteBillboardParticle(ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ) - Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/client/particle/Particle;<init>(Lnet/minecraft/client/world/ClientWorld;DDDDDD)V- intermediary - <init>- Lnet/minecraft/class_703;<init>(Lnet/minecraft/class_638;DDDDDD)V- official - <init>- Lgji;<init>(Lgga;DDDDDD)V
 
 
- 
- 
Method Details- 
setSpriteSets the currentSpriteof this particle.To assign a Spritebased on particle age, seesetSpriteForAge(net.minecraft.client.particle.SpriteProvider).- Parameters:
- sprite- the new- Spriteto assign to this- Particle
- Mappings:
- Namespace - Name - Mixin selector - named - setSprite- Lnet/minecraft/client/particle/SpriteBillboardParticle;setSprite(Lnet/minecraft/client/texture/Sprite;)V- intermediary - method_18141- Lnet/minecraft/class_4003;method_18141(Lnet/minecraft/class_1058;)V- official - a- Lgki;a(Lhet;)V
 
- 
getMinUprotected float getMinU()Returns the lower U coordinate of the UV coordinates used to draw this particle.- Specified by:
- getMinUin class- BillboardParticle
- Returns:
- the lower U coordinate of the UV coordinates used to draw this particle
- Mappings:
- Namespace - Name - Mixin selector - named - getMinU- Lnet/minecraft/client/particle/BillboardParticle;getMinU()F- intermediary - method_18133- Lnet/minecraft/class_3940;method_18133()F- official - c- Lgjv;c()F
 
- 
getMaxUprotected float getMaxU()Returns the upper U coordinate of the UV coordinates used to draw this particle.- Specified by:
- getMaxUin class- BillboardParticle
- Returns:
- the upper U coordinate of the UV coordinates used to draw this particle
- Mappings:
- Namespace - Name - Mixin selector - named - getMaxU- Lnet/minecraft/client/particle/BillboardParticle;getMaxU()F- intermediary - method_18134- Lnet/minecraft/class_3940;method_18134()F- official - d- Lgjv;d()F
 
- 
getMinVprotected float getMinV()Returns the lower V coordinate of the UV coordinates used to draw this particle.- Specified by:
- getMinVin class- BillboardParticle
- Returns:
- the lower V coordinate of the UV coordinates used to draw this particle
- Mappings:
- Namespace - Name - Mixin selector - named - getMinV- Lnet/minecraft/client/particle/BillboardParticle;getMinV()F- intermediary - method_18135- Lnet/minecraft/class_3940;method_18135()F- official - e- Lgjv;e()F
 
- 
getMaxVprotected float getMaxV()Returns the upper V coordinate of the UV coordinates used to draw this particle.- Specified by:
- getMaxVin class- BillboardParticle
- Returns:
- the upper V coordinate of the UV coordinates used to draw this particle
- Mappings:
- Namespace - Name - Mixin selector - named - getMaxV- Lnet/minecraft/client/particle/BillboardParticle;getMaxV()F- intermediary - method_18136- Lnet/minecraft/class_3940;method_18136()F- official - f- Lgjv;f()F
 
- 
setSpriteSets the currentSpriteof this particle to a random frame in its atlas sheet.- Parameters:
- spriteProvider- sprite access for retrieving random- Spriteframes
- Mappings:
- Namespace - Name - Mixin selector - named - setSprite- Lnet/minecraft/client/particle/SpriteBillboardParticle;setSprite(Lnet/minecraft/client/particle/SpriteProvider;)V- intermediary - method_18140- Lnet/minecraft/class_4003;method_18140(Lnet/minecraft/class_4002;)V- official - a- Lgki;a(Lgkd;)V
 
- 
setSpriteForAgeSets the currentSpriteof this particle based on the age of the particle, assuming the particle texture is an atlas with multiple frames.- Parameters:
- spriteProvider- sprite access for retrieving the proper- Spritebased on lifetime progress
- Mappings:
- Namespace - Name - Mixin selector - named - setSpriteForAge- Lnet/minecraft/client/particle/SpriteBillboardParticle;setSpriteForAge(Lnet/minecraft/client/particle/SpriteProvider;)V- intermediary - method_18142- Lnet/minecraft/class_4003;method_18142(Lnet/minecraft/class_4002;)V- official - b- Lgki;b(Lgkd;)V
 
 
-