public class RecipeHandler
extends java.lang.Object
implements net.minecraft.command.ICommandSender
| Constructor and Description |
|---|
RecipeHandler(net.minecraft.entity.player.EntityPlayer player,
Category category,
int recipeIndex,
double durabilityMultiplier,
int xp) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canUseCommand(int permLevel,
@NotNull java.lang.String commandName) |
void |
craft() |
@NotNull net.minecraft.world.World |
getEntityWorld() |
@NotNull java.lang.String |
getName() |
@Nullable net.minecraft.server.MinecraftServer |
getServer() |
boolean |
validate() |
public RecipeHandler(net.minecraft.entity.player.EntityPlayer player,
Category category,
int recipeIndex,
double durabilityMultiplier,
int xp)
public boolean validate()
public void craft()
@NotNull public @NotNull java.lang.String getName()
getName in interface net.minecraft.command.ICommandSenderpublic boolean canUseCommand(int permLevel,
@NotNull
@NotNull java.lang.String commandName)
canUseCommand in interface net.minecraft.command.ICommandSender@NotNull public @NotNull net.minecraft.world.World getEntityWorld()
getEntityWorld in interface net.minecraft.command.ICommandSender@Nullable public @Nullable net.minecraft.server.MinecraftServer getServer()
getServer in interface net.minecraft.command.ICommandSender