Package net.minecraft.command.impl
Class RecipeCommand
- java.lang.Object
-
- net.minecraft.command.impl.RecipeCommand
-
public class RecipeCommand extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ERROR_GIVE_FAILED
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ERROR_TAKE_FAILED
-
Constructor Summary
Constructors Constructor Description RecipeCommand()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static int
giveRecipes(CommandSource p_198594_0_, java.util.Collection<ServerPlayerEntity> p_198594_1_, java.util.Collection<IRecipe<?>> p_198594_2_)
static void
register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198589_0_)
private static int
takeRecipes(CommandSource p_198590_0_, java.util.Collection<ServerPlayerEntity> p_198590_1_, java.util.Collection<IRecipe<?>> p_198590_2_)
-
-
-
Method Detail
-
register
public static void register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198589_0_)
-
giveRecipes
private static int giveRecipes(CommandSource p_198594_0_, java.util.Collection<ServerPlayerEntity> p_198594_1_, java.util.Collection<IRecipe<?>> p_198594_2_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
takeRecipes
private static int takeRecipes(CommandSource p_198590_0_, java.util.Collection<ServerPlayerEntity> p_198590_1_, java.util.Collection<IRecipe<?>> p_198590_2_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
-