Class CustomAction
java.lang.Object
com.zenith.feature.inventory.actions.CustomAction
- All Implemented Interfaces:
InventoryAction
Send a custom-supplied packet, perhaps for an action not covered by the existing types.
or if you want to run arbitrary code at execution time instead of a normal action
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanintbooleanintinthashCode()@Nullable MinecraftPacketpacket()toString()Methods inherited from interface InventoryAction
isStackEmpty
-
Constructor Details
-
CustomAction
-
-
Method Details
-
containerId
public int containerId()- Specified by:
containerIdin interfaceInventoryAction
-
packet
- Specified by:
packetin interfaceInventoryAction
-
getContainerId
public int getContainerId() -
getPacketSupplier
-
equals
-
canEqual
-
hashCode
-
toString
-