public class CommonProxy
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
DEFAULT_RESOURCELOCATION_MOD |
| Constructor and Description |
|---|
CommonProxy() |
| Modifier and Type | Method and Description |
|---|---|
void |
playSound(double x,
double y,
double z,
java.lang.String sound,
float volume,
float frequency)
Play an evilcraft sound, will do nothing serverside, use
sendSound(double,
double, double, String, float, float, String) for this. |
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
sendSound(double,
double, double, String, float, float, String) for this. |
void |
playSoundMinecraft(double x,
double y,
double z,
java.lang.String sound,
float volume,
float frequency)
Play a minecraft sound, will do nothing serverside, use
sendSound(double,
double, double, String, float, float, String) for this. |
void |
playSoundMinecraft(ILocation location,
java.lang.String sound,
float volume,
float frequency)
Play a minecraft sound, will do nothing serverside, use
sendSound(double,
double, double, String, float, float, String) for this. |
void |
registerEventHooks()
Register the event hooks
|
void |
registerKeyBindings()
Register key bindings.
|
void |
registerPacketHandlers()
Register packet handlers.
|
void |
registerRenderers()
Register renderers.
|
void |
registerTickHandlers()
Register tick handlers.
|
void |
sendSound(double x,
double y,
double z,
java.lang.String sound,
float volume,
float frequency)
Send an evilcraft sound packet.
|
void |
sendSound(double x,
double y,
double z,
java.lang.String sound,
float volume,
float frequency,
java.lang.String mod)
Send a sound packet.
|
void |
sendSoundMinecraft(double x,
double y,
double z,
java.lang.String sound,
float volume,
float frequency)
Send a minecraft sound packet.
|
void |
sendSoundMinecraft(ILocation location,
java.lang.String sound,
float volume,
float frequency)
Send a minecraft sound packet.
|
protected static final java.lang.String DEFAULT_RESOURCELOCATION_MOD
public void registerRenderers()
public void registerKeyBindings()
public void registerPacketHandlers()
public void registerTickHandlers()
public void registerEventHooks()
public void playSoundMinecraft(ILocation location, java.lang.String sound, float volume, float frequency)
sendSound(double,
double, double, String, float, float, String) for this.location - The location.sound - The sound name to play.volume - The volume of the sound.frequency - The pitch of the sound.public void playSoundMinecraft(double x,
double y,
double z,
java.lang.String sound,
float volume,
float frequency)
sendSound(double,
double, double, String, float, float, String) for this.x - 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.public void playSound(double x,
double y,
double z,
java.lang.String sound,
float volume,
float frequency,
java.lang.String mod)
sendSound(double,
double, double, String, float, float, String) for this.x - 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.public void playSound(double x,
double y,
double z,
java.lang.String sound,
float volume,
float frequency)
sendSound(double,
double, double, String, float, float, String) for this.x - 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.public void sendSoundMinecraft(ILocation location, java.lang.String sound, float volume, float frequency)
location - The location.sound - The sound name to play.volume - The volume of the sound.frequency - The pitch of the sound.public void sendSoundMinecraft(double x,
double y,
double z,
java.lang.String sound,
float volume,
float frequency)
x - 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.public void sendSound(double x,
double y,
double z,
java.lang.String sound,
float volume,
float frequency,
java.lang.String mod)
x - 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 id that has this sound.public void sendSound(double x,
double y,
double z,
java.lang.String sound,
float volume,
float frequency)
x - 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.