net.minecraft.commands.arguments.blocks

public class BlockStateArgument

implements com.mojang.brigadier.arguments.ArgumentType<BlockInput>

fh
net.minecraft.commands.arguments.blocks.BlockStateArgument
net.minecraft.class_2257
net.minecraft.command.argument.BlockStateArgumentType
net.minecraft.src.C_4398_
net.minecraft.commands.arguments.blocks.ArgumentTile

Field summary

Modifier and TypeField
private static final Collection<String>
a
EXAMPLES
field_10679
EXAMPLES
f_116117_
private final HolderLookup<Block>
b
blocks
field_37964
registryWrapper
f_234647_

Constructor summary

ModifierConstructor
public (CommandBuildContext commandRegistryAccess)

Method summary

Modifier and TypeMethod
public static BlockStateArgument
a(dn arg0)
block(CommandBuildContext arg0)
method_9653(class_7157 arg0)
blockState(CommandRegistryAccess commandRegistryAccess)
m_234650_(C_213173_ p_234651_)
public BlockInput
a(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
method_9654(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
public static BlockInput
a(com.mojang.brigadier.context.CommandContext<dt> arg0, String arg1)
getBlock(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, String arg1)
method_9655(com.mojang.brigadier.context.CommandContext<class_2168> arg0, String arg1)
getBlockState(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)
m_116123_(com.mojang.brigadier.context.CommandContext<C_2969_> p_116124_, String p_116125_)
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_116129_, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
public Collection<String>
getExamples()
getExamples()
getExamples()