LevelEvent

Undocumented in source.

Constructors

this
this()
Undocumented in source.
this
this(int eventId, Tuple!(float, "x", float, "y", float, "z") position, int data)
Undocumented in source.

Members

Functions

decode
void decode()
Undocumented in source. Be warned that the author may not have intended to support it.
encode
ubyte[] encode()
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

fromBuffer
LevelEvent fromBuffer(ubyte[] buffer)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

BLOCK_FORCE_FIELD
enum int BLOCK_FORCE_FIELD;
Undocumented in source.
BUBBLE
enum int BUBBLE;
Undocumented in source.
CARROT
enum int CARROT;
Undocumented in source.
CLIENTBOUND
enum bool CLIENTBOUND;
Undocumented in source.
CRITICAL
enum int CRITICAL;
Undocumented in source.
DESTROY
enum int DESTROY;
Undocumented in source.
DRAGON_BREATH
enum int DRAGON_BREATH;
Undocumented in source.
DRIP_LAVA
enum int DRIP_LAVA;
Undocumented in source.
DRIP_WATER
enum int DRIP_WATER;
Undocumented in source.
ENCHANTMENT_TABLE
enum int ENCHANTMENT_TABLE;
Undocumented in source.
END_ROD
enum int END_ROD;
Undocumented in source.
EVAPORATION
enum int EVAPORATION;
Undocumented in source.
EXPLODE
enum int EXPLODE;
Undocumented in source.
FALLING_DUST
enum int FALLING_DUST;
Undocumented in source.
FIELDS
enum string[] FIELDS;
Undocumented in source.
FLAME
enum int FLAME;
Undocumented in source.
HEART
enum int HEART;
Undocumented in source.
HUGE_EXPLODE
enum int HUGE_EXPLODE;
Undocumented in source.
HUGE_EXPLODE_SEED
enum int HUGE_EXPLODE_SEED;
Undocumented in source.
ID
enum ubyte ID;
Undocumented in source.
INK
enum int INK;
Undocumented in source.
ITEM_BREAK
enum int ITEM_BREAK;
Undocumented in source.
LARGE_SMOKE
enum int LARGE_SMOKE;
Undocumented in source.
LAVA
enum int LAVA;
Undocumented in source.
MOB_FLAME
enum int MOB_FLAME;
Undocumented in source.
MOB_SPELL
enum int MOB_SPELL;
Undocumented in source.
MOB_SPELL_AMBIENT
enum int MOB_SPELL_AMBIENT;
Undocumented in source.
MOB_SPELL_INSTANTANEOUS
enum int MOB_SPELL_INSTANTANEOUS;
Undocumented in source.
NOTE
enum int NOTE;
Undocumented in source.
PLAYERS_SLEEPING
enum int PLAYERS_SLEEPING;
Undocumented in source.
PORTAL
enum int PORTAL;
Undocumented in source.
RAIN_SPLASH
enum int RAIN_SPLASH;
Undocumented in source.
REDSTONE
enum int REDSTONE;
Undocumented in source.
RISING_RED_DUST
enum int RISING_RED_DUST;
Undocumented in source.
SERVERBOUND
enum bool SERVERBOUND;
Undocumented in source.
SET_DATA
enum int SET_DATA;
Undocumented in source.
SHOOT
enum int SHOOT;
Undocumented in source.
SLIME
enum int SLIME;
Undocumented in source.
SMOKE
enum int SMOKE;
Undocumented in source.
SNOWBALL_POOF
enum int SNOWBALL_POOF;
Undocumented in source.
START_RAIN
enum int START_RAIN;
Undocumented in source.
START_THUNDER
enum int START_THUNDER;
Undocumented in source.
STOP_RAIN
enum int STOP_RAIN;
Undocumented in source.
STOP_THUNDER
enum int STOP_THUNDER;
Undocumented in source.
TERRAIN
enum int TERRAIN;
Undocumented in source.
TOWN_AURA
enum int TOWN_AURA;
Undocumented in source.
TRACKING_EMITTER
enum int TRACKING_EMITTER;
Undocumented in source.
VILLAGER_ANGRY
enum int VILLAGER_ANGRY;
Undocumented in source.
VILLAGER_HAPPY
enum int VILLAGER_HAPPY;
Undocumented in source.
WATER_SPLASH
enum int WATER_SPLASH;
Undocumented in source.
WATER_WAKE
enum int WATER_WAKE;
Undocumented in source.
WITCH_SPELL
enum int WITCH_SPELL;
Undocumented in source.
data
int data;
Undocumented in source.
eventId
int eventId;
Undocumented in source.
position
Tuple!(float, "x", float, "y", float, "z") position;
Undocumented in source.

Inherited Members

From Buffer

