From 79ed963c4aa017b74da21af756d7abfc2a2d56e8 Mon Sep 17 00:00:00 2001 From: LexManos Date: Thu, 2 Aug 2012 20:32:51 -0700 Subject: [PATCH] Remove clientdrop, old reference files. --- fml/clientdrop/mcp/BaseMod.java | 64 -------- fml/clientdrop/mcp/ModLoader.java | 250 ------------------------------ fml/clientdrop/obf/BaseMod.java | 47 ------ fml/clientdrop/obf/ModLoader.java | 135 ---------------- 4 files changed, 496 deletions(-) delete mode 100644 fml/clientdrop/mcp/BaseMod.java delete mode 100644 fml/clientdrop/mcp/ModLoader.java delete mode 100644 fml/clientdrop/obf/BaseMod.java delete mode 100644 fml/clientdrop/obf/ModLoader.java diff --git a/fml/clientdrop/mcp/BaseMod.java b/fml/clientdrop/mcp/BaseMod.java deleted file mode 100644 index 84bfb6ce7..000000000 --- a/fml/clientdrop/mcp/BaseMod.java +++ /dev/null @@ -1,64 +0,0 @@ -package fml.stubs.mcp; - -import java.util.Map; -import java.util.Random; - -import net.minecraft.client.Minecraft; -import net.minecraft.src.Block; -import net.minecraft.src.Entity; -import net.minecraft.src.EntityPlayer; -import net.minecraft.src.GuiScreen; -import net.minecraft.src.IBlockAccess; -import net.minecraft.src.IInventory; -import net.minecraft.src.ItemStack; -import net.minecraft.src.KeyBinding; -import net.minecraft.src.Packet250CustomPayload; -import net.minecraft.src.Render; -import net.minecraft.src.RenderBlocks; -import net.minecraft.src.World; - -public interface BaseMod { - int addFuel(int id, int metadata); - - void addRenderer(Map, Render> renderers); - - boolean dispenseEntity(World world, double x, double y, double z, int xVel, int zVel, ItemStack item); - - void generateNether(World world, Random random, int chunkX, int chunkZ); - - void generateSurface(World world, Random random, int chunkX, int chunkZ); - - String getName(); - - String getPriorities(); - - abstract String getVersion(); - - void keyboardEvent(KeyBinding event); - - abstract void load(); - - void modsLoaded(); - - void onItemPickup(EntityPlayer player, ItemStack item); - - boolean onTickInGame(float tick, Minecraft game); - - boolean onTickInGUI(float tick, Minecraft game, GuiScreen gui); - - void receiveChatPacket(String text); - - void receiveCustomPacket(Packet250CustomPayload packet); - - void registerAnimation(Minecraft game); - - void renderInvBlock(RenderBlocks renderer, Block block, int metadata, int modelID); - - boolean renderWorldBlock(RenderBlocks renderer, IBlockAccess world, int x, int y, int z, Block block, int modelID); - - void takenFromCrafting(EntityPlayer player, ItemStack item, IInventory matrix); - - void takenFromFurnace(EntityPlayer player, ItemStack item); - - String toString(); -} diff --git a/fml/clientdrop/mcp/ModLoader.java b/fml/clientdrop/mcp/ModLoader.java deleted file mode 100644 index b745ac648..000000000 --- a/fml/clientdrop/mcp/ModLoader.java +++ /dev/null @@ -1,250 +0,0 @@ -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 { - static void addAchievementDesc(Achievement achievement, String name, String description) { - } - - static int addAllFuel(int id, int metadata) { - return 0; - } - - static void addAllRenderers(Map, Render> renderers) { - } - - static void addAnimation(TextureFX anim) { - } - - static int addArmor(String armor) { - return 0; - } - - static void addBiome(BiomeGenBase biome) { - } - - static void addLocalization(String key, String value) { - } - - static void addLocalization(String key, String lang, String value) { - } - - static void addName(Object instance, String name) { - } - - static void addName(Object instance, String lang, String name) { - } - - static int addOverride(String fileToOverride, String fileToAdd) { - return 0; - } - - static void addOverride(String path, String overlayPath, int index) { - } - - static void addRecipe(ItemStack output, Object... params) { - } - - static void addShapelessRecipe(ItemStack output, Object... params) { - } - - static void addSmelting(int input, ItemStack output) { - } - - static void addSpawn(Class entityClass, int weightedProb, int min, int max, EnumCreatureType spawnList) { - } - - static void addSpawn(Class entityClass, int weightedProb, int min, int max, EnumCreatureType spawnList, BiomeGenBase... biomes) { - } - - static void addSpawn(String entityName, int weightedProb, int min, int max, EnumCreatureType spawnList) { - } - - static void addSpawn(String entityName, int weightedProb, int min, int max, EnumCreatureType spawnList, BiomeGenBase... biomes) { - } - - static boolean dispenseEntity(World world, double x, double y, double z, int xVel, int zVel, ItemStack item) { - return false; - } - - static void genericContainerRemoval(World world, int x, int y, int z) { - } - - static List getLoadedMods() { - return null; - } - - static Logger getLogger() { - return null; - } - - static Minecraft getMinecraftInstance() { - return null; - } - - static T getPrivateValue(Class instanceclass, E instance, int fieldindex) { - return null; - } - - static T getPrivateValue(Class instanceclass, E instance, String field) { - return null; - } - - static int getUniqueBlockModelID(BaseMod mod, boolean full3DItem) { - return 0; - } - - static int getUniqueEntityId() { - return 0; - } - - static int getUniqueSpriteIndex(String path) { - return 0; - } - - static boolean isGUIOpen(Class gui) { - return false; - } - - static boolean isModLoaded(String modname) { - return false; - } - - static void loadConfig() { - } - - static BufferedImage loadImage(RenderEngine texCache, String path) { - return null; - } - - static void onItemPickup(EntityPlayer player, ItemStack item) { - } - - static void onTick(float tick, net.minecraft.client.Minecraft game) { - } - - static void openGUI(EntityPlayer player, GuiScreen gui) { - } - - static void populateChunk(IChunkProvider generator, int chunkX, int chunkZ, World world) { - } - - static void receivePacket(Packet250CustomPayload packet) { - } - - static KeyBinding[] registerAllKeys(KeyBinding[] keys) { - return keys; - } - - static void registerAllTextureOverrides(RenderEngine cache) { - } - - static void registerBlock(Block block) { - } - - static void registerBlock(Block block, Class itemclass) { - } - - static void registerEntityID(Class entityClass, String entityName, int id) { - } - - static void registerEntityID(Class entityClass, String entityName, int id, int background, int foreground) { - } - - static void registerKey(BaseMod mod, KeyBinding keyHandler, boolean allowRepeat) { - } - - static void registerPacketChannel(BaseMod mod, String channel) { - } - - static void registerTileEntity(Class tileEntityClass, String id) { - } - - static void registerTileEntity(Class tileEntityClass, String id, TileEntitySpecialRenderer renderer) { - } - - static void removeBiome(BiomeGenBase biome) { - } - - static void removeSpawn(Class entityClass, EnumCreatureType spawnList) { - } - - static void removeSpawn(Class entityClass, EnumCreatureType spawnList, BiomeGenBase... biomes) { - } - - static void removeSpawn(String entityName, EnumCreatureType spawnList) { - } - - static void removeSpawn(String entityName, EnumCreatureType spawnList, BiomeGenBase... biomes) { - } - - static boolean renderBlockIsItemFull3D(int modelID) { - return false; - } - - static void renderInvBlock(RenderBlocks renderer, Block block, int metadata, int modelID) { - } - - static boolean renderWorldBlock(RenderBlocks renderer, IBlockAccess world, int x, int y, int z, Block block, int modelID) { - return false; - } - - static void saveConfig() { - } - - static void serverChat(String text) { - } - - static void serverLogin(NetClientHandler handler, Packet1Login loginPacket) { - } - - static void setInGameHook(BaseMod mod, boolean enable, boolean useClock) { - } - - static void setInGUIHook(BaseMod mod, boolean enable, boolean useClock) { - } - - static void setPrivateValue(Class instanceclass, T instance, int fieldindex, E value) { - } - - static void setPrivateValue(Class instanceclass, T instance, String field, E value) { - } - - static void takenFromCrafting(EntityPlayer player, ItemStack item, IInventory matrix) { - } - - static void takenFromFurnace(EntityPlayer player, ItemStack item) { - } - - static void throwException(String message, Throwable e) { - } -} diff --git a/fml/clientdrop/obf/BaseMod.java b/fml/clientdrop/obf/BaseMod.java deleted file mode 100644 index 4272306b8..000000000 --- a/fml/clientdrop/obf/BaseMod.java +++ /dev/null @@ -1,47 +0,0 @@ -package fml.stubs.obf; - -public interface BaseMod { - int addFuel(int id, int metadata); - - void addRenderer(java.util.Map, um> renderers); - - boolean dispenseEntity(xd world, double x, double y, double z, int xVel, int zVel, aan item); - - void generateNether(xd world, java.util.Random random, int chunkX, int chunkZ); - - void generateSurface(xd world, java.util.Random random, int chunkX, int chunkZ); - - java.lang.String getName(); - - java.lang.String getPriorities(); - - abstract java.lang.String getVersion(); - - void keyboardEvent(afu event); - - abstract void load(); - - void modsLoaded(); - - void onItemPickup(yw player, aan item); - - boolean onTickInGame(float tick, net.minecraft.client.Minecraft game); - - boolean onTickInGUI(float tick, net.minecraft.client.Minecraft game, vp gui); - - void receiveChatPacket(java.lang.String text); - - void receiveCustomPacket(ee packet); - - void registerAnimation(net.minecraft.client.Minecraft game); - - void renderInvBlock(vl renderer, pb block, int metadata, int modelID); - - boolean renderWorldBlock(vl renderer, ali world, int x, int y, int z, pb block, int modelID); - - void takenFromCrafting(yw player, aan item, io matrix); - - void takenFromFurnace(yw player, aan item); - - java.lang.String toString(); -} diff --git a/fml/clientdrop/obf/ModLoader.java b/fml/clientdrop/obf/ModLoader.java deleted file mode 100644 index dd8e73634..000000000 --- a/fml/clientdrop/obf/ModLoader.java +++ /dev/null @@ -1,135 +0,0 @@ -package fml.stubs.obf; - -public interface ModLoader { - static void addAchievementDesc(aeb achievement, java.lang.String name, java.lang.String description); - - static int addAllFuel(int id, int metadata); - - static void addAllRenderers(java.util.Map, um> renderers); - - static void addAnimation(tt anim); - - static int addArmor(java.lang.String armor); - - static void addBiome(abn biome); - - static void addLocalization(java.lang.String key, java.lang.String value); - - static void addLocalization(java.lang.String key, java.lang.String lang, java.lang.String value); - - static void addName(java.lang.Object instance, java.lang.String name); - - static void addName(java.lang.Object instance, java.lang.String lang, java.lang.String name); - - static int addOverride(java.lang.String fileToOverride, java.lang.String fileToAdd); - - static void addOverride(java.lang.String path, java.lang.String overlayPath, int index); - - static void addRecipe(aan output, java.lang.Object... params); - - static void addShapelessRecipe(aan output, java.lang.Object... params); - - static void addSmelting(int input, aan output); - - static void addSpawn(java.lang.Class entityClass, int weightedProb, int min, int max, acf spawnList); - - static void addSpawn(java.lang.Class entityClass, int weightedProb, int min, int max, acf spawnList, abn... biomes); - - static void addSpawn(java.lang.String entityName, int weightedProb, int min, int max, acf spawnList); - - static void addSpawn(java.lang.String entityName, int weightedProb, int min, int max, acf spawnList, abn... biomes); - - static boolean dispenseEntity(xd world, double x, double y, double z, int xVel, int zVel, aan item); - - static void genericContainerRemoval(xd world, int x, int y, int z); - - static java.util.List getLoadedMods(); - - static java.util.logging.Logger getLogger(); - - static net.minecraft.client.Minecraft getMinecraftInstance(); - - static T getPrivateValue(java.lang.Class instanceclass, E instance, int fieldindex); - - static T getPrivateValue(java.lang.Class instanceclass, E instance, java.lang.String field); - - static int getUniqueBlockModelID(BaseMod mod, boolean full3DItem); - - static int getUniqueEntityId(); - - static int getUniqueSpriteIndex(java.lang.String path); - - static boolean isGUIOpen(java.lang.Class gui); - - static boolean isModLoaded(java.lang.String modname); - - static void loadConfig(); - - static java.awt.image.BufferedImage loadImage(aaw texCache, java.lang.String path); - - static void onItemPickup(yw player, aan item); - - static void onTick(float tick, net.minecraft.client.Minecraft game); - - static void openGUI(yw player, vp gui); - - static void populateChunk(ca generator, int chunkX, int chunkZ, xd world); - - static void receivePacket(ee packet); - - static afu[] registerAllKeys(afu[] keys); - - static void registerAllTextureOverrides(aaw cache); - - static void registerBlock(pb block); - - static void registerBlock(pb block, java.lang.Class itemclass); - - static void registerEntityID(java.lang.Class entityClass, java.lang.String entityName, int id); - - static void registerEntityID(java.lang.Class entityClass, java.lang.String entityName, int id, int background, int foreground); - - static void registerKey(BaseMod mod, afu keyHandler, boolean allowRepeat); - - static void registerPacketChannel(BaseMod mod, java.lang.String channel); - - static void registerTileEntity(java.lang.Class tileEntityClass, java.lang.String id); - - static void registerTileEntity(java.lang.Class tileEntityClass, java.lang.String id, aar renderer); - - static void removeBiome(abn biome); - - static void removeSpawn(java.lang.Class entityClass, acf spawnList); - - static void removeSpawn(java.lang.Class entityClass, acf spawnList, abn... biomes); - - static void removeSpawn(java.lang.String entityName, acf spawnList); - - static void removeSpawn(java.lang.String entityName, acf spawnList, abn... biomes); - - static boolean renderBlockIsItemFull3D(int modelID); - - static void renderInvBlock(vl renderer, pb block, int metadata, int modelID); - - static boolean renderWorldBlock(vl renderer, ali world, int x, int y, int z, pb block, int modelID); - - static void saveConfig(); - - static void serverChat(java.lang.String text); - - static void serverLogin(adl handler, aec loginPacket); - - static void setInGameHook(BaseMod mod, boolean enable, boolean useClock); - - static void setInGUIHook(BaseMod mod, boolean enable, boolean useClock); - - static void setPrivateValue(java.lang.Class instanceclass, T instance, int fieldindex, E value); - - static void setPrivateValue(java.lang.Class instanceclass, T instance, java.lang.String field, E value); - - static void takenFromCrafting(yw player, aan item, io matrix); - - static void takenFromFurnace(yw player, aan item); - - static void throwException(java.lang.String message, java.lang.Throwable e); -}