Interface BlockStateArgument
- All Superinterfaces:
ArgumentInf
-
Method Summary
Modifier and TypeMethodDescriptiongetPredicate
(com.mojang.brigadier.context.CommandContext<? extends CommandSourceStack> context, String name) getState
(com.mojang.brigadier.context.CommandContext<? extends CommandSourceStack> context, String name) boolean
place
(com.mojang.brigadier.context.CommandContext<? extends CommandSourceStack> context, String name, World world, Location location, int flags) Methods inherited from interface moe.caramel.daydream.brigadier.argument.ArgumentInf
get
-
Method Details
-
getState
BlockData getState(com.mojang.brigadier.context.CommandContext<? extends CommandSourceStack> context, String name) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
place
boolean place(com.mojang.brigadier.context.CommandContext<? extends CommandSourceStack> context, String name, World world, Location location, int flags) -
getPredicate
Predicate<Block> getPredicate(com.mojang.brigadier.context.CommandContext<? extends CommandSourceStack> context, String name) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-