2012-03-28 16:53:08 +00:00
|
|
|
package fml.stubs.mcp;
|
|
|
|
|
|
|
|
import java.awt.image.BufferedImage;
|
|
|
|
import java.util.List;
|
|
|
|
import java.util.Map;
|
|
|
|
import java.util.logging.Logger;
|
|
|
|
|
|
|
|
import net.minecraft.client.Minecraft;
|
|
|
|
import net.minecraft.src.Achievement;
|
|
|
|
import net.minecraft.src.BiomeGenBase;
|
|
|
|
import net.minecraft.src.Block;
|
|
|
|
import net.minecraft.src.Entity;
|
|
|
|
import net.minecraft.src.EntityLiving;
|
|
|
|
import net.minecraft.src.EntityPlayer;
|
|
|
|
import net.minecraft.src.EnumCreatureType;
|
|
|
|
import net.minecraft.src.GuiScreen;
|
|
|
|
import net.minecraft.src.IBlockAccess;
|
|
|
|
import net.minecraft.src.IChunkProvider;
|
|
|
|
import net.minecraft.src.IInventory;
|
|
|
|
import net.minecraft.src.ItemBlock;
|
|
|
|
import net.minecraft.src.ItemStack;
|
|
|
|
import net.minecraft.src.KeyBinding;
|
|
|
|
import net.minecraft.src.NetClientHandler;
|
|
|
|
import net.minecraft.src.Packet1Login;
|
|
|
|
import net.minecraft.src.Packet250CustomPayload;
|
|
|
|
import net.minecraft.src.Render;
|
|
|
|
import net.minecraft.src.RenderBlocks;
|
|
|
|
import net.minecraft.src.RenderEngine;
|
|
|
|
import net.minecraft.src.TextureFX;
|
|
|
|
import net.minecraft.src.TileEntity;
|
|
|
|
import net.minecraft.src.TileEntitySpecialRenderer;
|
|
|
|
import net.minecraft.src.World;
|
|
|
|
|
|
|
|
public class ModLoader {
|
2012-03-28 17:29:23 +00:00
|
|
|
static void addAchievementDesc(Achievement achievement, String name, String description) {
|
|
|
|
}
|
2012-03-28 16:53:08 +00:00
|
|
|
|
2012-03-28 17:29:23 +00:00
|
|
|
static int addAllFuel(int id, int metadata) {
|
|
|
|
return 0;
|
|
|
|
}
|
2012-03-28 16:53:08 +00:00
|
|
|
|
2012-03-28 17:29:23 +00:00
|
|
|
static void addAllRenderers(Map<Class<? extends Entity>, Render> renderers) {
|
|
|
|
}
|
2012-03-28 16:53:08 +00:00
|
|
|
|
2012-03-28 17:29:23 +00:00
|
|
|
static void addAnimation(TextureFX anim) {
|
|
|
|
}
|
2012-03-28 16:53:08 +00:00
|
|
|
|
2012-03-28 17:29:23 +00:00
|
|
|
static int addArmor(String armor) {
|
|
|
|
return 0;
|
|
|
|
}
|
2012-03-28 16:53:08 +00:00
|
|
|
|
2012-03-28 17:29:23 +00:00
|
|
|
static void addBiome(BiomeGenBase biome) {
|
|
|
|
}
|
2012-03-28 16:53:08 +00:00
|
|
|
|
2012-03-28 17:29:23 +00:00
|
|
|
static void addLocalization(String key, String value) {
|
|
|
|
}
|
2012-03-28 16:53:08 +00:00
|
|
|
|
2012-03-28 17:29:23 +00:00
|
|
|
static void addLocalization(String key, String lang, String value) {
|
|
|
|
}
|
2012-03-28 16:53:08 +00:00
|
|
|
|
2012-03-28 17:29:23 +00:00
|
|
|
static void addName(Object instance, String name) {
|
|
|
|
}
|
2012-03-28 16:53:08 +00:00
|
|
|
|
2012-03-28 17:29:23 +00:00
|
|
|
static void addName(Object instance, String lang, String name) {
|
|
|
|
}
|
2012-03-28 16:53:08 +00:00
|
|
|
|
2012-03-28 17:29:23 +00:00
|
|
|
static int addOverride(String fileToOverride, String fileToAdd) {
|
|
|
|
return 0;
|
|
|
|
}
|
2012-03-28 16:53:08 +00:00
|
|
|
|
2012-03-28 17:29:23 +00:00
|
|
|
static void addOverride(String path, String overlayPath, int index) {
|
|
|
|
}
|
2012-03-28 16:53:08 +00:00
|
|
|
|
2012-03-28 17:29:23 +00:00
|
|
|
static void addRecipe(ItemStack output, Object... params) {
|
|
|
|
}
|
2012-03-28 16:53:08 +00:00
|
|
|
|
2012-03-28 17:29:23 +00:00
|
|
|
static void addShapelessRecipe(ItemStack output, Object... params) {
|
|
|
|
}
|
2012-03-28 16:53:08 +00:00
|
|
|
|
2012-03-28 17:29:23 +00:00
|
|
|
static void addSmelting(int input, ItemStack output) {
|
|
|
|
}
|
2012-03-28 16:53:08 +00:00
|
|
|
|
2012-03-28 17:29:23 +00:00
|
|
|
static void addSpawn(Class<? extends EntityLiving> entityClass, int weightedProb, int min, int max, EnumCreatureType spawnList) {
|
|
|
|
}
|
2012-03-28 16:53:08 +00:00
|
|
|
|
2012-03-28 17:29:23 +00:00
|
|
|
static void addSpawn(Class<? extends EntityLiving> entityClass, int weightedProb, int min, int max, EnumCreatureType spawnList, BiomeGenBase... biomes) {
|
|
|
|
}
|
2012-03-28 16:53:08 +00:00
|
|
|
|
2012-03-28 17:29:23 +00:00
|
|
|
static void addSpawn(String entityName, int weightedProb, int min, int max, EnumCreatureType spawnList) {
|
|
|
|
}
|
2012-03-28 16:53:08 +00:00
|
|
|
|
2012-03-28 17:29:23 +00:00
|
|
|
static void addSpawn(String entityName, int weightedProb, int min, int max, EnumCreatureType spawnList, BiomeGenBase... biomes) {
|
|
|
|
}
|
2012-03-28 16:53:08 +00:00
|
|
|
|
2012-03-28 17:29:23 +00:00
|
|
|
static boolean dispenseEntity(World world, double x, double y, double z, int xVel, int zVel, ItemStack item) {
|
|
|
|
return false;
|
|
|
|
}
|
2012-03-28 16:53:08 +00:00
|
|
|
|
2012-03-28 17:29:23 +00:00
|
|
|
static void genericContainerRemoval(World world, int x, int y, int z) {
|
|
|
|
}
|
2012-03-28 16:53:08 +00:00
|
|
|
|
2012-03-28 17:29:23 +00:00
|
|
|
static List<BaseMod> getLoadedMods() {
|
|
|
|
return null;
|
|
|
|
}
|
2012-03-28 16:53:08 +00:00
|
|
|
|
2012-03-28 17:29:23 +00:00
|
|
|
static Logger getLogger() {
|
|
|
|
return null;
|
|
|
|
}
|
2012-03-28 16:53:08 +00:00
|
|
|
|
2012-03-28 17:29:23 +00:00
|
|
|
static Minecraft getMinecraftInstance() {
|
|
|
|
return null;
|
|
|
|
}
|
2012-03-28 16:53:08 +00:00
|
|
|
|
2012-03-28 17:29:23 +00:00
|
|
|
static <T, E> T getPrivateValue(Class<? super E> instanceclass, E instance, int fieldindex) {
|
|
|
|
return null;
|
|
|
|
}
|
2012-03-28 16:53:08 +00:00
|
|
|
|
2012-03-28 17:29:23 +00:00
|
|
|
static <T, E> T getPrivateValue(Class<? super E> instanceclass, E instance, String field) {
|
|
|
|
return null;
|
|
|
|
}
|
2012-03-28 16:53:08 +00:00
|
|
|
|
2012-03-28 17:29:23 +00:00
|
|
|
static int getUniqueBlockModelID(BaseMod mod, boolean full3DItem) {
|
|
|
|
return 0;
|
|
|
|
}
|
2012-03-28 16:53:08 +00:00
|
|
|
|
2012-03-28 17:29:23 +00:00
|
|
|
static int getUniqueEntityId() {
|
|
|
|
return 0;
|
|
|
|
}
|
2012-03-28 16:53:08 +00:00
|
|
|
|
2012-03-28 17:29:23 +00:00
|
|
|
static int getUniqueSpriteIndex(String path) {
|
|
|
|
return 0;
|
|
|
|
}
|
2012-03-28 16:53:08 +00:00
|
|
|
|
2012-03-28 17:29:23 +00:00
|
|
|
static boolean isGUIOpen(Class<? extends GuiScreen> gui) {
|
|
|
|
return false;
|
|
|
|
}
|
2012-03-28 16:53:08 +00:00
|
|
|
|
2012-03-28 17:29:23 +00:00
|
|
|
static boolean isModLoaded(String modname) {
|
|
|
|
return false;
|
|
|
|
}
|
2012-03-28 16:53:08 +00:00
|
|
|
|
2012-03-28 17:29:23 +00:00
|
|
|
static void loadConfig() {
|
|
|
|
}
|
2012-03-28 16:53:08 +00:00
|
|
|
|
2012-03-28 17:29:23 +00:00
|
|
|
static BufferedImage loadImage(RenderEngine texCache, String path) {
|
|
|
|
return null;
|
|
|
|
}
|
2012-03-28 16:53:08 +00:00
|
|
|
|
2012-03-28 17:29:23 +00:00
|
|
|
static void onItemPickup(EntityPlayer player, ItemStack item) {
|
|
|
|
}
|
2012-03-28 16:53:08 +00:00
|
|
|
|
2012-03-28 17:29:23 +00:00
|
|
|
static void onTick(float tick, net.minecraft.client.Minecraft game) {
|
|
|
|
}
|
2012-03-28 16:53:08 +00:00
|
|
|
|
2012-03-28 17:29:23 +00:00
|
|
|
static void openGUI(EntityPlayer player, GuiScreen gui) {
|
|
|
|
}
|
2012-03-28 16:53:08 +00:00
|
|
|
|
2012-03-28 17:29:23 +00:00
|
|
|
static void populateChunk(IChunkProvider generator, int chunkX, int chunkZ, World world) {
|
|
|
|
}
|
2012-03-28 16:53:08 +00:00
|
|
|
|
2012-03-28 17:29:23 +00:00
|
|
|
static void receivePacket(Packet250CustomPayload packet) {
|
|
|
|
}
|
2012-03-28 16:53:08 +00:00
|
|
|
|
2012-03-28 17:29:23 +00:00
|
|
|
static KeyBinding[] registerAllKeys(KeyBinding[] keys) {
|
|
|
|
return keys;
|
|
|
|
}
|
2012-03-28 16:53:08 +00:00
|
|
|
|
2012-03-28 17:29:23 +00:00
|
|
|
static void registerAllTextureOverrides(RenderEngine cache) {
|
|
|
|
}
|
2012-03-28 16:53:08 +00:00
|
|
|
|
2012-03-28 17:29:23 +00:00
|
|
|
static void registerBlock(Block block) {
|
|
|
|
}
|
2012-03-28 16:53:08 +00:00
|
|
|
|
2012-03-28 17:29:23 +00:00
|
|
|
static void registerBlock(Block block, Class<? extends ItemBlock> itemclass) {
|
|
|
|
}
|
2012-03-28 16:53:08 +00:00
|
|
|
|
2012-03-28 17:29:23 +00:00
|
|
|
static void registerEntityID(Class<? extends Entity> entityClass, String entityName, int id) {
|
|
|
|
}
|
2012-03-28 16:53:08 +00:00
|
|
|
|
2012-03-28 17:29:23 +00:00
|
|
|
static void registerEntityID(Class<? extends Entity> entityClass, String entityName, int id, int background, int foreground) {
|
|
|
|
}
|
2012-03-28 16:53:08 +00:00
|
|
|
|
2012-03-28 17:29:23 +00:00
|
|
|
static void registerKey(BaseMod mod, KeyBinding keyHandler, boolean allowRepeat) {
|
|
|
|
}
|
2012-03-28 16:53:08 +00:00
|
|
|
|
2012-03-28 17:29:23 +00:00
|
|
|
static void registerPacketChannel(BaseMod mod, String channel) {
|
|
|
|
}
|
2012-03-28 16:53:08 +00:00
|
|
|
|
2012-03-28 17:29:23 +00:00
|
|
|
static void registerTileEntity(Class<? extends TileEntity> tileEntityClass, String id) {
|
|
|
|
}
|
2012-03-28 16:53:08 +00:00
|
|
|
|
2012-03-28 17:29:23 +00:00
|
|
|
static void registerTileEntity(Class<? extends TileEntity> tileEntityClass, String id, TileEntitySpecialRenderer renderer) {
|
|
|
|
}
|
2012-03-28 16:53:08 +00:00
|
|
|
|
2012-03-28 17:29:23 +00:00
|
|
|
static void removeBiome(BiomeGenBase biome) {
|
|
|
|
}
|
2012-03-28 16:53:08 +00:00
|
|
|
|
2012-03-28 17:29:23 +00:00
|
|
|
static void removeSpawn(Class<? extends EntityLiving> entityClass, EnumCreatureType spawnList) {
|
|
|
|
}
|
2012-03-28 16:53:08 +00:00
|
|
|
|
2012-03-28 17:29:23 +00:00
|
|
|
static void removeSpawn(Class<? extends EntityLiving> entityClass, EnumCreatureType spawnList, BiomeGenBase... biomes) {
|
|
|
|
}
|
2012-03-28 16:53:08 +00:00
|
|
|
|
2012-03-28 17:29:23 +00:00
|
|
|
static void removeSpawn(String entityName, EnumCreatureType spawnList) {
|
|
|
|
}
|
2012-03-28 16:53:08 +00:00
|
|
|
|
2012-03-28 17:29:23 +00:00
|
|
|
static void removeSpawn(String entityName, EnumCreatureType spawnList, BiomeGenBase... biomes) {
|
|
|
|
}
|
2012-03-28 16:53:08 +00:00
|
|
|
|
2012-03-28 17:29:23 +00:00
|
|
|
static boolean renderBlockIsItemFull3D(int modelID) {
|
|
|
|
return false;
|
|
|
|
}
|
2012-03-28 16:53:08 +00:00
|
|
|
|
2012-03-28 17:29:23 +00:00
|
|
|
static void renderInvBlock(RenderBlocks renderer, Block block, int metadata, int modelID) {
|
|
|
|
}
|
2012-03-28 16:53:08 +00:00
|
|
|
|
2012-03-28 17:29:23 +00:00
|
|
|
static boolean renderWorldBlock(RenderBlocks renderer, IBlockAccess world, int x, int y, int z, Block block, int modelID) {
|
|
|
|
return false;
|
|
|
|
}
|
2012-03-28 16:53:08 +00:00
|
|
|
|
2012-03-28 17:29:23 +00:00
|
|
|
static void saveConfig() {
|
|
|
|
}
|
2012-03-28 16:53:08 +00:00
|
|
|
|
2012-03-28 17:29:23 +00:00
|
|
|
static void serverChat(String text) {
|
|
|
|
}
|
2012-03-28 16:53:08 +00:00
|
|
|
|
2012-03-28 17:29:23 +00:00
|
|
|
static void serverLogin(NetClientHandler handler, Packet1Login loginPacket) {
|
|
|
|
}
|
2012-03-28 16:53:08 +00:00
|
|
|
|
2012-03-28 17:29:23 +00:00
|
|
|
static void setInGameHook(BaseMod mod, boolean enable, boolean useClock) {
|
|
|
|
}
|
2012-03-28 16:53:08 +00:00
|
|
|
|
2012-03-28 17:29:23 +00:00
|
|
|
static void setInGUIHook(BaseMod mod, boolean enable, boolean useClock) {
|
|
|
|
}
|
2012-03-28 16:53:08 +00:00
|
|
|
|
2012-03-28 17:29:23 +00:00
|
|
|
static <T, E> void setPrivateValue(Class<? super T> instanceclass, T instance, int fieldindex, E value) {
|
|
|
|
}
|
2012-03-28 16:53:08 +00:00
|
|
|
|
2012-03-28 17:29:23 +00:00
|
|
|
static <T, E> void setPrivateValue(Class<? super T> instanceclass, T instance, String field, E value) {
|
|
|
|
}
|
2012-03-28 16:53:08 +00:00
|
|
|
|
2012-03-28 17:29:23 +00:00
|
|
|
static void takenFromCrafting(EntityPlayer player, ItemStack item, IInventory matrix) {
|
|
|
|
}
|
2012-03-28 16:53:08 +00:00
|
|
|
|
2012-03-28 17:29:23 +00:00
|
|
|
static void takenFromFurnace(EntityPlayer player, ItemStack item) {
|
|
|
|
}
|
2012-03-28 16:53:08 +00:00
|
|
|
|
2012-03-28 17:29:23 +00:00
|
|
|
static void throwException(String message, Throwable e) {
|
|
|
|
}
|
2012-03-28 16:53:08 +00:00
|
|
|
}
|