net.minecraft.commands.arguments.blocks

public class BlockStateArgument

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

gp
net.minecraft.commands.arguments.blocks.BlockStateArgument
net.minecraft.class_2257
net.minecraft.command.argument.BlockStateArgumentType
net.minecraft.commands.arguments.blocks.ArgumentTile

Field summary

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

Constructor summary

ModifierConstructor
public (CommandBuildContext commandRegistryAccess)

Method summary

Modifier and TypeMethod
public static BlockStateArgument
a(es arg0)
block(CommandBuildContext arg0)
method_9653(class_7157 arg0)
blockState(CommandRegistryAccess commandRegistryAccess)
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)
public static BlockInput
a(com.mojang.brigadier.context.CommandContext<ew> 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)
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()