net.minecraft.commands.arguments.blocks

public class BlockPredicateArgument

implements com.mojang.brigadier.arguments.ArgumentType<BlockPredicateArgument$Result>

go
net.minecraft.commands.arguments.blocks.BlockPredicateArgument
net.minecraft.class_2252
net.minecraft.command.argument.BlockPredicateArgumentType
net.minecraft.commands.arguments.blocks.ArgumentBlockPredicate

Field summary

Modifier and TypeField
private static final Collection<String>
a
EXAMPLES
field_10672
EXAMPLES
private final HolderLookup<Block>
b
blocks
field_37963
registryWrapper

Constructor summary

ModifierConstructor
public (CommandBuildContext commandRegistryAccess)

Method summary

Modifier and TypeMethod
public static BlockPredicateArgument
a(es arg0)
blockPredicate(CommandBuildContext arg0)
method_9645(class_7157 arg0)
blockPredicate(CommandRegistryAccess commandRegistryAccess)
public BlockPredicateArgument$Result
a(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
method_9642(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
public static BlockPredicateArgument$Result
a(js<dkm> arg0, com.mojang.brigadier.StringReader arg1)
parse(HolderLookup<Block> arg0, com.mojang.brigadier.StringReader arg1)
method_41953(class_7225<class_2248> arg0, com.mojang.brigadier.StringReader arg1)
parse(RegistryWrapper<Block> registryWrapper, com.mojang.brigadier.StringReader reader)
public static Predicate<BlockInWorld>
a(com.mojang.brigadier.context.CommandContext<ew> arg0, String arg1)
getBlockPredicate(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, String arg1)
method_9644(com.mojang.brigadier.context.CommandContext<class_2168> arg0, String arg1)
getBlockPredicate(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)
public <S> CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
listSuggestions(com.mojang.brigadier.context.CommandContext<S> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
listSuggestions(com.mojang.brigadier.context.CommandContext<S> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
listSuggestions(com.mojang.brigadier.context.CommandContext<S> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
listSuggestions(com.mojang.brigadier.context.CommandContext<S> context, com.mojang.brigadier.suggestion.SuggestionsBuilder builder)
public Collection<String>
getExamples()
getExamples()