soupply ~master (2018-09-02T09:28:20Z)
Dub
Repo
MobEffect
soupply
bedrock201
protocol
play
Undocumented in source.
class
MobEffect :
Bedrock201Packet
{
enum
uint
ID
;
enum
bool
CLIENTBOUND
;
enum
bool
SERVERBOUND
;
enum
ubyte
ADD
;
enum
ubyte
MODIFY
;
enum
ubyte
REMOVE
;
enum
string
[]
__fields
;
@
Var
long
entityId
;
ubyte
eventId
;
@
Var
int
effect
;
@
Var
int
amplifier
;
bool
particles
;
@
Var
int
duration
;
this
();
this
(long entityId, ubyte eventId, int effect, int amplifier, bool particles, int duration);
mixin
Make
;
static
typeof
(
this
)
fromBuffer
(ubyte[] buffer);
string
toString
();
}
Constructors
this
this
()
Undocumented in source.
this
this
(long entityId, ubyte eventId, int effect, int amplifier, bool particles, int duration)
Undocumented in source.
Members
Functions
toString
string
toString
()
Undocumented in source. Be warned that the author may not have intended to support it.
Mixins
__anonymous
mixin
Make
Undocumented in source.
Static functions
fromBuffer
typeof
(
this
)
fromBuffer
(ubyte[] buffer)
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
ADD
enum
ubyte
ADD
;
Undocumented in source.
CLIENTBOUND
enum
bool
CLIENTBOUND
;
Undocumented in source.
ID
enum
uint
ID
;
Undocumented in source.
MODIFY
enum
ubyte
MODIFY
;
Undocumented in source.
REMOVE
enum
ubyte
REMOVE
;
Undocumented in source.
SERVERBOUND
enum
bool
SERVERBOUND
;
Undocumented in source.
__fields
enum
string
[]
__fields
;
Undocumented in source.
amplifier
int
amplifier
;
Undocumented in source.
duration
int
duration
;
Undocumented in source.
effect
int
effect
;
Undocumented in source.
entityId
long
entityId
;
Undocumented in source.
eventId
ubyte
eventId
;
Undocumented in source.
particles
bool
particles
;
Undocumented in source.
Meta
Source
See Implementation
soupply
bedrock201
protocol
play
aliases
Packets
classes
AddBehaviorTree
AddEntity
AddHangingEntity
AddItemEntity
AddPainting
AddPlayer
AdventureSettings
Animate
AvailableCommands
BlockEntityData
BlockEvent
BlockPickRequest
BookEdit
BossEvent
Camera
ChangeDimension
ChunkRadiusUpdated
ClientToServerHandshake
ClientboundMapItemData
CommandBlockUpdate
CommandRequest
ContainerClose
ContainerOpen
ContainerSetData
CraftingData
CraftingEvent
Disconnect
EntityEvent
EntityFall
EntityPickRequest
Explode
FullChunkData
GameRulesChanged
GuiDataPickItem
HurtArmor
InitiateWebSocketConnection
Interact
InventoryContent
InventorySlot
InventoryTransaction
ItemFrameDropItem
LevelEvent
LevelSoundEvent
Login
MapInfoRequest
MobArmorEquipment
MobEffect
MobEquipment
ModalFormRequest
ModalFormResponse
MoveEntity
MovePlayer
NpcRequest
PhotoTransfer
PlaySound
PlayStatus
PlayerAction
PlayerHotbar
PlayerInput
PlayerList
PlayerSkin
PurchaseReceipt
RemoveEntity
RequestChunkRadius
ResourcePackChunkData
ResourcePackChunkRequest
ResourcePackClientResponse
ResourcePackDataInfo
ResourcePacksInfo
ResourcePacksStackPacket
Respawn
RiderJump
ServerSettingsRequest
ServerSettingsResponse
ServerToClientHandshake
SetCommandsEnabled
SetDefaultGameType
SetDifficulty
SetEntityData
SetEntityLink
SetEntityMotion
SetHealth
SetLastHurtBy
SetPlayerGameType
SetSpawnPosition
SetTime
SetTitle
ShowCredits
ShowProfile
ShowStoreOffer
SimpleEvent
SpawnExperienceOrb
StartGame
StopSound
StructureBlockUpdate
SubClientLogin
TakeItemEntity
TelemetryEvent
Text
Transfer
UpdateAttributes
UpdateBlock
UpdateEquip
UpdateTrade