Package cn.nukkit.network.protocol
Class LevelEventPacket
java.lang.Object
cn.nukkit.utils.BinaryStream
cn.nukkit.network.protocol.DataPacket
cn.nukkit.network.protocol.LevelEventPacket
- All Implemented Interfaces:
Cloneable
- Author:
- MagicDroidX (Nukkit Project)
-
Field Summary
Modifier and TypeFieldDescriptionint
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
int
static final byte
float
float
float
Fields inherited from class cn.nukkit.network.protocol.DataPacket
EMPTY_ARRAY, isEncoded, reliability
Fields inherited from class cn.nukkit.utils.BinaryStream
offset
-
Constructor Summary
-
Method Summary
Methods inherited from class cn.nukkit.network.protocol.DataPacket
clean, clone, compress, compress, getChannel, reset, setChannel, tryEncode
Methods inherited from class cn.nukkit.utils.BinaryStream
feof, get, get, getArray, getAttributeList, getBlockFace, getBlockVector3, getBoolean, getBuffer, getByte, getByteArray, getCount, getEntityLink, getEntityRuntimeId, getEntityUniqueId, getFloat, getFloat, getImage, getInt, getLFloat, getLFloat, getLInt, getLLong, getLong, getLShort, getLTriad, getOffset, getRecipeIngredient, getShort, getSignedBlockPosition, getSkin, getSlot, getString, getTag, getTriad, getUnsignedVarInt, getUnsignedVarLong, getUUID, getVarInt, getVarLong, getVector3f, put, putArray, putArray, putAttributeList, putBlockFace, putBlockVector3, putBlockVector3, putBoolean, putByte, putByteArray, putEntityLink, putEntityRuntimeId, putEntityUniqueId, putFloat, putGameRules, putImage, putInt, putLFloat, putLInt, putLLong, putLong, putLShort, putLTriad, putRecipeIngredient, putShort, putSignedBlockPosition, putSkin, putSlot, putSlot, putString, putTag, putTriad, putUnsignedVarInt, putUnsignedVarLong, putUUID, putVarInt, putVarLong, putVector3f, putVector3f, setBuffer, setBuffer, setOffset
-
Field Details
-
NETWORK_ID
public static final byte NETWORK_ID- See Also:
-
EVENT_SOUND_CLICK
public static final int EVENT_SOUND_CLICK- See Also:
-
EVENT_SOUND_CLICK_FAIL
public static final int EVENT_SOUND_CLICK_FAIL- See Also:
-
EVENT_SOUND_SHOOT
public static final int EVENT_SOUND_SHOOT- See Also:
-
EVENT_SOUND_DOOR
public static final int EVENT_SOUND_DOOR- See Also:
-
EVENT_SOUND_FIZZ
public static final int EVENT_SOUND_FIZZ- See Also:
-
EVENT_SOUND_TNT
public static final int EVENT_SOUND_TNT- See Also:
-
EVENT_SOUND_PLAY_RECORDING
public static final int EVENT_SOUND_PLAY_RECORDING- See Also:
-
EVENT_SOUND_GHAST
public static final int EVENT_SOUND_GHAST- See Also:
-
EVENT_SOUND_GHAST_SHOOT
public static final int EVENT_SOUND_GHAST_SHOOT- See Also:
-
EVENT_SOUND_BLAZE_SHOOT
public static final int EVENT_SOUND_BLAZE_SHOOT- See Also:
-
EVENT_SOUND_DOOR_BUMP
public static final int EVENT_SOUND_DOOR_BUMP- See Also:
-
EVENT_SOUND_DOOR_CRASH
public static final int EVENT_SOUND_DOOR_CRASH- See Also:
-
EVENT_SOUND_ZOMBIE_INFECTED
public static final int EVENT_SOUND_ZOMBIE_INFECTED- See Also:
-
EVENT_SOUND_ZOMBIE_CONVERTED
public static final int EVENT_SOUND_ZOMBIE_CONVERTED- See Also:
-
EVENT_SOUND_ENDERMAN_TELEPORT
public static final int EVENT_SOUND_ENDERMAN_TELEPORT- See Also:
-
EVENT_SOUND_ANVIL_BREAK
public static final int EVENT_SOUND_ANVIL_BREAK- See Also:
-
EVENT_SOUND_ANVIL_USE
public static final int EVENT_SOUND_ANVIL_USE- See Also:
-
EVENT_SOUND_ANVIL_FALL
public static final int EVENT_SOUND_ANVIL_FALL- See Also:
-
EVENT_SOUND_ITEM_DROP
public static final int EVENT_SOUND_ITEM_DROP- See Also:
-
EVENT_SOUND_ITEM_THROWN
public static final int EVENT_SOUND_ITEM_THROWN- See Also:
-
EVENT_SOUND_PORTAL
public static final int EVENT_SOUND_PORTAL- See Also:
-
EVENT_SOUND_ITEM_FRAME_ITEM_ADDED
public static final int EVENT_SOUND_ITEM_FRAME_ITEM_ADDED- See Also:
-
EVENT_SOUND_ITEM_FRAME_REMOVED
public static final int EVENT_SOUND_ITEM_FRAME_REMOVED- See Also:
-
EVENT_SOUND_ITEM_FRAME_PLACED
public static final int EVENT_SOUND_ITEM_FRAME_PLACED- See Also:
-
EVENT_SOUND_ITEM_FRAME_ITEM_REMOVED
public static final int EVENT_SOUND_ITEM_FRAME_ITEM_REMOVED- See Also:
-
EVENT_SOUND_ITEM_FRAME_ITEM_ROTATED
public static final int EVENT_SOUND_ITEM_FRAME_ITEM_ROTATED- See Also:
-
EVENT_SOUND_CAMERA_TAKE_PICTURE
public static final int EVENT_SOUND_CAMERA_TAKE_PICTURE- See Also:
-
EVENT_SOUND_EXPERIENCE_ORB
public static final int EVENT_SOUND_EXPERIENCE_ORB- See Also:
-
EVENT_SOUND_TOTEM
public static final int EVENT_SOUND_TOTEM- See Also:
-
EVENT_SOUND_ARMOR_STAND_BREAK
public static final int EVENT_SOUND_ARMOR_STAND_BREAK- See Also:
-
EVENT_SOUND_ARMOR_STAND_HIT
public static final int EVENT_SOUND_ARMOR_STAND_HIT- See Also:
-
EVENT_SOUND_ARMOR_STAND_FALL
public static final int EVENT_SOUND_ARMOR_STAND_FALL- See Also:
-
EVENT_SOUND_ARMOR_STAND_PLACE
public static final int EVENT_SOUND_ARMOR_STAND_PLACE- See Also:
-
EVENT_SOUND_POINTED_DRIPSTONE_LAND
- See Also:
-
EVENT_SOUND_DYE_USED
- See Also:
-
EVENT_SOUND_INK_SACE_USED
- See Also:
-
EVENT_GUARDIAN_CURSE
public static final int EVENT_GUARDIAN_CURSE- See Also:
-
EVENT_PARTICLE_DEATH_SMOKE
public static final int EVENT_PARTICLE_DEATH_SMOKE- See Also:
-
EVENT_PARTICLE_BLOCK_FORCE_FIELD
public static final int EVENT_PARTICLE_BLOCK_FORCE_FIELD- See Also:
-
EVENT_PARTICLE_PROJECTILE_HIT
public static final int EVENT_PARTICLE_PROJECTILE_HIT- See Also:
-
EVENT_PARTICLE_DRAGON_EGG_TELEPORT
public static final int EVENT_PARTICLE_DRAGON_EGG_TELEPORT- See Also:
-
EVENT_PARTICLE_CROP_EATEN
public static final int EVENT_PARTICLE_CROP_EATEN- See Also:
-
EVENT_PARTICLE_CRIT
public static final int EVENT_PARTICLE_CRIT- See Also:
-
EVENT_PARTICLE_ENDERMAN_TELEPORT
public static final int EVENT_PARTICLE_ENDERMAN_TELEPORT- See Also:
-
EVENT_PARTICLE_PUNCH_BLOCK
public static final int EVENT_PARTICLE_PUNCH_BLOCK- See Also:
-
EVENT_PARTICLE_BUBBLES
public static final int EVENT_PARTICLE_BUBBLES- See Also:
-
EVENT_PARTICLE_EVAPORATE
public static final int EVENT_PARTICLE_EVAPORATE- See Also:
-
EVENT_PARTICLE_DESTROY_ARMOR_STAND
public static final int EVENT_PARTICLE_DESTROY_ARMOR_STAND- See Also:
-
EVENT_PARTICLE_BREAKING_EGG
public static final int EVENT_PARTICLE_BREAKING_EGG- See Also:
-
EVENT_PARTICLE_DESTROY_EGG
public static final int EVENT_PARTICLE_DESTROY_EGG- See Also:
-
EVENT_PARTICLE_EVAPORATE_WATER
public static final int EVENT_PARTICLE_EVAPORATE_WATER- See Also:
-
EVENT_PARTICLE_DESTROY_BLOCK_NO_SOUND
public static final int EVENT_PARTICLE_DESTROY_BLOCK_NO_SOUND- See Also:
-
EVENT_PARTICLE_KNOCKBACK_ROAR
public static final int EVENT_PARTICLE_KNOCKBACK_ROAR- See Also:
-
EVENT_PARTICLE_TELEPORT_TRAIL
public static final int EVENT_PARTICLE_TELEPORT_TRAIL- See Also:
-
EVENT_PARTICLE_POINT_CLOUD
public static final int EVENT_PARTICLE_POINT_CLOUD- See Also:
-
EVENT_PARTICLE_EXPLOSION
public static final int EVENT_PARTICLE_EXPLOSION- See Also:
-
EVENT_PARTICLE_BLOCK_EXPLOSION
public static final int EVENT_PARTICLE_BLOCK_EXPLOSION- See Also:
-
EVENT_PARTICLE_VIBRATION_SIGNAL
- See Also:
-
EVENT_PARTICLE_DRIPSTONE_DRIP
- See Also:
-
EVENT_PARTICLE_FIZZ_EFFECT
- See Also:
-
EVENT_PARTICLE_WAX_ON
- See Also:
-
EVENT_PARTICLE_WAX_OFF
- See Also:
-
EVENT_PARTICLE_SCRAPE
- See Also:
-
EVENT_PARTICLE_ELECTRIC_SPARK
- See Also:
-
EVENT_PARTICLE_TURTLE_EGG
public static final int EVENT_PARTICLE_TURTLE_EGG- See Also:
-
EVENT_PARTICLE_SCULK_SHRIEK
public static final int EVENT_PARTICLE_SCULK_SHRIEK- See Also:
-
EVENT_PARTICLE_SCULK_CATALYST_BLOOM
public static final int EVENT_PARTICLE_SCULK_CATALYST_BLOOM- See Also:
-
EVENT_PARTICLE_SCULK_CHARGE
public static final int EVENT_PARTICLE_SCULK_CHARGE- See Also:
-
EVENT_PARTICLE_SCULK_CHARGE_POP
public static final int EVENT_PARTICLE_SCULK_CHARGE_POP- See Also:
-
EVENT_PARTICLE_SONIC_EXPLOSION
public static final int EVENT_PARTICLE_SONIC_EXPLOSION- See Also:
-
EVENT_SOUND_BUTTON_CLICK
public static final int EVENT_SOUND_BUTTON_CLICK- See Also:
-
EVENT_SOUND_EXPLODE
public static final int EVENT_SOUND_EXPLODE- See Also:
-
EVENT_CAULDRON_DYE_ARMOR
public static final int EVENT_CAULDRON_DYE_ARMOR- See Also:
-
EVENT_CAULDRON_CLEAN_ARMOR
public static final int EVENT_CAULDRON_CLEAN_ARMOR- See Also:
-
EVENT_CAULDRON_FILL_POTION
public static final int EVENT_CAULDRON_FILL_POTION- See Also:
-
EVENT_CAULDRON_TAKE_POTION
public static final int EVENT_CAULDRON_TAKE_POTION- See Also:
-
EVENT_SOUND_SPLASH
public static final int EVENT_SOUND_SPLASH- See Also:
-
EVENT_CAULDRON_TAKE_WATER
public static final int EVENT_CAULDRON_TAKE_WATER- See Also:
-
EVENT_CAULDRON_ADD_DYE
public static final int EVENT_CAULDRON_ADD_DYE- See Also:
-
EVENT_CAULDRON_CLEAN_BANNER
public static final int EVENT_CAULDRON_CLEAN_BANNER- See Also:
-
EVENT_CAULDRON_FLUSH
public static final int EVENT_CAULDRON_FLUSH- See Also:
-
EVENT_AGENT_SPAWN_EFFECT
public static final int EVENT_AGENT_SPAWN_EFFECT- See Also:
-
EVENT_CAULDRON_FILL_LAVA
public static final int EVENT_CAULDRON_FILL_LAVA- See Also:
-
EVENT_CAULDRON_TAKE_LAVA
public static final int EVENT_CAULDRON_TAKE_LAVA- See Also:
-
EVENT_CAULDRON_FILL_POWDER_SNOW
public static final int EVENT_CAULDRON_FILL_POWDER_SNOW- See Also:
-
EVENT_CAULDRON_TAKE_POWDER_SNOW
public static final int EVENT_CAULDRON_TAKE_POWDER_SNOW- See Also:
-
EVENT_PARTICLE_SHOOT
public static final int EVENT_PARTICLE_SHOOT- See Also:
-
EVENT_PARTICLE_DESTROY
public static final int EVENT_PARTICLE_DESTROY- See Also:
-
EVENT_PARTICLE_SPLASH
public static final int EVENT_PARTICLE_SPLASH- See Also:
-
EVENT_PARTICLE_EYE_DESPAWN
public static final int EVENT_PARTICLE_EYE_DESPAWN- See Also:
-
EVENT_PARTICLE_SPAWN
public static final int EVENT_PARTICLE_SPAWN- See Also:
-
EVENT_PARTICLE_BONEMEAL
public static final int EVENT_PARTICLE_BONEMEAL- See Also:
-
EVENT_START_RAIN
public static final int EVENT_START_RAIN- See Also:
-
EVENT_START_THUNDER
public static final int EVENT_START_THUNDER- See Also:
-
EVENT_STOP_RAIN
public static final int EVENT_STOP_RAIN- See Also:
-
EVENT_STOP_THUNDER
public static final int EVENT_STOP_THUNDER- See Also:
-
EVENT_GLOBAL_PAUSE
public static final int EVENT_GLOBAL_PAUSE- See Also:
-
EVENT_SIM_TIME_STEP
public static final int EVENT_SIM_TIME_STEP- See Also:
-
EVENT_SIM_TIME_SCALE
public static final int EVENT_SIM_TIME_SCALE- See Also:
-
EVENT_SOUND_CAULDRON
public static final int EVENT_SOUND_CAULDRON- See Also:
-
EVENT_SOUND_CAULDRON_DYE_ARMOR
public static final int EVENT_SOUND_CAULDRON_DYE_ARMOR- See Also:
-
EVENT_SOUND_CAULDRON_FILL_POTION
public static final int EVENT_SOUND_CAULDRON_FILL_POTION- See Also:
-
EVENT_SOUND_CAULDRON_FILL_WATER
public static final int EVENT_SOUND_CAULDRON_FILL_WATER- See Also:
-
EVENT_SOUND_CAULDRON_FILL_POWDER_SNOW
- See Also:
-
EVENT_SOUND_CAULDRON_TAKE_POWDER_SNOW
- See Also:
-
EVENT_BLOCK_START_BREAK
public static final int EVENT_BLOCK_START_BREAK- See Also:
-
EVENT_BLOCK_STOP_BREAK
public static final int EVENT_BLOCK_STOP_BREAK- See Also:
-
EVENT_BLOCK_UPDATE_BREAK
public static final int EVENT_BLOCK_UPDATE_BREAK- See Also:
-
EVENT_SET_DATA
public static final int EVENT_SET_DATA- See Also:
-
EVENT_PLAYERS_SLEEPING
public static final int EVENT_PLAYERS_SLEEPING- See Also:
-
EVENT_SLEEPING_PLAYERS
public static final int EVENT_SLEEPING_PLAYERS- See Also:
-
EVENT_JUMP_PREVENTED
public static final int EVENT_JUMP_PREVENTED- See Also:
-
EVENT_ADD_PARTICLE_MASK
public static final int EVENT_ADD_PARTICLE_MASK- See Also:
-
evid
public int evid -
x
public float x -
y
public float y -
z
public float z -
data
public int data
-
-
Constructor Details
-
LevelEventPacket
public LevelEventPacket()
-
-
Method Details
-
pid
public byte pid()- Specified by:
pid
in classDataPacket
-
decode
public void decode()- Specified by:
decode
in classDataPacket
-
encode
public void encode()- Specified by:
encode
in classDataPacket
-
toString
-