public final class CommandUtil
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static void |
giveStack(net.minecraft.item.ItemStack itemStack,
int mouseButton)
/give
GuiContainerCreative has special client-side handling for itemStacks, just give the item on the client |
static void |
setHotbarStack(net.minecraft.item.ItemStack itemStack,
int hotbarSlot) |
public static void giveStack(net.minecraft.item.ItemStack itemStack,
int mouseButton)
GuiContainerCreative has special client-side handling for itemStacks, just give the item on the clientpublic static void setHotbarStack(net.minecraft.item.ItemStack itemStack,
int hotbarSlot)