Interface BlockStateArgument
- All Superinterfaces:
ArgumentInf
@NullMarked
@Deprecated(since="1.21.7",
forRemoval=true)
public interface BlockStateArgument
extends ArgumentInf
Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
Modifier and TypeMethodDescriptionstatic BlockStateArgument
create()
Deprecated, for removal: This API element is subject to removal in a future version.getPredicate
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) Deprecated, for removal: This API element is subject to removal in a future version.getState
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) Deprecated, for removal: This API element is subject to removal in a future version.boolean
place
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name, World world, Location location, int flags) Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from interface moe.caramel.daydream.brigadier.argument.ArgumentInf
get
-
Method Details
-
getState
BlockData getState(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) throws com.mojang.brigadier.exceptions.CommandSyntaxException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
place
boolean place(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name, World world, Location location, int flags) Deprecated, for removal: This API element is subject to removal in a future version. -
getPredicate
Predicate<Block> getPredicate(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) throws com.mojang.brigadier.exceptions.CommandSyntaxException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
create
Deprecated, for removal: This API element is subject to removal in a future version.
-