Class ParticleBuilder.ParticleData

java.lang.Object
com.binaris.wizardry.api.client.ParticleBuilder.ParticleData
Enclosing class:
ParticleBuilder

public static class ParticleBuilder.ParticleData extends Object
Data class for particle properties to be sent over the network and spawned client-side. In the normal course of events, users of ParticleBuilder will not need to interact with this class directly, as ParticleBuilder handles it internally.
  • Field Details

    • particleType

      public net.minecraft.resources.ResourceLocation particleType
    • x

      public double x
    • y

      public double y
    • z

      public double z
    • vx

      public double vx
    • vy

      public double vy
    • vz

      public double vz
    • r

      public float r
    • g

      public float g
    • b

      public float b
    • fr

      public float fr
    • fg

      public float fg
    • fb

      public float fb
    • lifetime

      public int lifetime
    • scale

      public float scale
    • gravity

      public boolean gravity
    • shaded

      public boolean shaded
    • collide

      public boolean collide
    • radius

      public double radius
    • rpt

      public double rpt
    • yaw

      public float yaw
    • pitch

      public float pitch
    • seed

      public long seed
    • length

      public double length
    • tx

      public double tx
    • ty

      public double ty
    • tz

      public double tz
    • tvx

      public double tvx
    • tvy

      public double tvy
    • tvz

      public double tvz
    • entityId

      public Integer entityId
    • targetId

      public Integer targetId
  • Constructor Details

    • ParticleData

      public ParticleData()
  • Method Details

    • read

      public static ParticleBuilder.ParticleData read(net.minecraft.network.FriendlyByteBuf buf)
    • write

      public void write(net.minecraft.network.FriendlyByteBuf buf)