Class GenericParticle

java.lang.Object
org.cloudburstmc.server.level.particle.Particle
org.cloudburstmc.server.level.particle.GenericParticle
Direct Known Subclasses:
AngryVillagerParticle, BlockForceFieldParticle, BubbleParticle, CriticalParticle, DustParticle, EnchantmentTableParticle, EnchantParticle, EntityFlameParticle, ExplodeParticle, FlameParticle, HappyVillagerParticle, HeartParticle, HugeExplodeParticle, HugeExplodeSeedParticle, InkParticle, InstantEnchantParticle, ItemBreakParticle, LavaDripParticle, LavaParticle, PortalParticle, RainSplashParticle, RedstoneParticle, SmokeParticle, SplashParticle, SporeParticle, TerrainParticle, WaterDripParticle, WaterParticle

public class GenericParticle extends Particle
Created on 2015/11/21 by xtypr. Package cn.nukkit.level.particle in project Nukkit .
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected int
     
    protected com.nukkitx.protocol.bedrock.data.LevelEventType
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    GenericParticle​(com.nukkitx.math.vector.Vector3f pos, com.nukkitx.protocol.bedrock.data.LevelEventType type)
     
    GenericParticle​(com.nukkitx.math.vector.Vector3f pos, com.nukkitx.protocol.bedrock.data.LevelEventType type, int data)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.nukkitx.protocol.bedrock.BedrockPacket[]
     

    Methods inherited from class org.cloudburstmc.server.level.particle.Particle

    getPosition, setPosition

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • type

      protected final com.nukkitx.protocol.bedrock.data.LevelEventType type
    • data

      protected final int data
  • Constructor Details

    • GenericParticle

      public GenericParticle(com.nukkitx.math.vector.Vector3f pos, com.nukkitx.protocol.bedrock.data.LevelEventType type)
    • GenericParticle

      public GenericParticle(com.nukkitx.math.vector.Vector3f pos, com.nukkitx.protocol.bedrock.data.LevelEventType type, int data)
  • Method Details

    • encode

      public com.nukkitx.protocol.bedrock.BedrockPacket[] encode()
      Specified by:
      encode in class Particle