static void net.minecraftforge.client.ModCompatibilityClient.audioModAddCodecs |
( |
) | |
|
|
static |
Adds the IBXM codec and associates it with .xm, .s3m, and .mod
static void net.minecraftforge.client.ModCompatibilityClient.audioModLoad |
( |
SoundManager |
mngr) | |
|
|
static |
Populates the sound pools with with sounds from the /resources/mods folder And sets the interval between background music to 6000
- Parameters
-
mngr | The SoundManager instance |
If the current player is underground, it picks a random song from the cave sound pool, if they are not it returns the passed in entry.
- Parameters
-
soundManager | The SoundManager instance |
current | The currently selected entry |
- Returns
- A soundPool entry to be played as the background music
static boolean net.minecraftforge.client.ModCompatibilityClient.isMLMPInstalled |
( |
) | |
|
|
static |
Determine if ModLoaderMP is installed by checking for the existence of the BaseModMp class.
- Returns
- True if BaseModMp was installed (indicating the existance of MLMP)
static void net.minecraftforge.client.ModCompatibilityClient.mlmpOpenWindow |
( |
Packet100OpenWindow |
pkt) | |
|
|
static |
Attempts to invoke ModLoaderMp.handleGUI if ModLoaderMP is installed. If not, it does nothing
- Parameters
-
pkt | The open window packet |
static Object net.minecraftforge.client.ModCompatibilityClient.mlmpVehicleSpawn |
( |
int |
type, |
|
|
World |
world, |
|
|
double |
x, |
|
|
double |
y, |
|
|
double |
z, |
|
|
Entity |
thrower, |
|
|
Object |
currentEntity |
|
) |
| throws Exception |
|
static |
Attempts to spawn a vehicle using ModLoaderMP's vehicle spawn registry, if MLMP is not installed it returns the passed in currentEntity
- Parameters
-
type | The Type ID of the vehicle |
world | The current world |
x | The spawn X position |
y | The spawn Y position |
z | The spawn Z position |
thrower | The entity that spawned the vehicle {possibly null} |
currentEntity | The current value to return if MLMP is not installed |
- Returns
- The new spawned entity
- Exceptions
-
SoundPool net.minecraftforge.client.ModCompatibilityClient.audioModSoundPoolCave |
|
static |
The documentation for this class was generated from the following file: