Package net.minecraft.client.particle
Class PortalParticle
java.lang.Object
net.minecraft.client.particle.Particle
net.minecraft.client.particle.BillboardParticle
net.minecraft.client.particle.SpriteBillboardParticle
net.minecraft.client.particle.PortalParticle
- Direct Known Subclasses:
- ReversePortalParticle
- Mappings:
- Namespace - Name - named - net/minecraft/client/particle/PortalParticle- intermediary - net/minecraft/class_709- official - gjo
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class net.minecraft.client.particle.BillboardParticleBillboardParticle.RotatorNested classes/interfaces inherited from class net.minecraft.client.particle.ParticleParticle.DynamicAlpha
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final doubleprivate final doubleprivate final doubleFields inherited from class net.minecraft.client.particle.SpriteBillboardParticlespriteFields 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 SummaryConstructorsModifierConstructorDescriptionprotectedPortalParticle(ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ) 
- 
Method SummaryModifier and TypeMethodDescriptionintgetBrightness(float tint) Returns the packed light level this particle should render at.floatgetSize(float tickDelta) Returns the draw scale of this particle, which is used while rendering in.invalid reference#buildGeometrygetType()Returns the rendering category this particle is rendered under.voidmove(double dx, double dy, double dz) Moves this particle by the specified delta amounts, re-positioning bounding boxes and adjusting movement for collision with the world.voidtick()Called each game tick (20 times per second), and should be used to do core particle logic, such as movement and collision.Methods inherited from class net.minecraft.client.particle.SpriteBillboardParticlegetMaxU, getMaxV, getMinU, getMinV, setSprite, setSprite, setSpriteForAgeMethods inherited from class net.minecraft.client.particle.BillboardParticlegetRotator, method_60373, method_60374, render, scaleMethods inherited from class net.minecraft.client.particle.ParticlegetBoundingBox, getGroup, getMaxAge, isAlive, markDead, move, renderCustom, repositionFromBoundingBox, setAlpha, setBoundingBox, setBoundingBoxSpacing, setColor, setMaxAge, setPos, setVelocity, toString
- 
Field Details- 
startXprivate final double startX- Mappings:
- Namespace - Name - Mixin selector - named - startX- Lnet/minecraft/client/particle/PortalParticle;startX:D- intermediary - field_3886- Lnet/minecraft/class_709;field_3886:D- official - a- Lgjo;a:D
 
- 
startYprivate final double startY- Mappings:
- Namespace - Name - Mixin selector - named - startY- Lnet/minecraft/client/particle/PortalParticle;startY:D- intermediary - field_3885- Lnet/minecraft/class_709;field_3885:D- official - b- Lgjo;b:D
 
- 
startZprivate final double startZ- Mappings:
- Namespace - Name - Mixin selector - named - startZ- Lnet/minecraft/client/particle/PortalParticle;startZ:D- intermediary - field_3884- Lnet/minecraft/class_709;field_3884:D- official - F- Lgjo;F:D
 
 
- 
- 
Constructor Details- 
PortalParticleprotected PortalParticle(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- 
getTypeReturns the rendering category this particle is rendered under.For more information on the properties and types available to each Particle, visitParticleTextureSheet.- Specified by:
- getTypein class- Particle
- 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- Lgji;b()Lgjm;
 
- 
movepublic void move(double dx, double dy, double dz) Moves this particle by the specified delta amounts, re-positioning bounding boxes and adjusting movement for collision with the world.- Overrides:
- movein class- Particle
- Parameters:
- dx- the delta x to move this particle by
- dy- the delta y to move this particle by
- dz- the delta z to move this particle by
- Mappings:
- Namespace - Name - Mixin selector - named - move- Lnet/minecraft/client/particle/Particle;move(DDD)V- intermediary - method_3069- Lnet/minecraft/class_703;method_3069(DDD)V- official - a- Lgji;a(DDD)V
 
- 
getSizepublic float getSize(float tickDelta) Returns the draw scale of this particle, which is used while rendering in.invalid reference#buildGeometry- Overrides:
- getSizein class- BillboardParticle
- Returns:
- the draw scale of this particle, which is used while rendering in 
invalid reference#buildGeometry
- Mappings:
- Namespace - Name - Mixin selector - named - getSize- Lnet/minecraft/client/particle/BillboardParticle;getSize(F)F- intermediary - method_18132- Lnet/minecraft/class_3940;method_18132(F)F- official - b- Lgjv;b(F)F
 
- 
getBrightnesspublic int getBrightness(float tint) Returns the packed light level this particle should render at.- Overrides:
- getBrightnessin class- Particle
- Returns:
- the packed light level this particle should render at
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - getBrightness- Lnet/minecraft/client/particle/Particle;getBrightness(F)I- intermediary - method_3068- Lnet/minecraft/class_703;method_3068(F)I- official - a- Lgji;a(F)I
 
- 
tickpublic void tick()Called each game tick (20 times per second), and should be used to do core particle logic, such as movement and collision.
 
-