public class ServerRecipePlacer extends java.lang.Object implements IRecipePlacer<java.lang.Integer>
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.logging.log4j.Logger |
LOGGER |
protected InventoryPlayer |
playerInventory |
protected ContainerRecipeBook |
recipeBookContainer |
protected RecipeItemHelper |
recipeItemHelper |
| Constructor and Description |
|---|
ServerRecipePlacer() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
clear() |
protected void |
consumeIngredient(Slot slotToFill,
ItemStack ingredientIn) |
protected int |
getMaxAmount(boolean placeAll,
int maxPossible,
boolean recipeMatches) |
protected void |
giveToPlayer(int slotIn) |
void |
place(EntityPlayerMP player,
IRecipe recipe,
boolean placeAll) |
void |
setSlotContents(java.util.Iterator<java.lang.Integer> ingredients,
int slotIn,
int maxAmount,
int y,
int x) |
protected void |
tryPlaceRecipe(IRecipe p_201508_1_,
boolean placeAll) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitplaceRecipeprotected static final org.apache.logging.log4j.Logger LOGGER
protected final RecipeItemHelper recipeItemHelper
protected InventoryPlayer playerInventory
protected ContainerRecipeBook recipeBookContainer
public void place(EntityPlayerMP player, @Nullable IRecipe recipe, boolean placeAll)
protected void clear()
protected void giveToPlayer(int slotIn)
protected void tryPlaceRecipe(IRecipe p_201508_1_, boolean placeAll)
public void setSlotContents(java.util.Iterator<java.lang.Integer> ingredients,
int slotIn,
int maxAmount,
int y,
int x)
setSlotContents in interface IRecipePlacer<java.lang.Integer>protected int getMaxAmount(boolean placeAll,
int maxPossible,
boolean recipeMatches)