_buffer
ubyte[] _buffer;
Undocumented in source.
_index
size_t _index;
Undocumented in source.
bufferInstance
Buffer bufferInstance [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
writeBytes
void writeBytes(ubyte[] bytes)
Undocumented in source. Be warned that the author may not have intended to support it.
writeString
void writeString(string str)
Undocumented in source. Be warned that the author may not have intended to support it.
readBytes
ubyte[] readBytes(size_t length)
Undocumented in source. Be warned that the author may not have intended to support it.
readString
string readString(size_t length)
Undocumented in source. Be warned that the author may not have intended to support it.
writeBigEndianBool
void writeBigEndianBool(bool a)
Undocumented in source. Be warned that the author may not have intended to support it.
readBigEndianBool
bool readBigEndianBool()
Undocumented in source. Be warned that the author may not have intended to support it.
writeLittleEndianBool
void writeLittleEndianBool(bool a)
Undocumented in source. Be warned that the author may not have intended to support it.
readLittleEndianBool
bool readLittleEndianBool()
Undocumented in source. Be warned that the author may not have intended to support it.
writeBigEndianByte
void writeBigEndianByte(byte a)
Undocumented in source. Be warned that the author may not have intended to support it.
readBigEndianByte
byte readBigEndianByte()
Undocumented in source. Be warned that the author may not have intended to support it.
writeLittleEndianByte
void writeLittleEndianByte(byte a)
Undocumented in source. Be warned that the author may not have intended to support it.
readLittleEndianByte
byte readLittleEndianByte()
Undocumented in source. Be warned that the author may not have intended to support it.
writeBigEndianUbyte
void writeBigEndianUbyte(ubyte a)
Undocumented in source. Be warned that the author may not have intended to support it.
readBigEndianUbyte
ubyte readBigEndianUbyte()
Undocumented in source. Be warned that the author may not have intended to support it.
writeLittleEndianUbyte
void writeLittleEndianUbyte(ubyte a)
Undocumented in source. Be warned that the author may not have intended to support it.
readLittleEndianUbyte
ubyte readLittleEndianUbyte()
Undocumented in source. Be warned that the author may not have intended to support it.
writeBigEndianShort
void writeBigEndianShort(short a)
Undocumented in source. Be warned that the author may not have intended to support it.
readBigEndianShort
short readBigEndianShort()
Undocumented in source. Be warned that the author may not have intended to support it.
writeLittleEndianShort
void writeLittleEndianShort(short a)
Undocumented in source. Be warned that the author may not have intended to support it.
readLittleEndianShort
short readLittleEndianShort()
Undocumented in source. Be warned that the author may not have intended to support it.
writeBigEndianUshort
void writeBigEndianUshort(ushort a)
Undocumented in source. Be warned that the author may not have intended to support it.
readBigEndianUshort
ushort readBigEndianUshort()
Undocumented in source. Be warned that the author may not have intended to support it.
writeLittleEndianUshort
void writeLittleEndianUshort(ushort a)
Undocumented in source. Be warned that the author may not have intended to support it.
readLittleEndianUshort
ushort readLittleEndianUshort()
Undocumented in source. Be warned that the author may not have intended to support it.
writeBigEndianTriad
void writeBigEndianTriad(int a)
Undocumented in source. Be warned that the author may not have intended to support it.
readBigEndianTriad
int readBigEndianTriad()
Undocumented in source. Be warned that the author may not have intended to support it.
writeLittleEndianTriad
void writeLittleEndianTriad(int a)
Undocumented in source. Be warned that the author may not have intended to support it.
readLittleEndianTriad
int readLittleEndianTriad()
Undocumented in source. Be warned that the author may not have intended to support it.
writeBigEndianInt
void writeBigEndianInt(int a)
Undocumented in source. Be warned that the author may not have intended to support it.
readBigEndianInt
int readBigEndianInt()
Undocumented in source. Be warned that the author may not have intended to support it.
writeLittleEndianInt
void writeLittleEndianInt(int a)
Undocumented in source. Be warned that the author may not have intended to support it.
readLittleEndianInt
int readLittleEndianInt()
Undocumented in source. Be warned that the author may not have intended to support it.
writeBigEndianUint
void writeBigEndianUint(uint a)
Undocumented in source. Be warned that the author may not have intended to support it.
readBigEndianUint
uint readBigEndianUint()
Undocumented in source. Be warned that the author may not have intended to support it.
writeLittleEndianUint
void writeLittleEndianUint(uint a)
Undocumented in source. Be warned that the author may not have intended to support it.
readLittleEndianUint
uint readLittleEndianUint()
Undocumented in source. Be warned that the author may not have intended to support it.
writeBigEndianLong
void writeBigEndianLong(long a)
Undocumented in source. Be warned that the author may not have intended to support it.
readBigEndianLong
long readBigEndianLong()
Undocumented in source. Be warned that the author may not have intended to support it.
writeLittleEndianLong
void writeLittleEndianLong(long a)
Undocumented in source. Be warned that the author may not have intended to support it.
readLittleEndianLong
long readLittleEndianLong()
Undocumented in source. Be warned that the author may not have intended to support it.
writeBigEndianUlong
void writeBigEndianUlong(ulong a)
Undocumented in source. Be warned that the author may not have intended to support it.
readBigEndianUlong
ulong readBigEndianUlong()
Undocumented in source. Be warned that the author may not have intended to support it.
writeLittleEndianUlong
void writeLittleEndianUlong(ulong a)
Undocumented in source. Be warned that the author may not have intended to support it.
readLittleEndianUlong
ulong readLittleEndianUlong()
Undocumented in source. Be warned that the author may not have intended to support it.
writeBigEndianFloat
void writeBigEndianFloat(float a)
Undocumented in source. Be warned that the author may not have intended to support it.
readBigEndianFloat
float readBigEndianFloat()
Undocumented in source. Be warned that the author may not have intended to support it.
writeLittleEndianFloat
void writeLittleEndianFloat(float a)
Undocumented in source. Be warned that the author may not have intended to support it.
readLittleEndianFloat
float readLittleEndianFloat()
Undocumented in source. Be warned that the author may not have intended to support it.
writeBigEndianDouble
void writeBigEndianDouble(double a)
Undocumented in source. Be warned that the author may not have intended to support it.
readBigEndianDouble
double readBigEndianDouble()
Undocumented in source. Be warned that the author may not have intended to support it.
writeLittleEndianDouble
void writeLittleEndianDouble(double a)
Undocumented in source. Be warned that the author may not have intended to support it.
readLittleEndianDouble
double readLittleEndianDouble()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta