sel-utils ~master (2018-02-05T12:12:47Z)
Dub
Repo
InventoryTransaction.UseItemOnEntity
sul
protocol
bedrock141
play
InventoryTransaction
Undocumented in source.
class
InventoryTransaction
class
UseItemOnEntity {
enum
typeof
(
type
)
TYPE
;
enum
uint
INTERACT
;
enum
uint
ATTACK
;
enum
string
[]
FIELDS
;
long
entityId
;
uint
actionType
;
int
hotbarSlot
;
sul
.
protocol
.
bedrock141
.
types
.
Slot
item
;
Tuple
!(
float
,
"x"
,
float
,
"y"
,
float
,
"z"
)
unknown4
;
Tuple
!(
float
,
"x"
,
float
,
"y"
,
float
,
"z"
)
unknown5
;
this
();
this
(long entityId, uint actionType, int hotbarSlot, sul.protocol.bedrock141.types.Slot item, Tuple!(float, "x", float, "y", float, "z") unknown4, Tuple!(float, "x", float, "y", float, "z") unknown5);
ubyte
[]
encode
();
void
decode
();
string
toString
();
}
Constructors
this
this
()
Undocumented in source.
this
this
(long entityId, uint actionType, int hotbarSlot, sul.protocol.bedrock141.types.Slot item, Tuple!(float, "x", float, "y", float, "z") unknown4, Tuple!(float, "x", float, "y", float, "z") unknown5)
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.
Variables
ATTACK
enum
uint
ATTACK
;
Undocumented in source.
FIELDS
enum
string
[]
FIELDS
;
Undocumented in source.
INTERACT
enum
uint
INTERACT
;
Undocumented in source.
TYPE
enum
typeof
(
type
)
TYPE
;
Undocumented in source.
actionType
uint
actionType
;
Undocumented in source.
entityId
long
entityId
;
Undocumented in source.
hotbarSlot
int
hotbarSlot
;
Undocumented in source.
item
sul
.
protocol
.
bedrock141
.
types
.
Slot
item
;
Undocumented in source.
unknown4
Tuple
!(
float
,
"x"
,
float
,
"y"
,
float
,
"z"
)
unknown4
;
Undocumented in source.
unknown5
Tuple
!(
float
,
"x"
,
float
,
"y"
,
float
,
"z"
)
unknown5
;
Undocumented in source.
Meta
Source
See Implementation
sul
protocol
bedrock141
play
InventoryTransaction
aliases
Variants
_encode
classes
Normal0
Normal1
ReleaseItem
UseItem
UseItemOnEntity
constructors
this
functions
decode
encode
toString
static functions
fromBuffer
variables
CLIENTBOUND
FIELDS
ID
SERVERBOUND
actions
type
variantField