Class OminousSpawningParticle


@Environment(CLIENT) public class OminousSpawningParticle extends BillboardParticle
Mappings:
Namespace Name
named net/minecraft/client/particle/OminousSpawningParticle
intermediary net/minecraft/class_9479
official hcj
  • Field Details

    • startX

      private final double startX
      Mappings:
      Namespace Name Mixin selector
      named startX Lnet/minecraft/client/particle/OminousSpawningParticle;startX:D
      intermediary field_50227 Lnet/minecraft/class_9479;field_50227:D
      official a Lhcj;a:D
    • startY

      private final double startY
      Mappings:
      Namespace Name Mixin selector
      named startY Lnet/minecraft/client/particle/OminousSpawningParticle;startY:D
      intermediary field_50228 Lnet/minecraft/class_9479;field_50228:D
      official b Lhcj;b:D
    • startZ

      private final double startZ
      Mappings:
      Namespace Name Mixin selector
      named startZ Lnet/minecraft/client/particle/OminousSpawningParticle;startZ:D
      intermediary field_50224 Lnet/minecraft/class_9479;field_50224:D
      official F Lhcj;F:D
    • fromColor

      private final int fromColor
      Mappings:
      Namespace Name Mixin selector
      named fromColor Lnet/minecraft/client/particle/OminousSpawningParticle;fromColor:I
      intermediary field_50225 Lnet/minecraft/class_9479;field_50225:I
      official G Lhcj;G:I
    • toColor

      private final int toColor
      Mappings:
      Namespace Name Mixin selector
      named toColor Lnet/minecraft/client/particle/OminousSpawningParticle;toColor:I
      intermediary field_50226 Lnet/minecraft/class_9479;field_50226:I
      official H Lhcj;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;)V
      intermediary <init> Lnet/minecraft/class_9479;<init>(Lnet/minecraft/class_638;DDDDDDIILnet/minecraft/class_1058;)V
      official <init> Lhcj;<init>(Lgzn;DDDDDDIILico;)V
  • Method Details

    • getRenderType

      public BillboardParticle.RenderType getRenderType()
      Specified by:
      getRenderType in class BillboardParticle
      Mappings:
      Namespace Name Mixin selector
      named getRenderType Lnet/minecraft/client/particle/BillboardParticle;getRenderType()Lnet/minecraft/client/particle/BillboardParticle$RenderType;
      intermediary method_74255 Lnet/minecraft/class_3940;method_74255()Lnet/minecraft/class_3940$class_11941;
      official b Lhdo;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:
      move in 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 Lhcy;a(DDD)V
    • getBrightness

      public int getBrightness(float tint)
      Returns the packed light level this particle should render at.
      Overrides:
      getBrightness in 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 Lhcy;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.
      Overrides:
      tick in class Particle
      Mappings:
      Namespace Name Mixin selector
      named tick Lnet/minecraft/client/particle/Particle;tick()V
      intermediary method_3070 Lnet/minecraft/class_703;method_3070()V
      official a Lhcy;a()V