net.minecraft.commands.arguments.item

public class ItemInput

implements Predicate<ItemStack>

fu
net.minecraft.commands.arguments.item.ItemInput
net.minecraft.class_2290
net.minecraft.command.argument.ItemStackArgument
net.minecraft.src.C_4643_
net.minecraft.commands.arguments.item.ArgumentPredicateItemStack

Field summary

Modifier and TypeField
private static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
a
ERROR_STACK_TOO_BIG
field_10797
OVERSTACKED_EXCEPTION
f_120972_
private final Holder<Item>
b
item
field_10796
item
f_120973_
private final CompoundTag
c
tag
field_10798
nbt
f_120974_

Constructor summary

ModifierConstructor
public (Holder<Item> item, CompoundTag nbt)

Method summary

Modifier and TypeMethod
public Item
a()
getItem()
method_9785()
getItem()
m_120979_()
public boolean
a(caa arg0)
test(ItemStack arg0)
method_9783(class_1799 arg0)
test(ItemStack arg0)
test(C_1391_ arg0)
public ItemStack
a(int arg0, boolean arg1)
createItemStack(int arg0, boolean arg1)
method_9781(int arg0, boolean arg1)
createStack(int amount, boolean checkOverstack)
m_120980_(int p_120982_, boolean arg1)
public String
b()
serialize()
method_9782()
asString()
m_120988_()
private String
c()
getItemName()
method_41967()
getIdString()
m_235284_()