mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-27 15:22:57 +00:00
33 lines
1.2 KiB
Java
33 lines
1.2 KiB
Java
/*******************************************************************************
|
|
* Copyright (c) 2011-2014 SirSengir.
|
|
* All rights reserved. This program and the accompanying materials
|
|
* are made available under the terms of the GNU Lesser Public License v3
|
|
* which accompanies this distribution, and is available at
|
|
* http://www.gnu.org/licenses/lgpl-3.0.txt
|
|
*
|
|
* Various Contributors including, but not limited to:
|
|
* SirSengir (original work), CovertJaguar, Player, Binnie, MysteriousAges
|
|
******************************************************************************/
|
|
package forestry.greenhouse.gui;
|
|
|
|
import net.minecraft.entity.player.InventoryPlayer;
|
|
|
|
import forestry.core.gui.ContainerTile;
|
|
import forestry.core.network.packets.PacketGuiUpdate;
|
|
import forestry.greenhouse.tiles.TileGreenhouse;
|
|
|
|
public class ContainerGreenhouse extends ContainerTile<TileGreenhouse> {
|
|
|
|
public ContainerGreenhouse(InventoryPlayer playerInventory, TileGreenhouse tile) {
|
|
super(tile, playerInventory, 8, 84);
|
|
}
|
|
|
|
@Override
|
|
public void detectAndSendChanges() {
|
|
super.detectAndSendChanges();
|
|
PacketGuiUpdate packet = new PacketGuiUpdate(tile);
|
|
sendPacketToCrafters(packet);
|
|
}
|
|
|
|
}
|