net.minecraft.commands.arguments.item

record ItemPredicateArgument$ComponentWrapper

gv$a
net.minecraft.commands.arguments.item.ItemPredicateArgument$ComponentWrapper
net.minecraft.class_2293$class_9444
net.minecraft.command.argument.ItemPredicateArgumentType$ComponentCheck

Field summary

Modifier and TypeField
private final ResourceLocation
a
id
comp_2527
id
final Predicate<ItemStack>
b
presenceChecker
comp_2528
presenceChecker
private final com.mojang.serialization.Decoder<? extends Predicate<ItemStack>>
c
valueChecker
comp_2529
valueChecker

Constructor summary

ModifierConstructor
(ResourceLocation arg0, Predicate<ItemStack> arg1, com.mojang.serialization.Decoder<? extends Predicate<ItemStack>> arg2)

Method summary

Modifier and TypeMethod
public static <T> ItemPredicateArgument$ComponentWrapper
a(com.mojang.brigadier.ImmutableStringReader arg0, ale arg1, ki<T> arg2)
create(com.mojang.brigadier.ImmutableStringReader arg0, ResourceLocation arg1, DataComponentType<T> arg2)
method_58536(com.mojang.brigadier.ImmutableStringReader arg0, class_2960 arg1, class_9331<T> arg2)
read(com.mojang.brigadier.ImmutableStringReader reader, Identifier id, ComponentType<T> type)
public Predicate<ItemStack>
a(com.mojang.brigadier.ImmutableStringReader arg0, com.mojang.serialization.Dynamic<?> arg1)
decode(com.mojang.brigadier.ImmutableStringReader arg0, com.mojang.serialization.Dynamic<?> arg1)
method_58535(com.mojang.brigadier.ImmutableStringReader arg0, com.mojang.serialization.Dynamic<?> arg1)
createPredicate(com.mojang.brigadier.ImmutableStringReader reader, com.mojang.serialization.Dynamic<?> arg1)
public ResourceLocation
a()
id()
comp_2527()
id()
public Predicate<ItemStack>
b()
presenceChecker()
comp_2528()
presenceChecker()
public com.mojang.serialization.Decoder<? extends Predicate<ItemStack>>
c()
valueChecker()
comp_2529()
valueChecker()