soupply v2.54.0 (2018-07-23T09:50:22Z)
Dub
Repo
InventoryTransaction.UseItem
soupply
bedrock137
protocol
play
InventoryTransaction
Undocumented in source.
class
InventoryTransaction
class
UseItem :
Bedrock137Packet
{
enum
typeof
(
type
)
TYPE
;
enum
uint
CLICK_BLOCK
;
enum
uint
CLICK_AIR
;
enum
uint
BREAK_BLOCK
;
enum
string
[]
__fields
;
@
Var
uint
actionType
;
soupply
.
bedrock137
.
types
.
BlockPosition
blockPosition
;
@
Var
int
face
;
@
Var
int
hotbarSlot
;
soupply
.
bedrock137
.
types
.
Slot
item
;
Vector
!(
float
,
"xyz"
)
playerPosition
;
Vector
!(
float
,
"xyz"
)
clickPosition
;
this
();
this
(uint actionType, soupply.bedrock137.types.BlockPosition blockPosition, int face, int hotbarSlot, soupply.bedrock137.types.Slot item, Vector!(float, "xyz") playerPosition, Vector!(float, "xyz") clickPosition);
mixin
Make
;
string
toString
();
}
Constructors
this
this
()
Undocumented in source.
this
this
(uint actionType, soupply.bedrock137.types.BlockPosition blockPosition, int face, int hotbarSlot, soupply.bedrock137.types.Slot item, Vector!(float, "xyz") playerPosition, Vector!(float, "xyz") clickPosition)
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.
Variables
BREAK_BLOCK
enum
uint
BREAK_BLOCK
;
Undocumented in source.
CLICK_AIR
enum
uint
CLICK_AIR
;
Undocumented in source.
CLICK_BLOCK
enum
uint
CLICK_BLOCK
;
Undocumented in source.
TYPE
enum
typeof
(
type
)
TYPE
;
Undocumented in source.
__fields
enum
string
[]
__fields
;
Undocumented in source.
actionType
uint
actionType
;
Undocumented in source.
blockPosition
soupply
.
bedrock137
.
types
.
BlockPosition
blockPosition
;
Undocumented in source.
clickPosition
Vector
!(
float
,
"xyz"
)
clickPosition
;
Undocumented in source.
face
int
face
;
Undocumented in source.
hotbarSlot
int
hotbarSlot
;
Undocumented in source.
item
soupply
.
bedrock137
.
types
.
Slot
item
;
Undocumented in source.
playerPosition
Vector
!(
float
,
"xyz"
)
playerPosition
;
Undocumented in source.
Meta
Source
See Implementation
soupply
bedrock137
protocol
play
InventoryTransaction
aliases
Variants
classes
Normal0
Normal1
ReleaseItem
UseItem
UseItemOnEntity
constructors
this
functions
toString
mixins
__anonymous
static functions
fromBuffer
variables
CLIENTBOUND
ID
SERVERBOUND
__fields
actions
type
variantField