CraftingMarkSecondaryResultStackRequestAction
extends ItemStackRequestAction
in package
Uses
GetTypeIdFromConstTrait
I have no clear idea what this does. It seems to be the client hinting to the server "hey, put a secondary output in X crafting grid slot". This is used for things like buckets.
Table of Contents
- ID = \pocketmine\network\mcpe\protocol\types\inventory\stackrequest\ItemStackRequestActionType::CRAFTING_MARK_SECONDARY_RESULT_SLOT
- $craftingGridSlot : int
- __construct() : mixed
- getCraftingGridSlot() : int
- getTypeId() : int
- read() : self
- write() : void
Constants
ID
public
mixed
ID
= \pocketmine\network\mcpe\protocol\types\inventory\stackrequest\ItemStackRequestActionType::CRAFTING_MARK_SECONDARY_RESULT_SLOT
Properties
$craftingGridSlot
private
int
$craftingGridSlot
Methods
__construct()
public
__construct(int $craftingGridSlot) : mixed
Parameters
- $craftingGridSlot : int
Return values
mixed —getCraftingGridSlot()
public
getCraftingGridSlot() : int
Return values
int —getTypeId()
public
abstract getTypeId() : int
Return values
int —read()
public
static read(PacketSerializer $in) : self
Parameters
- $in : PacketSerializer
Return values
self —write()
public
write(PacketSerializer $out) : void
Parameters
- $out : PacketSerializer