net.minecraft.commands.arguments.item

class ItemPredicateArgument$Context

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

hi$b
net.minecraft.commands.arguments.item.ItemPredicateArgument$Context
net.minecraft.class_2293$class_9445
net.minecraft.command.argument.ItemPredicateArgumentType$Context
net.minecraft.commands.arguments.item.ArgumentItemPredicate$b

Field summary

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

Constructor summary

ModifierConstructor
(HolderLookup$Provider registries)

Method summary

Modifier and TypeMethod
public Predicate<ItemStack>
e(com.mojang.brigadier.ImmutableStringReader arg0, alz 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)
public Predicate<ItemStack>
f(com.mojang.brigadier.ImmutableStringReader arg0, alz 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)
public ItemPredicateArgument$ComponentWrapper
g(com.mojang.brigadier.ImmutableStringReader arg0, alz 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)
public Predicate<ItemStack>
a(com.mojang.brigadier.ImmutableStringReader arg0, hi$a arg1, vu 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)
public Predicate<ItemStack>
a(com.mojang.brigadier.ImmutableStringReader arg0, hi$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)
public ItemPredicateArgument$PredicateWrapper
h(com.mojang.brigadier.ImmutableStringReader arg0, alz 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)
public Predicate<ItemStack>
a(com.mojang.brigadier.ImmutableStringReader arg0, hi$c arg1, vu 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)
public Stream<ResourceLocation>
a()
listElementTypes()
method_58503()
streamItemIds()
public Stream<ResourceLocation>
b()
listTagTypes()
method_58509()
streamTags()
public Stream<ResourceLocation>
c()
listComponentTypes()
method_58512()
streamComponentIds()
public Stream<ResourceLocation>
d()
listPredicateTypes()
method_58514()
streamSubPredicateIds()
public Predicate<ItemStack>
a(Predicate<cxp> arg0)
negate(Predicate<ItemStack> arg0)
method_58547(Predicate<class_1799> arg0)
negate(Predicate<ItemStack> arg0)
public Predicate<ItemStack>
b(List<Predicate<cxp>> arg0)
anyOf(List<Predicate<ItemStack>> arg0)
method_58549(List<Predicate<class_1799>> arg0)
anyOf(List<Predicate<ItemStack>> arg0)