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) |
void |
postRegisterBlock(BlockBCBase_Neptune block) |
void |
postRegisterFluid(BCFluid fluid) |
void |
postRegisterItem(IItemBuildCraft item) |
public static BCLibProxy getProxy()
public void postRegisterItem(IItemBuildCraft item)
public void postRegisterBlock(BlockBCBase_Neptune block)
public void postRegisterFluid(BCFluid fluid)
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.IOException
public 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.IGuiHandler
public 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