PocketMine
Particle Class Reference
Inheritance diagram for Particle:
Vector3 DestroyBlockParticle FloatingTextParticle GenericParticle MobSpawnParticle AngryVillagerParticle BubbleParticle CriticalParticle DustParticle EnchantmentTableParticle EnchantParticle EntityFlameParticle ExplodeParticle FlameParticle HappyVillagerParticle HeartParticle HugeExplodeParticle InkParticle InstantEnchantParticle ItemBreakParticle LargeExplodeParticle LavaDripParticle LavaParticle PortalParticle RainSplashParticle RedstoneParticle SmokeParticle SplashParticle SporeParticle TerrainParticle WaterDripParticle WaterParticle

Public Member Functions

 encode ()
 
- Public Member Functions inherited from Vector3
 __construct ($x=0, $y=0, $z=0)
 
 getX ()
 
 getY ()
 
 getZ ()
 
 getFloorX ()
 
 getFloorY ()
 
 getFloorZ ()
 
 getRight ()
 
 getUp ()
 
 getForward ()
 
 getSouth ()
 
 getWest ()
 
 add ($x, $y=0, $z=0)
 
 subtract ($x=0, $y=0, $z=0)
 
 multiply ($number)
 
 divide ($number)
 
 ceil ()
 
 floor ()
 
 round ()
 
 abs ()
 
 getSide ($side, $step=1)
 
 distance (Vector3 $pos)
 
 distanceSquared (Vector3 $pos)
 
 maxPlainDistance ($x=0, $z=0)
 
 length ()
 
 lengthSquared ()
 
 normalize ()
 
 dot (Vector3 $v)
 
 cross (Vector3 $v)
 
 equals (Vector3 $v)
 
 getIntermediateWithXValue (Vector3 $v, $x)
 
 getIntermediateWithYValue (Vector3 $v, $y)
 
 getIntermediateWithZValue (Vector3 $v, $z)
 
 setComponents ($x, $y, $z)
 
 __toString ()
 

Data Fields

const TYPE_BUBBLE = 1
 
const TYPE_CRITICAL = 2
 
const TYPE_SMOKE = 3
 
const TYPE_EXPLODE = 4
 
const TYPE_WHITE_SMOKE = 5
 
const TYPE_FLAME = 6
 
const TYPE_LAVA = 7
 
const TYPE_LARGE_SMOKE = 8
 
const TYPE_REDSTONE = 9
 
const TYPE_ITEM_BREAK = 10
 
const TYPE_SNOWBALL_POOF = 11
 
const TYPE_LARGE_EXPLODE = 12
 
const TYPE_HUGE_EXPLODE = 13
 
const TYPE_MOB_FLAME = 14
 
const TYPE_HEART = 15
 
const TYPE_TERRAIN = 16
 
const TYPE_TOWN_AURA = 17
 
const TYPE_PORTAL = 18
 
const TYPE_WATER_SPLASH = 19
 
const TYPE_WATER_WAKE = 20
 
const TYPE_DRIP_WATER = 21
 
const TYPE_DRIP_LAVA = 22
 
const TYPE_DUST = 23
 
const TYPE_MOB_SPELL = 24
 
const TYPE_MOB_SPELL_AMBIENT = 25
 
const TYPE_MOB_SPELL_INSTANTANEOUS = 26
 
const TYPE_INK = 27
 
const TYPE_SLIME = 28
 
const TYPE_RAIN_SPLASH = 29
 
const TYPE_VILLAGER_ANGRY = 30
 
const TYPE_VILLAGER_HAPPY = 31
 
const TYPE_ENCHANTMENT_TABLE = 32
 
- Data Fields inherited from Vector3
const SIDE_DOWN = 0
 
const SIDE_UP = 1
 
const SIDE_NORTH = 2
 
const SIDE_SOUTH = 3
 
const SIDE_WEST = 4
 
const SIDE_EAST = 5
 
 $x
 
 $y
 
 $z
 

Additional Inherited Members

- Static Public Member Functions inherited from Vector3
static getOppositeSide ($side)
 

Member Function Documentation

encode ( )
abstract
Returns
DataPacket|DataPacket[]

The documentation for this class was generated from the following file: