public class CommonProxy
extends java.lang.Object
Constructor and Description |
---|
CommonProxy() |
Modifier and Type | Method and Description |
---|---|
static java.io.BufferedInputStream |
getStreamForResourceLocation(net.minecraft.util.ResourceLocation resourceLocation)
Creates a new input stream at the specified file path.
|
static void |
init(net.minecraftforge.fml.event.lifecycle.FMLCommonSetupEvent event) |
static java.util.List<MoveSkill> |
loadDefaultMoveSkills() |
static void |
onMissingRegistry(net.minecraftforge.event.RegistryEvent.MissingMappings event) |
static void |
registerInteractions()
Registers Pixelmon player interactions.
|
static boolean |
resourceLocationExists(net.minecraft.util.ResourceLocation resourceLocation)
Checks whether there is a resource at the given location.
|
static void |
spawnEntitySafely(net.minecraft.entity.Entity entity,
net.minecraft.world.World worldObj)
Sends out a Pokémon from its Poké Ball.
|
public static void init(net.minecraftforge.fml.event.lifecycle.FMLCommonSetupEvent event)
public static void registerInteractions()
public static boolean resourceLocationExists(net.minecraft.util.ResourceLocation resourceLocation)
resourceLocation
- The file path to check.public static java.io.BufferedInputStream getStreamForResourceLocation(net.minecraft.util.ResourceLocation resourceLocation)
resourceLocation
- The file path to get the input stream from.public static void spawnEntitySafely(net.minecraft.entity.Entity entity, net.minecraft.world.World worldObj)
public static java.util.List<MoveSkill> loadDefaultMoveSkills()
public static void onMissingRegistry(net.minecraftforge.event.RegistryEvent.MissingMappings event)