public static class BCLibProxy.ClientProxy extends BCLibProxy
BCLibProxy.ClientProxy, BCLibProxy.ServerProxy
Constructor and Description |
---|
ClientProxy() |
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) |
<T extends net.minecraft.tileentity.TileEntity> |
getServerTile(T tile) |
java.io.InputStream |
getStreamForIdentifier(net.minecraft.util.ResourceLocation identifier) |
getProxy, getServerGuiElement
public net.minecraft.world.World getClientWorld()
getClientWorld
in class BCLibProxy
public net.minecraft.entity.player.EntityPlayer getClientPlayer()
getClientPlayer
in class BCLibProxy
public net.minecraft.entity.player.EntityPlayer getPlayerForContext(net.minecraftforge.fml.common.network.simpleimpl.MessageContext ctx)
getPlayerForContext
in class BCLibProxy
public void addScheduledTask(net.minecraft.world.World world, java.lang.Runnable task)
addScheduledTask
in class BCLibProxy
public <T extends net.minecraft.tileentity.TileEntity> T getServerTile(T tile)
getServerTile
in class BCLibProxy
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
getClientGuiElement
in class BCLibProxy
public java.io.InputStream getStreamForIdentifier(net.minecraft.util.ResourceLocation identifier) throws java.io.IOException
getStreamForIdentifier
in class BCLibProxy
java.io.IOException