Search in sources :

Example 1 with Window

use of binnie.core.gui.minecraft.Window in project Binnie by ForestryMC.

the class BinnieGUIHandler method getServerGuiElement.

@Override
@Nullable
public final Object getServerGuiElement(final int id, final EntityPlayer player, final World world, final int x, final int y, final int z) {
    Window window = this.getWindow(id, player, world, x, y, z, Side.SERVER);
    if (window == null) {
        return null;
    }
    window.initialiseServer();
    return window.getContainer();
}
Also used : Window(binnie.core.gui.minecraft.Window) Nullable(javax.annotation.Nullable)

Aggregations

Window (binnie.core.gui.minecraft.Window)1 Nullable (javax.annotation.Nullable)1