public final class CommandUtil
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
giveStack(net.minecraft.item.ItemStack itemStack,
net.minecraft.client.util.InputMappings.Input input)
/give
CreativeScreen 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, net.minecraft.client.util.InputMappings.Input input)
CreativeScreen
has special client-side handling for itemStacks, just give the item on the clientpublic static void setHotbarStack(net.minecraft.item.ItemStack itemStack, int hotbarSlot)