net.minecraft.command.argument

public record ItemStackArgument

net.minecraft.commands.arguments.item.ItemInput
net.minecraft.class_2290
net.minecraft.command.argument.ItemStackArgument

Field summary

Modifier and TypeField
private final RegistryEntry<Item>
item
comp_1_117
item
private final ComponentChanges
components
comp_1_116
components
private static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
ERROR_STACK_TOO_BIG
field_10797
OVERSTACKED_EXCEPTION
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
ERROR_MALFORMED_ITEM
field_1_1186
field_1_1186

Constructor summary

ModifierConstructor
public (RegistryEntry<Item> item, ComponentChanges components)

Method summary

Modifier and TypeMethod
public ItemStack
createItemStack(int count)
method_9781(int arg0)
createStack(int amount)
public RegistryEntry<Item>
item()
comp_1_117()
item()
public ComponentChanges
components()
comp_1_116()
components()
private static com.mojang.brigadier.Message
lambda$static$1(Object arg0)
method_1_1374(Object arg0)
method_1_1374(Object arg0)
private static com.mojang.brigadier.Message
lambda$static$0(Object arg0, Object arg1)
method_9784(Object arg0, Object arg1)
method_9784(Object item, Object maxCount)