Package net.minecraft.client.particle
Class PortalParticle
java.lang.Object
net.minecraft.client.particle.Particle
net.minecraft.client.particle.BillboardParticle
net.minecraft.client.particle.PortalParticle
- Direct Known Subclasses:
ReversePortalParticle
- Mappings:
Namespace Name named net/minecraft/client/particle/PortalParticleintermediary net/minecraft/class_709official hdg
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.minecraft.client.particle.BillboardParticle
BillboardParticle.RenderType, BillboardParticle.RotatorNested classes/interfaces inherited from class net.minecraft.client.particle.Particle
Particle.DynamicAlpha -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final doubleprivate final doubleprivate final doubleFields inherited from class net.minecraft.client.particle.BillboardParticle
alpha, blue, green, lastZRotation, red, scale, sprite, zRotation -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedPortalParticle(ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ, Sprite sprite) -
Method Summary
Modifier and TypeMethodDescriptionintgetBrightness(float tint) Returns the packed light level this particle should render at.floatgetSize(float tickProgress) Returns the draw scale of this particle, which is used while rendering in.invalid reference
#buildGeometryvoidmove(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.BillboardParticle
getMaxU, getMaxV, getMinU, getMinV, getRotator, render, render, renderVertex, scale, setAlpha, setColor, setSprite, textureSheet, toString, updateSpriteMethods inherited from class net.minecraft.client.particle.Particle
getBoundingBox, getGroup, getMaxAge, isAlive, markDead, move, repositionFromBoundingBox, setBoundingBox, setBoundingBoxSpacing, setMaxAge, setPos, setVelocity
-
Field Details
-
startX
private final double startX- Mappings:
Namespace Name Mixin selector named startXLnet/minecraft/client/particle/PortalParticle;startX:Dintermediary field_3886Lnet/minecraft/class_709;field_3886:Dofficial aLhdg;a:D
-
startY
private final double startY- Mappings:
Namespace Name Mixin selector named startYLnet/minecraft/client/particle/PortalParticle;startY:Dintermediary field_3885Lnet/minecraft/class_709;field_3885:Dofficial bLhdg;b:D
-
startZ
private final double startZ- Mappings:
Namespace Name Mixin selector named startZLnet/minecraft/client/particle/PortalParticle;startZ:Dintermediary field_3884Lnet/minecraft/class_709;field_3884:Dofficial FLhdg;F:D
-
-
Constructor Details
-
PortalParticle
protected PortalParticle(ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ, Sprite sprite) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/particle/BillboardParticle;<init>(Lnet/minecraft/client/world/ClientWorld;DDDDDDLnet/minecraft/client/texture/Sprite;)Vintermediary <init>Lnet/minecraft/class_3940;<init>(Lnet/minecraft/class_638;DDDDDDLnet/minecraft/class_1058;)Vofficial <init>Lhdo;<init>(Lgzn;DDDDDDLico;)V
-
-
Method Details
-
getRenderType
- Specified by:
getRenderTypein classBillboardParticle- Mappings:
Namespace Name Mixin selector named getRenderTypeLnet/minecraft/client/particle/BillboardParticle;getRenderType()Lnet/minecraft/client/particle/BillboardParticle$RenderType;intermediary method_74255Lnet/minecraft/class_3940;method_74255()Lnet/minecraft/class_3940$class_11941;official bLhdo;b()Lhdo$b;
-
move
public 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 classParticle- Parameters:
dx- the delta x to move this particle bydy- the delta y to move this particle bydz- the delta z to move this particle by- Mappings:
Namespace Name Mixin selector named moveLnet/minecraft/client/particle/Particle;move(DDD)Vintermediary method_3069Lnet/minecraft/class_703;method_3069(DDD)Vofficial aLhcy;a(DDD)V
-
getSize
public float getSize(float tickProgress) Returns the draw scale of this particle, which is used while rendering in.invalid reference
#buildGeometry- Overrides:
getSizein classBillboardParticle- Returns:
- the draw scale of this particle, which is used while rendering in
invalid reference
#buildGeometry - Mappings:
Namespace Name Mixin selector named getSizeLnet/minecraft/client/particle/BillboardParticle;getSize(F)Fintermediary method_18132Lnet/minecraft/class_3940;method_18132(F)Fofficial bLhdo;b(F)F
-
getBrightness
public int getBrightness(float tint) Returns the packed light level this particle should render at.- Overrides:
getBrightnessin classParticle- Returns:
- the packed light level this particle should render at
- See Also:
- Mappings:
Namespace Name Mixin selector named getBrightnessLnet/minecraft/client/particle/Particle;getBrightness(F)Iintermediary method_3068Lnet/minecraft/class_703;method_3068(F)Iofficial aLhcy;a(F)I
-
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.
-