Difference between revisions of "ModTweaker:Vanilla Support"

From MineTweaker 3
Jump to: navigation, search
(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...")
 
m (4 revisions imported)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
== Additional Vanilla Support is available in v0.5+ ==
+
= SUPPORT WAS REMOVED IN 0.6 =
 +
 
 +
 
 +
== Additional Vanilla Support is available in v0.5 ==
 
== Handlers Supported ==
 
== Handlers Supported ==
  
Line 8: Line 11:
  
 
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");
 +
 +
== Commands Supported ==
 +
ModTweaker introduces two commands with the vanilla support these are
 +
/minetweaker seeds
 +
This prints a list of all the seeds that are currently registered in tall grass to the minetweaker log
 +
 +
/minetweaker loot
 +
/minetweaker loot names
 +
/minetweaker loot CHESTNAME
 +
 +
The first will print a list of every single loot registered to every chest type.
 +
The second prints a list of all the registered chest names
 +
The third prints just the loot for that specific chest e.g.
 +
/minetweaker loot dungeonChest
 +
will print all the loot in Dungeon Chests.
 
{{ModTweakerNavigation}}
 
{{ModTweakerNavigation}}

Latest revision as of 14:36, 12 September 2023

SUPPORT WAS REMOVED IN 0.6

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");

Commands Supported

ModTweaker introduces two commands with the vanilla support these are

/minetweaker seeds

This prints a list of all the seeds that are currently registered in tall grass to the minetweaker log

/minetweaker loot
/minetweaker loot names
/minetweaker loot CHESTNAME

The first will print a list of every single loot registered to every chest type. The second prints a list of all the registered chest names The third prints just the loot for that specific chest e.g.

/minetweaker loot dungeonChest

will print all the loot in Dungeon Chests.



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