@Deprecated public class ModLoader extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
fmlMarker
Deprecated.
|
static Map<String,Map<String,String>> |
localizedStrings
Deprecated.
|
| Constructor and Description |
|---|
ModLoader()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
addAchievementDesc(Achievement achievement,
String name,
String description)
Deprecated.
|
static int |
addAllFuel(int id,
int metadata)
Deprecated.
|
static void |
addAllRenderers(Map<Class<? extends Entity>,Render> renderers)
Deprecated.
|
static int |
addArmor(String armor)
Deprecated.
|
static void |
addBiome(BiomeGenBase biome)
Deprecated.
|
static void |
addCommand(ICommand command)
Deprecated.
|
static void |
addDispenserBehavior(Item item,
IBehaviorDispenseItem behavior)
Deprecated.
|
static void |
addEntityTracker(BaseMod mod,
Class<? extends Entity> entityClass,
int entityTypeId,
int updateRange,
int updateInterval,
boolean sendVelocityInfo)
Deprecated.
|
static void |
addLocalization(String key,
String value)
Deprecated.
|
static void |
addLocalization(String key,
String lang,
String value)
Deprecated.
|
static void |
addName(Object instance,
String name)
Deprecated.
|
static void |
addName(Object instance,
String lang,
String name)
Deprecated.
|
static int |
addOverride(String fileToOverride,
String fileToAdd)
Deprecated.
|
static void |
addOverride(String path,
String overlayPath,
int index)
Deprecated.
|
static void |
addRecipe(ItemStack output,
Object... params)
Deprecated.
|
static void |
addShapelessRecipe(ItemStack output,
Object... params)
Deprecated.
|
static void |
addSmelting(int input,
ItemStack output)
Deprecated.
|
static void |
addSmelting(int input,
ItemStack output,
float experience)
Deprecated.
|
static void |
addSpawn(Class<? extends EntityLiving> entityClass,
int weightedProb,
int min,
int max,
EnumCreatureType spawnList)
Deprecated.
|
static void |
addSpawn(Class<? extends EntityLiving> entityClass,
int weightedProb,
int min,
int max,
EnumCreatureType spawnList,
BiomeGenBase... biomes)
Deprecated.
|
static void |
addSpawn(String entityName,
int weightedProb,
int min,
int max,
EnumCreatureType spawnList)
Deprecated.
|
static void |
addSpawn(String entityName,
int weightedProb,
int min,
int max,
EnumCreatureType spawnList,
BiomeGenBase... biomes)
Deprecated.
|
static void |
addTrade(int profession,
TradeEntry entry)
Deprecated.
|
static void |
clientSendPacket(Packet packet)
Deprecated.
|
static boolean |
dispenseEntity(World world,
double x,
double y,
double z,
int xVel,
int zVel,
ItemStack item)
Deprecated.
|
static void |
genericContainerRemoval(World world,
int x,
int y,
int z)
Deprecated.
|
static List<BaseMod> |
getLoadedMods()
Deprecated.
|
static Logger |
getLogger()
Deprecated.
|
static Minecraft |
getMinecraftInstance()
Deprecated.
|
static MinecraftServer |
getMinecraftServerInstance()
Deprecated.
|
static <T,E> T |
getPrivateValue(Class<? super E> instanceclass,
E instance,
int fieldindex)
Deprecated.
|
static <T,E> T |
getPrivateValue(Class<? super E> instanceclass,
E instance,
String field)
Deprecated.
|
static int |
getUniqueBlockModelID(BaseMod mod,
boolean inventoryRenderer)
Deprecated.
|
static int |
getUniqueEntityId()
Deprecated.
|
static int |
getUniqueSpriteIndex(String path)
Deprecated.
|
static boolean |
isChannelActive(EntityPlayer player,
String channel)
Deprecated.
|
static boolean |
isGUIOpen(Class<? extends GuiScreen> gui)
Deprecated.
|
static boolean |
isModLoaded(String modname)
Deprecated.
|
static void |
loadConfig()
Deprecated.
|
static void |
onItemPickup(EntityPlayer player,
ItemStack item)
Deprecated.
|
static void |
onTick(float tick,
Minecraft game)
Deprecated.
|
static void |
openGUI(EntityPlayer player,
GuiScreen gui)
Deprecated.
|
static void |
populateChunk(IChunkProvider generator,
int chunkX,
int chunkZ,
World world)
Deprecated.
|
static void |
receivePacket(Packet250CustomPayload packet)
Deprecated.
|
static KeyBinding[] |
registerAllKeys(KeyBinding[] keys)
Deprecated.
|
static void |
registerBlock(Block block)
Deprecated.
|
static void |
registerBlock(Block block,
Class<? extends ItemBlock> itemclass)
Deprecated.
|
static void |
registerContainerID(BaseMod mod,
int id)
Deprecated.
|
static void |
registerEntityID(Class<? extends Entity> entityClass,
String entityName,
int id)
Deprecated.
|
static void |
registerEntityID(Class<? extends Entity> entityClass,
String entityName,
int id,
int background,
int foreground)
Deprecated.
|
static void |
registerKey(BaseMod mod,
KeyBinding keyHandler,
boolean allowRepeat)
Deprecated.
|
static void |
registerPacketChannel(BaseMod mod,
String channel)
Deprecated.
|
static void |
registerTileEntity(Class<? extends TileEntity> tileEntityClass,
String id)
Deprecated.
|
static void |
registerTileEntity(Class<? extends TileEntity> tileEntityClass,
String id,
TileEntitySpecialRenderer renderer)
Deprecated.
|
static void |
removeBiome(BiomeGenBase biome)
Deprecated.
|
static void |
removeSpawn(Class<? extends EntityLiving> entityClass,
EnumCreatureType spawnList)
Deprecated.
|
static void |
removeSpawn(Class<? extends EntityLiving> entityClass,
EnumCreatureType spawnList,
BiomeGenBase... biomes)
Deprecated.
|
static void |
removeSpawn(String entityName,
EnumCreatureType spawnList)
Deprecated.
|
static void |
removeSpawn(String entityName,
EnumCreatureType spawnList,
BiomeGenBase... biomes)
Deprecated.
|
static boolean |
renderBlockIsItemFull3D(int modelID)
Deprecated.
|
static void |
renderInvBlock(RenderBlocks renderer,
Block block,
int metadata,
int modelID)
Deprecated.
|
static boolean |
renderWorldBlock(RenderBlocks renderer,
IBlockAccess world,
int x,
int y,
int z,
Block block,
int modelID)
Deprecated.
|
static void |
saveConfig()
Deprecated.
|
static void |
sendPacket(Packet packet)
Deprecated.
|
static void |
serverChat(String text)
Deprecated.
|
static void |
serverLogin(NetClientHandler handler,
Packet1Login loginPacket)
Deprecated.
|
static void |
serverOpenWindow(EntityPlayerMP player,
Container container,
int ID,
int x,
int y,
int z)
Deprecated.
|
static void |
serverSendPacket(NetServerHandler handler,
Packet packet)
Deprecated.
|
static void |
setInGameHook(BaseMod mod,
boolean enable,
boolean useClock)
Deprecated.
|
static void |
setInGUIHook(BaseMod mod,
boolean enable,
boolean useClock)
Deprecated.
|
static <T,E> void |
setPrivateValue(Class<? super T> instanceclass,
T instance,
int fieldindex,
E value)
Deprecated.
|
static <T,E> void |
setPrivateValue(Class<? super T> instanceclass,
T instance,
String field,
E value)
Deprecated.
|
static void |
takenFromCrafting(EntityPlayer player,
ItemStack item,
IInventory matrix)
Deprecated.
|
static void |
takenFromFurnace(EntityPlayer player,
ItemStack item)
Deprecated.
|
static void |
throwException(String message,
Throwable e)
Deprecated.
|
static void |
throwException(Throwable e)
Deprecated.
|
public static final String fmlMarker
@Deprecated public static void addAchievementDesc(Achievement achievement, String name, String description)
achievement - The achievement to namename - The namedescription - The description@Deprecated public static int addAllFuel(int id, int metadata)
GameRegistry.getFuelValue(ItemStack)id - The Item IDmetadata - The Item Metadata@Deprecated public static void addAllRenderers(Map<Class<? extends Entity>,Render> renderers)
@Deprecated public static int addArmor(String armor)
RenderingRegistry.addNewArmourRendererPrefix(String)armor - The new armor prefix@Deprecated public static void addBiome(BiomeGenBase biome)
biome - The biome to add@Deprecated public static void addEntityTracker(BaseMod mod, Class<? extends Entity> entityClass, int entityTypeId, int updateRange, int updateInterval, boolean sendVelocityInfo)
@Deprecated public static void addCommand(ICommand command)
@Deprecated public static void addDispenserBehavior(Item item, IBehaviorDispenseItem behavior)
item - behavior - @Deprecated public static void addLocalization(String key, String value)
key - Keyvalue - Value@Deprecated public static void addLocalization(String key, String lang, String value)
key - Keylang - Language identifiervalue - Value@Deprecated public static void addName(Object instance, String name)
instance - Item to namename - The name to give it@Deprecated public static void addName(Object instance, String lang, String name)
instance - Item to namelang - Languge identifiername - Name to give it@Deprecated public static int addOverride(String fileToOverride, String fileToAdd)
fileToOverride - The texture to apply the new image tofileToAdd - The new image@Deprecated public static void addOverride(String path, String overlayPath, int index)
path - The texture to apply the new image tooverlayPath - The new imageindex - Where on the texture to apply it@Deprecated public static void addRecipe(ItemStack output, Object... params)
output - The resultparams - The input@Deprecated public static void addShapelessRecipe(ItemStack output, Object... params)
output - The resultparams - The input@Deprecated public static void addSmelting(int input, ItemStack output)
input - output - @Deprecated public static void addSmelting(int input, ItemStack output, float experience)
input - output - @Deprecated public static void addSpawn(Class<? extends EntityLiving> entityClass, int weightedProb, int min, int max, EnumCreatureType spawnList)
entityClass - weightedProb - min - max - spawnList - @Deprecated public static void addSpawn(Class<? extends EntityLiving> entityClass, int weightedProb, int min, int max, EnumCreatureType spawnList, BiomeGenBase... biomes)
entityClass - weightedProb - min - max - spawnList - biomes - @Deprecated public static void addSpawn(String entityName, int weightedProb, int min, int max, EnumCreatureType spawnList)
entityName - weightedProb - min - max - spawnList - @Deprecated public static void addSpawn(String entityName, int weightedProb, int min, int max, EnumCreatureType spawnList, BiomeGenBase... biomes)
entityName - weightedProb - min - max - spawnList - biomes - @Deprecated public static void addTrade(int profession, TradeEntry entry)
@Deprecated public static void clientSendPacket(Packet packet)
packet - @Deprecated public static boolean dispenseEntity(World world, double x, double y, double z, int xVel, int zVel, ItemStack item)
world - x - y - z - xVel - zVel - item - @Deprecated public static void genericContainerRemoval(World world, int x, int y, int z)
world - x - y - z - @Deprecated public static List<BaseMod> getLoadedMods()
ModLoaderModContainer.findAll(java.lang.Class<A>)@Deprecated public static Logger getLogger()
FMLCommonHandler.getFMLLogger()@Deprecated public static Minecraft getMinecraftInstance()
@Deprecated public static MinecraftServer getMinecraftServerInstance()
@Deprecated public static <T,E> T getPrivateValue(Class<? super E> instanceclass, E instance, int fieldindex)
ObfuscationReflectionHelper.getPrivateValue(Class, Object, int)instanceclass - instance - fieldindex - @Deprecated public static <T,E> T getPrivateValue(Class<? super E> instanceclass, E instance, String field)
ObfuscationReflectionHelper.getPrivateValue(Class, Object, String[])instanceclass - instance - field - @Deprecated public static int getUniqueBlockModelID(BaseMod mod, boolean inventoryRenderer)
@Deprecated public static int getUniqueEntityId()
EntityRegistry.findGlobalUniqueEntityId()@Deprecated public static int getUniqueSpriteIndex(String path)
@Deprecated public static boolean isChannelActive(EntityPlayer player, String channel)
player - channel - @Deprecated public static boolean isGUIOpen(Class<? extends GuiScreen> gui)
@Deprecated public static boolean isModLoaded(String modname)
Loader.isModLoaded(String)modname - @Deprecated public static void loadConfig()
@Deprecated public static void onItemPickup(EntityPlayer player, ItemStack item)
player - item - @Deprecated public static void onTick(float tick, Minecraft game)
@Deprecated public static void openGUI(EntityPlayer player, GuiScreen gui)
@Deprecated public static void populateChunk(IChunkProvider generator, int chunkX, int chunkZ, World world)
@Deprecated public static void receivePacket(Packet250CustomPayload packet)
packet - @Deprecated public static KeyBinding[] registerAllKeys(KeyBinding[] keys)
@Deprecated public static void registerBlock(Block block)
block - @Deprecated public static void registerBlock(Block block, Class<? extends ItemBlock> itemclass)
block - itemclass - @Deprecated public static void registerContainerID(BaseMod mod, int id)
@Deprecated public static void registerEntityID(Class<? extends Entity> entityClass, String entityName, int id)
entityClass - entityName - id - @Deprecated public static void registerEntityID(Class<? extends Entity> entityClass, String entityName, int id, int background, int foreground)
entityClass - entityName - id - background - foreground - @Deprecated public static void registerKey(BaseMod mod, KeyBinding keyHandler, boolean allowRepeat)
@Deprecated public static void registerPacketChannel(BaseMod mod, String channel)
NetworkRegistry.registerChannel(IPacketHandler, String)mod - channel - @Deprecated public static void registerTileEntity(Class<? extends TileEntity> tileEntityClass, String id)
tileEntityClass - id - @Deprecated public static void registerTileEntity(Class<? extends TileEntity> tileEntityClass, String id, TileEntitySpecialRenderer renderer)
@Deprecated public static void removeBiome(BiomeGenBase biome)
biome - @Deprecated public static void removeSpawn(Class<? extends EntityLiving> entityClass, EnumCreatureType spawnList)
entityClass - spawnList - @Deprecated public static void removeSpawn(Class<? extends EntityLiving> entityClass, EnumCreatureType spawnList, BiomeGenBase... biomes)
entityClass - spawnList - biomes - @Deprecated public static void removeSpawn(String entityName, EnumCreatureType spawnList)
entityName - spawnList - @Deprecated public static void removeSpawn(String entityName, EnumCreatureType spawnList, BiomeGenBase... biomes)
entityName - spawnList - biomes - @Deprecated public static boolean renderBlockIsItemFull3D(int modelID)
@Deprecated public static void renderInvBlock(RenderBlocks renderer, Block block, int metadata, int modelID)
@Deprecated public static boolean renderWorldBlock(RenderBlocks renderer, IBlockAccess world, int x, int y, int z, Block block, int modelID)
@Deprecated public static void saveConfig()
ModLoaderModContainer@Deprecated public static void sendPacket(Packet packet)
packet - @Deprecated public static void serverChat(String text)
text - @Deprecated public static void serverLogin(NetClientHandler handler, Packet1Login loginPacket)
@Deprecated public static void serverSendPacket(NetServerHandler handler, Packet packet)
@Deprecated public static void serverOpenWindow(EntityPlayerMP player, Container container, int ID, int x, int y, int z)
@Deprecated public static void setInGameHook(BaseMod mod, boolean enable, boolean useClock)
mod - receiving the eventsenable - indicates whether you want to recieve them or notuseClock - don't receive render subticks, just world ticks@Deprecated public static void setInGUIHook(BaseMod mod, boolean enable, boolean useClock)
@Deprecated public static <T,E> void setPrivateValue(Class<? super T> instanceclass, T instance, int fieldindex, E value)
ObfuscationReflectionHelper.setPrivateValue(Class, Object, int, Object)instanceclass - instance - fieldindex - value - @Deprecated public static <T,E> void setPrivateValue(Class<? super T> instanceclass, T instance, String field, E value)
ObfuscationReflectionHelper.setPrivateValue(Class, Object, String, Object)instanceclass - instance - field - value - @Deprecated public static void takenFromCrafting(EntityPlayer player, ItemStack item, IInventory matrix)
player - item - matrix - @Deprecated public static void takenFromFurnace(EntityPlayer player, ItemStack item)
player - item - @Deprecated public static void throwException(String message, Throwable e)
message - e - @Deprecated public static void throwException(Throwable e)