blob: db2527e14ce1bb1acc2c554e73cd64c4d40d84f0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
package binnie.extrabees.apiary;
import binnie.core.machines.Machine;
import binnie.core.machines.MachineComponent;
import binnie.core.machines.component.IInteraction.RightClick;
import binnie.extrabees.ExtraBees;
import binnie.extrabees.core.ExtraBeeGUID;
import binnie.extrabees.proxy.ExtraBeesProxy;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.world.World;
public class ComponentExtraBeeGUI
extends MachineComponent
implements IInteraction.RightClick
{
ExtraBeeGUID id;
public ComponentExtraBeeGUI(Machine machine, ExtraBeeGUID id)
{
super(machine);
this.id = id;
}
public void onRightClick(World world, EntityPlayer player, int x, int y, int z)
{
ExtraBees.proxy.openGui(this.id, player, x, y, z);
}
}
|