CreativeContentEntry
in package
Table of Contents
- $entryId : int
- $item : ItemStack
- __construct() : mixed
- getEntryId() : int
- getItem() : ItemStack
- read() : self
- write() : void
Properties
$entryId
private
int
$entryId
$item
private
ItemStack
$item
Methods
__construct()
public
__construct(int $entryId, ItemStack $item) : mixed
Parameters
- $entryId : int
- $item : ItemStack
Return values
mixed —getEntryId()
public
getEntryId() : int
Return values
int —getItem()
public
getItem() : ItemStack
Return values
ItemStack —read()
public
static read(PacketSerializer $in) : self
Parameters
- $in : PacketSerializer
Return values
self —write()
public
write(PacketSerializer $out) : void
Parameters
- $out : PacketSerializer