net.minecraft.commands.arguments.item

public class ItemInput

implements Predicate<ItemStack>

ex
net.minecraft.commands.arguments.item.ItemInput
net.minecraft.class_2290
net.minecraft.command.argument.ItemStackArgument
net.minecraft.command.arguments.ItemInput
net.minecraft.server.v1_16_R2.ArgumentPredicateItemStack

Field summary

Modifier and TypeField
private static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
a
ERROR_STACK_TOO_BIG
field_10797
OVERSTACKED_EXCEPTION
field_197322_a
private final Item
b
item
field_10796
item
field_197323_b
private final CompoundTag
c
tag
field_10798
tag
field_197324_c

Constructor summary

ModifierConstructor
public (Item arg0, CompoundTag tag)

Method summary

Modifier and TypeMethod
public Item
a()
getItem()
method_9785()
getItem()
func_197319_a()
public boolean
a(bly arg0)
test(ItemStack arg0)
method_9783(class_1799 arg0)
test(ItemStack arg0)
test(ItemStack arg0)
public ItemStack
a(int arg0, boolean arg1)
createItemStack(int arg0, boolean arg1)
method_9781(int arg0, boolean arg1)
createStack(int amount, boolean checkOverstack)
func_197320_a(int arg0, boolean arg1)
public String
c()
serialize()
method_9782()
asString()
func_197321_c()