Difference between revisions of "ModTweaker:Vanilla Support"
From MineTweaker 3
(Created page with "== Additional Vanilla Support is available in v0.5+ == == Handlers Supported == The following handlers are supported: * Dungeon Loot * Tall Grass Drops * Localisation Each o...") |
(→Handlers Supported) |
||
Line 8: | Line 8: | ||
Each of these handlers can have recipes added or removed: | Each of these handlers can have recipes added or removed: | ||
+ | //Grass Seeds | ||
+ | //ItemStack, Weight | ||
+ | mods.modtweaker.addGrassSeed(<minecraft:carrot>, 10); | ||
+ | //ItemStack | ||
+ | mods.modtweaker.removeGrassSeed(<minecraft:wheat_seeds>); | ||
+ | |||
+ | //Dungeon Loot | ||
+ | //ChestName, ItemStack, MinChance, MaxChance, Weight | ||
+ | mods.modtweaker.addChestLoot("dungeonChest", <minecraft:dirt>, 2, 5, 15); | ||
+ | //ChestName, ItemStack | ||
+ | mods.modtweaker.removeChestLoot("dungeonChest", <minecraft:apple>); | ||
+ | |||
+ | //Localisation - You can use setLocalisation or setLocalization for you amuricans :P | ||
+ | //LanguageCode, KEY, TEXT (The override will ONLY apply in the specified language | ||
+ | mods.modtweaker.setLocalisation("en_US", "nei.inventory.prev", "Past"); | ||
+ | //KEY, TEXT - You will want to use this one most of the time, it overrides no matter the language | ||
+ | mods.modtweaker.setLocalisation("nei.inventory.next", "Future"); | ||
{{ModTweakerNavigation}} | {{ModTweakerNavigation}} |
Revision as of 21:33, 20 July 2014
Additional Vanilla Support is available in v0.5+
Handlers Supported
The following handlers are supported:
- Dungeon Loot
- Tall Grass Drops
- Localisation
Each of these handlers can have recipes added or removed:
//Grass Seeds //ItemStack, Weight mods.modtweaker.addGrassSeed(<minecraft:carrot>, 10); //ItemStack mods.modtweaker.removeGrassSeed(<minecraft:wheat_seeds>); //Dungeon Loot //ChestName, ItemStack, MinChance, MaxChance, Weight mods.modtweaker.addChestLoot("dungeonChest", <minecraft:dirt>, 2, 5, 15); //ChestName, ItemStack mods.modtweaker.removeChestLoot("dungeonChest", <minecraft:apple>); //Localisation - You can use setLocalisation or setLocalization for you amuricans :P //LanguageCode, KEY, TEXT (The override will ONLY apply in the specified language mods.modtweaker.setLocalisation("en_US", "nei.inventory.prev", "Past"); //KEY, TEXT - You will want to use this one most of the time, it overrides no matter the language mods.modtweaker.setLocalisation("nei.inventory.next", "Future");
ModTweaker Supported Mods |
---|
Applied Energistics 2 | Aura Cascade | Botania | Chisel 2 | Ex Nihilo | Extra Utilities | Factorization | Flaxbeard's Steam Power Support | Forestry | Mariculture | Mekanism | Metallurgy 4 | PneumaticCraft | Railcraft | Thaumcraft 4 | Thermal Expansion | Tinker's Construct |