net.minecraft.commands.arguments.blocks

public class BlockPredicateArgument

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

gh
net.minecraft.commands.arguments.blocks.BlockPredicateArgument
net.minecraft.class_2252
net.minecraft.command.argument.BlockPredicateArgumentType
net.minecraft.src.C_4367_
net.minecraft.commands.arguments.blocks.ArgumentBlockPredicate

Field summary

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

Constructor summary

ModifierConstructor
public (CommandBuildContext commandRegistryAccess)

Method summary

Modifier and TypeMethod
public static BlockPredicateArgument
a(el arg0)
blockPredicate(CommandBuildContext arg0)
method_9645(class_7157 arg0)
blockPredicate(CommandRegistryAccess commandRegistryAccess)
m_234627_(C_213173_ p_234628_)
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)
parse(com.mojang.brigadier.StringReader arg0)
public static BlockPredicateArgument$Result
a(jk<dfb> 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)
m_234633_(C_213466_<C_1706_> p_234634_, com.mojang.brigadier.StringReader p_234635_)
public static Predicate<BlockInWorld>
a(com.mojang.brigadier.context.CommandContext<ep> 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)
m_115573_(com.mojang.brigadier.context.CommandContext<C_2969_> p_115574_, String p_115575_)
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)
listSuggestions(com.mojang.brigadier.context.CommandContext<S> p_115588_, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
public Collection<String>
getExamples()
getExamples()
getExamples()