public class ClientProxy extends CommonProxy
| Modifier and Type | Field and Description |
|---|---|
static java.util.List<cpw.mods.fml.client.registry.ISimpleBlockRenderingHandler> |
BLOCK_RENDERERS
List of
Block rendereres. |
static java.util.Map<java.lang.Class<? extends net.minecraft.entity.Entity>,net.minecraft.client.renderer.entity.Render> |
ENTITY_RENDERERS
Map for
Entity renderers. |
static java.util.Map<net.minecraft.item.Item,net.minecraftforge.client.IItemRenderer> |
ITEM_RENDERERS
Map for the
Item renderers. |
static java.util.Map<java.lang.Class<? extends net.minecraft.tileentity.TileEntity>,net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer> |
TILE_ENTITY_RENDERERS
Map for the
TileEntity renderers. |
DEFAULT_RESOURCELOCATION_MOD| Constructor and Description |
|---|
ClientProxy() |
| Modifier and Type | Method and Description |
|---|---|
void |
playSound(double x,
double y,
double z,
java.lang.String sound,
float volume,
float frequency,
java.lang.String mod)
Play a sound, will do nothing serverside, use
CommonProxy.sendSound(double,
double, double, String, float, float, String) for this. |
void |
registerEventHooks()
Register the event hooks
|
void |
registerKeyBindings()
Register key bindings.
|
void |
registerRenderers()
Register renderers.
|
void |
registerTickHandlers()
Register tick handlers.
|
playSound, playSoundMinecraft, playSoundMinecraft, registerPacketHandlers, sendSound, sendSound, sendSoundMinecraft, sendSoundMinecraftpublic static java.util.Map<java.lang.Class<? extends net.minecraft.entity.Entity>,net.minecraft.client.renderer.entity.Render> ENTITY_RENDERERS
Entity renderers.public static java.util.Map<java.lang.Class<? extends net.minecraft.tileentity.TileEntity>,net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer> TILE_ENTITY_RENDERERS
TileEntity renderers.public static java.util.List<cpw.mods.fml.client.registry.ISimpleBlockRenderingHandler> BLOCK_RENDERERS
Block rendereres.public static java.util.Map<net.minecraft.item.Item,net.minecraftforge.client.IItemRenderer> ITEM_RENDERERS
Item renderers.public void registerRenderers()
CommonProxyregisterRenderers in class CommonProxypublic void registerKeyBindings()
CommonProxyregisterKeyBindings in class CommonProxypublic void registerTickHandlers()
CommonProxyregisterTickHandlers in class CommonProxypublic void registerEventHooks()
CommonProxyregisterEventHooks in class CommonProxypublic void playSound(double x,
double y,
double z,
java.lang.String sound,
float volume,
float frequency,
java.lang.String mod)
CommonProxyCommonProxy.sendSound(double,
double, double, String, float, float, String) for this.playSound in class CommonProxyx - The X coordinate.y - The Y coordinate.z - The Z coordinate.sound - The sound name to play.volume - The volume of the sound.frequency - The pitch of the sound.mod - The mod that has this sound.