mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-25 06:14:46 +00:00
Add greenhouse hatch and add IItemHandler integreation, thanks to CovertJaguar
This commit is contained in:
1 parent
3d25bd8626
commit
86a93b29c0
55 files changed
+1919
-884
No files matched your search
@@ -12,13 +12,13 @@ package forestry.food.items;
|
||||
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
||||
import forestry.core.items.ItemWithGui;
|
||||
import forestry.food.gui.ContainerInfuser;
|
||||
import forestry.food.gui.GuiInfuser;
|
||||
import forestry.food.inventory.ItemInventoryInfuser;
|
||||
|
||||
public class ItemInfuser extends ItemWithGui {
|
||||
|
||||
@Override
|
||||
public Object getGui(EntityPlayer player, ItemStack heldItem, int data) {
|
||||
return new GuiInfuser(player.inventory, new ItemInventoryInfuser(player, heldItem));
|
||||
|
||||
Reference in new issue
Block a user