public abstract class BCLibProxy
extends java.lang.Object
implements net.minecraftforge.fml.common.network.IGuiHandler
| Modifier and Type | Class and Description |
|---|---|
static class |
BCLibProxy.ClientProxy |
static class |
BCLibProxy.ServerProxy |
| Constructor and Description |
|---|
BCLibProxy() |
| Modifier and Type | Method and Description |
|---|---|
void |
addScheduledTask(net.minecraft.world.World world,
java.lang.Runnable task) |
java.lang.Object |
getClientGuiElement(int ID,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.world.World world,
int x,
int y,
int z) |
net.minecraft.entity.player.EntityPlayer |
getClientPlayer() |
net.minecraft.world.World |
getClientWorld() |
net.minecraft.entity.player.EntityPlayer |
getPlayerForContext(net.minecraftforge.fml.common.network.simpleimpl.MessageContext ctx) |
static BCLibProxy |
getProxy() |
java.lang.Object |
getServerGuiElement(int ID,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.world.World world,
int x,
int y,
int z) |
<T extends net.minecraft.tileentity.TileEntity> |
getServerTile(T tile) |
java.io.InputStream |
getStreamForIdentifier(net.minecraft.util.ResourceLocation identifier) |
public static BCLibProxy getProxy()
public net.minecraft.world.World getClientWorld()
public net.minecraft.entity.player.EntityPlayer getClientPlayer()
public net.minecraft.entity.player.EntityPlayer getPlayerForContext(net.minecraftforge.fml.common.network.simpleimpl.MessageContext ctx)
public void addScheduledTask(net.minecraft.world.World world,
java.lang.Runnable task)
public <T extends net.minecraft.tileentity.TileEntity> T getServerTile(T tile)
public java.io.InputStream getStreamForIdentifier(net.minecraft.util.ResourceLocation identifier)
throws java.io.IOException
java.io.IOExceptionpublic java.lang.Object getServerGuiElement(int ID,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.world.World world,
int x,
int y,
int z)
getServerGuiElement in interface net.minecraftforge.fml.common.network.IGuiHandlerpublic java.lang.Object getClientGuiElement(int ID,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.world.World world,
int x,
int y,
int z)
getClientGuiElement in interface net.minecraftforge.fml.common.network.IGuiHandler