/FileExtraction/Java_unseen/Wind-Development_WindSpigot/WindSpigot-Server/src/main/java/org/bukkit/craftbukkit/inventory/CraftInventoryBrewer.java
package org.bukkit.craftbukkit.inventory;

import org.bukkit.block.BrewingStand;
import org.bukkit.inventory.BrewerInventory;
import org.bukkit.inventory.ItemStack;

import net.minecraft.server.IInventory;

public class CraftInventoryBrewer extends CraftInventory implements BrewerInventory {
	public CraftInventoryBrewer(IInventory inventory) {
		super(inventory);
	}

	@Override
	public ItemStack getIngredient() {
		return getItem(3);
	}

	@Override
	public void setIngredient(ItemStack ingredient) {
		setItem(3, ingredient);
	}

	@Override
	public BrewingStand getHolder() {
		return (BrewingStand) inventory.getOwner();
	}
}
