public class CoreProxyClient extends CoreProxy
buildCraftPlayer, proxy| Constructor and Description |
|---|
CoreProxyClient() |
| Modifier and Type | Method and Description |
|---|---|
void |
feedSubBlocks(net.minecraft.block.Block block,
net.minecraft.creativetab.CreativeTabs tab,
java.util.List itemList) |
java.lang.Object |
getClient() |
net.minecraft.entity.player.EntityPlayer |
getClientPlayer() |
net.minecraft.world.World |
getClientWorld() |
java.lang.String |
getItemDisplayName(net.minecraft.item.ItemStack stack) |
net.minecraft.entity.player.EntityPlayer |
getPlayerFromNetHandler(net.minecraft.network.INetHandler handler)
This function returns either the player from the handler if it's on the
server, or directly from the minecraft instance if it's the client.
|
net.minecraft.tileentity.TileEntity |
getServerTile(net.minecraft.tileentity.TileEntity source) |
void |
initializeEntityRendering() |
void |
initializeRendering() |
EntityBlock |
newEntityBlock(net.minecraft.world.World world,
double i,
double j,
double k,
double iSize,
double jSize,
double kSize,
LaserKind laserKind) |
java.lang.String |
playerName() |
void |
removeEntity(net.minecraft.entity.Entity entity) |
addCraftingRecipe, addShapelessRecipe, getBuildCraftPlayer, getBuildCraftPlayer, getMinecraftVersion, onCraftingPickup, registerBlock, registerBlock, registerItem, registerTileEntitypublic net.minecraft.world.World getClientWorld()
getClientWorld in class CoreProxypublic void removeEntity(net.minecraft.entity.Entity entity)
removeEntity in class CoreProxypublic void feedSubBlocks(net.minecraft.block.Block block,
net.minecraft.creativetab.CreativeTabs tab,
java.util.List itemList)
feedSubBlocks in class CoreProxypublic java.lang.String getItemDisplayName(net.minecraft.item.ItemStack stack)
getItemDisplayName in class CoreProxypublic void initializeRendering()
initializeRendering in class CoreProxypublic void initializeEntityRendering()
initializeEntityRendering in class CoreProxypublic java.lang.String playerName()
playerName in class CoreProxypublic EntityBlock newEntityBlock(net.minecraft.world.World world, double i, double j, double k, double iSize, double jSize, double kSize, LaserKind laserKind)
newEntityBlock in class CoreProxypublic net.minecraft.entity.player.EntityPlayer getPlayerFromNetHandler(net.minecraft.network.INetHandler handler)
getPlayerFromNetHandler in class CoreProxypublic net.minecraft.tileentity.TileEntity getServerTile(net.minecraft.tileentity.TileEntity source)
getServerTile in class CoreProxypublic net.minecraft.entity.player.EntityPlayer getClientPlayer()
getClientPlayer in class CoreProxy