net.minecraft.commands.arguments.item

class ItemPredicateArgument$Context

implements ComponentPredicateParser$Context<Predicate<ItemStack>, ItemPredicateArgument$ComponentWrapper, ItemPredicateArgument$PredicateWrapper>

hf$b
net.minecraft.commands.arguments.item.ItemPredicateArgument$Context
net.minecraft.class_2293$class_9445
net.minecraft.command.argument.ItemPredicateArgumentType$Context
net.minecraft.src.C_4645_$C_313622_
net.minecraft.commands.arguments.item.ArgumentItemPredicate$b

Field summary

Modifier and TypeField
private final HolderLookup$RegistryLookup<Item>
a
items
field_50066
itemRegistryWrapper
f_316102_
private final HolderLookup$RegistryLookup<DataComponentType<?>>
b
components
field_50067
dataComponentTypeRegistryWrapper
f_314372_
private final HolderLookup$RegistryLookup<ItemSubPredicate$Type<?>>
c
predicates
field_50068
itemSubPredicateTypeRegistryWrapper
f_314596_
private final RegistryOps<Tag>
d
registryOps
field_50069
nbtOps
f_316517_

Constructor summary

ModifierConstructor
(HolderLookup$Provider registryLookup)

Method summary

Modifier and TypeMethod
public Predicate<ItemStack>
e(com.mojang.brigadier.ImmutableStringReader arg0, akr arg1)
forElementType(com.mojang.brigadier.ImmutableStringReader arg0, ResourceLocation arg1)
method_58550(com.mojang.brigadier.ImmutableStringReader arg0, class_2960 arg1)
itemMatchPredicate(com.mojang.brigadier.ImmutableStringReader arg0, Identifier arg1)
m_320058_(com.mojang.brigadier.ImmutableStringReader p_333737_, C_5265_ arg1)
public Predicate<ItemStack>
f(com.mojang.brigadier.ImmutableStringReader arg0, akr arg1)
forTagType(com.mojang.brigadier.ImmutableStringReader arg0, ResourceLocation arg1)
method_58551(com.mojang.brigadier.ImmutableStringReader arg0, class_2960 arg1)
tagMatchPredicate(com.mojang.brigadier.ImmutableStringReader arg0, Identifier arg1)
m_320585_(com.mojang.brigadier.ImmutableStringReader p_328228_, C_5265_ arg1)
public ItemPredicateArgument$ComponentWrapper
g(com.mojang.brigadier.ImmutableStringReader arg0, akr arg1)
lookupComponentType(com.mojang.brigadier.ImmutableStringReader arg0, ResourceLocation arg1)
method_58552(com.mojang.brigadier.ImmutableStringReader arg0, class_2960 arg1)
componentCheck(com.mojang.brigadier.ImmutableStringReader arg0, Identifier arg1)
m_319836_(com.mojang.brigadier.ImmutableStringReader p_330392_, C_5265_ arg1)
public Predicate<ItemStack>
a(com.mojang.brigadier.ImmutableStringReader arg0, hf$a arg1, uy arg2)
createComponentTest(com.mojang.brigadier.ImmutableStringReader arg0, ItemPredicateArgument$ComponentWrapper arg1, Tag arg2)
method_58542(com.mojang.brigadier.ImmutableStringReader arg0, class_2293$class_9444 arg1, class_2520 arg2)
componentMatchPredicate(com.mojang.brigadier.ImmutableStringReader arg0, ItemPredicateArgumentType$ComponentCheck arg1, NbtElement arg2)
m_322026_(com.mojang.brigadier.ImmutableStringReader p_334559_, C_4645_$C_313780_ p_328343_, C_4950_ arg2)
public Predicate<ItemStack>
a(com.mojang.brigadier.ImmutableStringReader arg0, hf$a arg1)
createComponentTest(com.mojang.brigadier.ImmutableStringReader arg0, ItemPredicateArgument$ComponentWrapper arg1)
method_58541(com.mojang.brigadier.ImmutableStringReader arg0, class_2293$class_9444 arg1)
componentPresencePredicate(com.mojang.brigadier.ImmutableStringReader arg0, ItemPredicateArgumentType$ComponentCheck arg1)
m_319866_(com.mojang.brigadier.ImmutableStringReader p_336299_, C_4645_$C_313780_ arg1)
public ItemPredicateArgument$PredicateWrapper
h(com.mojang.brigadier.ImmutableStringReader arg0, akr arg1)
lookupPredicateType(com.mojang.brigadier.ImmutableStringReader arg0, ResourceLocation arg1)
method_58553(com.mojang.brigadier.ImmutableStringReader arg0, class_2960 arg1)
subPredicateCheck(com.mojang.brigadier.ImmutableStringReader arg0, Identifier arg1)
m_318819_(com.mojang.brigadier.ImmutableStringReader p_335636_, C_5265_ arg1)
public Predicate<ItemStack>
a(com.mojang.brigadier.ImmutableStringReader arg0, hf$c arg1, uy arg2)
createPredicateTest(com.mojang.brigadier.ImmutableStringReader arg0, ItemPredicateArgument$PredicateWrapper arg1, Tag arg2)
method_58543(com.mojang.brigadier.ImmutableStringReader arg0, class_2293$class_9446 arg1, class_2520 arg2)
subPredicatePredicate(com.mojang.brigadier.ImmutableStringReader arg0, ItemPredicateArgumentType$SubPredicateCheck arg1, NbtElement arg2)
m_321322_(com.mojang.brigadier.ImmutableStringReader p_335982_, C_4645_$C_313748_ p_333667_, C_4950_ arg2)
public Stream<ResourceLocation>
a()
listElementTypes()
method_58503()
streamItemIds()
m_319669_()
public Stream<ResourceLocation>
b()
listTagTypes()
method_58509()
streamTags()
m_322575_()
public Stream<ResourceLocation>
c()
listComponentTypes()
method_58512()
streamComponentIds()
m_321279_()
public Stream<ResourceLocation>
d()
listPredicateTypes()
method_58514()
streamSubPredicateIds()
m_320604_()
public Predicate<ItemStack>
a(Predicate<cuq> arg0)
negate(Predicate<ItemStack> arg0)
method_58547(Predicate<class_1799> arg0)
negate(Predicate<ItemStack> arg0)
m_323255_(Predicate<C_1391_> arg0)
public Predicate<ItemStack>
b(List<Predicate<cuq>> arg0)
anyOf(List<Predicate<ItemStack>> arg0)
method_58549(List<Predicate<class_1799>> arg0)
anyOf(List<Predicate<ItemStack>> arg0)
m_320517_(List<Predicate<C_1391_>> arg0)