Package net.minecraft.client.particle
Class OminousSpawningParticle
java.lang.Object
net.minecraft.client.particle.Particle
net.minecraft.client.particle.BillboardParticle
net.minecraft.client.particle.OminousSpawningParticle
- Mappings:
Namespace Name named net/minecraft/client/particle/OminousSpawningParticleintermediary net/minecraft/class_9479official hcj
-
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 intprivate final doubleprivate final doubleprivate final doubleprivate final intFields inherited from class net.minecraft.client.particle.BillboardParticle
alpha, blue, green, lastZRotation, red, scale, sprite, zRotation -
Constructor Summary
ConstructorsConstructorDescriptionOminousSpawningParticle(ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ, int fromColor, int toColor, Sprite sprite) -
Method Summary
Modifier and TypeMethodDescriptionintgetBrightness(float tint) Returns the packed light level this particle should render at.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.BillboardParticle
getMaxU, getMaxV, getMinU, getMinV, getRotator, getSize, 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/OminousSpawningParticle;startX:Dintermediary field_50227Lnet/minecraft/class_9479;field_50227:Dofficial aLhcj;a:D
-
startY
private final double startY- Mappings:
Namespace Name Mixin selector named startYLnet/minecraft/client/particle/OminousSpawningParticle;startY:Dintermediary field_50228Lnet/minecraft/class_9479;field_50228:Dofficial bLhcj;b:D
-
startZ
private final double startZ- Mappings:
Namespace Name Mixin selector named startZLnet/minecraft/client/particle/OminousSpawningParticle;startZ:Dintermediary field_50224Lnet/minecraft/class_9479;field_50224:Dofficial FLhcj;F:D
-
fromColor
private final int fromColor- Mappings:
Namespace Name Mixin selector named fromColorLnet/minecraft/client/particle/OminousSpawningParticle;fromColor:Iintermediary field_50225Lnet/minecraft/class_9479;field_50225:Iofficial GLhcj;G:I
-
toColor
private final int toColor- Mappings:
Namespace Name Mixin selector named toColorLnet/minecraft/client/particle/OminousSpawningParticle;toColor:Iintermediary field_50226Lnet/minecraft/class_9479;field_50226:Iofficial HLhcj;H:I
-
-
Constructor Details
-
OminousSpawningParticle
OminousSpawningParticle(ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ, int fromColor, int toColor, Sprite sprite) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/particle/OminousSpawningParticle;<init>(Lnet/minecraft/client/world/ClientWorld;DDDDDDIILnet/minecraft/client/texture/Sprite;)Vintermediary <init>Lnet/minecraft/class_9479;<init>(Lnet/minecraft/class_638;DDDDDDIILnet/minecraft/class_1058;)Vofficial <init>Lhcj;<init>(Lgzn;DDDDDDIILico;)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
-
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.
-