author
int64
658
755k
date
stringlengths
19
19
timezone
int64
-46,800
43.2k
hash
stringlengths
40
40
message
stringlengths
5
490
mods
list
language
stringclasses
20 values
license
stringclasses
3 values
repo
stringlengths
5
68
original_message
stringlengths
12
491
139,040
24.11.2018 18:34:33
-3,600
dc7555fa91d21cc8a476dc7787e23075d7797061
Added XU2 CrT integration entries
[ { "change_type": "ADD", "old_path": null, "new_path": "docs/Mods/ExtraUtilities2/CustomMachines/IMachine.md", "diff": "+# IMachine\n+\n+An IMachine is the actual machine object, you can get it from the [IMachineRegistry](/Mods/ExtraUtilities2/CustomMachines/IMachineRegistry).\n+\n+## Importing the package\n+It might be required for you to [import](/AdvancedFunctions/Import) the\n+```\n+import extrautilities2.Tweaker.IMachine;\n+```\n+\n+## Add Recipes\n+\n+There are two methods for adding recipes, one uses a probability map for the outputs, one allows for the use of [WeightedItemStack](/Vanilla/Items/WeightedItemStack) and [WeightedLiquidStack](/Vanilla/Liquids/WeightedLiquidStack) objects.\n+Both methods use [maps](/AdvancedFunctions/Associative_Arrays) with strings as indices.\n+These strings will be the names of the input/output slots given, which is why you should not have two slots with the same name in a machine.\n+\n+\n+### Using a probability map\n+\n+```\n+myMachine.addRecipe(inputs, outputs, energy, time, probabilities);\n+```\n+\n+This method uses the following parameters:\n+\n+| Name | Type |\n+|---------------|-------------------------------------------------------------|\n+| inputs | [IIngredient](/Vanilla/Variable_Types/IIngredient)[string\\] |\n+| outputs | [IIngredient](/Vanilla/Variable_Types/IIngredient)[string\\] |\n+| energy | int |\n+| time | int |\n+| probabilities | float[string\\] |\n+\n+\n+\n+### Using only the outputs map\n+\n+You can also only use the outputs map, then ExtUtils2 will check for any [WeightedItemStack](/Vanilla/Items/WeightedItemStack) and [WeightedLiquidStack](/Vanilla/Liquids/WeightedLiquidStack) objects and use their chances.\n+\n+```\n+myMachine.addRecipe(inputs, outputs, energy, time);\n+```\n+\n+This method uses the following parameters:\n+\n+| Name | Type |\n+|---------------|-------------------------------------------------------------|\n+| inputs | [IIngredient](/Vanilla/Variable_Types/IIngredient)[string\\] |\n+| outputs | Object[string\\] |\n+| energy | int |\n+| time | int |\n+\n+\n+## Remove recipes\n+\n+You can also remove recipes.\n+Again, you use [maps](/AdvancedFunctions/Associative_Arrays) with strings as indices.\n+\n+There are two methods, one uses [IIngredient](/Vanilla/Variable_Types/IIngredient) as values, and one that accepts a map with [IItemStack](/Vanilla/Items/IItemStack) and a map with [ILiquidStack](/Vanilla/Liquids/ILiquidStack) values.\n+\n+### Using IIngredient\n+```\n+myMachine.removeRecipe(inputs);\n+```\n+\n+\n+| Name | Type |\n+|---------------|-------------------------------------------------------------|\n+| inputs | [IIngredient](/Vanilla/Variable_Types/IIngredient)[string\\] |\n+\n+### Using separate maps for Items and Liquids\n+\n+```\n+myMachine.removeRecipe(items, liquids);\n+```\n+\n+| Name | Type |\n+|---------------|-------------------------------------------------------------|\n+| items | [IItemStack](/Vanilla/Items/IItemStack)[string\\] |\n+| liquids | [ILiquidStack](/Vanilla/Liquids/ILiquidStack)[string\\] |\n+\n+\n+\n+## Retrieving machine information\n+\n+You can also retrieve some information on the machine using the following methods:\n+\n+- `getInputSlots()`: Returns all input slots as a List of [IMachineSlot](/Mods/ExtraUtilities2/CustomMachines/IMachineSlot).\n+- `getOutputSlots()`: Returns all output slots as a List of [IMachineSlot](/Mods/ExtraUtilities2/CustomMachines/IMachineSlot).\n+- `getSlot()`: Returns the [IMachineSlot](/Mods/ExtraUtilities2/CustomMachines/IMachineSlot) matching the name.\n\\ No newline at end of file\n" }, { "change_type": "ADD", "old_path": null, "new_path": "docs/Mods/ExtraUtilities2/CustomMachines/IMachineRegistry.md", "diff": "+# IMachineRegistry\n+\n+You use the IMachineRegistry to register a new [IMachine](/Mods/ExtraUtilities2/CustomMachines/IMachine) to the game.\n+\n+\n+## Importing the package\n+If you want to shorten method calls or encounter any issues you might need to [import](/AdvancedFunctions/Import) the package.\n+You can do so using\n+```\n+import extrautilities2.Tweaker.IMachineRegistry;\n+```\n+\n+\n+\n+\n+## Create the machine\n+\n+There are two types of machines:\n+\n+- Machines\n+- Generators\n+\n+Machines consume energy, generators emit energy, otherwise they behave almost identically.\n+\n+```\n+extrautilities2.Tweaker.IMachineRegistry.createNewMachine(\n+ name,\n+ energyBufferSize,\n+ energyTransferLimit,\n+ inputSlots,\n+ outputSlots,\n+ frontTexture,\n+ frontTextureActive,\n+ color\n+);\n+\n+\n+extrautilities2.Tweaker.IMachineRegistry.createNewGenerator(\n+ name,\n+ energyBufferSize,\n+ energyTransferLimit,\n+ inputSlots,\n+ outputSlots,\n+ frontTexture,\n+ frontTextureActive,\n+ color\n+);\n+```\n+\n+As you can see, both methods accept the same parameters, the only difference is if they require or produce energy.\n+The parameters are:\n+\n+| Name | Type |\n+|---------------------|---------------------------------------------------------------------|\n+| name | string |\n+| energyBufferSize | int |\n+| energyTransferLimit | int |\n+| inputSlots | [[IMachineSlot](/Mods/ExtraUtilities2/CustomMachines/IMachineSlot)] |\n+| outputSlots | [[IMachineSlot](/Mods/ExtraUtilities2/CustomMachines/IMachineSlot)] |\n+| frontTexture | string |\n+| frontTextureActive | string |\n+| color (optional) | int (defaults to `0xffffff` (black)) |\n+\n+\n+The slots accept a list of [IMachineSlot](/Mods/ExtraUtilities2/CustomMachines/IMachineSlot). Lists can be created the same way as Arrays, by using [] around the slots.\n+Both methods return an [IMachine](/Mods/ExtraUtilities2/CustomMachines/IMachine) object that represents the created machine.\n+Keep this in mind, as you need that object to create recipes later on!\n+\n+\n+## Get existing machines\n+\n+### Get machine by name\n+You can get already generated machines using the Registry as well:\n+```\n+extrautilities2.Tweaker.IMachineRegistry.getMachine(String name);\n+```\n+\n+This method will return the machine with the given name as [IMachine](/Mods/ExtraUtilities2/CustomMachines/IMachine) or `null`\n+\n+### Get all registered machines\n+This will return all registered machines as list of [IMachine](/Mods/ExtraUtilities2/CustomMachines/IMachine).\n+```\n+extrautilities2.Tweaker.IMachineRegistry.getRegisterdMachineNames();\n+```\n+\n+\n+### Get XU2 machines\n+\n+You can also use these getters to get machines from the XU2 mod as [IMachine](/Mods/ExtraUtilities2/CustomMachines/IMachine) object:\n+\n+```\n+extrautilities2.Tweaker.IMachineRegistry.crusher;\n+extrautilities2.Tweaker.IMachineRegistry.enchanter;\n+extrautilities2.Tweaker.IMachineRegistry.generator_culinary;\n+extrautilities2.Tweaker.IMachineRegistry.generator_death;\n+extrautilities2.Tweaker.IMachineRegistry.generator_dragon;\n+extrautilities2.Tweaker.IMachineRegistry.generator_enchant;\n+extrautilities2.Tweaker.IMachineRegistry.generator_ender;\n+extrautilities2.Tweaker.IMachineRegistry.generator_furnace;\n+extrautilities2.Tweaker.IMachineRegistry.generator_ice;\n+extrautilities2.Tweaker.IMachineRegistry.generator_lava;\n+extrautilities2.Tweaker.IMachineRegistry.generator_netherstar;\n+extrautilities2.Tweaker.IMachineRegistry.generator_overclock;\n+extrautilities2.Tweaker.IMachineRegistry.generator_pink;\n+extrautilities2.Tweaker.IMachineRegistry.generator_potion;\n+extrautilities2.Tweaker.IMachineRegistry.generator_redstone;\n+extrautilities2.Tweaker.IMachineRegistry.generator_slime;\n+extrautilities2.Tweaker.IMachineRegistry.generator_survivalist;\n+extrautilities2.Tweaker.IMachineRegistry.generator_tnt;\n+```\n\\ No newline at end of file\n" }, { "change_type": "ADD", "old_path": null, "new_path": "docs/Mods/ExtraUtilities2/CustomMachines/IMachineSlot.md", "diff": "+# IMachineSlot\n+\n+A Machine slot is a slot that either accepts Items or liquids.\n+You need them when creating a machine using the [IMachineRegistry](/Mods/ExtraUtilities2/CustomMachines/IMachineRegistry) later on.\n+\n+## Importing the package\n+If you want to shorten method calls or encounter any issues you might need to [import](/AdvancedFunctions/Import) the package.\n+You can do so using\n+```\n+import extrautilities2.Tweaker.IMachineSlot;\n+```\n+\n+## Creating a new IMachineSlot\n+\n+The IMachineSlot package offers methods to create new IMachineSlot objects:\n+```\n+extrautilities2.Tweaker.IMachineSlot.newItemStackSlot(name);\n+extrautilities2.Tweaker.IMachineSlot.newItemStackSlot(name, isOptional);\n+extrautilities2.Tweaker.IMachineSlot.newItemStackSlot(name, stackCapacity);\n+extrautilities2.Tweaker.IMachineSlot.newItemStackSlot(name, isOptional, stackCapacity);\n+extrautilities2.Tweaker.IMachineSlot.newItemStackSlot(name, color, isOptional, backgroundTexture, stackCapacity);\n+\n+\n+newFluidSlot(name);\n+newFluidSlot(name, stackCapacity);\n+newFluidSlot(name, stackCapacity, filterLiquidStack);\n+newFluidSlot(name, stackCapacity, isOptional, filterLiquidStack);\n+newFluidSlot(name, stackCapacity, color, isOptional, filterLiquidStack);\n+```\n+\n+All these methods will return the new Slot as IMachineSlot object.\n+\n+The parameters are:\n+\n+| Name | Type |\n+|-------------------|-----------------------------------------------|\n+| name | string |\n+| isOptional | bool |\n+| stackCapacity | int |\n+| color | int |\n+| backgroundTexture | string |\n+| filterLiquidStack | [ILiquidStack](/Vanilla/Liquids/ILiquidStack) |\n+\n+\n+What the parameters do:\n+\n+- `name`: The slot's name. Used for recipes later. Make sure that a machine has no 2 slots with the same name.\n+- `isOptional`: Dictates whether or not this slot must be filled for recipe checks to commence.\n+- `stackCapacity`: How many items/millibuckets can fit in this slot?\n+- `color`: What color will the slot have?\n+- `backgroundTexture`: A custom texture path for the background of this slot can be added here.\n+- `filterLiquidStack`: If you provide this [ILiquidStack](/Vanilla/Liquids/ILiquidStack) object, then only this fluid will be allowed to enter the slot.\n+\n+\n+## Getters\n+You can get basic information from an IMachineSlot as well.\n+Don't expect these getters to magically return something different from what you set the slot when creating it, though.\n+\n+| Name | Type |\n+|-------------------|-----------------------------------------------|\n+| name | string |\n+| optional | bool |\n+| stackCapacity | int |\n\\ No newline at end of file\n" }, { "change_type": "ADD", "old_path": null, "new_path": "docs/Mods/ExtraUtilities2/XUTweaker.md", "diff": "+# XUTweaker\n+\n+The XUTweaker package adds several static utility methods.\n+\n+## Importing the package\n+If you want to shorten method calls or encounter any issues you might need to import the package.\n+You can do so using\n+```\n+import extrautilities2.Tweaker.XUTweaker;\n+```\n+\n+## Methods\n+\n+### Allow survival flight\n+Allows Flight for all players, permanently.\n+```\n+extrautilities2.Tweaker.XUTweaker.allowSurvivalFlight();\n+```\n+\n+\n+### Disable Nether Portals\n+Prevents Nether portals (and all portals that use the PortalSpawnEvent) from spawning, permanently.\n+```\n+extrautilities2.Tweaker.XUTweaker.disableNetherPortals();\n+```\n+\n+### Check if a player is a fake Player\n+Returns a boolean stating if the player is a fake Player.\n+\n+Requires an [IPlayer](/Vanilla/Players/IPlayer) argument.\n+```\n+extrautilities2.Tweaker.XUTweaker.isPlayerFake(player);\n+```\n+\n+\n+### Open a books screen for the player\n+Tries to open the written book screen to the given player.\n+\n+Returns a boolean stating if the command was executed correctly.\n+Requires an [IPlayer](/Vanilla/Players/IPlayer) argument.\n+Also requires a string[] argument that will be the pages.\n+```\n+extrautilities2.Tweaker.XUTweaker.openBookScreen(player, pages);\n+extrautilities2.Tweaker.XUTweaker.openBookScreen(player, [\"Page 1\", \"Page 2\"]);\n+```\n\\ No newline at end of file\n" }, { "change_type": "MODIFY", "old_path": "mkdocs.yml", "new_path": "mkdocs.yml", "diff": "@@ -406,6 +406,12 @@ pages:\n- Trait Data Representation: 'Mods/ContentTweaker/Tinkers_Construct/TraitDataRepresentation.md'\n- Enchanting Plus:\n- Functions: 'Mods/EnchantingPlus/EnchantingPlus.md'\n+ - Extra Utilities 2:\n+ - XUTweaker: 'Mods/ExtraUtilities2/XUTweaker.md'\n+ - Custom Machines:\n+ - IMachine: 'Mods/ExtraUtilities2/CustomMachines/IMachine.md'\n+ - IMachineRegistry: 'Mods/ExtraUtilities2/CustomMachines/IMachineRegistry.md'\n+ - IMachineSlot: 'Mods/ExtraUtilities2/CustomMachines/IMachineSlot.md'\n- GameStages:\n- Introduction: 'Mods/GameStages/GameStages.md'\n- Player features: 'Mods/GameStages/Player_Stages.md'\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Added XU2 CrT integration entries
139,040
24.11.2018 19:13:16
-3,600
d7b87146f12f6968bee31afbdadb3029b23c7668
Added ExtUtils2 InterModCommsHandler.md
[ { "change_type": "ADD", "old_path": null, "new_path": "docs/Mods/ExtraUtilities2/InterModCommsHandler.md", "diff": "+# InterModCommsHandler\n+\n+InterModComms are small messages sent between mods to allow for additional content.\n+For example ModA sends a message to Tinkers' Construct to tell TiCon to create additional materials for the smeltery.\n+\n+## Importing the package\n+If you want to shorten method calls or encounter any issues you might need to [import](/AdvancedFunctions/Import) the package.\n+You can do so using\n+```\n+import extrautilities2.Tweaker.InterModCommsHandler;\n+```\n+\n+\n+## Sending messages\n+\n+You can either send the message right away or at runtime.\n+You can either send NBT as [IData Map](/Vanilla/Data/IData), a simple string, an [IItemStack](/Vanilla/Items/IItemStack) or a resource location.\n+\n+```\n+sendMessageNBT(String mod, String key, DataMap dataMap);\n+sendMessageString(String mod, String key, String message);\n+sendMessageItemStack(String mod, String key, IItemStack stack);\n+sendMessageResourceLocation(String mod, String key, String resourceLocation);\n+\n+sendRuntimeMessageNBT(String mod, String key, DataMap dataMap);\n+sendRuntimeMessageString(String mod, String key, String message);\n+sendRuntimeMessageItemStack(String mod, String key, IItemStack stack);\n+sendRuntimeMessageResourceLocation(String mod, String key, String resourceLocation);\n+```\n\\ No newline at end of file\n" }, { "change_type": "MODIFY", "old_path": "mkdocs.yml", "new_path": "mkdocs.yml", "diff": "@@ -408,6 +408,7 @@ pages:\n- Functions: 'Mods/EnchantingPlus/EnchantingPlus.md'\n- Extra Utilities 2:\n- XUTweaker: 'Mods/ExtraUtilities2/XUTweaker.md'\n+ - InterModCommsHandler: 'Mods/ExtraUtilities2/InterModCommsHandler.md'\n- Custom Machines:\n- IMachine: 'Mods/ExtraUtilities2/CustomMachines/IMachine.md'\n- IMachineRegistry: 'Mods/ExtraUtilities2/CustomMachines/IMachineRegistry.md'\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Added ExtUtils2 InterModCommsHandler.md
139,040
09.12.2018 20:17:53
-3,600
5c629dfed7556a4db6c73f65b376556d3e115167
Added JAOPCA documentation
[ { "change_type": "ADD", "old_path": null, "new_path": "docs/Mods/JAOPCA/JAOPCA.md", "diff": "+# JAOPCA\n+\n+[JAOPCA](https://minecraft.curseforge.com/projects/jaopca) (Just A Ore Processing Compatibility Attempt) is a mod that aims to add ore processing compatibilty to many mods.\n+\n+## Importing the package\n+If you want to shorten your method calls, you can import the package.\n+You can do so using\n+```\n+import mods.jaopca.JAOPCA;\n+```\n+\n+## Methods\n+\n+This package is your entry point for JAOPCA. It provides a means of checking for and getting [OreEntry](/Mods/JAOPCA/OreEntry/) objects. Check the respective page for further information, but in short they are material names (e.g. \"Gold\") that can then have entries, like chunks, dusts and all.\n+\n+- Entry: e.g. \"nugget\", \"dust\", \"molten\", ... (check [here](/Mods/JAOPCA/RegisteredEntries/) for a list of them all)\n+- [OreEntry](/Mods/JAOPCA/OreEntry/): e.g. \"Diamond\", \"Coal\", \"Redstone\", ...\n+- OreType: e.g. \"INGOT\", \"GEM\", \"DUST\"\n+\n+### Check if an entry exists\n+\n+Returns `true` if an entry with the given name exists\n+```\n+//mods.jaopca.JAOPCA.containsEntry(entryName);\n+mods.jaopca.JAOPCA.containsEntry(\"nugget\");\n+```\n+\n+\n+### Get an OreEntry\n+\n+Returns the given [OreEntry](/Mods/JAOPCA/OreEntry/) for the given name, or `null` if it does not exist.\n+_Careful: Most materials are Capitalized, and yes, casing matters!_\n+\n+```\n+//mods.jaopca.JAOPCA.getOre(oreName);\n+mods.jaopca.JAOPCA.getOre(\"Coal\");\n+```\n+\n+\n+\n+### Get all OreEntries for an entry\n+\n+Returns a list of all [OreEntry](/Mods/JAOPCA/OreEntry/) objects that have the given entry registered.\n+\n+```\n+//mods.jaopca.JAOPCA.getOresForEntry(entryName);\n+mods.jaopca.JAOPCA.getOresForEntry(\"nugget\");\n+```\n+\n+\n+### Get all OreEntries for an entry\n+\n+Returns a list of all [OreEntry](/Mods/JAOPCA/OreEntry/) objects that are of the given oreType.\n+\n+```\n+//mods.jaopca.JAOPCA.getOresForType(oreType);\n+mods.jaopca.JAOPCA.getOresForType(\"GEM\");\n+```\n+\n+\n+### Get all registered OreEntries\n+\n+Returns a list of all registered [OreEntry](/Mods/JAOPCA/OreEntry/) objects.\n+\n+```\n+mods.jaopca.JAOPCA.getAllOres();\n+```\n\\ No newline at end of file\n" }, { "change_type": "ADD", "old_path": null, "new_path": "docs/Mods/JAOPCA/OreEntry.md", "diff": "+# OreEntry\n+\n+An OreEntry is a material like Gold, Diamond, Coal, Redstone and so on.\n+You can use this to get several [OreDictEntries](/Vanilla/OreDict/IOreDictEntry/), [IItemStacks](/Vanilla/Items/IItemStack/), [ILiquidStacks](/Vanilla/Liquids/ILiquidStack/).\n+\n+\n+## Methods\n+\n+In general, the methods take a string parameter that is a prefix to be used.\n+For example, an OreEntry for `\"Gold\"`, called with the prefix `\"dust\"` will return Gold Dust.\n+For these examples, we will assume this was declared:\n+The comments after the example calls will state what the method call can return (unless in the extra category).\n+\n+```\n+val oreEntry = mods.jaopca.JAOPCA.getOre(\"Gold\");\n+```\n+\n+### Get entry properties\n+You can get these properties:\n+```\n+oreEntry.energyModifier; //1.0 as double\n+oreEntry.rarity; //1.0 as double\n+oreEntry.oreType; //\"INGOT\" as string\n+```\n+\n+\n+### Get OreName or OreNameSynonyms\n+\n+The ore name is essentialy how it is registered and what you use in a getOre to retrieve it.\n+The ore name synonyms are synonyms that mods or pack authors can register to combine two or more oreEntries (e.g. \"Aluminum\" and \"Aluminium\"). Most oreEntries will probably have nothing registered, though. The synonyms getter will return a list containing all the synonyms as strings.\n+\n+```\n+oreEntry.oreName; //\"Gold\"\n+oreEntry.oreNameSynonyms; //[]\n+```\n+\n+\n+### Get IOreDictEntry\n+\n+Returns a new [IOreDictEntry](/Vanilla/OreDict/IOreDictEntry/) with the given prefix.\n+```\n+oreEntry.getOreDictEntry(\"dust\"); //<ore:dustGold>\n+```\n+\n+\n+### Get IItemStack\n+\n+Returns a new [IItemStacks](/Vanilla/Items/IItemStack/) that matches the given prefix.\n+You can provide an alternate fallback prefix to be used if no matching Item is found.\n+\n+If no matching item is found and no matching item is found using the fallback prefix (if provided), it will return `null`.\n+\n+```\n+//oreEntry.getItemStack(prefix);\n+oreEntry.getItemStack(\"coin\"); //<jaopca:item_coingold>\n+oreEntry.getItemStack(\"invalid\"); //null\n+\n+//oreEntry.getItemStack(prefix, fallback);\n+oreEntry.getItemStack(\"invalid\", \"coin\"); //<jaopca:item_coingold>\n+oreEntry.getItemStack(\"invalid\", \"faulty\"); //null\n+```\n+\n+\n+### Get ILiquidStack\n+\n+Returns a new [ILiquidStacks](/Vanilla/Liquids/ILiquidStack/) that matches the given prefix.\n+You can provide an alternate fallback prefix to be used if no matching Liquid is found.\n+\n+If no matching liquid is found and no matching liquid is found using the fallback prefix (if provided), it will return `null`.\n+\n+```\n+//oreEntry.getLiquidStack(prefix);\n+oreEntry.getLiquidStack(\"molten\"); //<liquid:gold>\n+oreEntry.getLiquidStack(\"invalid\"); //null\n+\n+//oreEntry.getLiquidStack(prefix, fallback);\n+oreEntry.getLiquidStack(\"invalid\", \"molten\"); //<liquid:gold>\n+oreEntry.getLiquidStack(\"invalid\", \"faulty\"); //null\n+```\n+\n+### Get Extra\n+\n+An Entry can have an extra registered. An extra can for example be a secondary output when pulverizing a matching ore.\n+\n+You can either check if an entry has an extra, get the extra (or `null` if not present) or the extraName.\n+You can also use the same methods as above (`getOreDictEntry`, `getLiquidStack` and `getItemStack`).\n+\n+There are up to 3 extras that can be registered. For the sake of simplicity there won't be examples for the equivalent methods, they will only be stated\n+\n+```\n+//First extra\n+oreEntry.hasExtra; //true or false\n+oreEntry.extra; //matching oreEntry or null\n+oreEntry.extraName; //the name or null\n+\n+//Methods for first extra\n+oreEntry.getOreDictEntryExtra(prefix);\n+oreEntry.getItemStackExtra(prefix);\n+oreEntry.getItemStackExtra(prefix, fallback);\n+oreEntry.getLiquidStackExtra(prefix);\n+oreEntry.getLiquidStackExtra(prefix, fallback);\n+\n+\n+\n+//Second extra\n+oreEntry.hasSecondExtra; //true or false\n+oreEntry.secondExtra; //matching oreEntry or null\n+oreEntry.secondExtraName; //the name or null\n+\n+//Methods for second extra\n+oreEntry.getOreDictEntrySecondExtra(prefix);\n+oreEntry.getItemStackSecondExtra(prefix);\n+oreEntry.getItemStackSecondExtra(prefix, fallback);\n+oreEntry.getLiquidStackSecondExtra(prefix);\n+oreEntry.getLiquidStackSecondExtra(prefix, fallback);\n+\n+\n+\n+//Third extra\n+oreEntry.hasThirdExtra; //true or false\n+oreEntry.thirdExtra; //matching oreEntry or null\n+oreEntry.thirdExtraName; //the name or null\n+\n+//Methods for third extra\n+oreEntry.getOreDictEntryThirdExtra(prefix);\n+oreEntry.getItemStackThirdExtra(prefix);\n+oreEntry.getItemStackThirdExtra(prefix, fallback);\n+oreEntry.getLiquidStackThirdExtra(prefix);\n+oreEntry.getLiquidStackThirdExtra(prefix, fallback);\n+```\n\\ No newline at end of file\n" }, { "change_type": "ADD", "old_path": null, "new_path": "docs/Mods/JAOPCA/RegisteredEntries.md", "diff": "+# Registered Entries\n+\n+These are base entries, they may be extended by addons or special mod integrations.\n+\n+| Name | Added by |\n+|--------------|-----------|\n+| \"dust\" | JAOPCA |\n+| \"nugget\" | JAOPCA |\n+| \"molten\" | JAOPCA |\n+| \"coin\" | JAOPCA |\n+| \"gear\" | JAOPCA |\n+| \"plate\" | JAOPCA |\n+| \"stick\" | JAOPCA |\n+| \"dustTiny\" | JAOPCA |\n+| \"dustSmall\" | JAOPCA |\n+| \"plateDense\" | JAOPCA |\n\\ No newline at end of file\n" }, { "change_type": "MODIFY", "old_path": "mkdocs.yml", "new_path": "mkdocs.yml", "diff": "@@ -476,6 +476,10 @@ pages:\n- MechanicalDryingBasin: 'Mods/IntegratedDynamics/MechanicalDryingBasin.md'\n- Squeezer: 'Mods/IntegratedDynamics/Squeezer.md'\n- MechanicalSqueezer: 'Mods/IntegratedDynamics/MechanicalSqueezer.md'\n+ - JAOPCA:\n+ - JAOPCA: 'Mods/JAOPCA/JAOPCA.md'\n+ - OreEntry: 'Mods/JAOPCA/OreEntry.md'\n+ - Pre-Registered Entries: 'Mods/JAOPCA/RegisteredEntries.md'\n- JEI:\n- JEI: 'Mods/JEI/JEI.md'\n- LootTableTweaker:\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Added JAOPCA documentation
139,040
10.12.2018 20:38:40
-3,600
87c5bc5a3252cbef153cdf3d965dfe37c82a6d65
JAOPCA: Updated RegisteredEntries.md
[ { "change_type": "MODIFY", "old_path": "docs/Mods/JAOPCA/RegisteredEntries.md", "new_path": "docs/Mods/JAOPCA/RegisteredEntries.md", "diff": "These are base entries, they may be extended by addons or special mod integrations.\n| Name | Added by |\n-|--------------|-----------|\n-| \"dust\" | JAOPCA |\n-| \"nugget\" | JAOPCA |\n-| \"molten\" | JAOPCA |\n+|-----------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| \"coin\" | JAOPCA |\n-| \"gear\" | JAOPCA |\n-| \"plate\" | JAOPCA |\n-| \"stick\" | JAOPCA |\n+| \"dust\" | JAOPCA |\n| \"dustTiny\" | JAOPCA |\n| \"dustSmall\" | JAOPCA |\n+| \"gear\" | JAOPCA |\n+| \"nugget\" | JAOPCA |\n+| \"plate\" | JAOPCA |\n| \"plateDense\" | JAOPCA |\n+| \"stick\" | JAOPCA |\n+| | |\n+| \"molten\" | JAOPCA |\n+| | |\n+| \"block\" | JAOPCA |\n+| \"fence\" | JAOPCA or [JAOPCAAdditions](https://minecraft.curseforge.com/projects/jaopcaadditions) |\n+| \"wall\" | JAOPCA or [JAOPCAAdditions](https://minecraft.curseforge.com/projects/jaopcaadditions) |\n+| | |\n+| \"crystalAbyss\" | JAOPCA + [abyssalcraft](https://minecraft.curseforge.com/projects/abyssalcraft) |\n+| \"crystalCluster\" | JAOPCA + [abyssalcraft](https://minecraft.curseforge.com/projects/abyssalcraft) |\n+| \"crystalFragment\" | JAOPCA + [abyssalcraft](https://minecraft.curseforge.com/projects/abyssalcraft) |\n+| \"crystalShard\" | JAOPCA + [abyssalcraft](https://minecraft.curseforge.com/projects/abyssalcraft) |\n+| | |\n+| | |\n+| \"hotMolten\" | JAOPCA + [buildcraft (1.11.2)](https://minecraft.curseforge.com/projects/buildcraft) |\n+| \"coolMolten\" | JAOPCA + [buildcraft (1.11.2)](https://minecraft.curseforge.com/projects/buildcraft) |\n+| \"searingMolten\" | JAOPCA + [buildcraft (1.11.2)](https://minecraft.curseforge.com/projects/buildcraft) |\n+| | |\n+| \"hunk\" | JAOPCA + [Ex Nihilo Creatio](https://minecraft.curseforge.com/projects/ex-nihilo-creatio) |\n+| \"piece\" | JAOPCA + [Ex Nihilo Creatio](https://minecraft.curseforge.com/projects/ex-nihilo-creatio) |\n+| | |\n+| \"crushed\" | JAOPCA + [IndustrialCraft](https://minecraft.curseforge.com/projects/industrial-craft) |\n+| \"purified\" | JAOPCA + [IndustrialCraft](https://minecraft.curseforge.com/projects/industrial-craft) |\n+| | |\n+| \"rockyChunk\" | JAOPCA + [Magneticraft](https://minecraft.curseforge.com/projects/magneticraft) |\n+| \"chunk\" | JAOPCA + [Magneticraft](https://minecraft.curseforge.com/projects/magneticraft) |\n+| | |\n+| \"dustDirty\" | JAOPCA + [Mekanism](https://minecraft.curseforge.com/projects/mekanism) |\n+| \"clump\" | JAOPCA + [Mekanism](https://minecraft.curseforge.com/projects/mekanism) |\n+| \"shard\" | JAOPCA + [Mekanism](https://minecraft.curseforge.com/projects/mekanism) |\n+| \"crystal\" | JAOPCA + [Mekanism](https://minecraft.curseforge.com/projects/mekanism) |\n+| \"slurryClean\" | JAOPCA + [Mekanism](https://minecraft.curseforge.com/projects/mekanism) |\n+| \"slurry\" | JAOPCA + [Mekanism](https://minecraft.curseforge.com/projects/mekanism) |\n+| | |\n+| \"oreChunk\" | [JAOPCA Ore Chunks](https://minecraft.curseforge.com/projects/aobd-ore-chunks) |\n+| | |\n+| \"teslaLump\" | JAOPCA + [Powered Thingies](https://minecraft.curseforge.com/projects/powered-thingies) |\n+| \"augmentedLump | JAOPCA + [Powered Thingies](https://minecraft.curseforge.com/projects/powered-thingies) |\n+| | |\n+| \"singularity\" | [JAOPCA Singularities](https://minecraft.curseforge.com/projects/jaopcasingularities) |\n+| | |\n+| \"dustAlch\" | JAOPCA + [Sky Resources](https://minecraft.curseforge.com/projects/sky-resources) |\n+| \"dirtyGem\" | JAOPCA + [Sky Resources](https://minecraft.curseforge.com/projects/sky-resources) |\n+| | |\n+| \"dustSmall\" | JAOPCA + [Tech Reborn](https://minecraft.curseforge.com/projects/techreborn) |\n+| | |\n+| \"hardenedGlass\" | JAOPCA or [JAOPCAAdditions](https://minecraft.curseforge.com/projects/jaopcaadditions) + [Thermal Foundation](https://minecraft.curseforge.com/projects/thermal-foundation) |\n\\ No newline at end of file\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
JAOPCA: Updated RegisteredEntries.md
139,040
10.12.2018 20:49:28
-3,600
e72e10d34796462c12e74406e3fbb33eec21197a
Removed unneccessary empty row
[ { "change_type": "MODIFY", "old_path": "docs/Mods/JAOPCA/RegisteredEntries.md", "new_path": "docs/Mods/JAOPCA/RegisteredEntries.md", "diff": "@@ -25,7 +25,6 @@ These are base entries, they may be extended by addons or special mod integratio\n| \"crystalFragment\" | JAOPCA + [abyssalcraft](https://minecraft.curseforge.com/projects/abyssalcraft) |\n| \"crystalShard\" | JAOPCA + [abyssalcraft](https://minecraft.curseforge.com/projects/abyssalcraft) |\n| | |\n-| | |\n| \"hotMolten\" | JAOPCA + [buildcraft (1.11.2)](https://minecraft.curseforge.com/projects/buildcraft) |\n| \"coolMolten\" | JAOPCA + [buildcraft (1.11.2)](https://minecraft.curseforge.com/projects/buildcraft) |\n| \"searingMolten\" | JAOPCA + [buildcraft (1.11.2)](https://minecraft.curseforge.com/projects/buildcraft) |\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Removed unneccessary empty row
139,090
20.12.2018 08:29:37
0
6ecd38d00bd827210c0d410f5a467431ab6ea28a
Docs clarification: "deregister" is more correct than "remove" here
[ { "change_type": "MODIFY", "old_path": "docs/Mods/PneumaticCraft_Repressurized/LiquidFuels.md", "new_path": "docs/Mods/PneumaticCraft_Repressurized/LiquidFuels.md", "diff": "@@ -9,7 +9,7 @@ You can call the Liquid Fuels package using `mods.pneumaticcraft.liquidfuel`.\n## Removing\n-This function removes the [ILiquidStack](/Vanilla/Liquids/ILiquidStack/) `fluid` its fuel value:\n+This function deregisters the [ILiquidStack](/Vanilla/Liquids/ILiquidStack/) `fluid` as a fuel:\n```\nmods.pneumaticcraft.liquidfuel.removeFuel(ILiquidStack fluid);\n@@ -17,7 +17,7 @@ mods.pneumaticcraft.liquidfuel.removeFuel(ILiquidStack fluid);\nmods.pneumaticcraft.liquidfuel.removeFuel(<liquid:lpg>);\n```\n-This function removes *all* registered fuels:\n+This function deregisters *all* registered fuels:\n```\nmods.pneumaticcraft.liquidfuel.removeAllFuels();\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Docs clarification: "deregister" is more correct than "remove" here
139,090
20.12.2018 08:30:32
0
946dbf5f356fa9bf0908df3d4ed375bfd732f348
Add page describing PneumaticCraft explosion crafting
[ { "change_type": "ADD", "old_path": null, "new_path": "docs/Mods/PneumaticCraft_Repressurized/ExplosionCrafting.md", "diff": "+# Explosion Crafting\n+\n+Explosion Crafting is used to transform one item into another by exposing it to an explosion when it is an item on the ground. A configurable (random) loss rate can be specified. By default, this is used to convert Iron Ingots into Compressed Iron Ingots with a 20% loss rate.\n+\n+## Calling\n+\n+You can call the Explosion Crafting package using `mods.pneumaticcraft.explosioncrafting`\n+\n+## Removing\n+\n+This function removes the first recipe it finds with the given [IIngredient](/Vanilla/Variable_Types/IIngredient/) `output`:\n+\n+```\n+mods.pneumaticcraft.explosioncrafting.removeRecipe(IIngredient output);\n+// Example\n+mods.pneumaticcraft.explosioncrafting.removeRecipe(<pneumaticcraft:ingot_iron_compressed>);\n+```\n+\n+This function removes *all* Explosion Crafting recipes:\n+\n+```\n+mods.pneumaticcraft.explosioncrafting.removeAllRecipes();\n+```\n+\n+## Adding\n+\n+These functions are used to add new Explosion Crafting recipes:\n+\n+```\n+mods.pneumaticcraft.explosioncrafting.addRecipe(IItemStack input, IItemStack output, int loss_rate);\n+mods.pneumaticcraft.explosioncrafting.addRecipe(IOreDictEntry input, IItemStack output, int loss_rate);\n+\n+// Example\n+mods.pneumaticcraft.explosioncrafting.removeAllRecipes();\n+// An expert-mode pack might make plain iron a very poor choice, and steel much better.\n+mods.pneumaticcraft.explosioncrafting.addRecipe(<ore:ingotIron>, <pneumaticcraft:ingot_iron_compressed>, 95);\n+mods.pneumaticcraft.explosioncrafting.addRecipe(<ore:ingotSteel>, <pneumaticcraft:ingot_iron_compressed>, 10);\n+// A way to make lots of Nether Brick, for (on average) 4x the cost of Netherrack\n+mods.pneumaticcraft.explosioncrafting.addRecipe(<ore:netherrack>, <minecraft:netherbrick>, 75);\n+```\n" }, { "change_type": "MODIFY", "old_path": "mkdocs.yml", "new_path": "mkdocs.yml", "diff": "@@ -634,6 +634,7 @@ pages:\n- Pressure Chamber: 'Mods/PneumaticCraft_Repressurized/PressureChamber.md'\n- Refinery: 'Mods/PneumaticCraft_Repressurized/Refinery.md'\n- Thermopneumatic Processing: 'Mods/PneumaticCraft_Repressurized/ThermopneumaticProcessingPlant.md'\n+ - Explosion Crafting: 'Mods/PneumaticCraft_Repressurized/ExplosionCrafting.md'\n- Liquid Fuels: 'Mods/PneumaticCraft_Repressurized/LiquidFuels.md'\n- XP Fluids: 'Mods/PneumaticCraft_Repressurized/XPFluids.md'\n- Powered Thingies:\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Add page describing PneumaticCraft explosion crafting
139,040
01.01.2019 14:26:58
-3,600
811085fe643cb31c9b7ed6d8c1a1ec124fcbfb0f
Added Extutils 2 machine localization info
[ { "change_type": "MODIFY", "old_path": "docs/Mods/ExtraUtilities2/CustomMachines/IMachine.md", "new_path": "docs/Mods/ExtraUtilities2/CustomMachines/IMachine.md", "diff": "@@ -88,3 +88,14 @@ You can also retrieve some information on the machine using the following method\n- `getInputSlots()`: Returns all input slots as a List of [IMachineSlot](/Mods/ExtraUtilities2/CustomMachines/IMachineSlot).\n- `getOutputSlots()`: Returns all output slots as a List of [IMachineSlot](/Mods/ExtraUtilities2/CustomMachines/IMachineSlot).\n- `getSlot()`: Returns the [IMachineSlot](/Mods/ExtraUtilities2/CustomMachines/IMachineSlot) matching the name.\n+\n+\n+## Naming the machine\n+So far, all our machines will be named `machine.crafttweaker:your_machine_name` where `your_machine_name` is whatever name you used to create the machine.\n+\n+If you want the machine name localized, use either CrT's [IGame](/Vanilla/Game/IGame) capabilities or a custom lang file, though latter is preferred since there are some issues with CrT's way of doing the localization.\n+\n+So if your machine name was `time_machine`, you would need to add this to a lang file\n+```\n+machine.crafttweaker:time_machine=Space Time distorter (Time machine)\n+```\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Added Extutils 2 machine localization info
139,040
04.01.2019 14:21:29
-3,600
8bbdeca8c80ee679f391ed6e9b1a15277b45b7c8
Fixed Typo Opacy -> Opcaity
[ { "change_type": "MODIFY", "old_path": "docs/Vanilla/Blocks/IBlockDefinition.md", "new_path": "docs/Vanilla/Blocks/IBlockDefinition.md", "diff": "@@ -27,7 +27,7 @@ It might be required for you to import the package if you encounter any issues (\n| | hardness | | int |\n| harvestLevel | | Returns the block's harvest level | int |\n| harvestTool | | Returns the block's harvest tool | string |\n-| | lightOpacy | | int |\n+| | lightOpacity | | int |\n| | lightLevel | | int |\n| | resistance | | int |\n| unlocalizedName | | Returns the block's unlocalized Name | string |\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Fixed Typo Opacy -> Opcaity
139,040
04.01.2019 14:22:02
-3,600
fb6aee703bd24ec613c386473cd0969094f98120
Fixed Typos for PR
[ { "change_type": "MODIFY", "old_path": "docs/Contribute/OnlineEditor_Create.md", "new_path": "docs/Contribute/OnlineEditor_Create.md", "diff": "@@ -31,13 +31,13 @@ Find the path in GitHub and click `Create new file`\n![Create File Button](/Contribute/assets/OnlineEditor_CreateFileButton.png)\nYou are now presented with the new File editor page.\n-First, on the top you can see the path of the file that will be created. If we want the file to be created in exactly the directory that is shown in the path, we only need to provide a file title and extension. Remember, all wiki entry files should have the `.md` extension, since this wiki used markdown.\n+First, on the top you can see the path of the file that will be created. If we want the file to be created in exactly the directory that is shown in the path, we only need to provide a file title and extension. Remember, all wiki entry files should have the `.md` extension, since this wiki uses markdown.\n-If you want the file to be created in a (possible nonexisting) subfolder, or even multiple folders down the path, you can use `/` to separate folder names (like you can already see in the given path).\n+If you want the file to be created in a (possibly nonexisting) subfolder, or even multiple folders down the path, you can use `/` to separate folder names (like you can already see in the given path).\nThe Editor allows you to create the file as you like, and also to directly view a preview of the compiled formatting.\n-If the syntax of the files is new for you, the wiki uses MarkDown. There should be many tutorials to find using google.\n+If the syntax of the files is new for you, the wiki uses MarkDown. There should be many tutorials to find using google (or you could add one right here to this wiki if you like).\n## Add the file to the index\nAfter you have created the file and commited the creation (see below) you will need to add the file to the index as well, so that it can be shown in the navigation bar later.\n@@ -52,7 +52,7 @@ The format is pretty straight-forward:\n- Entries start with a `-`\n- Then comes the (shown, English) name for the group or entry, followed by a `:`\n- If you are creating a grouping (e.g. `Vanilla` or `Mods`) proceed on the next line, with two spaces inlined.\n-- If you are creating an actual reference to a script, add it on the same line, after the `;` and a space. Make sure to wrap it in single quotes `'` to ensure that the build works as expected. The path is relative to the `docs` folder, so `docs/Vanilla/Commands.md` becomes `Vanilla/Commands.md`.\n+- If you are creating an actual reference to a page file, add it on the same line, after the `:` and a space. Make sure to wrap it in single quotes `'` to ensure that the build works as expected. The path is relative to the `docs` folder, so `docs/Vanilla/Commands.md` becomes `Vanilla/Commands.md`.\nFor examples check the [current mkdocs.yml file on github](https://github.com/CraftTweaker/CraftTweaker-Documentation/blob/master/mkdocs.yml). Alternatively, edit this file and add an own example here.\n@@ -61,13 +61,13 @@ For examples check the [current mkdocs.yml file on github](https://github.com/Cr\nAfter you have created the file content you need to let GitHub know that you want to save your changes.\n-That's what the commit box below your Editor is for:\n+That's what the commit box below your editor is for:\nYou cannot simply save the file, you need to provide a summary of what you did (commit title) and optionally a short description where you can put additional information like why you did the changes or what exactly was changed.\nBy default it looks roughly like this:\n![Commit Box Default](/Contribute/assets/OnlineEditor_CommitBox_Default.png)\n-In this example, the Commit title (or edit summary) is `Update Arrays_and_Loops.md` because GitHub cannot know what your actual changes where it tries something as generic as this.\n+In this example, the Commit title (or edit summary) is `Update Arrays_and_Loops.md`. GitHub cannot know what your actual changes were supposed to do, so it tries something as generic as this.\nYou might want to add an additional title or description, but it is not neccessary, though it makes reviewing your Pull request later on easier.\n@@ -80,5 +80,5 @@ A filled out example might look like this:\n## What to do next\n-After you have committed your changes, you can go on and [edit](/Contribute/OnlineEditor_Edit) or Create more files using the online editor.\n+After you have committed your changes, you can go on and [edit](/Contribute/OnlineEditor_Edit) or create more files using the online editor.\nAfter you have done all your changes, you can [file a Pull Request](/Contribute/PullRequest).\n\\ No newline at end of file\n" }, { "change_type": "MODIFY", "old_path": "docs/Contribute/OnlineEditor_Edit.md", "new_path": "docs/Contribute/OnlineEditor_Edit.md", "diff": "@@ -42,7 +42,7 @@ The Editor allows you to change your file as you like, and also to directly view\n- Red: This section was present on this page before but was removed.\n- None: This section was untouched.\n-If the syntax of the files is new for you, the wiki uses MarkDown. There should be many tutorials to find using google.\n+If the syntax of the files is new for you, the wiki uses MarkDown. There should be many tutorials to find using google (or you could add one right here to this wiki if you like).\n## Save/Commit the changes\nAfter you have changed the file you need to let GitHub know that you want to save your changes.\n@@ -53,7 +53,7 @@ You cannot simply save the file, you need to provide a summary of what you did (\nBy default it looks roughly like this:\n![Commit Box Default](/Contribute/assets/OnlineEditor_CommitBox_Default.png)\n-In this example, the Commit title (or edit summary) is `Update Arrays_and_Loops.md` because GitHub cannot know what your actual changes where it tries something as generic as this.\n+In this example, the Commit title (or edit summary) is `Update Arrays_and_Loops.md`. GitHub cannot know what your actual changes were supposed to do, so it tries something as generic as this.\nYou might want to add an additional title or description, but it is not neccessary, though it makes reviewing your Pull request later on easier.\n" }, { "change_type": "MODIFY", "old_path": "docs/Mods/ExtraUtilities2/CustomMachines/IMachine.md", "new_path": "docs/Mods/ExtraUtilities2/CustomMachines/IMachine.md", "diff": "An IMachine is the actual machine object, you can get it from the [IMachineRegistry](/Mods/ExtraUtilities2/CustomMachines/IMachineRegistry).\n## Importing the package\n-It might be required for you to [import](/AdvancedFunctions/Import) the\n+It might be required for you to [import](/AdvancedFunctions/Import) the class.\n+You usually only need to import a class when directly using the name, such as in casting or [Array Declarations](/AdvancedFunctions/Arrays_and_Loops) but better be safe than sorry and add the import.\n```\nimport extrautilities2.Tweaker.IMachine;\n```\n@@ -36,6 +37,7 @@ This method uses the following parameters:\n### Using only the outputs map\nYou can also only use the outputs map, then ExtUtils2 will check for any [WeightedItemStack](/Vanilla/Items/WeightedItemStack) and [WeightedLiquidStack](/Vanilla/Liquids/WeightedLiquidStack) objects and use their chances.\n+Remember, that adding anything other than those two or [IIngredient](/Vanilla/Variable_Types/IIngredient) as mapped value, will have no effect.\n```\nmyMachine.addRecipe(inputs, outputs, energy, time);\n" }, { "change_type": "MODIFY", "old_path": "docs/Mods/ExtraUtilities2/CustomMachines/IMachineRegistry.md", "new_path": "docs/Mods/ExtraUtilities2/CustomMachines/IMachineRegistry.md", "diff": "# IMachineRegistry\n-You use the IMachineRegistry to register a new [IMachine](/Mods/ExtraUtilities2/CustomMachines/IMachine) to the game.\n+You use the IMachineRegistry to register a new [IMachine](/Mods/ExtraUtilities2/CustomMachines/IMachine) to the game, or to retrieve a previously registered machine afterwards.\n## Importing the package\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Fixed Typos for PR
139,040
04.01.2019 17:45:33
-3,600
24d017fbbd8dab7ef449be2e9facfda909a88ce3
New Crowdin translations * New translations ExplosionCrafting.md (Chinese Simplified) [ci skip] * New translations ExplosionCrafting.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/Mods/PneumaticCraft_Repressurized/ExplosionCrafting.md", "diff": "+# Explosion Crafting\n+\n+Explosion Crafting is used to transform one item into another by exposing it to an explosion when it is an item on the ground. A configurable (random) loss rate can be specified. By default, this is used to convert Iron Ingots into Compressed Iron Ingots with a 20% loss rate.\n+\n+## Calling\n+\n+You can call the Explosion Crafting package using `mods.pneumaticcraft.explosioncrafting`\n+\n+## Removing\n+\n+This function removes the first recipe it finds with the given [IIngredient](/Vanilla/Variable_Types/IIngredient/) `output`:\n+\n+ mods.pneumaticcraft.explosioncrafting.removeRecipe(IIngredient output);\n+ // Example\n+ mods.pneumaticcraft.explosioncrafting.removeRecipe(<pneumaticcraft:ingot_iron_compressed>);\n+\n+\n+This function removes *all* Explosion Crafting recipes:\n+\n+ mods.pneumaticcraft.explosioncrafting.removeAllRecipes();\n+\n+\n+## Adding\n+\n+These functions are used to add new Explosion Crafting recipes:\n+\n+ mods.pneumaticcraft.explosioncrafting.addRecipe(IItemStack input, IItemStack output, int loss_rate);\n+ mods.pneumaticcraft.explosioncrafting.addRecipe(IOreDictEntry input, IItemStack output, int loss_rate);\n+\n+ // Example\n+ mods.pneumaticcraft.explosioncrafting.removeAllRecipes();\n+ // An expert-mode pack might make plain iron a very poor choice, and steel much better.\n+ mods.pneumaticcraft.explosioncrafting.addRecipe(<ore:ingotIron>, <pneumaticcraft:ingot_iron_compressed>, 95);\n+ mods.pneumaticcraft.explosioncrafting.addRecipe(<ore:ingotSteel>, <pneumaticcraft:ingot_iron_compressed>, 10);\n+ // A way to make lots of Nether Brick, for (on average) 4x the cost of Netherrack\n+ mods.pneumaticcraft.explosioncrafting.addRecipe(<ore:netherrack>, <minecraft:netherbrick>, 75);\n\\ No newline at end of file\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New Crowdin translations (#120) * New translations ExplosionCrafting.md (Chinese Simplified) [ci skip] * New translations ExplosionCrafting.md (German) [ci skip]
139,040
15.01.2019 19:48:24
-3,600
78df84cac24d20a4010c7244ace168054fea186f
Added some command descriptions
[ { "change_type": "MODIFY", "old_path": "docs/Vanilla/Commands.md", "new_path": "docs/Vanilla/Commands.md", "diff": "@@ -32,6 +32,18 @@ Description:\nLists all of the biomes that are in the game.\n+## BiomeTypes\n+\n+Usage:\n+\n+`/crafttweaker biomeTypes`\n+\n+`/ct biomeTypes`\n+\n+Description:\n+\n+Lists all of the biomeTypes that are in the game.\n+\n## BlockInfo\nUsage:\n@@ -92,23 +104,35 @@ Usage:\nDescription:\n-Opens your browser with a link to the Discord server.\n+Opens your browser with a link to [the Discord server](https://www.discord.blamejared.com).\n+\n+## Docs\n+\n+Usage:\n+\n+`/crafttweaker docs`\n+\n+`/ct docs`\n+\n+Description:\n+\n+Opens your browser to this docs page (same as `/ct wiki`).\n## DumpZs\nUsage:\n`/crafttweaker dumpzs`\n-`/crafttweaker dumpzs PATH`\n`/ct dumpzs`\n-`/ct dumpzs PATH`\nDescription:\nOutputs a ZenScript dump to a crafttweaker_dump folder within your minecraft directory as HTML file.\n-Alternatively, you can provide a filepath to tell CT where to generate the dump. The Path can either be absolute or relative to your Minecraft root folder.\n+You can use one or more dump targets that will be executed consecutively (if you provide a target twice it will run twice).\n+The targets can be found using auto-complete (tab key).\n+By default `log`, `html` and `json` are registered as targets.\nThis will include all registered Bracket Handlers, ZenTypes, Global Functions, ZenExpansions an all Registered Packages including their methods.\nNote that not all of these can be used from within the scripts!\n@@ -152,6 +176,38 @@ Description:\nOutputs a list of all the items in your inventory to the crafttweaker.log file.\n+\n+## JeiCategories\n+\n+Usage:\n+\n+`/crafttweaker jeiCategories`\n+\n+`/ct jeiCategories`\n+\n+Description:\n+\n+Outputs a list of all registered jei categories to the crafttweaker.log file.\n+Requires JEI to be installed (surprise)!\n+\n+\n+## Json\n+\n+Usage:\n+\n+`/crafttweaker json`\n+`/crafttweaker json escaped`\n+\n+`/ct json`\n+`/ct json escaped`\n+\n+Description:\n+\n+Prints the nbt of the item in your hand as JSON to the chat.\n+This format differs from the IData formatting Crafttweaker uses.\n+You can click it to be copied to your clipboard.\n+You can also privide the `escaped` argumetn to automatically escape the resulting string.\n+\n## Liquids\nUsage:\n@@ -164,6 +220,18 @@ Description:\nOutputs a list of all the liquids in the game to the crafttweaker.log file.\n+## Log\n+\n+Usage:\n+\n+`/crafttweaker log`\n+\n+`/ct log`\n+\n+Description:\n+\n+Sends a clickable link to open the crafttweaker.log.\n+\n## Mods\nUsage:\n@@ -203,6 +271,18 @@ The `category` argument is optional and will extend the list with the according\nYou can also see all the available parameters using the TAB-Key autocompletion feature.\n+## Nbt\n+\n+Usage:\n+\n+`/crafttweaker nbt`\n+\n+`/ct nbt`\n+\n+Description:\n+\n+Outputs the NBT of the block you are looking at or the item you are holding to the crafttweaker.log file.\n+\n## OreDict\n@@ -230,6 +310,20 @@ Description:\nOutputs a list of all the potions in the game to the crafttweaker.log file.\n+## RecipeNames\n+\n+Usage:\n+\n+`/crafttweaker recipeNames`\n+`/crafttweaker recipeNames [modid]`\n+\n+`/ct recipeNames`\n+`/ct recipeNames [modid]`\n+\n+Description:\n+\n+Outputs a list of all recipe names in the game to the crafttweaker.log file.\n+A modid can be provided to filter results.\n## Recipes\n@@ -267,6 +361,20 @@ Description:\nOutputs a list of all the furnace recipes in the game to the crafttweaker.log file.\n+## Scripts\n+\n+Usage:\n+\n+`/crafttweaker scripts`\n+\n+`/ct scripts`\n+\n+Description:\n+\n+Sends a clickable link to open the scripts directory.\n+Can also be executed from a command line which instead prints the absolute path to the directory to the log.\n+\n+\n## Seeds\nUsage:\n@@ -302,4 +410,16 @@ Usage:\nDescription:\n-Opens your browser to this wiki page.\n\\ No newline at end of file\n+Opens your browser to this wiki page (same as `/ct docs`).\n+\n+## ZsLint\n+\n+Usage:\n+\n+`/crafttweaker zslint`\n+\n+`/ct zslint`\n+\n+Description:\n+\n+Starts the zslint socket.\n\\ No newline at end of file\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Added some command descriptions
139,040
15.01.2019 21:50:53
-3,600
df4bb87b8a2b4c3770cb525681eeeeca6494eafc
Added burntime and enchantability to /ct names See Crafttweaker/Crafttweaker#2028f326405b3b79ebef66852f457895e8d61292
[ { "change_type": "MODIFY", "old_path": "docs/Vanilla/Commands.md", "new_path": "docs/Vanilla/Commands.md", "diff": "@@ -257,9 +257,11 @@ Description:\nOutputs a list of all the items in the game to the crafttweaker.log file.\nThe `category` argument is optional and will extend the list with the according information:\n+* burntime\n* creativetabs\n* damageable\n* display\n+* enchantability\n* maxdamage\n* maxstack\n* maxuse\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Added burntime and enchantability to /ct names See Crafttweaker/Crafttweaker#2028f326405b3b79ebef66852f457895e8d61292
139,040
15.01.2019 21:51:18
-3,600
e796f4a4823965c9e6933688bdd0f379ac738c73
Added ItemSTack#getLiquids example to IIngredient
[ { "change_type": "MODIFY", "old_path": "docs/Vanilla/Variable_Types/IIngredient.md", "new_path": "docs/Vanilla/Variable_Types/IIngredient.md", "diff": "@@ -99,6 +99,12 @@ for liquid in liquidsIngredient.liquids{\n//Prints each possible liquid's Display name\nprint(liquid.displayName);\n}\n+\n+for liquid in <minecraft:water_bucket>.liquids {\n+ //Prints the contained liquid, i.e. water.\n+ //May not work for every item, though.\n+ print(liquid.displayName);\n+}\n```\n### Transform an IIngredient upon crafting\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Added ItemSTack#getLiquids example to IIngredient
139,036
23.01.2019 17:35:35
-28,800
52c9af90b54f118ddf504365913611c95915d9ca
Fixed the wrong title name
[ { "change_type": "MODIFY", "old_path": "docs/Contribute/OnlineEditor_Create.md", "new_path": "docs/Contribute/OnlineEditor_Create.md", "diff": "-# Edit Files using GitHub's online editor\n+# Create Files using GitHub's online editor\n## Requirements\nYou will need to have created a GitHub account and [forked the wiki to your account](/Contribute/SetupGithub).\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Fixed the wrong title name
139,046
25.01.2019 18:04:40
28,800
3daafbd63c8ce4b0e62ca8a95f5d75ed3acd6d05
Typo: Brewing Handler -> Server Handler
[ { "change_type": "MODIFY", "old_path": "docs/Vanilla/Game/IServer.md", "new_path": "docs/Vanilla/Game/IServer.md", "diff": "@@ -8,7 +8,7 @@ It might be required for you to import the package if you encounter any issues (\nIServer extends [ICommandSender](/Vanilla/Commands/ICommandSender), so all methods that are available for an [ICommandSender](/Vanilla/Commands/ICommandSender) object are also available for an IServer object.\n## Access the Server Handler\n-You can access the Brewing Handler using the `server` [global keyword](/Vanilla/Global_Functions/).\n+You can access the Server Handler using the `server` [global keyword](/Vanilla/Global_Functions/).\nAlternatively you can get the server from any [ICommandSender](/Vanilla/Commands/ICommandSender/).\n## Check if a [player](/Vanilla/Players/IPlayer/) is OP\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Typo: Brewing Handler -> Server Handler
139,040
26.01.2019 17:05:28
-3,600
c47fa5324d39e2cdd1c739024c3abe11dc88ba53
Added Food getters to IItemStack See CraftTweaker/Crafttweaker/5cd772098be655d77d4086dff383052afdecd3dc
[ { "change_type": "MODIFY", "old_path": "docs/Vanilla/Items/IItemStack.md", "new_path": "docs/Vanilla/Items/IItemStack.md", "diff": "@@ -338,3 +338,12 @@ You can cast an IItemStack to an [IBlock](/Vanilla/Blocks/IBlock/), as long as y\n<minecraft:dirt>.asBlock();\n<minecraft:dirt> as crafttweaker.block.IBlock;\n```\n+\n+#### Food Properties\n+You can check if an IItemStack is a food item and what food properties it has.\n+May not work for every modded food item!\n+```kotlin\n+<minecraft:apple>.isFood; //true\n+<minecraft:apple>.saturation; //0.3\n+<minecraft:apple>.healAmount; //4\n+```\n\\ No newline at end of file\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Added Food getters to IItemStack See CraftTweaker/Crafttweaker/5cd772098be655d77d4086dff383052afdecd3dc
139,040
26.01.2019 17:06:44
-3,600
944608788e2501c94476493c3cb54188fc0eee67
Added PlayerAdvancementEvent See Crafttweaker/Crafttweaker/6f739f245e0be558133e0fb59c161e4d1d5023cc
[ { "change_type": "MODIFY", "old_path": "docs/Vanilla/Commands.md", "new_path": "docs/Vanilla/Commands.md", "diff": "@@ -262,6 +262,7 @@ The `category` argument is optional and will extend the list with the according\n* damageable\n* display\n* enchantability\n+* foodvalue\n* maxdamage\n* maxstack\n* maxuse\n@@ -269,6 +270,7 @@ The `category` argument is optional and will extend the list with the according\n* rarity\n* repairable\n* repaircost\n+* saturationvalue\n* unloc\nYou can also see all the available parameters using the TAB-Key autocompletion feature.\n" }, { "change_type": "ADD", "old_path": null, "new_path": "docs/Vanilla/Events/Events/PlayerAdvancement.md", "diff": "+# PlayerAdvancement\n+\n+The PlayerAdvancement Event is fired whenever a player crafts something in the anvil.\n+You can change the chance that the anvil is damaged.\n+\n+## Event Class\n+You will need to cast the event in the function header as this class:\n+`crafttweaker.event.PlayerAdvancementEvent`\n+You can, of course, also [import](/AdvancedFunctions/Import/) the class before and use that name then.\n+\n+## Event interface extensions\n+PlayerAdvancement Events implement the following interfaces and are able to call all of their methods/getters/setters as well:\n+\n+- [IPlayerEvent](/Vanilla/Events/Events/IPlayerEvent/)\n+\n+\n+\n+## ZenGetters\n+The following information can be retrieved from the event:\n+\n+| ZenGetter | Return Type |\n+|------------------|--------------|\n+| `id` | string |\n+\n+\n+## Id\n+\n+Apart from the functionality the PE exposes you can get the advancement's ID as string.\n+\n+This can for example be a string like\n+```\n+\"minecraft:story/mine_diamond\"\n+```\n\\ No newline at end of file\n" }, { "change_type": "MODIFY", "old_path": "docs/Vanilla/Events/IEventManager.md", "new_path": "docs/Vanilla/Events/IEventManager.md", "diff": "@@ -50,6 +50,7 @@ The ZenMethods would be what you'll need to call on `events`, the Event Class wo\n| onEntityStruckByLightning | [`crafttweaker.event.EntityStruckByLightningEvent`](/Vanilla/Events/Events/EntityStruckByLightning/) |\n| onItemExpire | [`crafttweaker.event.ItemExpireEvent`](/Vanilla/Events/Events/ItemExpire/) |\n| onItemToss | [`crafttweaker.event.ItemTossEvent`](/Vanilla/Events/Events/ItemToss/) |\n+| onPlayerAdvancement | [`crafttweaker.event.PlayerAdvancement`](/Vanilla/Events/Events/PlayerAdvancement/) |\n| onPlayerAnvilRepair | [`crafttweaker.event.PlayerAnvilRepair`](/Vanilla/Events/Events/PlayerAnvilRepair/) |\n| onPlayerAttackEntity | [`crafttweaker.event.PlayerAttackEntityEvent`](/Vanilla/Events/Events/PlayerAttackEntity/) |\n| onPlayerBonemeal | [`crafttweaker.event.PlayerBonemealEvent`](/Vanilla/Events/Events/PlayerBonemeal/) |\n" }, { "change_type": "MODIFY", "old_path": "mkdocs.yml", "new_path": "mkdocs.yml", "diff": "@@ -111,6 +111,7 @@ pages:\n- ItemExpireEvent: 'Vanilla/Events/Events/ItemExpire.md'\n- ItemTossEvent: 'Vanilla/Events/Events/ItemToss.md'\n- LivingEntityUseItemEvent: 'Vanilla/Events/Events/LivingEntityUseItem.md'\n+ - PlayerAdvancementEvent: 'Vanilla/Events/Events/PlayerAdvancement.md'\n- PlayerAnvilRepairEvent: 'Vanilla/Events/Events/PlayerAnvilRepair.md'\n- PlayerAttackEntityEvent: 'Vanilla/Events/Events/PlayerAttackEntity.md'\n- PlayerBonemealEvent: 'Vanilla/Events/Events/PlayerBonemeal.md'\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Added PlayerAdvancementEvent See Crafttweaker/Crafttweaker/6f739f245e0be558133e0fb59c161e4d1d5023cc
139,073
29.01.2019 20:52:34
-3,600
b29f283662c646c8ea4c8e678df5eb791ed9da99
Update Mineral_Mix.md mineralmix.add and remoreOre examples did use minecraft:iron_ore - however oredict names are required here...
[ { "change_type": "MODIFY", "old_path": "docs/Mods/Immersive_Engineering/CraftTweaker_Support/Excavator/Mineral_Mix.md", "new_path": "docs/Mods/Immersive_Engineering/CraftTweaker_Support/Excavator/Mineral_Mix.md", "diff": "@@ -30,8 +30,9 @@ var Iron = Excavator.getMineral(\"Iron_Ore\");\n|Required |Chance |Double |\n```\n-mineralMixObject.addOre(\"minecraft:iron_ore\", 0.5);\n+mineralMixObject.addOre(\"oreIron\", 0.5);\n```\n+You will need to use the oredict names.\n## Remove Ore\n@@ -40,7 +41,7 @@ mineralMixObject.addOre(\"minecraft:iron_ore\", 0.5);\n|Required |Ore |String |\n```\n-mineralMixObject.removeOre(\"minecraft:iron_ore\");\n+mineralMixObject.removeOre(\"oreIron\");\n```\n##Fail Chance Getter/Setter\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Update Mineral_Mix.md mineralmix.add and remoreOre examples did use minecraft:iron_ore - however oredict names are required here...
139,040
29.01.2019 21:08:24
-3,600
60d459b061ff0e008189b3927df9c4c142d03839
New translations Mineral_Mix.md (German) [ci skip]
[ { "change_type": "MODIFY", "old_path": "translations/de/docs/Mods/Immersive_Engineering/CraftTweaker_Support/Excavator/Mineral_Mix.md", "new_path": "translations/de/docs/Mods/Immersive_Engineering/CraftTweaker_Support/Excavator/Mineral_Mix.md", "diff": "@@ -28,16 +28,18 @@ var Iron = Excavator.getMineral(\"Iron_Ore\");\n| Required | Ore | String |\n| Required | Chance | Double |\n- mineralMixObject.addOre(\"minecraft:iron_ore\", 0.5);\n+ mineralMixObject.addOre(\"oreIron\", 0.5);\n+You will need to use the oredict names.\n+\n## Remove Ore\n| Required | Type | Data Type |\n| -------- | ---- | --------- |\n| Required | Ore | String |\n- mineralMixObject.removeOre(\"minecraft:iron_ore\");\n+ mineralMixObject.removeOre(\"oreIron\");\n## Fail Chance Getter/Setter\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations Mineral_Mix.md (German) [ci skip]
139,040
30.01.2019 12:51:06
-3,600
58b3da606c3c73fffaf617a303df01db94194c0d
New translations EntityRandomizer.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/Mods/ProjectE/EntityRandomizer.md", "diff": "+# Entity Randomizer\n+\n+Adding and removing entities from ProjectE's philosopher's stone entity randomizer projectile uses an [IEntityDefinition](/Vanilla/Entities/IEntityDefinition/).\n+\n+Note: This [IEntityDefinition](/Vanilla/Entities/IEntityDefinition/) must be for a living entity.\n+\n+## Adding\n+\n+### addPeaceful\n+\n+ mods.projecte.EntityRandomizer.addPeaceful(IEntityDefinition entityDefinition);\n+\n+ #Allows turning peaceful creatures into zombies.\n+ mods.projecte.EntityRandomizer.addPeaceful(<entity:minecraft:zombie>);\n+\n+\n+### addMob\n+\n+ mods.projecte.EntityRandomizer.addMob(IEntityDefinition entityDefinition);\n+\n+ #Allows turning hostile mobs into pigs.\n+ mods.projecte.EntityRandomizer.addMob(<entity:minecraft:pig>);\n+\n+\n+## Removing\n+\n+### removePeaceful\n+\n+ mods.projecte.EntityRandomizer.removePeaceful(IEntityDefinition entityDefinition);\n+\n+ #Stops peaceful mobs being able to be turned into pigs.\n+ mods.projecte.EntityRandomizer.removePeaceful(<entity:minecraft:pig>);\n+\n+\n+### removeMob\n+\n+ mods.projecte.EntityRandomizer.removeMob(IEntityDefinition entityDefinition);\n+\n+ #Stops hostile mobs being able to be turned into zombies.\n+ mods.projecte.EntityRandomizer.removeMob(<entity:minecraft:zombie>);\n+\n+\n+### clearPeacefuls\n+\n+ #Removes all randomized peaceful mob entries including ones registered by CraftTweaker before this call.\n+ mods.projecte.EntityRandomizer.clearPeacefuls();\n+\n+\n+### clearMobs\n+\n+ #Removes all randomized hostile mob entries including ones registered by CraftTweaker before this call.\n+ mods.projecte.EntityRandomizer.clearMobs();\n\\ No newline at end of file\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations EntityRandomizer.md (German) [ci skip]
139,050
06.02.2019 17:38:54
-39,600
e190812332f93f8271a2c8cca6c6ffafefb12330
Add VanillaDeathChest documentation
[ { "change_type": "ADD", "old_path": null, "new_path": "docs/Mods/VanillaDeathChest/Death_Chest_Defense.md", "diff": "+# Death Chest Defense\n+\n+## Importing the package\n+`import mods.vanilladeathchest.DeathChestDefense;`\n+\n+## Unlocker item\n+```\n+//DeathChestDefense.setUnlocker(string stage, IItemStack unlocker);\n+DeathChestDefense.setUnlocker(\"example_stage\", <minecraft:diamond_axe>);\n+```\n+A consumption/damage amount can also be set.\n+\n+## Damage the unlocker item rather than consuming it\n+```\n+DeathChestDefense.setDamageUnlockerInsteadOfConsume(string stage, bool flag);\n+DeathChestDefense.setDamageUnlockerInsteadOfConsume(\"example_stage\", true);\n+```\n+\n+## Unlock failed chat message\n+```\n+//DeathChestDefense.setUnlockFailedChatMessage(string stage, string message);\n+DeathChestDefense.setUnlockFailedChatMessage(\"example_stage\", \"You need to get a %2$ to unlock your chest!\");\n+```\n+The string takes two arguments: the amount and display name of the required items.\n+\n+## Defense entity\n+```\n+//DeathChestDefense.setDefenseEntity(string stage, IEntityDefinition defenseEntity);\n+DeathChestDefense.setDefenseEntity(\"example_stage\", <entity:minecraft:zombie_pigman>);\n+```\n+\n+## Defense entity NBT\n+```\n+//DeathChestDefense.setDefenseEntityNBT(string stage, IData nbt);\n+DeathChestDefense.setDefenseEntityNBT(\"example_stage\", {\n+ HandItems: [\n+ {\n+ Count: 1,\n+ id: \"minecraft:diamond_sword\"\n+ }\n+ ]\n+});\n+```\n+`nbt` should be a [DataMap](/Vanilla/Data/DataMap/).\n+\n+## Defense entity spawn count\n+```\n+//DeathChestDefense.setDefenseEntitySpawnCount(string stage, int count);\n+DeathChestDefense.setDefenseEntitySpawnCount(\"example_stage\", 500);\n+```\n" }, { "change_type": "ADD", "old_path": null, "new_path": "docs/Mods/VanillaDeathChest/Death_Chest_Spawning.md", "diff": "+# Death Chest Spawning\n+\n+## Importing the package\n+`import mods.vanilladeathchest.DeathChestSpawning;`\n+\n+## Chat message\n+```\n+//DeathChestSpawning.setChatMessage(string stage, string message);\n+DeathChestSpawning.setChatMessage(\"example_stage\", \"A chest appears at [%s, %s, %s]!\");\n+```\n+The string takes three arguments: the X, Y and Z coordinates of the death chest.\n" }, { "change_type": "ADD", "old_path": null, "new_path": "docs/Mods/VanillaDeathChest/VanillaDeathChest.md", "diff": "+# VanillaDeathChest\n+\n+## Information\n+\n+[VanillaDeathChest](https://minecraft.curseforge.com/projects/vanilladeathchest) places chests\n+(or shulker boxes) where players die containing all of their items.VanillaDeathChest is\n+completely server-sided; it can be installed on the client for use on singleplayer worlds,\n+but clients without this mod can connect to servers with this mod installed without losing\n+functionality.\n+\n+VanillaDeathChest can be paired with\n+[Game Stages](https://minecraft.curseforge.com/projects/game-stages)\n+and CraftTweaker to make accessing death chests more difficult for players as they progress.\n+\n+If any properties are not set via CraftTweaker, the values set in the global configuration are\n+used. Game stages should be defined in order. Calling any of the VanillaDeathChest functions\n+causes the specified stage to be defined if it has not been already.\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Add VanillaDeathChest documentation
139,040
08.02.2019 18:41:56
-3,600
0de0d5ae51a30de50e7688e730b2354f0ba22f5a
TC and TE additions Thaumcraft Salis mundus handler ThermalExpansion Dynamos ThermalExpansion Factorizer ThermalExpansion CoolantManager see
[ { "change_type": "ADD", "old_path": null, "new_path": "docs/Mods/Modtweaker/Thaumcraft/Handlers/SalisMundus.md", "diff": "+# Salis Mundus\n+\n+This package allows you to add conversion handlers for thaumcraft's salis mundus handler.\n+These handlers are invoked when you click a block in the world with Thaumcraft's salis mundus to change them to something else.\n+\n+If that result is a block, it will be placed in the world, if not it will be dropped as item.\n+\n+\n+## Import the package\n+To shorten method calls you can [import](/AdvancedFunctions/Import/) the package like so:\n+```\n+import mods.thaumcraft.SalisMundus;\n+```\n+\n+\n+## Add Recipes\n+\n+You can either specify an [IBlock](/Vanilla/Blocks/IBlock/) or an [IOreDictEntry](/Vanilla/OreDict/IOreDictEntry/).\n+If you don't specify a research, this recipe will always be possible, if you do decide to specify a research string, you need to have the research unlocked in order for the conversion to work.\n+\n+```\n+//mods.thaumcraft.SalisMundus.addSingleConversion(IBlock in, IItemStack out, @Optional String research);\n+SalisMundus.addSingleConversion(<blockstate:minecraft:dirt>.block, <minecraft:bedrock>);\n+\n+//mods.thaumcraft.SalisMundus.addSingleConversion(IOreDictEntry in, IItemStack out, @Optional String research);\n+mods.thaumcraft.SalisMundus.addSingleConversion(IOreDictEntry in, IItemStack out, @Optional String research);\n+SalisMundus.addSingleConversion(<ore:blockIron>, <minecraft:bedrock>);\n+```\n+\n+## Remove Recipes\n+\n+You can also remove all recipes that return a matching item.\n+This handler checks if the parameter provided matches with the output itemStack, so you could also remove all recipes using the wildcard ingredient `<*>`.\n+\n+```\n+mods.thaumcraft.SalisMundus.removeSingleConversion(IIngredient output);\n+\n+//Removes ALL registered handlers\n+mods.thaumcraft.SalisMundus.removeSingleConversion(<*>);\n+\n+//Only removes the crucible handler\n+mods.thaumcraft.SalisMundus.removeSingleConversion(<thaumcraft:crucible>);\n+```\n\\ No newline at end of file\n" }, { "change_type": "ADD", "old_path": null, "new_path": "docs/Mods/Modtweaker/ThermalExpansion/Coolant.md", "diff": "+# Coolant\n+\n+The Coolant manager does not belong to any specific machine but manages coolant values for all other machines.\n+For example the Enervation Dynamo uses the coolant values, as does the Magmatic Dynamo with the Ientropic Reservoir augment provided.\n+\n+\n+## Import the package\n+To shorten method calls you can [import](/AdvancedFunctions/Import/) the package like so:\n+```\n+import mods.thermalexpansion.Coolant;\n+```\n+\n+\n+## Add Coolant\n+\n+Use this to register a new coolant to the manager.\n+CoolantRF needs to be non-negative, and the coolant factor needs to be between 1 and 100 (inclusive).\n+If those ranges are not met, the coolant will not be registered!\n+\n+```\n+//mods.thermalexpansion.Coolant.addCoolant(ILiquidStack fluid, int coolantRf, int coolantFactor);\n+mods.thermalexpansion.Coolant.addCoolant(<liquid:lava>, 0, 1);\n+\n+\n+//These are two of the values TE uses by default:\n+//mods.thermalexpansion.Coolant.addCoolant(<liquid:water>, 250000, 20);\n+//mods.thermalexpansion.Coolant.addCoolant(<liquid:cryotheum>, 3000000, 60);\n+```\n+\n+\n+## Remove Coolant\n+\n+Use this to deregister an existing coolant from the manager.\n+\n+```\n+//mods.thermalexpansion.Coolant.removeCoolant(ILiquidStack fluid);\n+mods.thermalexpansion.Coolant.removeCoolant(<liquid:water>);\n+```\n\\ No newline at end of file\n" }, { "change_type": "ADD", "old_path": null, "new_path": "docs/Mods/Modtweaker/ThermalExpansion/Dynamos/CompressionDynamo.md", "diff": "+# Compression Dynamo\n+\n+## Import the package\n+To shorten method calls you can [import](/AdvancedFunctions/Import/) the package like so:\n+```\n+import mods.thermalexpansion.CompressionDynamo;\n+```\n+\n+\n+## Add Fuel\n+\n+```\n+//mods.thermalexpansion.CompressionDynamo.addFuel(ILiquidStack stack, int energy);\n+mods.thermalexpansion.CompressionDynamo.addFuel(<liquid:water>, 13);\n+```\n+\n+## Remove Fuel\n+\n+```\n+//mods.thermalexpansion.Compression.removeFuel(ILiquidStack stack);\n+mods.thermalexpansion.Compression.removeFuel(<liquid:water>);\n+```\n\\ No newline at end of file\n" }, { "change_type": "ADD", "old_path": null, "new_path": "docs/Mods/Modtweaker/ThermalExpansion/Dynamos/EnervationDynamo.md", "diff": "+# Enervation Dynamo\n+\n+## Import the package\n+To shorten method calls you can [import](/AdvancedFunctions/Import/) the package like so:\n+```\n+import mods.thermalexpansion.EnervationDynamo;\n+```\n+\n+\n+## Add Fuel\n+\n+```\n+//mods.thermalexpansion.EnervationDynamo.addFuel(ILiquidStack stack, int energy);\n+mods.thermalexpansion.EnervationDynamo.addFuel(<liquid:water>, 13);\n+```\n+\n+## Remove Fuel\n+\n+```\n+//mods.thermalexpansion.EnervationDynamo.removeFuel(ILiquidStack stack);\n+mods.thermalexpansion.EnervationDynamo.removeFuel(<liquid:water>);\n+```\n\\ No newline at end of file\n" }, { "change_type": "ADD", "old_path": null, "new_path": "docs/Mods/Modtweaker/ThermalExpansion/Dynamos/MagmaticDynamo.md", "diff": "+# Magmatic Dynamo\n+\n+## Import the package\n+To shorten method calls you can [import](/AdvancedFunctions/Import/) the package like so:\n+```\n+import mods.thermalexpansion.MagmaticDynamo;\n+```\n+\n+\n+## Add Fuel\n+\n+```\n+//mods.thermalexpansion.MagmaticDynamo.addFuel(ILiquidStack stack, int energy);\n+mods.thermalexpansion.MagmaticDynamo.addFuel(<liquid:water>, 13);\n+```\n+\n+## Remove Fuel\n+\n+```\n+//mods.thermalexpansion.MagmaticDynamo.removeFuel(ILiquidStack stack);\n+mods.thermalexpansion.MagmaticDynamo.removeFuel(<liquid:water>);\n+```\n\\ No newline at end of file\n" }, { "change_type": "ADD", "old_path": null, "new_path": "docs/Mods/Modtweaker/ThermalExpansion/Dynamos/NumisticDynamo.md", "diff": "+# Numistic Dynamo\n+\n+## Import the package\n+To shorten method calls you can [import](/AdvancedFunctions/Import/) the package like so:\n+```\n+import mods.thermalexpansion.NumisticDynamo;\n+```\n+\n+\n+## Add Fuel\n+\n+```\n+//mods.thermalexpansion.NumisticDynamo.addFuel(ILiquidStack stack, int energy);\n+mods.thermalexpansion.NumisticDynamo.addFuel(<liquid:water>, 13);\n+```\n+\n+## Add Gem Fuel\n+\n+```\n+//mods.thermalexpansion.NumisticDynamo.addGemFuel(ILiquidStack stack, int energy);\n+mods.thermalexpansion.NumisticDynamo.addGemFuel(<liquid:water>, 13);\n+```\n+\n+## Remove Fuel\n+\n+```\n+//mods.thermalexpansion.NumisticDynamo.removeFuel(ILiquidStack stack);\n+mods.thermalexpansion.NumisticDynamo.removeFuel(<liquid:water>);\n+```\n+\n+\n+## Remove Gem Fuel\n+\n+```\n+//mods.thermalexpansion.NumisticDynamo.removeGemFuel(ILiquidStack stack);\n+mods.thermalexpansion.NumisticDynamo.removeGemFuel(<liquid:water>);\n+```\n\\ No newline at end of file\n" }, { "change_type": "ADD", "old_path": null, "new_path": "docs/Mods/Modtweaker/ThermalExpansion/Dynamos/ReactantDynamo.md", "diff": "+# ReactantDynamo\n+\n+## Import the package\n+To shorten method calls you can [import](/AdvancedFunctions/Import/) the package like so:\n+```\n+import mods.thermalexpansion.ReactantDynamo;\n+```\n+\n+\n+## Add Reaction\n+\n+```\n+//mods.thermalexpansion.ReactantDynamo.addReaction(IItemStack item, ILiquidStack liquid, int energy);\n+mods.thermalexpansion.ReactantDynamo.addReaction(<minecraft:bedrock>, <liquid:water>, 13);\n+```\n+\n+## Add Elemental Reaction\n+\n+```\n+//mods.thermalexpansion.ReactantDynamo.addElementalReaction(IItemStack item, ILiquidStack liquid, int energy);\n+mods.thermalexpansion.ReactantDynamo.addElementalReaction(<minecraft:bedrock>, <liquid:water>, 13);\n+```\n+\n+## Remove Reaction\n+\n+```\n+//mods.thermalexpansion.ReactantDynamo.removeReaction(IItemStack item, ILiquidStack liquid);\n+mods.thermalexpansion.ReactantDynamo.removeReaction(<minecraft:bedrock>, <liquid:water>);\n+```\n+\n+\n+## Remove Elemental Reaction\n+\n+```\n+//mods.thermalexpansion.ReactantDynamo.removeElementalReaction(IItemStack item, ILiquidStack liquid);\n+mods.thermalexpansion.ReactantDynamo.removeElementalReaction(<minecraft:bedrock>, <liquid:water>);\n+```\n\\ No newline at end of file\n" }, { "change_type": "ADD", "old_path": null, "new_path": "docs/Mods/Modtweaker/ThermalExpansion/Dynamos/SteamDynamo.md", "diff": "+# Steam Dynamo\n+\n+## Import the package\n+To shorten method calls you can [import](/AdvancedFunctions/Import/) the package like so:\n+```\n+import mods.thermalexpansion.SteamDynamo;\n+```\n+\n+\n+## Add Fuel\n+\n+```\n+//mods.thermalexpansion.SteamDynamo.addFuel(ILiquidStack stack, int energy);\n+mods.thermalexpansion.SteamDynamo.addFuel(<liquid:water>, 13);\n+```\n+\n+## Remove Fuel\n+\n+```\n+//mods.thermalexpansion.SteamDynamo.removeFuel(ILiquidStack stack);\n+mods.thermalexpansion.SteamDynamo.removeFuel(<liquid:water>);\n+```\n\\ No newline at end of file\n" }, { "change_type": "ADD", "old_path": null, "new_path": "docs/Mods/Modtweaker/ThermalExpansion/Factorizer.md", "diff": "+# Factorizer\n+\n+The Factorizer Manager allows you to add recipes to the factorizer.\n+\n+\n+## Import the package\n+To shorten method calls you can [import](/AdvancedFunctions/Import/) the package like so:\n+```\n+import mods.thermalexpansion.Factorizer;\n+```\n+\n+## Add Recipes\n+\n+You can add oneway split/combine recipes or two-way bindings.\n+\n+\n+```\n+//mods.thermalexpansion.Factorizer.addRecipeSplit(IItemStack in, IItemStack out);\n+mods.thermalexpansion.Factorizer.addRecipeSplit(<minecraft:dirt>, <minecraft:grass> * 5);\n+\n+//mods.thermalexpansion.Factorizer.addRecipeCombine(IItemStack in, IItemStack out);\n+mods.thermalexpansion.Factorizer.addRecipeCombine(<minecraft:grass> * 5, <minecraft:dirt>);\n+\n+//mods.thermalexpansion.Factorizer.addRecipeBoth(IItemStack combined, IItemStack split);\n+mods.thermalexpansion.Factorizer.addRecipeBoth(<minecraft:trapped_chest>, <minecraft:chest> * 13);\n+```\n+\n+\n+## Remove Recipes\n+\n+You can of course also remove recipes.\n+If you want to remove a two-way binding you'll need tow calls, though.\n+```\n+//mods.thermalexpansion.Factorizer.removeRecipeSplit(IItemStack in);\n+mods.thermalexpansion.Factorizer.removeRecipeSplit(<minecraft:iron_block>);\n+\n+//mods.thermalexpansion.Factorizer.removeRecipeCombine(IItemStack in);\n+mods.thermalexpansion.Factorizer.removeRecipeCombine(<minecraft:iron_ingot> * 9);\n+```\n\\ No newline at end of file\n" }, { "change_type": "MODIFY", "old_path": "mkdocs.yml", "new_path": "mkdocs.yml", "diff": "@@ -623,15 +623,25 @@ pages:\n- Crucible: 'Mods/Modtweaker/Thaumcraft/Handlers/Crucible.md'\n- Infusion: 'Mods/Modtweaker/Thaumcraft/Handlers/Infusion.md'\n- Loot: 'Mods/Modtweaker/Thaumcraft/Handlers/Loot.md'\n+ - Salis Mundus: 'Mods/Modtweaker/Thaumcraft/Handlers/SalisMundus.md'\n- Smelting Bonus: 'Mods/Modtweaker/Thaumcraft/Handlers/SmeltingBonus.md'\n- Warp: 'Mods/Modtweaker/Thaumcraft/Handlers/Warp.md'\n- Commands: 'Mods/Modtweaker/Thaumcraft/Commands.md'\n- Thermal Expansion:\n+ - Dynamos:\n+ - Compression Dynamo: 'Mods/ModTweaker/ThermalExpansion/Dynamos/CompressionDynamo.md'\n+ - Enervation Dynamo: 'Mods/ModTweaker/ThermalExpansion/Dynamos/EnervationDynamo.md'\n+ - Magmatic Dynamo: 'Mods/ModTweaker/ThermalExpansion/Dynamos/MagmaticDynamo.md'\n+ - Numistic Dynamo: 'Mods/ModTweaker/ThermalExpansion/Dynamos/NumisticDynamo.md'\n+ - Reactant Dynamo: 'Mods/ModTweaker/ThermalExpansion/Dynamos/ReactantDynamo.md'\n+ - Steam Dynamo: 'Mods/ModTweaker/ThermalExpansion/Dynamos/SteamDynamo.md'\n- Alchemical Imbuer: 'Mods/Modtweaker/ThermalExpansion/Imbuer.md'\n- Arcane Ensorcellator (Enchanter): 'Mods/Modtweaker/ThermalExpansion/Enchanter.md'\n- Centrifugal Seperator: 'Mods/Modtweaker/ThermalExpansion/Centrifugal_Seperator.md'\n- Compactor: 'Mods/Modtweaker/ThermalExpansion/Compactor.md'\n+ - Coolant: 'Mods/Modtweaker/ThermalExpansion/Coolant.md'\n- Energetic Infuser: 'Mods/Modtweaker/ThermalExpansion/Energetic_Infuser.md'\n+ - Factorizer: 'Mods/Modtweaker/ThermalExpansion/Factorizer.md'\n- Fluid Transposer: 'Mods/Modtweaker/ThermalExpansion/Fluid_Transposer.md'\n- Fractionating Still (Refinery): 'Mods/Modtweaker/ThermalExpansion/Refinery.md'\n- Induction Smelter: 'Mods/Modtweaker/ThermalExpansion/InductionSmelter.md'\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
TC and TE additions Thaumcraft Salis mundus handler ThermalExpansion Dynamos ThermalExpansion Factorizer ThermalExpansion CoolantManager see https://github.com/jaredlll08/ModTweaker/pull/707/
139,040
08.02.2019 21:23:18
-3,600
ed80577f488b2d6cb11036c776e5b9cc7fed7fbd
Updated RayTrace methods See
[ { "change_type": "MODIFY", "old_path": "docs/Vanilla/Entities/IEntity.md", "new_path": "docs/Vanilla/Entities/IEntity.md", "diff": "@@ -134,4 +134,4 @@ IEntity extends [ICommandSender](/Vanilla/Commands/ICommandSender/). That means\n- boolean shouldRiderDismountInWater(IEntity rider)\n- boolean boolean isPassenger(IEntity entity);\n- boolean isRidingSameEntity(IEntity other);\n-- [IRayTraceResult](/Vanilla/World/IRayTraceResult/) getRayTrace(double blockReachDistance, float partialTicks);\n\\ No newline at end of file\n+- [IRayTraceResult](/Vanilla/World/IRayTraceResult/) getRayTrace(double blockReachDistance, float partialTicks, @Optional boolean stopOnLiquid, @Optional boolean ignoreBlockWithoutBoundingBox, @Optional(valueBoolean = true) boolean returnLastUncollidableBlock);\n" }, { "change_type": "MODIFY", "old_path": "docs/Vanilla/World/IVector3d.md", "new_path": "docs/Vanilla/World/IVector3d.md", "diff": "@@ -7,6 +7,13 @@ They have several utility methods and getters.\nIt might be required to [import](/AdvancedFunctions/Import/) the class to avoid errors.\n`import crafttweaker.world.IVector3d`\n+## Creating a new IVector3d object\n+If you ever find yourself in the need of creating a new IVector3d object, you can use this method:\n+```\n+//crafttweaker.world.IVector3d.create(double x, double y, double z);\n+crafttweaker.world.IVector3d.create(0.0D, 0.0D, 0.0D);\n+```\n+\n## ZenGetters\n| ZenGetter | Type |\n" }, { "change_type": "MODIFY", "old_path": "docs/Vanilla/World/IWorld.md", "new_path": "docs/Vanilla/World/IWorld.md", "diff": "@@ -75,3 +75,14 @@ Returns a bool that states if the spawn was successful.\n```\nworldObj.spawnEntity(IEntity entity);\n```\n+\n+### Get a raytrace result\n+Use two [IVector3d](/Vanilla/World/IVector3d/) objects, and three booleans to get an [IRayTraceResult](/Vanilla/World/IRayTraceResult/).\n+**Can be null**\n+\n+The first vector describes the starting point, the 2nd vector the direction and length we are searching in.\n+Only the last parameter is true by default.\n+\n+```\n+worldObj.rayTraceBlocks(IVector3d begin, IVector3d ray, @Optional boolean stopOnLiquid, @Optional boolean ignoreBlockWithoutBoundingBox, @Optional(true) boolean returnLastUncollidableBlock)\n+```\n\\ No newline at end of file\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Updated RayTrace methods See https://github.com/CraftTweaker/CraftTweaker/commit/b024ffd44acc4902d7ddb3749eaecf8f93598570
139,040
08.02.2019 21:57:52
-3,600
86a85c385b835dfa107dba68347a78b356cb4edf
Fixed incorrect file paths
[ { "change_type": "MODIFY", "old_path": "docs/Contribute/LocalClone/Clone.md", "new_path": "docs/Contribute/LocalClone/Clone.md", "diff": "@@ -7,7 +7,7 @@ This page shows you how to clone your forked repository to your local computer.\n## Prerequisites\n-You should have [Forked the CrT-wiki repository](/Contribute/SetupGithub/) and you need to have [Git installed](/Constribute/LocalClone/InstallingGit/).\n+You should have [Forked the CrT-wiki repository](/Contribute/SetupGithub/) and you need to have [Git installed](/Contribute/LocalClone/InstallingGit/).\n## First steps\n" }, { "change_type": "RENAME", "old_path": "docs/Contribute/LocalClone/assets/Github_CloneLink.png", "new_path": "docs/Contribute/LocalClone/assets/GitHub_CloneLink.png", "diff": "" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Fixed incorrect file paths
139,078
12.02.2019 19:34:51
28,800
33dbbd38985bebc8c36a521554462d46fa7a1870
code typo in Getting_Started.md Changed `Variable Declarions` should be near the top of the file to `Variable Declarations` should be near the top of the file I'm pretty new to all this, so I apologize if there's anything uncool about what/how I did. Thanks for all the mods, and EXTENSIVE documention. Very educational!
[ { "change_type": "MODIFY", "old_path": "docs/Getting_Started.md", "new_path": "docs/Getting_Started.md", "diff": "Crafttweaker uses a custom scripting Language called `ZenScript`, ZenScript is read from `.zs` files that are stored in the `<gamedir>/scripts` folder.\n-ZenScript is a \"top down\" scripting language, meaning that, `Imports` need to be at the top of the file, `Variable Declarions` should be near the top of the file, however there are no restrictions to that, a `Variable` can be defined anywhere in a script, however it will not be accessible to the lines above the `Variable` declaration.\n+ZenScript is a \"top down\" scripting language, meaning that, `Imports` need to be at the top of the file, `Variable Declarations` should be near the top of the file, however there are no restrictions to that, a `Variable` can be defined anywhere in a script, however it will not be accessible to the lines above the `Variable` declaration.\n## Introduction\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
code typo in Getting_Started.md Changed `Variable Declarions` should be near the top of the file to `Variable Declarations` should be near the top of the file I'm pretty new to all this, so I apologize if there's anything uncool about what/how I did. Thanks for all the mods, and EXTENSIVE documention. Very educational!
139,063
20.02.2019 10:42:03
-36,000
6110fbb8c7b5f253113ab53985b9b2c911861ebc
Updated documentation for Alchemy Table potions. Potion addition is a separate function, but potion removal should now function identically to what people would expect when trying to remove a potion just by listing the ingredients. Additionally, all removals and additions compensate for lengthening and power catalysts.
[ { "change_type": "MODIFY", "old_path": "docs/Mods/Modtweaker/BloodMagic/AlchemyTable.md", "new_path": "docs/Mods/Modtweaker/BloodMagic/AlchemyTable.md", "diff": "@@ -11,6 +11,15 @@ inputs has a max size of 6\nmods.bloodmagic.AlchemyTable.addRecipe(<minecraft:diamond>, [<minecraft:dirt>, <minecraft:dirt>, <minecraft:dirt>, <minecraft:dirt>, <minecraft:dirt>, <minecraft:dirt>], 20,10,0);\n```\n+## Potion addition\n+\n+```\n+inputs has a max size of 5 to account for catalysts (any potion container object is discarded)\n+var pot = <potion:minecraft:strength>.makePotionEffect(6000, 1);\n+//mods.bloodmagic.AlchemyTable.addPotionRecipe(IItemStack[] inputs, IPotionEffect effects, int syphon, int ticks, int minTier)\n+mods.bloodmagic.AlchemyTable.addPotionRecipe([<bloodmagic:potion_flask>, <minecraft:carrot>,<minecraft:potato>], pot, 20, 10, 0);\n+```\n+\n## Removal\n```\n@@ -18,3 +27,10 @@ inputs has a max size of 6\n//mods.bloodmagic.AlchemyTable.removeRecipe(IItemStack[] inputs);\nmods.bloodmagic.AlchemyTable.removeRecipe([<minecraft:carrot>,<minecraft:carrot>,<minecraft:carrot>,<minecraft:dye:15>]);\n```\n+\n+## Potion removal\n+\n+```\n+any removal is considered as a potion if it does not match a recipe. if there is an additional alchemy table recipe using identical ingredients that isn't a potion, you may need to remove twice. basically put, if you try to remove a potion just by listing the ingredients, it should Just Work.\n+//mods.bloodMagic.AlchemyTable.removeRecipe(IItemStack[] inputs);\n+mods.bloodmagic.AlchemyTable.removeRecipe([<minecraft:ghast_tear>, <bloodmagic:potion_flask>]);\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Updated documentation for Alchemy Table potions. Potion addition is a separate function, but potion removal should now function identically to what people would expect when trying to remove a potion just by listing the ingredients. Additionally, all removals and additions compensate for lengthening and power catalysts.
139,063
20.02.2019 10:52:18
-36,000
56fcd4caa967e4c3d961af1a60e498c9f7211439
Update Centrifuge mob documentation. Mob removal and addition can also be done using Strings, but the preferred method would be to use `<entity:MODID:MODNAME>` instead.
[ { "change_type": "MODIFY", "old_path": "docs/Mods/Modtweaker/ThermalExpansion/Centrifugal_Seperator.md", "new_path": "docs/Mods/Modtweaker/ThermalExpansion/Centrifugal_Seperator.md", "diff": "@@ -11,9 +11,33 @@ mods.thermalexpansion.Centrifuge.addRecipe([(<minecraft:gold_ingot> * 5) % 10, <\n```\n+## Mob addition\n+\n+`fluid` can be null, in which case the default Thermal Expansion experience liquid will be used, the amount calculated from the `xp` field using the default `XP_TO_MB` constant from Thermal Expansion. When using a custom liquid, the `xp` field is ignored.\n+\n+**No custom fluid**:\n+\n+```\n+//mods.thermalexpansion.Centrifuge.addRecipeMob(IEntityDefinition entity, WeightedItemStack[] outputs, @Nullable ILiquidStack fluid, int energy, int xp);\n+mods.thermalexpansion.Centrifuge.addRecipeMob(<entity:minecraft:slime>, [<minecraft:clay_ball>%50, <minecraft:ghast_tear>%10], null, 2000, 5);\n+```\n+\n+**Custom fluid**:\n+\n+```\n+mods.thermalexpansion.Centrifuge.addRecipeMob(<entity:minecraft:slime>, [<minecraft:gunpowder>%100], <liquid:lava>*20, 2000, 0);\n+```\n+\n## Removal\n```\n//mods.thermalexpansion.Centrifuge.removeRecipe(IItemStack input);\nmods.thermalexpansion.Centrifuge.removeRecipe(<minecraft:gold_ore>);\n```\n+\n+## Mob removal\n+\n+```\n+//mods.thermalexpansion.Centrifuge.removeRecipeMob(IEntityDefinition entity);\n+mods.thermalexpansion.Centrifuge.removeRecipeMob(<entity:minecraft:slime>);\n+```\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Update Centrifuge mob documentation. Mob removal and addition can also be done using Strings, but the preferred method would be to use `<entity:MODID:MODNAME>` instead.
139,040
20.02.2019 09:34:49
-3,600
53075be631019f9d33196881ddca7dd68bbdffb7
Added Forestry Charcoal Pile Documentation
[ { "change_type": "ADD", "old_path": null, "new_path": "docs/Mods/Modtweaker/Forestry/Charcoal_Pile.md", "diff": "+# Charcoal Pile\n+\n+ModTweaker allows you to add or remove forestry Charcoal Wall Recipes\n+\n+## Calling\n+You can call the package using `mods.forestry.CharcoalWall`\n+\n+## Recipe Removal\n+\n+```JAVA\n+//mods.forestry.CharcoalWall.removeWall(IBlock block);\n+mods.forestry.CharcoalWall.removeWall(<minecraft:bedrock>.asBlock());\n+\n+\n+//mods.forestry.CharcoalWall.removeWallState(IBlockState state);\n+mods.forestry.CharcoalWall.removeWallState(<blockstate:minecraft:bedrock>);\n+\n+\n+//Will fail if the stack cannot be converted to a block!\n+//mods.forestry.CharcoalWall.removeWallStack(IItemStack stack);\n+mods.forestry.CharcoalWall.removeWallStack(<minecraft:bedrock>);\n+```\n+\n+\n+## Reipe Addition\n+\n+`amount` states the amount of charcoal the wall will provide.\n+\n+```JAVA\n+//mods.forestry.CharcoalWall.addWall(IBlock block, int amount);\n+mods.forestry.CharcoalWall.addWall(<minecraft:bedrock>.asBlock(), 10);\n+\n+\n+//mods.forestry.CharcoalWall.addWallState(IBlockState state, int amount);\n+mods.forestry.CharcoalWall.addWallState(<blockstate:minecraft:bedrock>, 10);\n+\n+\n+//Will fail if the stack cannot be converted to a block!\n+//mods.forestry.CharcoalWall.addWallStack(IItemStack stack, int amount);\n+mods.forestry.CharcoalWall.addWallStack(<minecraft:bedrock>, 10);\n+```\n+\n" }, { "change_type": "MODIFY", "old_path": "mkdocs.yml", "new_path": "mkdocs.yml", "diff": "@@ -581,6 +581,7 @@ pages:\n- Forestry:\n- Carpenter: 'Mods/Modtweaker/Forestry/Carpenter.md'\n- Centrifuge: 'Mods/Modtweaker/Forestry/Centrifuge.md'\n+ - Charcoal Pile: 'Mods/Modtweaker/Forestry/Charcoal_Pile.md'\n- Fermenter: 'Mods/Modtweaker/Forestry/Fermenter.md'\n- Moistener: 'Mods/Modtweaker/Forestry/Moistener.md'\n- Squeezer: 'Mods/Modtweaker/Forestry/Squeezer.md'\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Added Forestry Charcoal Pile Documentation
139,074
21.02.2019 22:47:28
-3,600
95734b8972db0d3c822380894b95a0a96492644e
Create InWorldCrafting.md
[ { "change_type": "ADD", "old_path": null, "new_path": "docs/Mods/InWorldCrafting/InWorldCrafting.md", "diff": "+# Examples\n+Creates lava by dropping 4x of any logWood into cryotheum.\n+`mods.inworldcrafting.FluidToFluid.transform(<liquid:lava>, <liquid:cryotheum>, [<ore:logWood> * 4]);`\n+***\n+Creates Treated Wood by dropping 4 pieces of Birch Planks in Creosote.\n+`mods.inworldcrafting.FluidToItem.transform(<immersiveengineering:treated_wood>, <liquid:creosote>, [<minecraft:planks:2>]);`\n+***\n+Creates a Water Bottle by dropping a Glass Bottle in Water, consumes the Water sourceblock.\n+`mods.inworldcrafting.FluidToItem.transform(<minecraft:potion>.withTag({Potion: \"minecraft:water\"}), <liquid:water>, [<minecraft:glass_bottle>], true);`\n+***\n+Create Steel 15% of the time when ingotIron dropped in the world is hit by an Explosion.\n+`mods.inworldcrafting.ExplosionCrafting.explodeItemRecipe(<ore:ingotSteel>.firstItem, <ore:ingotIron>, 15);`\n+***\n+Create 8 sticks 75% of the time when Acacia Planks placed in the world is hit by an Explosion.\n+`mods.inworldcrafting.ExplosionCrafting.explodeBlockRecipe(<minecraft:stick> * 8, <minecraft:planks:4>, 75);`\n+***\n+Create a Block of Charcoal when 4 pieces of logWood has burned for 60 ticks.\n+`mods.inworldcrafting.FireCrafting.addRecipe(<thermalfoundation:storage_resource>, <ore:logWood> * 4, 60);`\n+# Documentation\n+## Note on fluidcrafting\n+**Don't add the same ingredient multiple times, use `<ingredient> * count`. It's there for a reason.**\n+The game merges nearby items into stacks so finding multiple ingredients of the same type in one BlockSpace only happens when the first EntityItem gets a full stack of items, so the craft won't happen like you would expect.\n+### BAAD!\n+`FluidToItem.transform(<minecraft:diamond>, <liquid:blueslime>, [<ore:ingotSteel>, <ore:ingotSteel>, <ore:dustCobalt>, <ore:nuggetEnderpearl>], true);`\n+### Goooood\n+`FluidToItem.transform(<minecraft:diamond>, <liquid:blueslime>, [<ore:ingotSteel> * 2, <ore:dustCobalt>, <ore:nuggetEnderpearl>], true);`\n+\n+## Fluid to Item Transformation\n+import should be `mods.inworldcrafting.FluidToItem`\n+\n+**Usage**\n+`FluidToItem.transform(IItemStack output, ILiquidStack inputFluid, IIngredient[] inputItems, @Optional boolean consume);`\n+\n+The default consume value for this method is `true`, so if you don't want the `inputItem` to be consumed when transforming the liquid you have to pass `false` as the 4th paramater to the method.\n+\n+## Fluid to Fluid Transformation\n+import should be `mods.inworldcrafting.FluidToFluid`\n+\n+**Usage**\n+`FluidToFluid.transform(ILiquidStack output, ILiquidStack inputFluid, IIngredient[] inputItems, @Optional boolean consume);`\n+\n+The default consume value for this method is `true`, so if you don't want the `inputItem` to be consumed when transforming the liquid you have to pass `false` as the 4th paramater to the method.\n+\n+## Burning Items\n+import should be `mods.inworldcrafting.FireCrafting`\n+\n+**Usage**\n+`FireCrafting.addRecipe(IItemStack output, IIngredient inputItem, @Optional int ticks);`\n+\n+The default number of ticks to create the output is `40` (2 seconds)\n+\n+## Exploding Items/Blocks\n+import should be `mods.inworldcrafting.ExplosionCrafting`\n+\n+### Exploding items\n+**Usage**\n+`ExplosionCrafting.explodeItemRecipe(IItemStack output, IIngredient inputItem, @Optional int survicechance);`\n+\n+Survivechance sets the chance for how likely the recipe is to be successful. Default value is `100`%\n+\n+### Exploding Blocks\n+**Usage**\n+`ExplosionCrafting.explodeBlockRecipe(IItemStack output, IItemStack blockStack, @Optional int itemSpawnChance);`\n+\n+`blockStack` should be a `Block` in its stackform. It will compare against metadata.\n+`itemSpawnChance` sets the chance for how likely the block is to spawn the output when the block is destroyed by an explosion. Default value is `100`%\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Create InWorldCrafting.md
139,040
26.02.2019 19:45:03
-3,600
348fbc3195380d109e5475ae467dd53302fd9a38
Specified the String method page further
[ { "change_type": "MODIFY", "old_path": "docs/Vanilla/Variable_Types/Basic_Variables_Functions.md", "new_path": "docs/Vanilla/Variable_Types/Basic_Variables_Functions.md", "diff": "@@ -15,7 +15,7 @@ Strings provide some functionality\n`\"Hel\" ~ \"lo \" + \"World\"` You also can add/concatenate strings.\n`string += \"assignAdd\"` you can also use the assignAdd/assignConcatenate operators.\n-Aside from these, all parameterless methods that are available to java Strings are also available to ZenScript strings!\n+Aside from these, all methods that are available to [Java Strings](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html) and do not use the `char` type are also available to ZenScript strings!\nThis includes:\n- toLowerCase\n@@ -26,6 +26,7 @@ This includes:\n- isEmpty\n- toCharArray\n- trim\n+- split\n## Integers\nIntegers provide some functionality\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Specified the String method page further
139,040
26.02.2019 21:04:31
-3,600
8f7cb7ac13d4f3335f0e47d636e6dc7ba41df1d8
Added recipes.removeByMod method
[ { "change_type": "MODIFY", "old_path": "docs/Vanilla/Recipes/Crafting/Recipes_Crafting_Table.md", "new_path": "docs/Vanilla/Recipes/Crafting/Recipes_Crafting_Table.md", "diff": "@@ -75,6 +75,14 @@ recipes.removeByRegex(\"name[1-9]\");\nrecipes.removeByRecipeName(\"modid:recipename\");\n```\n+### Remove by mod\n+You can also remove all recipes that were added by the mod specified.\n+You need to provide the mod's modid as string.\n+\n+```java\n+recipes.removeByMod(\"modularmachinery\");\n+```\n+\n## Add Recipes\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Added recipes.removeByMod method
139,040
03.03.2019 19:05:46
-3,600
eff965181d68901a5dc224f48d33fe94495f9fdf
Added update method to IEntity see
[ { "change_type": "MODIFY", "old_path": "docs/Vanilla/Entities/IEntity.md", "new_path": "docs/Vanilla/Entities/IEntity.md", "diff": "@@ -135,3 +135,4 @@ IEntity extends [ICommandSender](/Vanilla/Commands/ICommandSender/). That means\n- boolean boolean isPassenger(IEntity entity);\n- boolean isRidingSameEntity(IEntity other);\n- [IRayTraceResult](/Vanilla/World/IRayTraceResult/) getRayTrace(double blockReachDistance, float partialTicks, @Optional boolean stopOnLiquid, @Optional boolean ignoreBlockWithoutBoundingBox, @Optional(valueBoolean = true) boolean returnLastUncollidableBlock);\n+- void update([IData](/Vanilla/Data/IData/) data);\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Added update method to IEntity see https://github.com/CraftTweaker/CraftTweaker/commits/c0e8f6fc64eee66a897217c1e0124ff7986e8ce9
139,040
03.03.2019 19:12:31
-3,600
870d2e7e06eb6394c0c3a872492dd52c9b9b865f
ct give see
[ { "change_type": "MODIFY", "old_path": "docs/Vanilla/Commands.md", "new_path": "docs/Vanilla/Commands.md", "diff": "@@ -150,6 +150,21 @@ Description:\nOutputs a list of all the entities in the game to the crafttweaker.log file.\n+## Give Item\n+\n+Usage:\n+\n+`/crafttweaker give <minecraft:bedrock>`\n+\n+`/ct give <minecraft:bedrock>`\n+\n+Description:\n+\n+Gives the player the item using CrT's Bracket handler syntax.\n+You can also apply tags by appending a `.withTag()` call.\n+Note that this is a pretty simple parser and may not work for every case!\n+\n+\n## Hand\nUsage:\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
ct give see https://github.com/CraftTweaker/CraftTweaker/commit/3ed341e22435ec4e7ad9801cf47e3602f6ac61cc
139,040
03.03.2019 19:18:55
-3,600
8241e2594ba77c2e057da2c1b6e4bf58cc349555
IEnchantmentDefinnition updates see
[ { "change_type": "MODIFY", "old_path": "docs/Vanilla/Enchantments/IEnchantmentDefinition.md", "new_path": "docs/Vanilla/Enchantments/IEnchantmentDefinition.md", "diff": "@@ -13,13 +13,14 @@ You can retrieve such an object from the [Enchantment Bracket handler](/Vanilla/\n| ZenGetter | ZenSetter | Type |\n|-----------------------|-----------|---------|\n-| id | | string |\n+| id | | int |\n| name | name | string |\n| maxLevel | | int |\n| minLevel | | int |\n| isAllowedOnBooks | | boolean |\n| isTreasureEnchantment | | boolean |\n| isCurse | | boolean |\n+| registryName | | string |\n## ZenMethods\n### CanApply\n@@ -54,6 +55,14 @@ ench.makeEnchantment(int level);\nench * level;\n```\n+### Compare with other IEnchantmentDefinition objects\n+You can use the `==` operator to check if two enchantments are the same.\n+This means if they have the same id.\n+```objectivec\n+if(enchA == enchB)\n+ print(\"Same!\");\n+```\n+\n## Example\n```javascript\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
IEnchantmentDefinnition updates see https://github.com/CraftTweaker/CraftTweaker/commit/ef7a09e5517dcf13420a87560c93f324bacf195b
139,040
03.03.2019 20:10:02
-3,600
40404ffa96f15e06b9466eb6d643dd70b087df77
EntityLivingSpawn events and IMobSpawnerBaseLogic see see see
[ { "change_type": "ADD", "old_path": null, "new_path": "docs/Vanilla/Events/Events/EntityLivingSpawn.md", "diff": "+# EntityLivingSpawnEvent\n+\n+The EntityLivingSpawn Event is fired whenever an entity tries to join or leave a world.\n+It has one subclass, the EntityLivingExtendedSpawnEvent that also contains an [IMobSpawnerBaseLogic](/Vanilla/TileEntity/IMobSpawnerBaseLogic) reference.\n+\n+## Event Class\n+You will need to cast the event in the function header as this class:\n+`crafttweaker.event.EntityLivingSpawnEvent`\n+`crafttweaker.event.EntityLivingExtendedSpawnEvent`\n+You can, of course, also [import](/AdvancedFunctions/Import/) the class before and use that name then.\n+\n+## Event interface extensions\n+EntityLivingSpawn Events implement the following interfaces and are able to call all of their methods/getters/setters as well:\n+\n+- [ILivingEvent](/Vanilla/Events/Events/ILivingEvent/)\n+\n+\n+## ZenGetters\n+The following information can be retrieved from the event:\n+\n+| ZenGetter | Type |\n+|---------------------------|--------------------------------------------------------------------|\n+| `world` | [IWorld](/Vanilla/World/IWorld/) |\n+| `x` | float |\n+| `y` | float |\n+| `z` | float |\n+| | |\n+| `spawner` (Extended Only) | [IMobSpawnerBaseLogic](/Vanilla/TileEntity/IMobSpawnerBaseLogic) |\n+\n+\n+## Event functions\n+\n+The despawn event also offers three functions to change the event outcome:\n+\n+| ZenMethod | Description\n+|----------------|----------------------------------------------|\n+| `allow` | Forces the entity to (de)spawn |\n+| `deny` | Forces the entity not to (de)spawn |\n+| `pass` | Sets the event result to the default state |\n\\ No newline at end of file\n" }, { "change_type": "MODIFY", "old_path": "docs/Vanilla/Events/IEventManager.md", "new_path": "docs/Vanilla/Events/IEventManager.md", "diff": "@@ -33,8 +33,10 @@ The ZenMethods would be what you'll need to call on `events`, the Event Class wo\n| ZenMethod | Event Class |\n|---------------------------------|------------------------------------------------------------------------------------------------------------|\n+| onAllowDespawn | [`crafttweaker.event.EntityLivingSpawnEvent`](/Vanilla/Events/Events/EntityLivingSpawn/) |\n| onBlockBreak | [`crafttweaker.event.BlockBreak`](/Vanilla/Events/Events/BlockBreak/) |\n| onBlockHarvestDrops | [`crafttweaker.event.BlockHarvestDrops`](/Vanilla/Events/Events/BlockHarvestDrops/) |\n+| onCheckSpawn | [`crafttweaker.event.EntityLivingExtendedSpawnEvent`](/Vanilla/Events/Events/EntityLivingSpawn/) |\n| onEnderTeleport | [`crafttweaker.event.EnderTeleportEvent`](/Vanilla/Events/Events/EnderTeleport/) |\n| onEntityLivingAttacked | [`crafttweaker.event.EntityLivingAttackedEvent`](/Vanilla/Events/Events/EntityLivingAttacked/) |\n| onEntityLivingDeath | [`crafttweaker.event.EntityLivingDeathEvent`](/Vanilla/Events/Events/EntityLivingDeath/) |\n@@ -75,6 +77,7 @@ The ZenMethods would be what you'll need to call on `events`, the Event Class wo\n| onPlayerSmelted | [`crafttweaker.event.PlayerSmeltedEvent`](/Vanilla/Events/Events/PlayerSmelted/) |\n| onPlayerTick | [`crafttweaker.event.PlayerTick`](/Vanilla/Events/Events/PlayerTick/) |\n| onPlayerUseHoe | [`crafttweaker.event.PlayerUseHoeEvent`](/Vanilla/Events/Events/PlayerUseHoe/) |\n+| onSpecialSpawn | [`crafttweaker.event.EntityLivingExtendedSpawnEvent`](/Vanilla/Events/Events/EntityLivingSpawn/) |\n## Clear all event handlers\n" }, { "change_type": "ADD", "old_path": null, "new_path": "docs/Vanilla/TileEntity/IMobSpawnerBaseLogic.md", "diff": "+# IMobSpawnerBaseLogic\n+\n+The IMobSpawnerBaseLogic object contains all kinds of information on how and where to spawn something.\n+\n+## Importing the class\n+It might be required to [import](/AdvancedFunctions/Import/) the class to avoid errors.\n+`import crafttweaker.tileentity.IMobSpawnerBaseLogic;`\n+\n+## ZenGetters\n+\n+| ZenGetter | ZenSetter | |\n+|-------------|--------------------|---------------------------------------------------------|\n+| `nbtData` | `nbtData` | [IData](/Vanilla/Data/IData/) |\n+| | `entityDefinition` | [IPlayer](/Vanilla/Players/IPlayer/) |\n+| `world` | | [IWorld](/Vanilla/World/IWorld) |\n+| `blockPos` | | [IBlockPos](/Vanilla/World/IBlockPos) |\n+\n+## ZenMethods\n+\n+```\n+void updateSpawner();\n+\n+void setDelayToMin();\n+```\n\\ No newline at end of file\n" }, { "change_type": "MODIFY", "old_path": "mkdocs.yml", "new_path": "mkdocs.yml", "diff": "@@ -107,6 +107,7 @@ pages:\n- EntityLivingFallEvent: 'Vanilla/Events/Events/EntityLivingFall.md'\n- EntityLivingHurtEvent: 'Vanilla/Events/Events/EntityLivingHurt.md'\n- EntityLivingJumpEvent: 'Vanilla/Events/Events/EntityLivingJump.md'\n+ - EntityLivingSpawnEvent: 'Vanilla/Events/Events/EntityLivingSpawn.md'\n- EntityStruckByLightningEvent: 'Vanilla/Events/Events/EntityStruckByLightning.md'\n- ItemExpireEvent: 'Vanilla/Events/Events/ItemExpire.md'\n- ItemTossEvent: 'Vanilla/Events/Events/ItemToss.md'\n@@ -177,6 +178,8 @@ pages:\n- Furnace Recipes: 'Vanilla/Recipes/Furnace/Recipes_Furnace.md'\n- IFurnaceRecipe: 'Vanilla/Recipes/Furnace/IFurnaceRecipe.md'\n- Seed Drops: 'Vanilla/Recipes/Seeds.md'\n+ - Tile-Entity:\n+ - IMobSpawnerBaseLogic: 'Vanilla/TileEntity/IMobSpawnerBaseLogic.md'\n- Utils:\n- IFormattedText: 'Vanilla/Utils/IFormattedText.md'\n- IFormatter: 'Vanilla/Utils/IFormatter.md'\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
EntityLivingSpawn events and IMobSpawnerBaseLogic see https://github.com/CraftTweaker/CraftTweaker/commit/b408307eb59c9c5a9896b0db787868f6ce8ebdf4 see https://github.com/CraftTweaker/CraftTweaker/commit/53cfd890110f92b386a39d9aa0ae69d5ee8d2f0b see https://github.com/CraftTweaker/CraftTweaker/commit/f43b5c2555e5768eba04f6ed23a86372ba1c3c03
139,040
05.03.2019 20:17:06
-3,600
aed2a8e22b6adbf4a604fe6c6697ccb6876a0bcc
Reverse when added: Remove ModTweaker Salis Mundus handler page
[ { "change_type": "MODIFY", "old_path": "docs/Mods/Modtweaker/Thaumcraft/Handlers/SalisMundus.md", "new_path": "docs/Mods/Modtweaker/Thaumcraft/Handlers/SalisMundus.md", "diff": "-# Salis Mundus\n-\n-This package allows you to add conversion handlers for thaumcraft's salis mundus handler.\n-These handlers are invoked when you click a block in the world with Thaumcraft's salis mundus to change them to something else.\n-\n-If that result is a block, it will be placed in the world, if not it will be dropped as item.\n-\n-\n-## Import the package\n-To shorten method calls you can [import](/AdvancedFunctions/Import/) the package like so:\n-```\n-import mods.thaumcraft.SalisMundus;\n-```\n-\n-\n-## Add Recipes\n-\n-You can either specify an [IBlock](/Vanilla/Blocks/IBlock/) or an [IOreDictEntry](/Vanilla/OreDict/IOreDictEntry/).\n-If you don't specify a research, this recipe will always be possible, if you do decide to specify a research string, you need to have the research unlocked in order for the conversion to work.\n-\n-```\n-//mods.thaumcraft.SalisMundus.addSingleConversion(IBlock in, IItemStack out, @Optional String research);\n-SalisMundus.addSingleConversion(<blockstate:minecraft:dirt>.block, <minecraft:bedrock>);\n-\n-//mods.thaumcraft.SalisMundus.addSingleConversion(IOreDictEntry in, IItemStack out, @Optional String research);\n-mods.thaumcraft.SalisMundus.addSingleConversion(IOreDictEntry in, IItemStack out, @Optional String research);\n-SalisMundus.addSingleConversion(<ore:blockIron>, <minecraft:bedrock>);\n-```\n-\n-## Remove Recipes\n-\n-You can also remove all recipes that return a matching item.\n-This handler checks if the parameter provided matches with the output itemStack, so you could also remove all recipes using the wildcard ingredient `<*>`.\n-\n-```\n-mods.thaumcraft.SalisMundus.removeSingleConversion(IIngredient output);\n-\n-//Removes ALL registered handlers\n-mods.thaumcraft.SalisMundus.removeSingleConversion(<*>);\n-\n-//Only removes the crucible handler\n-mods.thaumcraft.SalisMundus.removeSingleConversion(<thaumcraft:crucible>);\n-```\n\\ No newline at end of file\n" }, { "change_type": "MODIFY", "old_path": "mkdocs.yml", "new_path": "mkdocs.yml", "diff": "@@ -629,7 +629,6 @@ pages:\n- Crucible: 'Mods/Modtweaker/Thaumcraft/Handlers/Crucible.md'\n- Infusion: 'Mods/Modtweaker/Thaumcraft/Handlers/Infusion.md'\n- Loot: 'Mods/Modtweaker/Thaumcraft/Handlers/Loot.md'\n- - Salis Mundus: 'Mods/Modtweaker/Thaumcraft/Handlers/SalisMundus.md'\n- Smelting Bonus: 'Mods/Modtweaker/Thaumcraft/Handlers/SmeltingBonus.md'\n- Warp: 'Mods/Modtweaker/Thaumcraft/Handlers/Warp.md'\n- Commands: 'Mods/Modtweaker/Thaumcraft/Commands.md'\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Reverse when added: Remove ModTweaker Salis Mundus handler page
139,069
08.03.2019 13:20:56
21,600
233ba78ed0090bd82ec2de745ec07d57bd50b656
Fix for broken part link on MaterialSystem page.
[ { "change_type": "MODIFY", "old_path": "docs/Mods/ContentTweaker/Materials/MaterialSystem.md", "new_path": "docs/Mods/ContentTweaker/Materials/MaterialSystem.md", "diff": "@@ -50,7 +50,7 @@ Required Parameters:\n## [IPart](/Mods/ContentTweaker/Materials/Parts/Part/)\n### Create\n-Unlike the PartType, you cannot directly create a Part, instead you need to use a PartBuilder. Check the [Part entry](IPart](/Mods/ContentTweaker/Materials/Parts/Part/) for info on what exactly to do with these.\n+Unlike the PartType, you cannot directly create a Part, instead you need to use a PartBuilder. Check the [Part entry](/Mods/ContentTweaker/Materials/Parts/Part/) for info on what exactly to do with these.\n```JAVA\nval PB = MaterialSystem.getPartBuilder();\n```\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Fix for broken part link on MaterialSystem page.
139,069
08.03.2019 14:04:25
21,600
cdb1b01922b89639fdf25832b918c8a2cc7acbc8
Fixed errant capitalization
[ { "change_type": "MODIFY", "old_path": "docs/Mods/ContentTweaker/Materials/Materials/Functions/IRegisterMaterialPart.md", "new_path": "docs/Mods/ContentTweaker/Materials/Materials/Functions/IRegisterMaterialPart.md", "diff": "@@ -11,7 +11,7 @@ import mods.contenttweaker.RegisterMaterialPart;\n## Syntax\nWe have a void function, that takes a [Material Part](/Mods/ContentTweaker/Materials/Materials/MaterialPart/) as input.\n-This is the materialPArt that should be registered.\n+This is the materialPart that should be registered.\nYou could for example call the [Vanilla Factory](/Mods/ContentTweaker/Vanilla/Creatable_Content/VanillaFactory/) at this point, but how proceed form this point is really up to you.\n```\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Fixed errant capitalization
139,036
16.03.2019 11:26:40
-28,800
d624dbccba3f30efefada8e39e94808aa23518f6
Fixed an playertickevent name The event name should be PlayerTickEvent instead of PlayerTick
[ { "change_type": "MODIFY", "old_path": "docs/Vanilla/Events/IEventManager.md", "new_path": "docs/Vanilla/Events/IEventManager.md", "diff": "@@ -72,7 +72,7 @@ The ZenMethods would be what you'll need to call on `events`, the Event Class wo\n| onPlayerSetSpawn | [`crafttweaker.event.PlayerSetSpawn`](/Vanilla/Events/Events/PlayerSetSpawn/) |\n| onPlayerSleepInBed | [`crafttweaker.event.PlayerSleepInBedEvent`](/Vanilla/Events/Events/PlayerSleepInBed/) |\n| onPlayerSmelted | [`crafttweaker.event.PlayerSmeltedEvent`](/Vanilla/Events/Events/PlayerSmelted/) |\n-| onPlayerTick | [`crafttweaker.event.PlayerTick`](/Vanilla/Events/Events/PlayerTick/) |\n+| onPlayerTick | [`crafttweaker.event.PlayerTickEvent`](/Vanilla/Events/Events/PlayerTick/) |\n| onPlayerUseHoe | [`crafttweaker.event.PlayerUseHoeEvent`](/Vanilla/Events/Events/PlayerUseHoe/) |\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Fixed an playertickevent name The event name should be PlayerTickEvent instead of PlayerTick
139,040
18.03.2019 18:02:16
-3,600
61072a49f86f57377d4f8d6e8bf9b86e05a264d0
Fixed typo on CoT Items page
[ { "change_type": "MODIFY", "old_path": "docs/Mods/ContentTweaker/Vanilla/Creatable_Content/Item.md", "new_path": "docs/Mods/ContentTweaker/Vanilla/Creatable_Content/Item.md", "diff": "@@ -39,8 +39,8 @@ item.setMaxStackSize(64);\n| itemRightClick | [IItemRightClick](/Mods/ContentTweaker/Vanilla/Advanced_Functionality/Functions/IItemRightClick/) | No | | Called when the player right clicks with the item |\n| itemUseAction | EnumUseAction | No | \"NONE\" | What animation the item use will have (\"NONE\", \"EAT\", \"DRINK\", \"BLOCK\", \"BOW\") |\n| localizedNameSupplier | [ILocalizedNameSupplier](/Mods/ContentTweaker/Vanilla/Advanced_Functionality/Functions/ILocalizedNameSupplier/) | No | null | Can be used to programmatically determine your item's display name |\n-| maxDamage | int | No | -1 | How many items can fit in one Stack? Less than 0 means standart stack size (64) |\n-| maxStackSize | int | No | 64 | Maximum items allowed in a Stack |\n+| maxDamage | int | No | -1 | How many uses does the item have? Less than 0 means it cannot be damaged |\n+| maxStackSize | int | No | 64 | How many items can fit in one Stack? Less than 0 means standart stack size (64) |\n| onItemUpdate | [IItemUpdate](/Mods/ContentTweaker/Vanilla/Advanced_Functionality/Functions/IItemUpdate/) | No | null | Called when the player right click on a block with the item |\n| onItemUse | [IItemUse](/Mods/ContentTweaker/Vanilla/Advanced_Functionality/Functions/IItemUse/) | No | null | Called when the player right click on a block with the item |\n| rarity | EnumRarity | No | COMMON | How rare an item is, determines ToolTip color (\"COMMON\", \"UNCOMMON\", \"RARE\", \"EPIC\") |\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Fixed typo on CoT Items page
139,063
21.03.2019 09:37:53
-36,000
d24ff802b0c6be95c074a453773c714c8ccfe1b3
Update Alchemy Array to match actual function As noted by Saereth and Emalios on Discord, the correct function for the Alchemy Array is: ` public static void addRecipe(IItemStack output, IItemStack input, IItemStack catalyst, String textureLocation)` Meaning, the output comes first rather than the input. This commit fixes the confusion in the documentation.
[ { "change_type": "MODIFY", "old_path": "docs/Mods/Modtweaker/BloodMagic/AlchemyArray.md", "new_path": "docs/Mods/Modtweaker/BloodMagic/AlchemyArray.md", "diff": "## Addition\n```\n-//mods.bloodmagic.AlchemyArray.addRecipe(IItemStack input, IItemStack catalyst, IItemStack output, @Optional string textureLocation);\n-mods.bloodmagic.AlchemyArray.addRecipe(<minecraft:stick>, <minecraft:grass>, <minecraft:diamond>, \"bloodmagic:textures/models/AlchemyArrays/LightSigil.png\");\n-mods.bloodmagic.AlchemyArray.addRecipe(<minecraft:stick>, <minecraft:grass>, <minecraft:diamond>);\n+//mods.bloodmagic.AlchemyArray.addRecipe(IItemStack output, IItemStack catalyst, IItemStack input, @Optional string textureLocation);\n+mods.bloodmagic.AlchemyArray.addRecipe(<minecraft:diamond>, <minecraft:grass>, <minecraft:stick>, \"bloodmagic:textures/models/AlchemyArrays/LightSigil.png\");\n+mods.bloodmagic.AlchemyArray.addRecipe(<minecraft:diamond>, <minecraft:grass>, <minecraft:stick>);\n```\n## Removal\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Update Alchemy Array to match actual function As noted by Saereth and Emalios on Discord, the correct function for the Alchemy Array is: ` public static void addRecipe(IItemStack output, IItemStack input, IItemStack catalyst, @Optional String textureLocation)` Meaning, the output comes first rather than the input. This commit fixes the confusion in the documentation.
139,050
06.04.2019 14:45:18
-39,600
84a92b0c6a9c640f1583f8cb84c7d9f52ba1226d
Container display name
[ { "change_type": "MODIFY", "old_path": "docs/Mods/VanillaDeathChest/Death_Chest_Spawning.md", "new_path": "docs/Mods/VanillaDeathChest/Death_Chest_Spawning.md", "diff": "DeathChestSpawning.setChatMessage(\"example_stage\", \"A chest appears at [%s, %s, %s]!\");\n```\nThe string takes three arguments: the X, Y and Z coordinates of the death chest.\n+\n+## Container display name\n+```\n+//DeathChestSpawning.setContainerDisplayName(string stage, string name);\n+DeathChestSpawning.setContainerDisplayName(\"example_stage\", \"Your Items\");\n+```\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Container display name
139,063
07.04.2019 18:19:42
-36,000
2c5f2ac3e129b6a9dc6e13c6fea2306509df2314
Update Redstone Furnace documentation for Pyrolysis recipes Includes examples for adding and removing pyrolysis augment recipes, as well as a warning that the energy cost supplied is multiplied by 1.5.
[ { "change_type": "MODIFY", "old_path": "docs/Mods/Modtweaker/ThermalExpansion/Redstone_Furnace.md", "new_path": "docs/Mods/Modtweaker/ThermalExpansion/Redstone_Furnace.md", "diff": "@@ -16,3 +16,23 @@ mods.thermalexpansion.RedstoneFurnace.addRecipe(<minecraft:gold_ingot>, <minecra\n//mods.thermalexpansion.RedstoneFurnace.removeRecipe(IItemStack input);\nmods.thermalexpansion.RedstoneFurnace.removeRecipe(<minecraft:gold_ore>);\n```\n+\n+## Pyrolitic Augment Addition\n+\n+***Note that the energy is multiplied by `1.5`. If you specify `2000` energy, the recipe will actually cost `3000` RF. Likewise if you specify `1500`, it will case `2250` RF.***\n+\n+Example recipe to turn charcoal into coal coke, producing 250mb of creosote oil in the process.\n+\n+```\n+//mods.thermalexpansion.RedstoneFurnace.addPyrolysisRecipe(IItemStack output, IItemStack input, int energy, int creosote);\n+mods.thermalexpansion.RedstoneFurnace.addPyrolysisRecipe(<thermalfoundation:material:802>, <minecraft:coal:1>, 2000, 250);\n+```\n+\n+## Pyrolitic Augment Removal\n+\n+Removes the recipe to convert coal into coal coke.\n+\n+```\n+//mods.thermalexpansion.RedstoneFurnace.removePyrolysisRecipe(IItemStack input);\n+mods.thermalexpansion.RedstoneFurnace.removePyrolysisRecipe(<minecraft:coal>);\n+```\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Update Redstone Furnace documentation for Pyrolysis recipes Includes examples for adding and removing pyrolysis augment recipes, as well as a warning that the energy cost supplied is multiplied by 1.5.
139,082
23.04.2019 16:16:47
-25,200
e871d68d62de7d46f2bf125054b63d91a8042cf0
Create dummy IItemFoodEaten file
[ { "change_type": "ADD", "old_path": null, "new_path": "docs/Mods/ContentTweaker/Vanilla/Advanced_Functionality/Functions/IItemFoodEaten.md", "diff": "+# IItemFoodEaten\n+The IItemFoodEaten function is called whenever the associated [food item](/Mods/ContentTweaker/Vanilla/Creatable_Content/Food_Item/) is eaten.\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Create dummy IItemFoodEaten file
139,082
23.04.2019 16:22:03
-25,200
5be04e8866c49e79a645199569986f683f5688ad
Added onItemFoodEaten to ItemFood
[ { "change_type": "MODIFY", "old_path": "docs/Mods/ContentTweaker/Vanilla/Creatable_Content/ItemFood.md", "new_path": "docs/Mods/ContentTweaker/Vanilla/Creatable_Content/ItemFood.md", "diff": "@@ -32,11 +32,12 @@ item.setHealAmount(64);\n```\n| Property | Type | Required | Default Value | Description/Notes |\n-|----------------|-------|----------|---------------|-------------------------------------------------------------|\n+|---------------- |----------------|----------|---------------|-------------------------------------------------------------|\n| healAmount | int | Yes | | How many food points are restored when eaten? |\n| alwaysEdible | bool | No | false | Can the food still be eaten if the user's food bar is full? |\n| wolfFood | bool | No | false | Can the food be used to tame woves? |\n| saturation | float | No | 0.6 | The food's Saturation Value |\n+| onItemFoodEaten | [IItemFoodEaten](/Mods/ContentTweaker/Vanilla/Advanced_Functionality/Functions/IItemFoodEaten/) | No | null | Called when the food item is eaten |\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Added onItemFoodEaten to ItemFood
139,082
25.04.2019 14:15:38
-25,200
f897c15605714afc6e8159c41bd758de188b01e1
Add IItemUseFinish to mkdocs.yml
[ { "change_type": "MODIFY", "old_path": "mkdocs.yml", "new_path": "mkdocs.yml", "diff": "@@ -352,6 +352,7 @@ pages:\n- IItemRightClick: 'Mods/ContentTweaker/Vanilla/Advanced_Functionality/Functions/IItemRightClick.md'\n- IItemStackSupplier: 'Mods/ContentTweaker/Vanilla/Advanced_Functionality/Functions/IItemStackSupplier.md'\n- IItemUse: 'Mods/ContentTweaker/Vanilla/Advanced_Functionality/Functions/IItemUse.md'\n+ - IItemUseFinish: 'Mods/ContentTweaker/Vanilla/Advanced_Functionality/Functions/IItemUseFinish.md'\n- IItemUpdate: 'Mods/ContentTweaker/Vanilla/Advanced_Functionality/Functions/IItemUpdate.md'\n- ILocalizedNameSupplier: 'Mods/ContentTweaker/Vanilla/Advanced_Functionality/Functions/ILocalizedNameSupplier.md'\n- IResourceLocationSupplier: 'Mods/ContentTweaker/Vanilla/Advanced_Functionality/Functions/IResourceLocationSupplier.md'\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Add IItemUseFinish to mkdocs.yml
139,082
25.04.2019 14:20:27
-25,200
85c207d015b966678b19c62802914cc6902d19d1
Add IItemUseFinish to Item + minor fix
[ { "change_type": "MODIFY", "old_path": "docs/Mods/ContentTweaker/Vanilla/Creatable_Content/Item.md", "new_path": "docs/Mods/ContentTweaker/Vanilla/Creatable_Content/Item.md", "diff": "@@ -41,8 +41,9 @@ item.setMaxStackSize(64);\n| localizedNameSupplier | [ILocalizedNameSupplier](/Mods/ContentTweaker/Vanilla/Advanced_Functionality/Functions/ILocalizedNameSupplier/) | No | null | Can be used to programmatically determine your item's display name |\n| maxDamage | int | No | -1 | How many uses does the item have? Less than 0 means it cannot be damaged |\n| maxStackSize | int | No | 64 | How many items can fit in one Stack? Less than 0 means standart stack size (64) |\n-| onItemUpdate | [IItemUpdate](/Mods/ContentTweaker/Vanilla/Advanced_Functionality/Functions/IItemUpdate/) | No | null | Called when the player right click on a block with the item |\n+| onItemUpdate | [IItemUpdate](/Mods/ContentTweaker/Vanilla/Advanced_Functionality/Functions/IItemUpdate/) | No | null | Called every tick as long as the item is in a player's inventory |\n| onItemUse | [IItemUse](/Mods/ContentTweaker/Vanilla/Advanced_Functionality/Functions/IItemUse/) | No | null | Called when the player right click on a block with the item |\n+| onItemUseFinish | [IItemUseFinish](/Mods/ContentTweaker/Vanilla/Advanced_Functionality/Functions/IItemUseFinish/) | No | null | Called when the player finishes using the item |\n| rarity | EnumRarity | No | COMMON | How rare an item is, determines ToolTip color (\"COMMON\", \"UNCOMMON\", \"RARE\", \"EPIC\") |\n| smeltingExprerience | float | No | -1 | How much experienve the player earns for smelting that item in a furnace? |\n| textureLocation | [CTResourceLocation](/Mods/ContentTweaker/Vanilla/Types/Resources/CTResourceLocation/) | No | null | The item's resource location, used for textures etc. |\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Add IItemUseFinish to Item + minor fix
139,063
07.05.2019 10:27:43
-36,000
29827165653e288ef23f9ce61e1c55575086c690
PlayerPickupItem actually returns IEntityItem. Not IItemStack as previously stated; this may have previously been the case, but is no longer.
[ { "change_type": "MODIFY", "old_path": "docs/Vanilla/Events/Events/PlayerPickupItem.md", "new_path": "docs/Vanilla/Events/Events/PlayerPickupItem.md", "diff": "@@ -18,5 +18,5 @@ The following information can be retrieved from the event:\n| ZenGetter | Return Type |\n|-------------|----------------------------------------|\n-| `item` | [IItemStack](/Vanilla/Items/IItemStack/)|\n+| `item` | [IEntityItem](/Vanilla/Entities/IEntityItem/)|\n| `player` | [IPlayer](/Vanilla/Players/IPlayer/) |\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
PlayerPickupItem actually returns IEntityItem. Not IItemStack as previously stated; this may have previously been the case, but is no longer.
139,088
09.05.2019 22:15:35
14,400
b965b46b2277655cd544aaafaf004c592fc7a121
onToolHeal should be calcToolHeal According to the ContentTweaker code, you need to use calcToolHeal, and in my script, I needed calcToolHeal to get the script to work properly.
[ { "change_type": "MODIFY", "old_path": "docs/Mods/ContentTweaker/Tinkers_Construct/TraitBuilder.md", "new_path": "docs/Mods/ContentTweaker/Tinkers_Construct/TraitBuilder.md", "diff": "@@ -379,7 +379,7 @@ myTrait.onToolDamage = function(trait, tool, unmodifiedAmount, newAmount, holder\n```\n-### onToolHeal\n+### calcToolHeal\nCalled before the tools durability is getting increased.\nParameters:\n@@ -393,7 +393,7 @@ __Returns an int__ representing the new amount. Otherwise return `newAmount`\nCreated using\n```\n-myTrait.onToolHeal = function(trait, tool, unmodifiedAmount, newAmount, holder) {\n+myTrait.calcToolHeal = function(trait, tool, unmodifiedAmount, newAmount, holder) {\n//CODE\nreturn newAmount; //Or your modified value\n};\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
onToolHeal should be calcToolHeal According to the ContentTweaker code, you need to use calcToolHeal, and in my script, I needed calcToolHeal to get the script to work properly.
139,090
20.05.2019 10:05:48
-3,600
69b96af8d42436af30160aeb0e9fd6225886c6ac
Added documentation for the PneumaticCraft Plastic Mixer
[ { "change_type": "MODIFY", "old_path": "mkdocs.yml", "new_path": "mkdocs.yml", "diff": "@@ -684,12 +684,13 @@ pages:\n- About PneumaticCraft&#58; Repressurized: 'Mods/PneumaticCraft_Repressurized/PneumaticCraft_Repressurized.md'\n- Crafting:\n- Assembly System: 'Mods/PneumaticCraft_Repressurized/Assembly.md'\n+ - Explosion Crafting: 'Mods/PneumaticCraft_Repressurized/ExplosionCrafting.md'\n- Heat Frame Cooling: 'Mods/PneumaticCraft_Repressurized/HeatFrameCooling.md'\n+ - Liquid Fuels: 'Mods/PneumaticCraft_Repressurized/LiquidFuels.md'\n+ - Plastic Mixer: 'Mods/PneumaticCraft_Repressurized/PlasticMixer.md'\n- Pressure Chamber: 'Mods/PneumaticCraft_Repressurized/PressureChamber.md'\n- Refinery: 'Mods/PneumaticCraft_Repressurized/Refinery.md'\n- Thermopneumatic Processing: 'Mods/PneumaticCraft_Repressurized/ThermopneumaticProcessingPlant.md'\n- - Explosion Crafting: 'Mods/PneumaticCraft_Repressurized/ExplosionCrafting.md'\n- - Liquid Fuels: 'Mods/PneumaticCraft_Repressurized/LiquidFuels.md'\n- XP Fluids: 'Mods/PneumaticCraft_Repressurized/XPFluids.md'\n- Powered Thingies:\n- Powered Thingies: 'Mods/PoweredThingies/_PoweredThingies.md'\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Added documentation for the PneumaticCraft Plastic Mixer
139,090
20.05.2019 13:49:29
-3,600
61bca36a20c4730e743696170512c998ab0efcc6
fix a couple of typos in the last commit
[ { "change_type": "MODIFY", "old_path": "docs/Mods/PneumaticCraft_Repressurized/PlasticMixer.md", "new_path": "docs/Mods/PneumaticCraft_Repressurized/PlasticMixer.md", "diff": "@@ -38,10 +38,10 @@ The following functions can be used to add recipes to the TPP:\nmods.pneumaticcraft.plasticmixer.addRecipe(ILiquidStack liquid, IItemStack stack, int temperature);\n// Add a recipe allowing solidification only\n-mods.pneumaticcraft.plasticmixer.addRecipe(ILiquidStack liquidInput, IItemStack itemOutput);\n+mods.pneumaticcraft.plasticmixer.addSolidifyOnlyRecipe(ILiquidStack liquidInput, IItemStack itemOutput);\n// Add a recipe allowing melting only (temperature in Kelvin)\n-mods.pneumaticcraft.plasticmixer.addRecipe(IItemStack itemInput, ILiquidStack fluidOutput, int temperature);\n+mods.pneumaticcraft.plasticmixer.addMeltOnlyRecipe(IItemStack itemInput, ILiquidStack fluidOutput, int temperature);\n// Example: convert 100mB Lava to/from Concrete (melt at 573K)\nmods.pneumaticcraft.plasticmixer.addRecipe(<liquid:lava> * 100, <minecraft:concrete>, 573);\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
fix a couple of typos in the last commit
139,082
31.05.2019 19:40:08
-25,200
3cf948ce75a23326d2ddfd8227ddeb3c56c56e3a
Fixed script mistake in IItemUseFinish
[ { "change_type": "MODIFY", "old_path": "docs/Mods/ContentTweaker/Vanilla/Advanced_Functionality/Functions/IItemUseFinish.md", "new_path": "docs/Mods/ContentTweaker/Vanilla/Advanced_Functionality/Functions/IItemUseFinish.md", "diff": "@@ -21,7 +21,7 @@ The function needs to return an [IItemStack](/Vanilla/Items/IItemStack/).\n## Example\n```JAVA\nzsItem.onItemUseFinish = function(stack, world, player) {\n- stack.transformDamage();\n+ stack.damage(1, player);\nreturn stack;\n};\n```\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Fixed script mistake in IItemUseFinish
139,047
04.06.2019 21:45:59
-3,600
568447fc5e9e7d04ca88bdb9e064bba98ca22375
How to generate chemical formula tooltips Added additional examples to show creation of a new materials with the chemical formulas in the tooltip.
[ { "change_type": "MODIFY", "old_path": "docs/Mods/GregTechCE/Material.md", "new_path": "docs/Mods/GregTechCE/Material.md", "diff": "@@ -240,4 +240,11 @@ import mods.gregtech.material.MaterialRegistry;\nval dustMaterial = MaterialRegistry.createDustMaterial(700, \"test\", 0xFFAA33, \"dull\", 2);\ndustMaterial.addFlags([\"GENERATE_ORE\", \"GENERATE_PLATE\"]);\n+\n+//Creates a gem-material with a tooltip showing the chemical formula\n+//This automatically generates an electrolyzer recipe to split this material into its constituent parts.\n+val gemFancy = MaterialRegistry.createGemMaterial(701, \"some_fancy_gemstone\", 0x0F3E4E2, \"gem_horizontal\", 1, [<material:beryllium>*4, <material:silicon>*2, <material:oxygen>*9, <material:hydrogen>*2], 1.0, 0);\n+\n+//Any previouly registered material can be used- including custom ones.\n+val ingotComplex = MaterialRegistry.createIngotMaterial(702, \"complex_alloy\", 0xF6872E, \"shiny\", 1, [<material:copper>*3, <material:electrum>*1, <material:redstone>*9, <material:some_fancy_gemstone>*2], 3.5, 0);\n```\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
How to generate chemical formula tooltips Added additional examples to show creation of a new materials with the chemical formulas in the tooltip.
139,047
04.06.2019 21:50:15
-3,600
e54a969455cde98a4fd4e5ef9e8c3d53a4cdc5ca
Added missing underscores in machine names. Chemical reactor and distillation tower were missing underscores in the machineName.
[ { "change_type": "MODIFY", "old_path": "docs/Mods/GregTechCE/Machines.md", "new_path": "docs/Mods/GregTechCE/Machines.md", "diff": "@@ -36,8 +36,8 @@ Recipes are categorized into their machines, call `RecipeMap.getByName(machineNa\n- Blast furnace: `blast_furnace`\n- Implo compressor: `implosion_compressor`\n- Vac freezer: `vacuum_freezer`\n-- Chemical reactor: `chemical reactor`\n-- Disti tower: `distillation tower`\n+- Chemical reactor: `chemical_reactor`\n+- Disti tower: `distillation_tower`\n- Cracker unit: `cracker`\n- Pyrolyse oven: `pyro`\n- Wiremill: `wiremill`\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Added missing underscores in machine names. Chemical reactor and distillation tower were missing underscores in the machineName.
139,063
18.06.2019 12:11:01
-36,000
a5db033dedf04a7854b84559214d53c147eace3d
Link to Artisan Worktables, not Advanced Mortars Does what it says on the tin. Both are mods by CodeTaylor, but the one we're particularly interested in here is Artisan Worktables.
[ { "change_type": "MODIFY", "old_path": "docs/Mods/Artisan_Worktables/Artisan_Worktables.md", "new_path": "docs/Mods/Artisan_Worktables/Artisan_Worktables.md", "diff": "@@ -5,7 +5,7 @@ Artisan Worktables adds a wide arrangement of custom Crafting Tables that requir\nThis mod has both JEI and GameStages support, as well as quite robust CraftTweaker Integration!\n### For More Information:\n-https://minecraft.curseforge.com/projects/advanced-mortars\n+https://minecraft.curseforge.com/projects/artisan-worktables\n### Bug Reports:\n-https://github.com/codetaylor/advancedmortars/issues\n\\ No newline at end of file\n+https://github.com/codetaylor/artisan-worktables/issues\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Link to Artisan Worktables, not Advanced Mortars Does what it says on the tin. Both are mods by CodeTaylor, but the one we're particularly interested in here is Artisan Worktables.
139,033
02.07.2019 11:45:19
14,400
0e9bb446cbac131e7f532ff26b8f6ea97090862b
Change Brackets So people stop sending me scripts with broken brackets
[ { "change_type": "MODIFY", "old_path": "docs/Mods/ContentTweaker/Vanilla/Advanced_Functionality/Functions/IBlockDropHandler.md", "new_path": "docs/Mods/ContentTweaker/Vanilla/Advanced_Functionality/Functions/IBlockDropHandler.md", "diff": "@@ -26,8 +26,8 @@ Read about them [here](/Mods/ContentTweaker/Vanilla/Types/Drops/ICTItemList/).\n```\nblock.setDropHandler(function(drops, world, position, state) {\n- drops.add(<minecraft:bedrock>);\n- drops.add(<minecraft:carrot> % 50);\n+ drops.add(<item:minecraft:bedrock>);\n+ drops.add(<item:minecraft:carrot> % 50);\nreturn;\n});\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Change Brackets So people stop sending me scripts with broken brackets
139,040
02.07.2019 18:47:34
-7,200
7b94e27fb77778447e158ae1717e9061ae718ddb
Fixed issue in build script and encoding error in Korean translation
[ { "change_type": "MODIFY", "old_path": "build.sh", "new_path": "build.sh", "diff": "@@ -11,5 +11,5 @@ cd ./translations;\nTRANS=./*;\n-for f in $TRANS; do cd $f echo \"Processing folder $f\"; SITEDIR=\"../../build/${f#\"./\"}\"; echo $SITEDIR; mkdocs build --clean --theme-dir \"../../mkdocs_windmill\" --site-dir $SITEDIR; cd ..; done\n+for f in $TRANS; do cd $f; echo \"Processing folder $f\"; SITEDIR=\"../../build/${f#\"./\"}\"; echo $SITEDIR; mkdocs build --clean --theme-dir \"../../mkdocs_windmill\" --site-dir $SITEDIR; cd ..; done\necho \"finished building!\"\n\\ No newline at end of file\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Fixed issue in build script and encoding error in Korean translation
139,047
13.07.2019 13:22:06
-3,600
e3d39418fb9bc24248220e1972ed3d0a956050cc
Fix missing generation flag. Added flag for generating dense plates.
[ { "change_type": "MODIFY", "old_path": "docs/Mods/GregTechCE/Material.md", "new_path": "docs/Mods/GregTechCE/Material.md", "diff": "@@ -148,6 +148,7 @@ These flags are applicable to materials.\n| DISABLE_DECOMPOSITION | Disables decomposition recipe generation for this material and all materials that has it as component |\n| DECOMPOSITION_REQUIRES_HYDROGEN | Decomposition recipe requires hydrogen as additional input. Amount is equal to input amount |\n| GENERATE_PLATE | Generate a plate for this material, If it's dust material, dust compressor recipe into plate will be generated, If it's metal material, bending machine recipes will be generated, If block is found, cutting machine recipe will be also generated |\n+| GENERATE_DENSE | Generate a dense plate. |\n| NO_WORKING | Add to material if it cannot be worked by any other means, than smashing or smelting. This is used for coated Materials. |\n| NO_SMASHING | Add to material if it cannot be used for regular Metal working techniques since it is not possible to bend it. |\n| NO_SMELTING | Add to material if it's impossible to smelt it |\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Fix missing generation flag. Added flag for generating dense plates.
139,079
15.07.2019 16:14:24
-7,200
4d3b494af6ff7cf62952ef17e164ee83f6974e7e
Updated HighOven.md to reflect latest changes
[ { "change_type": "MODIFY", "old_path": "docs/Mods/Modtweaker/TComplement/Handlers/HighOven.md", "new_path": "docs/Mods/Modtweaker/TComplement/Handlers/HighOven.md", "diff": "@@ -4,7 +4,10 @@ The HighOven package allows to add/remove fuels, heat recipes and mix recipes to\n## Importing the package\n-Import the package using `import mods.tcomplement.highoven.HighOven;`\n+Import the package using\n+```\n+import mods.tcomplement.highoven.HighOven;\n+```\n## Fuels\n@@ -12,7 +15,7 @@ You can add and remove fuels accepted by the high oven.\n### Removing fuels\n```\n-// HighOven.removeFuel(IItemStack fuel);\n+// HighOven.removeFuel(IIngredient fuel);\nHighOven.removeFuel(<minecraft:coal:1>);\n```\n@@ -23,11 +26,11 @@ HighOven.addFuel(<minecraft:hay_block>, 3600, 5);\n```\n+ `fuel` is the fuel to add (supports transformers, NBT and fluid containers)\n-+ `time` is how long it last, in seconds\n++ `time` is how long the fuel lasts, in seconds\n+ `rate` is the temperature increase of the high oven when that fuel is used, in degrees per second\n## Heat recipes\n-Heat recipes transform a fluid into another in the high oven tank, provided the temperature of the high oven is high enought.\n+Heat recipes transform a fluid into another in the high oven tank, provided the temperature of the high oven is high enough.\n### Removing heat recipes\n```\n@@ -36,7 +39,7 @@ HighOven.removeHeatRecipe(<liquid:steam>);\n```\n+ `output` is the output for which recipes should be disabled\n-+ `input` is optionally the inputs to filter recipe with. If unspecified (or `null`), all recipes producing the supplied output will be disabled. Otherwise, only the recipe with the given input is disabled.\n++ `input` is optionally the inputs to filter recipes with. If unspecified (or `null`), all recipes producing the supplied output will be disabled. Otherwise, only the recipe with the given input is disabled.\n*NOTE*: this method does **not** disable heat recipes added by ModTweaker using the next method.\n@@ -46,13 +49,13 @@ HighOven.removeHeatRecipe(<liquid:steam>);\nHighOven.addHeatRecipe(<liquid:iron> * 144, <liquid:lava> * 1000, 1450);\n```\n+ `output` the liquid to pruduce, and in which quantity\n-+ `input` the liquid to consume, and in which quantity to produce the output quantity\n-+ `temp` the minimum temperature, in Kelvin.\n++ `input` the liquid to consume, and in which quantity, to produce the output quantity\n++ `temp` the minimum high oven's temperature, in Kelvin.\n-*Note*: the actual rate of the heat recipes scales with the excess temperature\n+*Note*: the actual rate of the heat recipes scales with excess temperature\n## Mix recipes\n-Mix recipes allows to do some kind of alchemy or alloying. When a stacl melt in the high oven, if it produces the right fluid *and* the proper oxidizers, reducers and purifiers are in their dedicated slots, then a different fluid is produced.\n+Mix recipes allow to do a kind of alchemy or alloying. When a stack melts in the high oven, if it produces the right fluid *and* the proper oxidizers, reducers and purifiers are in their dedicated slots, then a different fluid is produced.\nSince those recipes are complicated, adding or tweaking existing ones uses a special zen class.\n@@ -86,10 +89,11 @@ builder.addPurifier(<minecraft:nether_star>, 0);\nbuilder.register();\n```\n-For a detail documentation of what you can do with a `MixRecipeBuilder`, see it's entry.\n-*NOTE*: Once you have used a `MixRecipeBuilder`, you can keep modifying it and re-using it. It allows for recipe variations to be easily added.\n+For a detailed documentation of what you can do with a `MixRecipeBuilder`, see its documentation.\n+\n+NOTE*: Once you have used a `MixRecipeBuilder`, you can keep modifying it and re-using it. It allows for recipe variations to be easily added.\n-**WARNING**: if you add mix recipe for input fluids where *no* item melting produces that fluid, those recipe won't be visible in JEI.\n+**WARNING**: If no item produces the input fluid when it melts in the smeltery, then the recipe won't be visible in JEI.\n### Tweaking mix recipe\nTo change existing mix recipes (**including** those added by ModTweaker), you can use a `MixRecipeManager`:\n@@ -102,13 +106,15 @@ var manager = HighOven.manageMixRecipe(<liquid:steel>);\nAs usual, not specifying the input (or providing `null`) result in a wildcard behavior where all input will be accepted.\n-Once you have a `MixRecipeManager` representing a particular set of mix recipe, you can prevent certain oxidizer/reducers/purifiers from being added to those recipes, *or* try to add new additives.\n+Once you have a `MixRecipeManager` representing a particular set of mix recipe, you can prevent certain oxidizer/reducers/purifiers from being added to those recipes, *or* try to add new additives. Removals have priority on additions.\n-You must then register your manager.\n```\nmanager.removeOxidizer(<minecraft:redstone>);\nmanager.addPurifier(<minecraft:dirt>, 25);\n-manager.register();\n```\n-*NOTE*: once you have registered your manager, you must not re-use it.\n+The behavior might be a little surpring at times. When you disable an additive, any additive addition that would allow what you disable will be canceled. For instance, if you add a bunch of items using a single `OreDictEntry`, then try to remove a specific `IItemStack`, it will prevent the entry from being added.\n+\n+This is because iternally, `OreDictEntry` are added as-is and are not converted to individual items. The only way to disable the `ItemStack` you want to forbid is to prevent the whole entry from being registered, otherwise the entry would allow the item.\n+\n+If you actually want to do add an oredict entry except some items, you'll have to do it manually by iterating on the `OreDictEntry` content and then removing the specific items (or by not adding them in the first place).\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Updated HighOven.md to reflect latest changes
139,079
15.07.2019 16:42:01
-7,200
a21072c8a157e5034e58c55dccf7069a12778605
Added MixRecipeBuilder documentation Detailed documentation of the attributes and methods of the MixRecipeBuilder
[ { "change_type": "MODIFY", "old_path": "docs/Mods/Modtweaker/TComplement/Handlers/MixRecipeBuilder.md", "new_path": "docs/Mods/Modtweaker/TComplement/Handlers/MixRecipeBuilder.md", "diff": "+# MixRecipeBuilder\n+\n+A `MixRecipeBuilder` is used to build and add High Oven's Mix Recipe to the game.\n+\n+## Importing the package\n+Better be safe than sorry and import the package\n+```\n+import mods.tcomplement.highoven.MixRecipeBuilder;\n+```\n+\n+## Getting a `MixRecipeBuilder`\n+\n+The `mods.tcomplement.highoven.HighOven` handler can give you a `MixRecipeBuilder`\n+\n+```\n+// HighOven.newMixRecipe(ILiquidStack output, ILiquidStack input, int temp);\n+var builder = HighOven.newMixRecipe(<liquid:steel> * 72, <liquid:iron> * 144, 1350);\n+```\n++ `output` is the fluid and quantity to produce\n++ `input` is the fluid and quantity to consume\n++ `temp` is the minimal temperature of the high oven for the recipe to work, in Kelvin\n+\n+## Attributes\n+\n+| Attribute | ZenGetter | ZenSetter | Type | Info |\n+| --------- | --------- | --------- | ---- | ---- |\n+| output | `output` | :heavy_check_mark:| `ILiquidStack` | the output produced by the MixRecipe |\n+| input | `input` | :heavy_check_mark:| `ILiquidStack` | the input of the MixRecipe |\n+| temperature| `temp` | :heavy_check_mark:| `int` | the minimum temperature, in Kelvin |\n+| oxidizers | `oxidizers` | :x: | `List<IIngredient>` | the valid oxidizers for the recipe at the time the attribute is accessed |\n+| reducers | `reducers` | :x: | `List<IIngredient>` | the valid reducers for the recipe at the time the attribute is accessed |\n+| purifiers | `purifiers` | :x: | `List<IIngredient>` | the valid purifiers for the recipe at the time the attribute is accessed |\n+\n+\n+ ## Methods\n+\n+ | Method | Return type | Info |\n+ | ------ | ---- | ---- |\n+ | `getOxidizerChance(IIngredient oxidizer)` | `int` | The chance in percent that the oxidizer is consumed, or `-1` if the oxidizer is not valid |\n+ | `getReducerChance(IIngredient reducer)` | `int` | The chance in percent that the reducer is consumed, or `-1` if the reducer is not valid |\n+ | `getOxidizerChance(IIngredient purifier)` | `int` | The chance in percent that the purifier is consumed, or `-1` if the oxidizer is not valid |\n+ | `addOxidizer(IIngredient oxidizer, int consumeChance)` | | Add the oxidizer with the given consume chance (in percent) |\n+ | `addReducer(IIngredient reducer, int consumeChance)` | | Add the reducer with the given consume chance (in percent) |\n+ | `addPurifier(IIngredient purifier, int consumeChance)` | | Add the purifier with the given consume chance (in percent) |\n+ | `removeOxidizer(IIngredient oxidizer)` | | Remove the oxidizer if it had been added |\n+ | `removeReducer(IIngredient reducer)` | | Remove the reducer if it had been added |\n+ | `removePurifier(IIngredient purifier)` | | Remove the purifier if it had been added |\n+ | `removeAllOxidizer()` | | Remove all oxidizers |\n+ | `removeAllReducer()` | | Remove all reducers |\n+ | `removeAllPurifier()` | | Remove all purifiers |\n+ | `register()` | | Add a new MixRecipe with the data currently added in the MixRecipeBuilder |\n+\n+ ## How to use\n+ Once you have a `MixRecipeBuilder`, add the oxidizers, reducers and purifiers for your new recipe to the builder, then `register()` a recipe. A `MixRecipeBuilder` can be used to register as many recipes as you want: each time you call `register()`, it adds a new recipe with the infos it has at the time you call the function.\n+ This makes it easy to add recipes variant or recipes tier by incrementally adding new additives and/or increasing yield etc.\n+\n+ The additives supports all kind of `IIngredient`: `IOreDictEntry`, `IItemStack` and their transformations, liquid containers etc.\n+\n+ ## Warning\n+ Don't forget to **register** your recipe, the `MixRecipeBuilder` is just a builder to specify all the parts of the recipe !\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Added MixRecipeBuilder documentation Detailed documentation of the attributes and methods of the MixRecipeBuilder
139,079
15.07.2019 16:46:04
-7,200
834078d24e333bdee50f5588bced391d5a22e40e
Updated index Added HighOven.md and MixRecipeBuilder.md and MixRecipeManager.md to the index
[ { "change_type": "MODIFY", "old_path": "mkdocs.yml", "new_path": "mkdocs.yml", "diff": "@@ -621,6 +621,9 @@ pages:\n- Handlers:\n- Blacklist: 'Mods/Modtweaker/TComplement/Handlers/Blacklist.md'\n- Overrides: 'Mods/Modtweaker/TComplement/Handlers/Overrides.md'\n+ - High Oven: 'Mods/ModTweaker/TComplement/Handlers/HighOven.md'\n+ - MixRecipeBuilder: 'Mods/Modtweaker/TComplement/Handlers/MixRecipeBuilder.md'\n+ - MixRecipeManager: 'Mods/Modtweaker/TComplement/Handlers/MixRecipeManager.md'\n- Thaumcraft:\n- Aspects:\n- CTAspect: 'Mods/Modtweaker/Thaumcraft/Aspects/CTAspect.md'\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Updated index Added HighOven.md and MixRecipeBuilder.md and MixRecipeManager.md to the index
139,079
15.07.2019 17:04:51
-7,200
7830987d33aaacbee10948c2ee0629c6f0d9b5c1
Added MixRecipeManager documentation
[ { "change_type": "MODIFY", "old_path": "docs/Mods/Modtweaker/TComplement/Handlers/MixRecipeManager.md", "new_path": "docs/Mods/Modtweaker/TComplement/Handlers/MixRecipeManager.md", "diff": "# MixRecipeManager\n+\n+A `MixRecipeManager` is used to modify existing high oven mix recipe, including those added by ModTweaker.\n+\n+## Importing the package\n+Better be safe than sorry and import the package\n+```\n+import mods.tcomplement.highoven.MixRecipeManager;\n+```\n+\n+## Getting a `MixRecipeManager`\n+The `HighOven` handler can give you a `MixRecipeManager`:\n+```\n+// HighOven.manageMixRecipe(ILiquidStack output, ILiquidStack input);\n+var manager = HighOven.manageMixRecipe(<liquid:steel>);\n+```\n+\n++ `output` is the output of the mix recipe to modify\n++ `input` (Optional) is the input of the mix recipe to modify. If `null` or unspecified, any mix recipe producing the output will be affected\n+\n+## Removing additives\n+\n+You can use a `MixRecipeManager` to remove certain additives from the affected mix recipe. Be carefull, for removals are always enforced. This means whatever way to add an additive that would add an additive you remove, will be prevented.\n+\n+This may have surprising results with oredict entries. Since oredict entries are added as-is to the mix recipe (it is not expanded to a list of `IItemStack` but looked for when checking the recipes), removing an item will block all oredict entries it belongs to.\n+\n+Generally speaking, if you remove something specific (say, an `IItemStack` with transformers) but an (single) additive addition would allow what you removed plus some other things (say, a more generic `IItemStack`), the whole addition will be cancelled, preventing said other things from being accepted by the High Oven.\n+\n+| Method | Info |\n+| ------ | ---- |\n+| `removeOxidizer(IIngredient oxidizer)` | Forefully remove the oxidizer from the affected MixRecipe |\n+| `removeReducer(IIngredient reducer) ` | Forefully remove the reducer from the affected MixRecipe |\n+| `removePurifier(IIngredient reducer) ` | Forefully remove the purifier from the affected MixRecipe |\n+\n+All those methods return the same instance they were called one, allowing method chaining.\n+\n+## Adding additives to existing MixRecipe\n+\n+You can add additives to all mix recipe matched by the `MixRecipeManager`. Be careful, as removals have priority (see above).\n+\n+| Method | Info |\n+| ------ | ---- |\n+| `addOxidizer(@NotNull IIngredient oxidizer, int consumeChance)` | Add the oxidizer with the specified consume chance (in percent) |\n+| `addReducer(@NotNull IIngredient reducer, int consumeChance)` | Add the reducer with the specified consume chance (in percent) |\n+| `addPurifier(@NotNull IIngredient purifier, int consumeChance)` | Add the purifier with the specified consume chance (in percent) |\n+\n+All those methods return the same instance they were called one, allowing method chaining.\n+\n+\n+## Warning\n+Creating a `MixRecipeManager` that does not match any mix recipes will not trigger any warning, because there's no way to tell which mix recipes will be added (script parsing happens before mix recipe registration). If you're `MixRecipeManager` has no effect, first check it it actually matches a mix recipe\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Added MixRecipeManager documentation
139,079
15.07.2019 17:06:48
-7,200
aa0e77582e3f90c6827e02607ff6bad0376a00b2
Updated MixRecipeBuilder documentation Documented method chaining support
[ { "change_type": "MODIFY", "old_path": "docs/Mods/Modtweaker/TComplement/Handlers/MixRecipeBuilder.md", "new_path": "docs/Mods/Modtweaker/TComplement/Handlers/MixRecipeBuilder.md", "diff": "@@ -39,17 +39,19 @@ var builder = HighOven.newMixRecipe(<liquid:steel> * 72, <liquid:iron> * 144, 13\n| `getOxidizerChance(IIngredient oxidizer)` | `int` | The chance in percent that the oxidizer is consumed, or `-1` if the oxidizer is not valid |\n| `getReducerChance(IIngredient reducer)` | `int` | The chance in percent that the reducer is consumed, or `-1` if the reducer is not valid |\n| `getOxidizerChance(IIngredient purifier)` | `int` | The chance in percent that the purifier is consumed, or `-1` if the oxidizer is not valid |\n- | `addOxidizer(IIngredient oxidizer, int consumeChance)` | | Add the oxidizer with the given consume chance (in percent) |\n- | `addReducer(IIngredient reducer, int consumeChance)` | | Add the reducer with the given consume chance (in percent) |\n- | `addPurifier(IIngredient purifier, int consumeChance)` | | Add the purifier with the given consume chance (in percent) |\n- | `removeOxidizer(IIngredient oxidizer)` | | Remove the oxidizer if it had been added |\n- | `removeReducer(IIngredient reducer)` | | Remove the reducer if it had been added |\n- | `removePurifier(IIngredient purifier)` | | Remove the purifier if it had been added |\n- | `removeAllOxidizer()` | | Remove all oxidizers |\n- | `removeAllReducer()` | | Remove all reducers |\n- | `removeAllPurifier()` | | Remove all purifiers |\n+ | `addOxidizer(IIngredient oxidizer, int consumeChance)` | `MixRecipeBuilder` | Add the oxidizer with the given consume chance (in percent) |\n+ | `addReducer(IIngredient reducer, int consumeChance)` | `MixRecipeBuilder` | Add the reducer with the given consume chance (in percent) |\n+ | `addPurifier(IIngredient purifier, int consumeChance)` | `MixRecipeBuilder` | Add the purifier with the given consume chance (in percent) |\n+ | `removeOxidizer(IIngredient oxidizer)` | `MixRecipeBuilder` | Remove the oxidizer if it had been added |\n+ | `removeReducer(IIngredient reducer)` | `MixRecipeBuilder` | Remove the reducer if it had been added |\n+ | `removePurifier(IIngredient purifier)` | `MixRecipeBuilder` | Remove the purifier if it had been added |\n+ | `removeAllOxidizer()` | `MixRecipeBuilder` | Remove all oxidizers |\n+ | `removeAllReducer()` | `MixRecipeBuilder` | Remove all reducers |\n+ | `removeAllPurifier()` | `MixRecipeBuilder` | Remove all purifiers |\n| `register()` | | Add a new MixRecipe with the data currently added in the MixRecipeBuilder |\n+ All methods that return a `MixRecipeBuilder` return the same instance they were called on, allowing method chaining.\n+\n## How to use\nOnce you have a `MixRecipeBuilder`, add the oxidizers, reducers and purifiers for your new recipe to the builder, then `register()` a recipe. A `MixRecipeBuilder` can be used to register as many recipes as you want: each time you call `register()`, it adds a new recipe with the infos it has at the time you call the function.\nThis makes it easy to add recipes variant or recipes tier by incrementally adding new additives and/or increasing yield etc.\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Updated MixRecipeBuilder documentation Documented method chaining support
139,079
15.07.2019 18:05:53
-7,200
6bfa7d14191058d2f636e59ed1790df55239d3f7
Corrected typo in mkdocs.yml
[ { "change_type": "MODIFY", "old_path": "mkdocs.yml", "new_path": "mkdocs.yml", "diff": "@@ -621,7 +621,7 @@ pages:\n- Handlers:\n- Blacklist: 'Mods/Modtweaker/TComplement/Handlers/Blacklist.md'\n- Overrides: 'Mods/Modtweaker/TComplement/Handlers/Overrides.md'\n- - High Oven: 'Mods/ModTweaker/TComplement/Handlers/HighOven.md'\n+ - High Oven: 'Mods/Modtweaker/TComplement/Handlers/HighOven.md'\n- MixRecipeBuilder: 'Mods/Modtweaker/TComplement/Handlers/MixRecipeBuilder.md'\n- MixRecipeManager: 'Mods/Modtweaker/TComplement/Handlers/MixRecipeManager.md'\n- Thaumcraft:\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Corrected typo in mkdocs.yml
139,079
16.07.2019 12:18:31
-7,200
c8ea85b24323f42a874d30a714bac8d53a66d4f5
Documented High Oven Overrides Added documentation for the methods providing high oven overrides compatibility
[ { "change_type": "MODIFY", "old_path": "docs/Mods/Modtweaker/TComplement/Handlers/HighOven.md", "new_path": "docs/Mods/Modtweaker/TComplement/Handlers/HighOven.md", "diff": "@@ -29,6 +29,25 @@ HighOven.addFuel(<minecraft:hay_block>, 3600, 5);\n+ `time` is how long the fuel lasts, in seconds\n+ `rate` is the temperature increase of the high oven when that fuel is used, in degrees per second\n+## Melting Overrides\n+You can add and remove melting overrides for the High Oven. Melting overrides, well, override the default melting behavior in the High Oven. Items normally behave the same as in the smeltery, overrides can redefine output fluid and melting temperature (only for the High Oven).\n+\n+### Removing overrides\n+```\n+// HighOven.removeMeltingOverride(ILiquidStack output, @Optional IItemStack input)\n+HighOven.removeMeltingOverride(<liquid:iron>);\n+```\n+\n+### Adding overrides\n+This is more interesting. Overrides specify a new behavior for items in the High Oven\n+```\n+// HighOven.addMeltingOverride(ILiquidStack output, IIngredient input, @Optional int temp)\n+HighOven.addMeltingOverride(<liquid:steel> * 144, <ore:ingotIron>, 2567);\n+```\n++ `output` the liquid and amount to produce\n++ `input` the IIngredient to smelt. Supports transformers, oredict etc.\n++ `temp` (Optional) the minimum temperature for the item to start melting in the High Oven, in Kelvin. If undefined, leave the calculation to the High Oven\n+\n## Heat recipes\nHeat recipes transform a fluid into another in the high oven tank, provided the temperature of the high oven is high enough.\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Documented High Oven Overrides Added documentation for the methods providing high oven overrides compatibility
139,040
23.08.2019 12:22:37
-7,200
a7cbc12f056702b61ce1e3f67a029bca04eff58f
Fixed PlayerAdvancement Description Closes
[ { "change_type": "MODIFY", "old_path": "docs/Vanilla/Events/Events/PlayerAdvancement.md", "new_path": "docs/Vanilla/Events/Events/PlayerAdvancement.md", "diff": "# PlayerAdvancement\n-The PlayerAdvancement Event is fired whenever a player crafts something in the anvil.\n-You can change the chance that the anvil is damaged.\n+The PlayerAdvancement Event is fired whenever a player is awarded an Advancement.\n## Event Class\nYou will need to cast the event in the function header as this class:\n@@ -25,7 +24,7 @@ The following information can be retrieved from the event:\n## Id\n-Apart from the functionality the PE exposes you can get the advancement's ID as string.\n+Apart from the functionality the PlayerEvent exposes you can get the advancement's ID as string.\nThis can for example be a string like\n```\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Fixed PlayerAdvancement Description Closes #176
139,040
23.08.2019 12:53:05
-7,200
532480502fe4bebff718a85a9f0d6adc6e3da44f
Fixed RecipeStages#setRecipeStageByModid description Closes
[ { "change_type": "MODIFY", "old_path": "docs/Mods/GameStages/RecipeStages/RecipeStages.md", "new_path": "docs/Mods/GameStages/RecipeStages/RecipeStages.md", "diff": "@@ -18,7 +18,7 @@ Adds a mirrored shaped recipe that is locked behind a stage.\n//mods.recipestages.Recipes.addShapedMirrored(String name, String stage, IItemStack output, IIngredient[][] ingredients, @Optional IRecipeFunction function, @Optional IRecipeAction action);\nmods.recipestages.Recipes.addShapedMirrored(\"two\", <minecraft:iron_leggings>,[[<minecraft:gold_ingot>, <minecraft:gold_ingot>, <minecraft:iron_ingot>],[<minecraft:iron_ingot>, null, <minecraft:iron_ingot>],[<minecraft:iron_ingot>, null, <minecraft:iron_ingot>]]);\n-mods.recipestages.Recipes.addShapedMirrored(\"test\", \"one\", <minecraft:iron_leggings>,[[<minecraft:gold_ingot>, <minecraft:iron_ingot>, <minecraft:iron_ingot>],[<minecraft:iron_ingot>, null, <minecraft:iron_ingot>],[<minecraft:iron_ingot>, null, <minecraft:iron_ingot>]]);\n+mods.recipestages.Recipes.addShapedMirrored(\"test_mirrored\", \"one\", <minecraft:iron_leggings>,[[<minecraft:gold_ingot>, <minecraft:iron_ingot>, <minecraft:iron_ingot>],[<minecraft:iron_ingot>, null, <minecraft:iron_ingot>],[<minecraft:iron_ingot>, null, <minecraft:iron_ingot>]]);\n```\nAdds a shapeless recipe that is locked behind a stage.\n@@ -27,7 +27,7 @@ Adds a shapeless recipe that is locked behind a stage.\n//mods.recipestages.Recipes.addShapeless(String name, String stage, IItemStack output, IIngredient[] ingredients, @Optional IRecipeFunction function, @Optional IRecipeAction action);\nmods.recipestages.Recipes.addShapeless(\"one\", <minecraft:diamond>, [<ore:sand>, <ore:sand>, <ore:ingotIron>, <minecraft:gold_ingot>]);\n-mods.recipestages.Recipes.addShapeless(\"shapeless test\". \"one\", <minecraft:diamond>, [<ore:sand>, <ore:sand>, <ore:ingotIron>, <minecraft:gold_ingot>]);\n+mods.recipestages.Recipes.addShapeless(\"shapeless_test\". \"one\", <minecraft:diamond>, [<ore:sand>, <ore:sand>, <ore:ingotIron>, <minecraft:gold_ingot>]);\n```\nSets the stage of a non staged recipe.\n@@ -39,19 +39,20 @@ mods.recipestages.Recipes.setRecipeStage(\"one\", <minecraft:stone_hoe>);\nmods.recipestages.Recipes.setRecipeStage(\"one\", \"minecraft:boat\");\n```\n-Sets the stage of all recipes based on a regex check against their name.\n+Sets the stage of all recipes that make items from a certain mod.\n+More specifically, stages all recipes that have the given modid as resource domain.\n+Does NOT work with regex expressions, so using `.*` as argument would do nothing!\n```java\n-//mods.recipestages.Recipes.setRecipeStageByRegex(String name, String recipeName);\n-\n-mods.recipestages.Recipes.setRecipeStageByRegex(\"one\", \"minecraft\");\n+//mods.recipestages.Recipes.setRecipeStage(String name, String recipeName);\n+mods.recipestages.Recipes.setRecipeStageByMod(\"one\", \"minecraft\");\n```\n-Sets the stage of all recipes that make items from a certain mod.\n+Sets the stage of all recipes based on a regex check against their name.\n```java\n-//mods.recipestages.Recipes.setRecipeStage(String name, String recipeName);\n+//mods.recipestages.Recipes.setRecipeStageByRegex(String name, String modid);\n//This sets the stage of all recipes who's name only contains numbers to stage \"one\"\n-mods.recipestages.Recipes.setRecipeStageByMod(\"one\", \"^[0-9]*$\");\n+mods.recipestages.Recipes.setRecipeStageByRegex(\"one\", \"^[0-9]*$\");\n```\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Fixed RecipeStages#setRecipeStageByModid description Closes #202
139,046
09.09.2019 20:16:25
-28,800
37b35522ef02bfd25f2a35abe4e476ea78692db5
Document built-in CT support from the Cuisine mod
[ { "change_type": "ADD", "old_path": null, "new_path": "docs/Mods/Cuisine/AxeChopping.md", "diff": "+# Axe Chopping\n+\n+## Availability\n+\n+Before doing anything, you should check whether axe-chopping is enabled or not:\n+\n+```zenscript\n+import mods.cuisine.AxeChopping;\n+\n+if (AxeChopping.isEnabled()) {\n+ // do stuff\n+} else {\n+ print(\"Axe Chopping is disabled, skipping\");\n+}\n+```\n+\n+## Addition\n+\n+```zenscript\n+import mods.cuisine.AxeChopping;\n+\n+AxeChopping.add(IItemStack input, IItemStack output);\n+\n+AxeChopping.add(<item:minecraft:dirt>, <item:minecraft:diamond>);\n+\n+// If necessary, it is also possible to use ore dictionary.\n+AxeChopping.add(IOreEntry input, IItemStack output);\n+\n+AxeChopping.add(<ore:cobblestone>, <item:minecraft:diamond>);\n+```\n+\n+## Removal\n+\n+```zenscript\n+import mods.cuisine.AxeChopping;\n+\n+// Remove by input.\n+AxeChopping.remove(IItemStack input);\n+\n+AxeChopping.remove(<item:minecraft:log>);\n+\n+// Remove by output.\n+AxeChopping.removeByOutput(IItemStack output);\n+\n+AxeChopping.removeByOutput(<item:minecraft:plank>);\n+\n+// Remove by identifier.\n+AxeChopping.remove(String id);\n+\n+AxeChopping.remove(\"recipe_name\");\n+\n+// Remove everything!\n+AxeChopping.removeAll();\n+```\n+\n+## Misc.\n+\n+```zenscript\n+import mods.cuisine.AxeChopping;\n+\n+val defaultPlanksOutput as int = AxeChopping.getDefaultPlanksOutput();\n+\n+val defaultStickOutput as int = AxeChopping.getDefaultStickOutput();\n+```\n" }, { "change_type": "ADD", "old_path": null, "new_path": "docs/Mods/Cuisine/Cuisine.md", "diff": "+# Cuisine\n+\n+## Information\n+\n+Cuisine is a mod about realistic culinary art. Cuisine has built-in support for CraftTweaker to allow modpack creator to change recipes for various devices from the Cuisine mod.\n+\n+## For more Information\n+\n+https://www.curseforge.com/minecraft/mc-mods/cuisine\n+\n+## Bug reports\n+\n+https://github.com/Snownee/Cuisine/issues\n" }, { "change_type": "ADD", "old_path": null, "new_path": "docs/Mods/Cuisine/Heating.md", "diff": "+# Basin Heating\n+\n+## Addition\n+\n+```zenscript\n+import mods.cuisine.BasinHeating;\n+\n+BasinHeating.add(ILiquidStack input, IItemStack output); // Use 1 as heat value\n+BasinHeating.add(ILiquidStack input, IItemStack output, int heatValue);\n+\n+BasinHeating.add(<liquid:lava> * 1000, <item:minecraft:diamond>);\n+BasinHeating.add(<liquid:water> * 1000, <item:minecraft:diamond>, 100);\n+```\n+\n+## Removal\n+\n+```zenscript\n+import mods.cuisine.BasinHeating;\n+\n+// Remove by input.\n+BasinHeating.remove(ILiquidStack input);\n+\n+BasinHeating.remove(<liquid:lava> * 1000);\n+\n+// Remove by identifier.\n+BasinHeating.remove(String id);\n+\n+BasinHeating.remove(\"recipe_name\");\n+\n+// Remove everything!\n+BasinHeating.removeAll();\n+```\n" }, { "change_type": "ADD", "old_path": null, "new_path": "docs/Mods/Cuisine/Mill.md", "diff": "+# Mill\n+\n+## Addition\n+\n+```zenscript\n+import mods.cuisine.Mill;\n+\n+Mill.add(IIngredient input, ILiquidStack inputFluid, IItemStack output, ILiquidStack outputFluid);\n+\n+Mill.add(<item:minecraft:dirt> * 2, null, <item:minecraft:diamond>, null);\n+Mill.add(<ore:cobblestone> * 4, <liquid:water> * 1000, null, <liquid:lava> * 1000);\n+```\n+\n+## Removal\n+\n+```zenscript\n+import mods.cuisine.Mill;\n+\n+// Remove by input.\n+Mill.remove(IItemStack input, ILiquidStack inputFluid);\n+Mill.remove(IOreEntry input, ILiquidStack inputFluid);\n+\n+Mill.remove(<item:minecraft:dirt> * 2, null);\n+Mill.remove(<ore:cobblestone> * 4, <liquid:water> * 1000);\n+\n+// Remove by identifier.\n+Mill.remove(String id);\n+\n+Mill.remove(\"recipe_name\");\n+\n+// Remove everything!\n+Mill.removeAll();\n+```\n" }, { "change_type": "ADD", "old_path": null, "new_path": "docs/Mods/Cuisine/Mortar.md", "diff": "+# Mortar\n+\n+## Addition\n+\n+```zenscript\n+import mods.cuisine.Mortar;\n+\n+// The third parameter 'step' means \"how many times you need to push down the pestle\"\n+Mortar.add(IItemStack[] inputs, IItemStack output, int step);\n+\n+Mortar.add([<item:minecraft:dirt>, <item:minecraft:cobblestone>], <item:minecraft:diamond>, 3);\n+```\n+\n+## Removal\n+\n+```zenscript\n+import mods.cuisine.Mortar;\n+\n+// Remove by input.\n+Mortar.remove(IItemStack[] input);\n+\n+Mortar.remove([<item:minecraft:dirt>, <item:minecraft:cobblestone>]);\n+\n+// Remove by output.\n+Mortar.removeByOutput(IIngredient output);\n+\n+Mortar.removeByOutput(<item:minecraft:diamond>);\n+Mortar.removeByOutput(<ore:gemDiamond>);\n+\n+// Remove by identifier.\n+Mortar.remove(String id);\n+\n+Mortar.remove(\"recipe_name\");\n+\n+// Remove everything!\n+Mortar.removeAll();\n+```\n" }, { "change_type": "ADD", "old_path": null, "new_path": "docs/Mods/Cuisine/Squeezing.md", "diff": "+# Basin Squeezing\n+\n+## Addition\n+\n+```zenscript\n+import mods.cuisine.BasinSqueezing;\n+\n+BasinSqueezing.add(IIngredient input, ILiquidStack output, @Optional IItemStack extraOutput);\n+\n+BasinSqueezing.add(<item:minecraft:dirt>, <liquid:water> * 1000);\n+BasinSqueezing.add(<ore:cobblestone> * 2, <liquid:lava> * 1000, <item:minecraft:diamond>);\n+```\n+\n+## Removal\n+\n+```zenscript\n+import mods.cuisine.BasinSqueezing;\n+\n+// Remove by inputs.\n+BasinSqueezing.remove(IItemStack input, ILiquidStack inputFluid);\n+\n+BasinSqueezing.remove(<item:minecraft:dirt>, <liquid:water> * 1000);\n+\n+// Remove by identifier.\n+BasinSqueezing.remove(String id);\n+\n+BasinSqueezing.remove(\"recipe_name\");\n+\n+// Remove everything!\n+BasinSqueezing.removeAll();\n+```\n" }, { "change_type": "ADD", "old_path": null, "new_path": "docs/Mods/Cuisine/Throw.md", "diff": "+# Basin Throwing\n+\n+## Addition\n+\n+```zenscript\n+import mods.cuisine.BasinThrowing;\n+\n+BasinThrowing.add(IIngredient input, ILiquidStack inputFluid, IItemStack output);\n+\n+BasinThrowing.add(<ore:cobblestone> * 2, <liquid:lava> * 1000, <item:minecraft:diamond>);\n+```\n+\n+## Removal\n+\n+```zenscript\n+import mods.cuisine.BasinThrowing;\n+\n+// Remove by inputs.\n+BasinThrowing.remove(IItemStack input, ILiquidStack inputFluid);\n+\n+BasinThrowing.remove(<item:minecraft:dirt>, <liquid:water> * 1000);\n+\n+// Remove by identifier.\n+BasinThrowing.remove(String id);\n+\n+BasinThrowing.remove(\"recipe_name\");\n+\n+// Remove everything!\n+BasinThrowing.removeAll();\n+```\n" }, { "change_type": "ADD", "old_path": null, "new_path": "docs/Mods/Cuisine/Vessel.md", "diff": "+# Vessel\n+\n+## Addition\n+\n+```zenscript\n+import mods.cuisine.Vessel;\n+\n+// All parameter named 'extra' refers to the extra input.\n+Vessel.add(IItemStack input, ILiquidStack inputFluid, IItemStack output, ILiquidStack outputFluid, IItemStack extra);\n+Vessel.add(IItemStack input, ILiquidStack inputFluid, IItemStack output, ILiquidStack outputFluid, IOreDictEntry extra);\n+Vessel.add(IOreDictEntry input, ILiquidStack inputFluid, IItemStack output, ILiquidStack outputFluid, IItemStack extra);\n+Vessel.add(IOreDictEntry input, ILiquidStack inputFluid, IItemStack output, ILiquidStack outputFluid, IOreEntry extra);\n+Vessel.add(IItemStack input, ILiquidStack inputFluid, IItemStack output, ILiquidStack outputFluid);\n+Vessel.add(IOreEntry input, ILiquidStack inputFluid, IItemStack output, ILiquidStack outputFluid);\n+\n+Vessel.add(<item:minecraft:dirt>, <liquid:water> * 1000, <item:minecraft:diamond>, null);\n+```\n+\n+## Removal\n+\n+```zenscript\n+import mods.cuisine.Vessel;\n+\n+// Remove by inputs.\n+Vessel.remove(IItemStack input, ILiquidStack inputFluid, IItemStack extra);\n+Vessel.remove(IItemStack input, ILiquidStack inputFluid, IOreDictEntry extra);\n+Vessel.remove(IOreDictEntry input, ILiquidStack inputFluid, IItemStack extra);\n+Vessel.remove(IOreDictEntry input, ILiquidStack inputFluid, IOreDictEntry extra);\n+Vessel.remove(IItemStack input, ILiquidStack inputFluid);\n+Vessel.remove(IOreDictEntry input, ILiquidStack inputFluid);\n+\n+// Remove by identifier.\n+Vessel.remove();\n+\n+Vessel.remove(\"recipe_name\");\n+\n+// Remove everything!\n+Vessel.removeAll();\n+```\n" }, { "change_type": "MODIFY", "old_path": "mkdocs.yml", "new_path": "mkdocs.yml", "diff": "@@ -415,6 +415,15 @@ pages:\n- Trait: 'Mods/ContentTweaker/Tinkers_Construct/Trait.md'\n- Trait Builder: 'Mods/ContentTweaker/Tinkers_Construct/TraitBuilder.md'\n- Trait Data Representation: 'Mods/ContentTweaker/Tinkers_Construct/TraitDataRepresentation.md'\n+ - Cuisine:\n+ - Cuisine: 'Mods/Cuisine/Cuisine.md'\n+ - Axe Chopping: 'Mods/Cuisine/AxeChopping.md'\n+ - Basin Heating: 'Mods/Cuisine/Heating.md'\n+ - Basin Squeezing: 'Mods/Cuisine/Squeezing.md'\n+ - Basin Throwing: 'Mods/Cuisine/Throw.md'\n+ - Mill: 'Mods/Cuisine/Mill.md'\n+ - Mortar: 'Mods/Cuisine/Mortar.md'\n+ - Vessel: 'Mods/Cuisine/Vessel.md'\n- Enchanting Plus:\n- Functions: 'Mods/EnchantingPlus/EnchantingPlus.md'\n- Ender Tweaker:\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Document built-in CT support from the Cuisine mod
139,079
12.09.2019 17:14:19
-7,200
4c99c2097c5a1f29dba002a0650dd22b1e8d4709
documented CommandEvent
[ { "change_type": "MODIFY", "old_path": "docs/Mods/ContentTweaker/Vanilla/Advanced_Functionality/Commands.md", "new_path": "docs/Mods/ContentTweaker/Vanilla/Advanced_Functionality/Commands.md", "diff": "# Commands\nYou can use this class to send a command, you cannot use this class to create new commands!\n+Look at [CommandEvent](/Vanilla/Events/Events/CommandEvent/) to add new commands.\n+You can also use a [ICommandManager](/Vanilla/Commands/ICommandManager/).\n## Importing the package\nIt might be required for you to import the package if you encounter any issues, so better be safe than sorry and add the import.\n" }, { "change_type": "MODIFY", "old_path": "docs/Vanilla/Commands/ICommandManager.md", "new_path": "docs/Vanilla/Commands/ICommandManager.md", "diff": "@@ -18,3 +18,6 @@ It might be required for you to import the package if you encounter any issues (\n- int executeCommand([ICommandSender](/Vanilla/Commands/ICommandSender/) sender, String rawCommand);\n- List<String\\> getTabCompletions([ICommandSender](/Vanilla/Commands/ICommandSender/) sender, String input, @Optional [IBlockPos](/Vanilla/World/IBlockPos/) pos);\n- List<[ICommand](/Vanilla/Commands/ICommand/)\\> getPossibleCommands([ICommandSender](/Vanilla/Commands/ICommandSender/) sender);\n+\n+## Additional Info\n+To add your own command, look at [CommandEvent](/Vanilla/Events/Events/CommandEvent/)\n\\ No newline at end of file\n" }, { "change_type": "ADD", "old_path": null, "new_path": "docs/Vanilla/Events/Events/CommandEvent.md", "diff": "+# CommandEvent\n+\n+The Command Event is fired whenever a command is executed.\n+You can react to the command by providing a command handler. See [Crafttweaker examples](https://github.com/CraftTweaker/CraftTweaker-Examples/blob/master/crafttweaker/events/commandEvent/SendMessageOnSyntaxCommand/SendMessageOnSyntaxCommand.zs) for an example.\n+\n+## Event Class\n+You will need to cast the event in the function header as this class:\n+` crafttweaker.event.CommandEvent`. It is advised to [import](/AdvancedFunctions/Import/) the class\n+```\n+import crafttweaker.event.CommandEvent;\n+```\n+\n+## Event interface extensions\n+Command event implements the following interfaces:\n+\n+- [IEventCancelable](/Vanilla/Events/Events/IEventCancelable/)\n+\n+## ZenGetters/ZenSetters\n+The following information ca be retrieved/set during the event:\n+\n+| ZenGetter | ZenSetter | Type |\n+|-----------------|-----------------|------------|\n+| `commandSender` | no | [ICommandSender](/Vanilla/Commands/ICommandSender/) |\n+| `command` | no | [ICommand](/Vanilla/Commands/ICommand/) |\n+| `parameters` | `parameters` | string array |\n" }, { "change_type": "MODIFY", "old_path": "docs/Vanilla/Events/IEventManager.md", "new_path": "docs/Vanilla/Events/IEventManager.md", "diff": "@@ -37,6 +37,7 @@ The ZenMethods would be what you'll need to call on `events`, the Event Class wo\n| onBlockBreak | [`crafttweaker.event.BlockBreak`](/Vanilla/Events/Events/BlockBreak/) |\n| onBlockHarvestDrops | [`crafttweaker.event.BlockHarvestDrops`](/Vanilla/Events/Events/BlockHarvestDrops/) |\n| onCheckSpawn | [`crafttweaker.event.EntityLivingExtendedSpawnEvent`](/Vanilla/Events/Events/EntityLivingSpawn/) |\n+| onCommand | [`crafttweaker.event.CommandEvent`](/Vanilla/Events/Events/CommandEvent/) |\n| onEnderTeleport | [`crafttweaker.event.EnderTeleportEvent`](/Vanilla/Events/Events/EnderTeleport/) |\n| onEntityLivingAttacked | [`crafttweaker.event.EntityLivingAttackedEvent`](/Vanilla/Events/Events/EntityLivingAttacked/) |\n| onEntityLivingDeath | [`crafttweaker.event.EntityLivingDeathEvent`](/Vanilla/Events/Events/EntityLivingDeath/) |\n" }, { "change_type": "MODIFY", "old_path": "mkdocs.yml", "new_path": "mkdocs.yml", "diff": "@@ -102,6 +102,7 @@ pages:\n#Actual Events below here\n- BlockBreakEvent: 'Vanilla/Events/Events/BlockBreak.md'\n- BlockHarvestDropsEvent: 'Vanilla/Events/Events/BlockHarvestDrops.md'\n+ - CommandEvent: 'Vanilla/Events/Events/CommandEvent.md'\n- EnderTeleportEvent: 'Vanilla/Events/Events/EnderTeleport.md'\n- EntityLivingAttackedEvent: 'Vanilla/Events/Events/EntityLivingAttacked.md'\n- EntityLivingDeathDropsEvent: 'Vanilla/Events/Events/EntityLivingDeathDrops.md'\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
documented CommandEvent
139,040
19.01.2020 23:08:03
-3,600
cf75f38f55f4e8cabaed21b14e498b679e028a45
New translations MCAnvilRepairEvent.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/event/entity/player/MCAnvilRepairEvent.md", "diff": "+# MCAnvilRepairEvent\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.event.entity.player.MCAnvilRepairEvent\n+```\n+\n+## Constructors\n+```zenscript\n+new crafttweaker.api.event.entity.player.MCAnvilRepairEvent(handler as function.Consumer<crafttweaker.api.event.entity.player.MCAnvilRepairEvent>);\n+```\n+| Parameter | Type | Beschreibung |\n+| --------- | --------------------------------------------------------------------------------------------------------------------------------- | ----------------------- |\n+| handler | function.Consumer<[crafttweaker.api.event.entity.player.MCAnvilRepairEvent](/vanilla/api/event/entity/player/MCAnvilRepairEvent)> | No description provided |\n+\n+\n+\n+## Methoden\n+### getBreakChance\n+\n+Returns float\n+\n+```zenscript\n+myMCAnvilRepairEvent.getBreakChance();\n+```\n+\n+### getEntityPlayer\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCAnvilRepairEvent.getEntityPlayer();\n+```\n+\n+### getIngredientInput\n+\n+Get the second item input into the anvil Returns: `the second input slot`\n+\n+Returns [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack)\n+\n+```zenscript\n+myMCAnvilRepairEvent.getIngredientInput();\n+```\n+\n+### getItemInput\n+\n+Get the first item input into the anvil Returns: `the first input slot`\n+\n+Returns [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack)\n+\n+```zenscript\n+myMCAnvilRepairEvent.getItemInput();\n+```\n+\n+### getItemResult\n+\n+Get the output result from the anvil Returns: `the output`\n+\n+Returns [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack)\n+\n+```zenscript\n+myMCAnvilRepairEvent.getItemResult();\n+```\n+\n+### getPlayer\n+\n+Returns: `Player`\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCAnvilRepairEvent.getPlayer();\n+```\n+\n+### hasResult\n+\n+Determines if this event expects a significant result value. Note: Events with the HasResult annotation will have this method automatically added to return true.\n+\n+Returns boolean\n+\n+```zenscript\n+myMCAnvilRepairEvent.hasResult();\n+```\n+\n+### isCancelable\n+\n+Determine if this function is cancelable at all. Returns: `If access to setCanceled should be allowed\n+ Note:\n+ Events with the Cancelable annotation will have this method automatically added to return true.`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCAnvilRepairEvent.isCancelable();\n+```\n+\n+### isCanceled\n+\n+Determine if this event is canceled and should stop executing. Returns: `The current canceled state`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCAnvilRepairEvent.isCanceled();\n+```\n+\n+### setBreakChance\n+\n+```zenscript\n+myMCAnvilRepairEvent.setBreakChance(breakChance as float);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| ----------- | ----- | ----------------------- |\n+| breakChance | float | No description provided |\n+\n+\n+### setCanceled\n+\n+```zenscript\n+myMCAnvilRepairEvent.setCanceled(cancel as boolean);\n+```\n+\n+| Parameter | Type | Description |\n+| --------- | ------- | ----------------------- |\n+| cancel | boolean | No description provided |\n+\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations MCAnvilRepairEvent.md (German) [ci skip]
139,040
19.01.2020 23:08:04
-3,600
0698080cb523116d9be39f6d3100ff92931bba38
New translations MCEntityItemPickupEvent.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/event/entity/player/MCEntityItemPickupEvent.md", "diff": "+# MCEntityItemPickupEvent\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.event.entity.player.MCEntityItemPickupEvent\n+```\n+\n+## Constructors\n+```zenscript\n+new crafttweaker.api.event.entity.player.MCEntityItemPickupEvent(handler as function.Consumer<crafttweaker.api.event.entity.player.MCEntityItemPickupEvent>);\n+```\n+| Parameter | Type | Beschreibung |\n+| --------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------- |\n+| handler | function.Consumer<[crafttweaker.api.event.entity.player.MCEntityItemPickupEvent](/vanilla/api/event/entity/player/MCEntityItemPickupEvent)> | No description provided |\n+\n+\n+\n+## Methoden\n+### getEntityPlayer\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCEntityItemPickupEvent.getEntityPlayer();\n+```\n+\n+### getPlayer\n+\n+Returns: `Player`\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCEntityItemPickupEvent.getPlayer();\n+```\n+\n+### hasResult\n+\n+Determines if this event expects a significant result value. Note: Events with the HasResult annotation will have this method automatically added to return true.\n+\n+Returns boolean\n+\n+```zenscript\n+myMCEntityItemPickupEvent.hasResult();\n+```\n+\n+### isCancelable\n+\n+Determine if this function is cancelable at all. Returns: `If access to setCanceled should be allowed\n+ Note:\n+ Events with the Cancelable annotation will have this method automatically added to return true.`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCEntityItemPickupEvent.isCancelable();\n+```\n+\n+### isCanceled\n+\n+Determine if this event is canceled and should stop executing. Returns: `The current canceled state`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCEntityItemPickupEvent.isCanceled();\n+```\n+\n+### setCanceled\n+\n+```zenscript\n+myMCEntityItemPickupEvent.setCanceled(cancel as boolean);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------- | ----------------------- |\n+| cancel | boolean | No description provided |\n+\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations MCEntityItemPickupEvent.md (German) [ci skip]
139,040
19.01.2020 23:08:06
-3,600
fcc8f6e031fec57fc2951983a271411b386813b7
New translations MCCriticalHitEvent.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/event/entity/player/MCCriticalHitEvent.md", "diff": "+# MCCriticalHitEvent\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.event.entity.player.MCCriticalHitEvent\n+```\n+\n+## Constructors\n+```zenscript\n+new crafttweaker.api.event.entity.player.MCCriticalHitEvent(handler as function.Consumer<crafttweaker.api.event.entity.player.MCCriticalHitEvent>);\n+```\n+| Parameter | Type | Beschreibung |\n+| --------- | --------------------------------------------------------------------------------------------------------------------------------- | ----------------------- |\n+| handler | function.Consumer<[crafttweaker.api.event.entity.player.MCCriticalHitEvent](/vanilla/api/event/entity/player/MCCriticalHitEvent)> | No description provided |\n+\n+\n+\n+## Methoden\n+### getDamageModifier\n+\n+The damage modifier for the hit.<br> This is by default 1.5F for ciritcal hits and 1F for normal hits .\n+\n+Returns float\n+\n+```zenscript\n+myMCCriticalHitEvent.getDamageModifier();\n+```\n+\n+### getEntityPlayer\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCCriticalHitEvent.getEntityPlayer();\n+```\n+\n+### getOldDamageModifier\n+\n+The orignal damage modifier for the hit wthout any changes.<br> This is 1.5F for ciritcal hits and 1F for normal hits .\n+\n+Returns float\n+\n+```zenscript\n+myMCCriticalHitEvent.getOldDamageModifier();\n+```\n+\n+### getPlayer\n+\n+Returns: `Player`\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCCriticalHitEvent.getPlayer();\n+```\n+\n+### hasResult\n+\n+Determines if this event expects a significant result value. Note: Events with the HasResult annotation will have this method automatically added to return true.\n+\n+Returns boolean\n+\n+```zenscript\n+myMCCriticalHitEvent.hasResult();\n+```\n+\n+### isCancelable\n+\n+Determine if this function is cancelable at all. Returns: `If access to setCanceled should be allowed\n+ Note:\n+ Events with the Cancelable annotation will have this method automatically added to return true.`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCCriticalHitEvent.isCancelable();\n+```\n+\n+### isCanceled\n+\n+Determine if this event is canceled and should stop executing. Returns: `The current canceled state`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCCriticalHitEvent.isCanceled();\n+```\n+\n+### isVanillaCritical\n+\n+Returns true if this hit was critical by vanilla\n+\n+Returns boolean\n+\n+```zenscript\n+myMCCriticalHitEvent.isVanillaCritical();\n+```\n+\n+### setCanceled\n+\n+```zenscript\n+myMCCriticalHitEvent.setCanceled(cancel as boolean);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------- | ----------------------- |\n+| cancel | boolean | No description provided |\n+\n+\n+### setDamageModifier\n+\n+This set the damage multiplier for the hit. If you set it to 0, then the particles are still generated but damage is not done.\n+\n+```zenscript\n+myMCCriticalHitEvent.setDamageModifier(mod as float);\n+```\n+\n+| Parameter | Type | Description |\n+| --------- | ----- | ----------------------- |\n+| mod | float | No description provided |\n+\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations MCCriticalHitEvent.md (German) [ci skip]
139,040
19.01.2020 23:08:07
-3,600
befc56d0854d8c3923dadf93bc49b7e283cc9c82
New translations MCBonemealEvent.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/event/entity/player/MCBonemealEvent.md", "diff": "+# MCBonemealEvent\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.event.entity.player.MCBonemealEvent\n+```\n+\n+## Constructors\n+```zenscript\n+new crafttweaker.api.event.entity.player.MCBonemealEvent(handler as function.Consumer<crafttweaker.api.event.entity.player.MCBonemealEvent>);\n+```\n+| Parameter | Type | Beschreibung |\n+| --------- | --------------------------------------------------------------------------------------------------------------------------- | ----------------------- |\n+| handler | function.Consumer<[crafttweaker.api.event.entity.player.MCBonemealEvent](/vanilla/api/event/entity/player/MCBonemealEvent)> | No description provided |\n+\n+\n+\n+## Methoden\n+### getBlock\n+\n+Returns [crafttweaker.api.block.MCBlockState](/vanilla/api/blocks/MCBlockState)\n+\n+```zenscript\n+myMCBonemealEvent.getBlock();\n+```\n+\n+### getEntityPlayer\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCBonemealEvent.getEntityPlayer();\n+```\n+\n+### getPlayer\n+\n+Returns: `Player`\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCBonemealEvent.getPlayer();\n+```\n+\n+### getPos\n+\n+Returns [crafttweaker.api.util.BlockPos](/vanilla/api/util/BlockPos)\n+\n+```zenscript\n+myMCBonemealEvent.getPos();\n+```\n+\n+### getStack\n+\n+Returns [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack)\n+\n+```zenscript\n+myMCBonemealEvent.getStack();\n+```\n+\n+### hasResult\n+\n+Determines if this event expects a significant result value. Note: Events with the HasResult annotation will have this method automatically added to return true.\n+\n+Returns boolean\n+\n+```zenscript\n+myMCBonemealEvent.hasResult();\n+```\n+\n+### isCancelable\n+\n+Determine if this function is cancelable at all. Returns: `If access to setCanceled should be allowed\n+ Note:\n+ Events with the Cancelable annotation will have this method automatically added to return true.`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCBonemealEvent.isCancelable();\n+```\n+\n+### isCanceled\n+\n+Determine if this event is canceled and should stop executing. Returns: `The current canceled state`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCBonemealEvent.isCanceled();\n+```\n+\n+### setCanceled\n+\n+```zenscript\n+myMCBonemealEvent.setCanceled(cancel as boolean);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------- | ----------------------- |\n+| cancel | boolean | No description provided |\n+\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations MCBonemealEvent.md (German) [ci skip]
139,040
19.01.2020 23:08:09
-3,600
bbc2083d3736803c6e282c50e20036b6c19e3990
New translations MCAttackEntityEvent.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/event/entity/player/MCAttackEntityEvent.md", "diff": "+# MCAttackEntityEvent\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.event.entity.player.MCAttackEntityEvent\n+```\n+\n+## Constructors\n+```zenscript\n+new crafttweaker.api.event.entity.player.MCAttackEntityEvent(handler as function.Consumer<crafttweaker.api.event.entity.player.MCAttackEntityEvent>);\n+```\n+| Parameter | Type | Beschreibung |\n+| --------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------- |\n+| handler | function.Consumer<[crafttweaker.api.event.entity.player.MCAttackEntityEvent](/vanilla/api/event/entity/player/MCAttackEntityEvent)> | No description provided |\n+\n+\n+\n+## Methoden\n+### getEntityPlayer\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCAttackEntityEvent.getEntityPlayer();\n+```\n+\n+### getPlayer\n+\n+Returns: `Player`\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCAttackEntityEvent.getPlayer();\n+```\n+\n+### hasResult\n+\n+Determines if this event expects a significant result value. Note: Events with the HasResult annotation will have this method automatically added to return true.\n+\n+Returns boolean\n+\n+```zenscript\n+myMCAttackEntityEvent.hasResult();\n+```\n+\n+### isCancelable\n+\n+Determine if this function is cancelable at all. Returns: `If access to setCanceled should be allowed\n+ Note:\n+ Events with the Cancelable annotation will have this method automatically added to return true.`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCAttackEntityEvent.isCancelable();\n+```\n+\n+### isCanceled\n+\n+Determine if this event is canceled and should stop executing. Returns: `The current canceled state`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCAttackEntityEvent.isCanceled();\n+```\n+\n+### setCanceled\n+\n+```zenscript\n+myMCAttackEntityEvent.setCanceled(cancel as boolean);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------- | ----------------------- |\n+| cancel | boolean | No description provided |\n+\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations MCAttackEntityEvent.md (German) [ci skip]
139,040
19.01.2020 23:08:10
-3,600
87436f4967e1dde193709e7aa4ff67b3683ce446
New translations MCArrowNockEvent.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/event/entity/player/MCArrowNockEvent.md", "diff": "+# MCArrowNockEvent\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.event.entity.player.MCArrowNockEvent\n+```\n+\n+## Constructors\n+```zenscript\n+new crafttweaker.api.event.entity.player.MCArrowNockEvent(handler as function.Consumer<crafttweaker.api.event.entity.player.MCArrowNockEvent>);\n+```\n+| Parameter | Type | Beschreibung |\n+| --------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------- |\n+| handler | function.Consumer<[crafttweaker.api.event.entity.player.MCArrowNockEvent](/vanilla/api/event/entity/player/MCArrowNockEvent)> | No description provided |\n+\n+\n+\n+## Methoden\n+### getBow\n+\n+Returns [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack)\n+\n+```zenscript\n+myMCArrowNockEvent.getBow();\n+```\n+\n+### getEntityPlayer\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCArrowNockEvent.getEntityPlayer();\n+```\n+\n+### getPlayer\n+\n+Returns: `Player`\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCArrowNockEvent.getPlayer();\n+```\n+\n+### hasAmmo\n+\n+Returns boolean\n+\n+```zenscript\n+myMCArrowNockEvent.hasAmmo();\n+```\n+\n+### hasResult\n+\n+Determines if this event expects a significant result value. Note: Events with the HasResult annotation will have this method automatically added to return true.\n+\n+Returns boolean\n+\n+```zenscript\n+myMCArrowNockEvent.hasResult();\n+```\n+\n+### isCancelable\n+\n+Determine if this function is cancelable at all. Returns: `If access to setCanceled should be allowed\n+ Note:\n+ Events with the Cancelable annotation will have this method automatically added to return true.`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCArrowNockEvent.isCancelable();\n+```\n+\n+### isCanceled\n+\n+Determine if this event is canceled and should stop executing. Returns: `The current canceled state`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCArrowNockEvent.isCanceled();\n+```\n+\n+### setCanceled\n+\n+```zenscript\n+myMCArrowNockEvent.setCanceled(cancel as boolean);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------- | ----------------------- |\n+| cancel | boolean | No description provided |\n+\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations MCArrowNockEvent.md (German) [ci skip]
139,040
19.01.2020 23:08:11
-3,600
5be9421a73f3af67a0c3259225c26f35bab80b08
New translations MCArrowLooseEvent.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/event/entity/player/MCArrowLooseEvent.md", "diff": "+# MCArrowLooseEvent\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.event.entity.player.MCArrowLooseEvent\n+```\n+\n+## Constructors\n+```zenscript\n+new crafttweaker.api.event.entity.player.MCArrowLooseEvent(handler as function.Consumer<crafttweaker.api.event.entity.player.MCArrowLooseEvent>);\n+```\n+| Parameter | Type | Beschreibung |\n+| --------- | ------------------------------------------------------------------------------------------------------------------------------- | ----------------------- |\n+| handler | function.Consumer<[crafttweaker.api.event.entity.player.MCArrowLooseEvent](/vanilla/api/event/entity/player/MCArrowLooseEvent)> | No description provided |\n+\n+\n+\n+## Methoden\n+### getBow\n+\n+Returns [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack)\n+\n+```zenscript\n+myMCArrowLooseEvent.getBow();\n+```\n+\n+### getCharge\n+\n+Returns int\n+\n+```zenscript\n+myMCArrowLooseEvent.getCharge();\n+```\n+\n+### getEntityPlayer\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCArrowLooseEvent.getEntityPlayer();\n+```\n+\n+### getPlayer\n+\n+Returns: `Player`\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCArrowLooseEvent.getPlayer();\n+```\n+\n+### hasAmmo\n+\n+Returns boolean\n+\n+```zenscript\n+myMCArrowLooseEvent.hasAmmo();\n+```\n+\n+### hasResult\n+\n+Determines if this event expects a significant result value. Note: Events with the HasResult annotation will have this method automatically added to return true.\n+\n+Returns boolean\n+\n+```zenscript\n+myMCArrowLooseEvent.hasResult();\n+```\n+\n+### isCancelable\n+\n+Determine if this function is cancelable at all. Returns: `If access to setCanceled should be allowed\n+ Note:\n+ Events with the Cancelable annotation will have this method automatically added to return true.`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCArrowLooseEvent.isCancelable();\n+```\n+\n+### isCanceled\n+\n+Determine if this event is canceled and should stop executing. Returns: `The current canceled state`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCArrowLooseEvent.isCanceled();\n+```\n+\n+### setCanceled\n+\n+```zenscript\n+myMCArrowLooseEvent.setCanceled(cancel as boolean);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------- | ----------------------- |\n+| cancel | boolean | No description provided |\n+\n+\n+### setCharge\n+\n+```zenscript\n+myMCArrowLooseEvent.setCharge(charge as int);\n+```\n+\n+| Parameter | Type | Description |\n+| --------- | ---- | ----------------------- |\n+| charge | int | No description provided |\n+\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations MCArrowLooseEvent.md (German) [ci skip]
139,040
19.01.2020 23:08:13
-3,600
3aaa6cdcf66c5b2df791733ab4b0c29395aa5a54
New translations MCAdvancementEvent.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/event/entity/player/MCAdvancementEvent.md", "diff": "+# MCAdvancementEvent\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.event.entity.player.MCAdvancementEvent\n+```\n+\n+## Constructors\n+```zenscript\n+new crafttweaker.api.event.entity.player.MCAdvancementEvent(handler as function.Consumer<crafttweaker.api.event.entity.player.MCAdvancementEvent>);\n+```\n+| Parameter | Type | Beschreibung |\n+| --------- | --------------------------------------------------------------------------------------------------------------------------------- | ----------------------- |\n+| handler | function.Consumer<[crafttweaker.api.event.entity.player.MCAdvancementEvent](/vanilla/api/event/entity/player/MCAdvancementEvent)> | No description provided |\n+\n+\n+\n+## Methoden\n+### getEntityPlayer\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCAdvancementEvent.getEntityPlayer();\n+```\n+\n+### getPlayer\n+\n+Returns: `Player`\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCAdvancementEvent.getPlayer();\n+```\n+\n+### hasResult\n+\n+Determines if this event expects a significant result value. Note: Events with the HasResult annotation will have this method automatically added to return true.\n+\n+Returns boolean\n+\n+```zenscript\n+myMCAdvancementEvent.hasResult();\n+```\n+\n+### isCancelable\n+\n+Determine if this function is cancelable at all. Returns: `If access to setCanceled should be allowed\n+ Note:\n+ Events with the Cancelable annotation will have this method automatically added to return true.`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCAdvancementEvent.isCancelable();\n+```\n+\n+### isCanceled\n+\n+Determine if this event is canceled and should stop executing. Returns: `The current canceled state`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCAdvancementEvent.isCanceled();\n+```\n+\n+### setCanceled\n+\n+```zenscript\n+myMCAdvancementEvent.setCanceled(cancel as boolean);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------- | ----------------------- |\n+| cancel | boolean | No description provided |\n+\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations MCAdvancementEvent.md (German) [ci skip]
139,040
19.01.2020 23:08:14
-3,600
0574e589555a450b758c701d8aaaba1bf9aba204
New translations MCItemFishedEvent.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/event/entity/player/MCItemFishedEvent.md", "diff": "+# MCItemFishedEvent\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.event.entity.player.MCItemFishedEvent\n+```\n+\n+## Constructors\n+```zenscript\n+new crafttweaker.api.event.entity.player.MCItemFishedEvent(handler as function.Consumer<crafttweaker.api.event.entity.player.MCItemFishedEvent>);\n+```\n+| Parameter | Type | Beschreibung |\n+| --------- | ------------------------------------------------------------------------------------------------------------------------------- | ----------------------- |\n+| handler | function.Consumer<[crafttweaker.api.event.entity.player.MCItemFishedEvent](/vanilla/api/event/entity/player/MCItemFishedEvent)> | No description provided |\n+\n+\n+\n+## Methoden\n+### damageRodBy\n+\n+```zenscript\n+myMCItemFishedEvent.damageRodBy(arg0 as int);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ---- | ----------------------- |\n+| arg0 | int | No description provided |\n+\n+\n+### getEntityPlayer\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCItemFishedEvent.getEntityPlayer();\n+```\n+\n+### getPlayer\n+\n+Returns: `Player`\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCItemFishedEvent.getPlayer();\n+```\n+\n+### getRodDamage\n+\n+Get the damage the rod will take. Returns: `The damage the rod will take`\n+\n+Returns int\n+\n+```zenscript\n+myMCItemFishedEvent.getRodDamage();\n+```\n+\n+### hasResult\n+\n+Determines if this event expects a significant result value. Note: Events with the HasResult annotation will have this method automatically added to return true.\n+\n+Returns boolean\n+\n+```zenscript\n+myMCItemFishedEvent.hasResult();\n+```\n+\n+### isCancelable\n+\n+Determine if this function is cancelable at all. Returns: `If access to setCanceled should be allowed\n+ Note:\n+ Events with the Cancelable annotation will have this method automatically added to return true.`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCItemFishedEvent.isCancelable();\n+```\n+\n+### isCanceled\n+\n+Determine if this event is canceled and should stop executing. Returns: `The current canceled state`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCItemFishedEvent.isCanceled();\n+```\n+\n+### setCanceled\n+\n+```zenscript\n+myMCItemFishedEvent.setCanceled(cancel as boolean);\n+```\n+\n+| Parameter | Type | Description |\n+| --------- | ------- | ----------------------- |\n+| cancel | boolean | No description provided |\n+\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations MCItemFishedEvent.md (German) [ci skip]
139,040
19.01.2020 23:08:15
-3,600
720ff65a975963f16fb6761465c88ae22e65b1de
New translations MCXpChange.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/event/entity/player/PlayerXpEvent/MCXpChange.md", "diff": "+# MCXpChange\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.event.entity.player.PlayerXpEvent.MCXpChange\n+```\n+\n+## Constructors\n+```zenscript\n+new crafttweaker.api.event.entity.player.PlayerXpEvent.MCXpChange(handler as function.Consumer<crafttweaker.api.event.entity.player.PlayerXpEvent.MCXpChange>);\n+```\n+| Parameter | Type | Beschreibung |\n+| --------- | --------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------- |\n+| handler | function.Consumer<[crafttweaker.api.event.entity.player.PlayerXpEvent.MCXpChange](/vanilla/api/event/entity/player/PlayerXpEvent/MCXpChange)> | No description provided |\n+\n+\n+\n+## Methoden\n+### getAmount\n+\n+Returns int\n+\n+```zenscript\n+myMCXpChange.getAmount();\n+```\n+\n+### getEntityPlayer\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCXpChange.getEntityPlayer();\n+```\n+\n+### getPlayer\n+\n+Returns: `Player`\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCXpChange.getPlayer();\n+```\n+\n+### hasResult\n+\n+Determines if this event expects a significant result value. Note: Events with the HasResult annotation will have this method automatically added to return true.\n+\n+Returns boolean\n+\n+```zenscript\n+myMCXpChange.hasResult();\n+```\n+\n+### isCancelable\n+\n+Determine if this function is cancelable at all. Returns: `If access to setCanceled should be allowed\n+ Note:\n+ Events with the Cancelable annotation will have this method automatically added to return true.`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCXpChange.isCancelable();\n+```\n+\n+### isCanceled\n+\n+Determine if this event is canceled and should stop executing. Returns: `The current canceled state`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCXpChange.isCanceled();\n+```\n+\n+### setAmount\n+\n+```zenscript\n+myMCXpChange.setAmount(amount as int);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ---- | ----------------------- |\n+| amount | int | No description provided |\n+\n+\n+### setCanceled\n+\n+```zenscript\n+myMCXpChange.setCanceled(cancel as boolean);\n+```\n+\n+| Parameter | Type | Description |\n+| --------- | ------- | ----------------------- |\n+| cancel | boolean | No description provided |\n+\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations MCXpChange.md (German) [ci skip]
139,040
19.01.2020 23:08:17
-3,600
1cb5e73bd1d25dfeb709a626edca209cd7a05637
New translations MCPickupXp.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/event/entity/player/PlayerXpEvent/MCPickupXp.md", "diff": "+# MCPickupXp\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.event.entity.player.PlayerXpEvent.MCPickupXp\n+```\n+\n+## Constructors\n+```zenscript\n+new crafttweaker.api.event.entity.player.PlayerXpEvent.MCPickupXp(handler as function.Consumer<crafttweaker.api.event.entity.player.PlayerXpEvent.MCPickupXp>);\n+```\n+| Parameter | Type | Beschreibung |\n+| --------- | --------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------- |\n+| handler | function.Consumer<[crafttweaker.api.event.entity.player.PlayerXpEvent.MCPickupXp](/vanilla/api/event/entity/player/PlayerXpEvent/MCPickupXp)> | No description provided |\n+\n+\n+\n+## Methoden\n+### getEntityPlayer\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCPickupXp.getEntityPlayer();\n+```\n+\n+### getPlayer\n+\n+Returns: `Player`\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCPickupXp.getPlayer();\n+```\n+\n+### hasResult\n+\n+Determines if this event expects a significant result value. Note: Events with the HasResult annotation will have this method automatically added to return true.\n+\n+Returns boolean\n+\n+```zenscript\n+myMCPickupXp.hasResult();\n+```\n+\n+### isCancelable\n+\n+Determine if this function is cancelable at all. Returns: `If access to setCanceled should be allowed\n+ Note:\n+ Events with the Cancelable annotation will have this method automatically added to return true.`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCPickupXp.isCancelable();\n+```\n+\n+### isCanceled\n+\n+Determine if this event is canceled and should stop executing. Returns: `The current canceled state`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCPickupXp.isCanceled();\n+```\n+\n+### setCanceled\n+\n+```zenscript\n+myMCPickupXp.setCanceled(cancel as boolean);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------- | ----------------------- |\n+| cancel | boolean | No description provided |\n+\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations MCPickupXp.md (German) [ci skip]
139,040
19.01.2020 23:08:18
-3,600
548aaa38c9b61ce9cb588da4bacc723760b953b7
New translations MCLevelChange.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/event/entity/player/PlayerXpEvent/MCLevelChange.md", "diff": "+# MCLevelChange\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.event.entity.player.PlayerXpEvent.MCLevelChange\n+```\n+\n+## Constructors\n+```zenscript\n+new crafttweaker.api.event.entity.player.PlayerXpEvent.MCLevelChange(handler as function.Consumer<crafttweaker.api.event.entity.player.PlayerXpEvent.MCLevelChange>);\n+```\n+| Parameter | Type | Beschreibung |\n+| --------- | --------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------- |\n+| handler | function.Consumer<[crafttweaker.api.event.entity.player.PlayerXpEvent.MCLevelChange](/vanilla/api/event/entity/player/PlayerXpEvent/MCLevelChange)> | No description provided |\n+\n+\n+\n+## Methoden\n+### getEntityPlayer\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCLevelChange.getEntityPlayer();\n+```\n+\n+### getLevels\n+\n+Returns int\n+\n+```zenscript\n+myMCLevelChange.getLevels();\n+```\n+\n+### getPlayer\n+\n+Returns: `Player`\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCLevelChange.getPlayer();\n+```\n+\n+### hasResult\n+\n+Determines if this event expects a significant result value. Note: Events with the HasResult annotation will have this method automatically added to return true.\n+\n+Returns boolean\n+\n+```zenscript\n+myMCLevelChange.hasResult();\n+```\n+\n+### isCancelable\n+\n+Determine if this function is cancelable at all. Returns: `If access to setCanceled should be allowed\n+ Note:\n+ Events with the Cancelable annotation will have this method automatically added to return true.`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCLevelChange.isCancelable();\n+```\n+\n+### isCanceled\n+\n+Determine if this event is canceled and should stop executing. Returns: `The current canceled state`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCLevelChange.isCanceled();\n+```\n+\n+### setCanceled\n+\n+```zenscript\n+myMCLevelChange.setCanceled(cancel as boolean);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------- | ----------------------- |\n+| cancel | boolean | No description provided |\n+\n+\n+### setLevels\n+\n+```zenscript\n+myMCLevelChange.setLevels(levels as int);\n+```\n+\n+| Parameter | Type | Description |\n+| --------- | ---- | ----------------------- |\n+| levels | int | No description provided |\n+\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations MCLevelChange.md (German) [ci skip]
139,040
19.01.2020 23:08:19
-3,600
47c08646859d2e86fdf42d1fc7ea1710294b8699
New translations MCRightClickItem.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/event/entity/player/PlayerInteractEvent/MCRightClickItem.md", "diff": "+# MCRightClickItem\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.event.entity.player.PlayerInteractEvent.MCRightClickItem\n+```\n+\n+## Constructors\n+```zenscript\n+new crafttweaker.api.event.entity.player.PlayerInteractEvent.MCRightClickItem(handler as function.Consumer<crafttweaker.api.event.entity.player.PlayerInteractEvent.MCRightClickItem>);\n+```\n+| Parameter | Type | Beschreibung |\n+| --------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------- |\n+| handler | function.Consumer<[crafttweaker.api.event.entity.player.PlayerInteractEvent.MCRightClickItem](/vanilla/api/event/entity/player/PlayerInteractEvent/MCRightClickItem)> | No description provided |\n+\n+\n+\n+## Methoden\n+### getEntityPlayer\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCRightClickItem.getEntityPlayer();\n+```\n+\n+### getFace\n+\n+Returns: `The face involved in this interaction. For all non-block interactions, this will return null.`\n+\n+Returns [crafttweaker.api.util.Direction](/vanilla/api/util/Direction)\n+\n+```zenscript\n+myMCRightClickItem.getFace();\n+```\n+\n+### getItemStack\n+\n+Returns: `The itemstack involved in this interaction, {` @code ItemStack.EMPTY} if the hand was empty.\n+\n+Returns [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack)\n+\n+```zenscript\n+myMCRightClickItem.getItemStack();\n+```\n+\n+### getPlayer\n+\n+Returns: `Player`\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCRightClickItem.getPlayer();\n+```\n+\n+### getPos\n+\n+If the interaction was on an entity, will be a BlockPos centered on the entity. If the interaction was on a block, will be the position of that block. Otherwise, will be a BlockPos centered on the player. Will never be null. Returns: `The position involved in this interaction.`\n+\n+Returns [crafttweaker.api.util.BlockPos](/vanilla/api/util/BlockPos)\n+\n+```zenscript\n+myMCRightClickItem.getPos();\n+```\n+\n+### hasResult\n+\n+Determines if this event expects a significant result value. Note: Events with the HasResult annotation will have this method automatically added to return true.\n+\n+Returns boolean\n+\n+```zenscript\n+myMCRightClickItem.hasResult();\n+```\n+\n+### isCancelable\n+\n+Determine if this function is cancelable at all. Returns: `If access to setCanceled should be allowed\n+ Note:\n+ Events with the Cancelable annotation will have this method automatically added to return true.`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCRightClickItem.isCancelable();\n+```\n+\n+### isCanceled\n+\n+Determine if this event is canceled and should stop executing. Returns: `The current canceled state`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCRightClickItem.isCanceled();\n+```\n+\n+### setCanceled\n+\n+```zenscript\n+myMCRightClickItem.setCanceled(cancel as boolean);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------- | ----------------------- |\n+| cancel | boolean | No description provided |\n+\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations MCRightClickItem.md (German) [ci skip]
139,040
19.01.2020 23:08:21
-3,600
bd1b75b3677002bc03b9cf677421df8923a7932a
New translations MCRightClickEmpty.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/event/entity/player/PlayerInteractEvent/MCRightClickEmpty.md", "diff": "+# MCRightClickEmpty\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.event.entity.player.PlayerInteractEvent.MCRightClickEmpty\n+```\n+\n+## Constructors\n+```zenscript\n+new crafttweaker.api.event.entity.player.PlayerInteractEvent.MCRightClickEmpty(handler as function.Consumer<crafttweaker.api.event.entity.player.PlayerInteractEvent.MCRightClickEmpty>);\n+```\n+| Parameter | Type | Beschreibung |\n+| --------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------- |\n+| handler | function.Consumer<[crafttweaker.api.event.entity.player.PlayerInteractEvent.MCRightClickEmpty](/vanilla/api/event/entity/player/PlayerInteractEvent/MCRightClickEmpty)> | No description provided |\n+\n+\n+\n+## Methoden\n+### getEntityPlayer\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCRightClickEmpty.getEntityPlayer();\n+```\n+\n+### getFace\n+\n+Returns: `The face involved in this interaction. For all non-block interactions, this will return null.`\n+\n+Returns [crafttweaker.api.util.Direction](/vanilla/api/util/Direction)\n+\n+```zenscript\n+myMCRightClickEmpty.getFace();\n+```\n+\n+### getItemStack\n+\n+Returns: `The itemstack involved in this interaction, {` @code ItemStack.EMPTY} if the hand was empty.\n+\n+Returns [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack)\n+\n+```zenscript\n+myMCRightClickEmpty.getItemStack();\n+```\n+\n+### getPlayer\n+\n+Returns: `Player`\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCRightClickEmpty.getPlayer();\n+```\n+\n+### getPos\n+\n+If the interaction was on an entity, will be a BlockPos centered on the entity. If the interaction was on a block, will be the position of that block. Otherwise, will be a BlockPos centered on the player. Will never be null. Returns: `The position involved in this interaction.`\n+\n+Returns [crafttweaker.api.util.BlockPos](/vanilla/api/util/BlockPos)\n+\n+```zenscript\n+myMCRightClickEmpty.getPos();\n+```\n+\n+### hasResult\n+\n+Determines if this event expects a significant result value. Note: Events with the HasResult annotation will have this method automatically added to return true.\n+\n+Returns boolean\n+\n+```zenscript\n+myMCRightClickEmpty.hasResult();\n+```\n+\n+### isCancelable\n+\n+Determine if this function is cancelable at all. Returns: `If access to setCanceled should be allowed\n+ Note:\n+ Events with the Cancelable annotation will have this method automatically added to return true.`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCRightClickEmpty.isCancelable();\n+```\n+\n+### isCanceled\n+\n+Determine if this event is canceled and should stop executing. Returns: `The current canceled state`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCRightClickEmpty.isCanceled();\n+```\n+\n+### setCanceled\n+\n+```zenscript\n+myMCRightClickEmpty.setCanceled(cancel as boolean);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------- | ----------------------- |\n+| cancel | boolean | No description provided |\n+\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations MCRightClickEmpty.md (German) [ci skip]
139,040
19.01.2020 23:08:23
-3,600
dfff5c34fc4dcd0cf8c964c918830181180f1061
New translations MCRightClickBlock.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/event/entity/player/PlayerInteractEvent/MCRightClickBlock.md", "diff": "+# MCRightClickBlock\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.event.entity.player.PlayerInteractEvent.MCRightClickBlock\n+```\n+\n+## Constructors\n+```zenscript\n+new crafttweaker.api.event.entity.player.PlayerInteractEvent.MCRightClickBlock(handler as function.Consumer<crafttweaker.api.event.entity.player.PlayerInteractEvent.MCRightClickBlock>);\n+```\n+| Parameter | Type | Beschreibung |\n+| --------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------- |\n+| handler | function.Consumer<[crafttweaker.api.event.entity.player.PlayerInteractEvent.MCRightClickBlock](/vanilla/api/event/entity/player/PlayerInteractEvent/MCRightClickBlock)> | No description provided |\n+\n+\n+\n+## Methoden\n+### getEntityPlayer\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCRightClickBlock.getEntityPlayer();\n+```\n+\n+### getFace\n+\n+Returns: `The face involved in this interaction. For all non-block interactions, this will return null.`\n+\n+Returns [crafttweaker.api.util.Direction](/vanilla/api/util/Direction)\n+\n+```zenscript\n+myMCRightClickBlock.getFace();\n+```\n+\n+### getItemStack\n+\n+Returns: `The itemstack involved in this interaction, {` @code ItemStack.EMPTY} if the hand was empty.\n+\n+Returns [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack)\n+\n+```zenscript\n+myMCRightClickBlock.getItemStack();\n+```\n+\n+### getPlayer\n+\n+Returns: `Player`\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCRightClickBlock.getPlayer();\n+```\n+\n+### getPos\n+\n+If the interaction was on an entity, will be a BlockPos centered on the entity. If the interaction was on a block, will be the position of that block. Otherwise, will be a BlockPos centered on the player. Will never be null. Returns: `The position involved in this interaction.`\n+\n+Returns [crafttweaker.api.util.BlockPos](/vanilla/api/util/BlockPos)\n+\n+```zenscript\n+myMCRightClickBlock.getPos();\n+```\n+\n+### hasResult\n+\n+Determines if this event expects a significant result value. Note: Events with the HasResult annotation will have this method automatically added to return true.\n+\n+Returns boolean\n+\n+```zenscript\n+myMCRightClickBlock.hasResult();\n+```\n+\n+### isCancelable\n+\n+Determine if this function is cancelable at all. Returns: `If access to setCanceled should be allowed\n+ Note:\n+ Events with the Cancelable annotation will have this method automatically added to return true.`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCRightClickBlock.isCancelable();\n+```\n+\n+### isCanceled\n+\n+Determine if this event is canceled and should stop executing. Returns: `The current canceled state`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCRightClickBlock.isCanceled();\n+```\n+\n+### setCanceled\n+\n+```zenscript\n+myMCRightClickBlock.setCanceled(canceled as boolean);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------- | ----------------------- |\n+| canceled | boolean | No description provided |\n+\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations MCRightClickBlock.md (German) [ci skip]
139,040
19.01.2020 23:08:24
-3,600
3336748c7584c9e20ea6a313dc4ed9011aa5ffbb
New translations MCFillBucketEvent.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/event/entity/player/MCFillBucketEvent.md", "diff": "+# MCFillBucketEvent\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.event.entity.player.MCFillBucketEvent\n+```\n+\n+## Constructors\n+```zenscript\n+new crafttweaker.api.event.entity.player.MCFillBucketEvent(handler as function.Consumer<crafttweaker.api.event.entity.player.MCFillBucketEvent>);\n+```\n+| Parameter | Type | Beschreibung |\n+| --------- | ------------------------------------------------------------------------------------------------------------------------------- | ----------------------- |\n+| handler | function.Consumer<[crafttweaker.api.event.entity.player.MCFillBucketEvent](/vanilla/api/event/entity/player/MCFillBucketEvent)> | No description provided |\n+\n+\n+\n+## Methoden\n+### getEmptyBucket\n+\n+Returns [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack)\n+\n+```zenscript\n+myMCFillBucketEvent.getEmptyBucket();\n+```\n+\n+### getEntityPlayer\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCFillBucketEvent.getEntityPlayer();\n+```\n+\n+### getFilledBucket\n+\n+Returns [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack)\n+\n+```zenscript\n+myMCFillBucketEvent.getFilledBucket();\n+```\n+\n+### getPlayer\n+\n+Returns: `Player`\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCFillBucketEvent.getPlayer();\n+```\n+\n+### hasResult\n+\n+Determines if this event expects a significant result value. Note: Events with the HasResult annotation will have this method automatically added to return true.\n+\n+Returns boolean\n+\n+```zenscript\n+myMCFillBucketEvent.hasResult();\n+```\n+\n+### isCancelable\n+\n+Determine if this function is cancelable at all. Returns: `If access to setCanceled should be allowed\n+ Note:\n+ Events with the Cancelable annotation will have this method automatically added to return true.`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCFillBucketEvent.isCancelable();\n+```\n+\n+### isCanceled\n+\n+Determine if this event is canceled and should stop executing. Returns: `The current canceled state`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCFillBucketEvent.isCanceled();\n+```\n+\n+### setCanceled\n+\n+```zenscript\n+myMCFillBucketEvent.setCanceled(cancel as boolean);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------- | ----------------------- |\n+| cancel | boolean | No description provided |\n+\n+\n+### setFilledBucket\n+\n+```zenscript\n+myMCFillBucketEvent.setFilledBucket(arg0 as crafttweaker.api.item.IItemStack);\n+```\n+\n+| Parameter | Type | Description |\n+| --------- | ----------------------------------------------------------------- | ----------------------- |\n+| arg0 | [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack) | No description provided |\n+\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations MCFillBucketEvent.md (German) [ci skip]
139,040
19.01.2020 23:08:26
-3,600
a02232d68ff0625940a02f4616adddf45c348135
New translations MCItemTooltipEvent.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/event/entity/player/MCItemTooltipEvent.md", "diff": "+# MCItemTooltipEvent\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.event.entity.player.MCItemTooltipEvent\n+```\n+\n+## Constructors\n+```zenscript\n+new crafttweaker.api.event.entity.player.MCItemTooltipEvent(handler as function.Consumer<crafttweaker.api.event.entity.player.MCItemTooltipEvent>);\n+```\n+| Parameter | Type | Beschreibung |\n+| --------- | --------------------------------------------------------------------------------------------------------------------------------- | ----------------------- |\n+| handler | function.Consumer<[crafttweaker.api.event.entity.player.MCItemTooltipEvent](/vanilla/api/event/entity/player/MCItemTooltipEvent)> | No description provided |\n+\n+\n+\n+## Methoden\n+### getEntityPlayer\n+\n+This event is fired with a null player during startup when populating search trees for tooltips.\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCItemTooltipEvent.getEntityPlayer();\n+```\n+\n+### getItemStack\n+\n+The ItemStack with the tooltip.\n+\n+Returns [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack)\n+\n+```zenscript\n+myMCItemTooltipEvent.getItemStack();\n+```\n+\n+### getPlayer\n+\n+Returns: `Player`\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCItemTooltipEvent.getPlayer();\n+```\n+\n+### hasResult\n+\n+Determines if this event expects a significant result value. Note: Events with the HasResult annotation will have this method automatically added to return true.\n+\n+Returns boolean\n+\n+```zenscript\n+myMCItemTooltipEvent.hasResult();\n+```\n+\n+### isCancelable\n+\n+Determine if this function is cancelable at all. Returns: `If access to setCanceled should be allowed\n+ Note:\n+ Events with the Cancelable annotation will have this method automatically added to return true.`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCItemTooltipEvent.isCancelable();\n+```\n+\n+### isCanceled\n+\n+Determine if this event is canceled and should stop executing. Returns: `The current canceled state`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCItemTooltipEvent.isCanceled();\n+```\n+\n+### setCanceled\n+\n+```zenscript\n+myMCItemTooltipEvent.setCanceled(cancel as boolean);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------- | ----------------------- |\n+| cancel | boolean | No description provided |\n+\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations MCItemTooltipEvent.md (German) [ci skip]
139,040
19.01.2020 23:08:27
-3,600
43526753aa7979c40d5610673bf3720027b2176a
New translations MCLeftClickBlock.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/event/entity/player/PlayerInteractEvent/MCLeftClickBlock.md", "diff": "+# MCLeftClickBlock\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.event.entity.player.PlayerInteractEvent.MCLeftClickBlock\n+```\n+\n+## Constructors\n+```zenscript\n+new crafttweaker.api.event.entity.player.PlayerInteractEvent.MCLeftClickBlock(handler as function.Consumer<crafttweaker.api.event.entity.player.PlayerInteractEvent.MCLeftClickBlock>);\n+```\n+| Parameter | Type | Beschreibung |\n+| --------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------- |\n+| handler | function.Consumer<[crafttweaker.api.event.entity.player.PlayerInteractEvent.MCLeftClickBlock](/vanilla/api/event/entity/player/PlayerInteractEvent/MCLeftClickBlock)> | No description provided |\n+\n+\n+\n+## Methoden\n+### getEntityPlayer\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCLeftClickBlock.getEntityPlayer();\n+```\n+\n+### getFace\n+\n+Returns: `The face involved in this interaction. For all non-block interactions, this will return null.`\n+\n+Returns [crafttweaker.api.util.Direction](/vanilla/api/util/Direction)\n+\n+```zenscript\n+myMCLeftClickBlock.getFace();\n+```\n+\n+### getItemStack\n+\n+Returns: `The itemstack involved in this interaction, {` @code ItemStack.EMPTY} if the hand was empty.\n+\n+Returns [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack)\n+\n+```zenscript\n+myMCLeftClickBlock.getItemStack();\n+```\n+\n+### getPlayer\n+\n+Returns: `Player`\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCLeftClickBlock.getPlayer();\n+```\n+\n+### getPos\n+\n+If the interaction was on an entity, will be a BlockPos centered on the entity. If the interaction was on a block, will be the position of that block. Otherwise, will be a BlockPos centered on the player. Will never be null. Returns: `The position involved in this interaction.`\n+\n+Returns [crafttweaker.api.util.BlockPos](/vanilla/api/util/BlockPos)\n+\n+```zenscript\n+myMCLeftClickBlock.getPos();\n+```\n+\n+### hasResult\n+\n+Determines if this event expects a significant result value. Note: Events with the HasResult annotation will have this method automatically added to return true.\n+\n+Returns boolean\n+\n+```zenscript\n+myMCLeftClickBlock.hasResult();\n+```\n+\n+### isCancelable\n+\n+Determine if this function is cancelable at all. Returns: `If access to setCanceled should be allowed\n+ Note:\n+ Events with the Cancelable annotation will have this method automatically added to return true.`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCLeftClickBlock.isCancelable();\n+```\n+\n+### isCanceled\n+\n+Determine if this event is canceled and should stop executing. Returns: `The current canceled state`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCLeftClickBlock.isCanceled();\n+```\n+\n+### setCanceled\n+\n+```zenscript\n+myMCLeftClickBlock.setCanceled(canceled as boolean);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------- | ----------------------- |\n+| canceled | boolean | No description provided |\n+\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations MCLeftClickBlock.md (German) [ci skip]
139,040
19.01.2020 23:08:28
-3,600
84be3767fd59ccfeec0fa2323a0ba6bfc91ee4c5
New translations MCFood.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/food/MCFood.md", "diff": "+# MCFood\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.food.MCFood\n+```\n+\n+## Constructors\n+```zenscript\n+new crafttweaker.api.food.MCFood(healing as int, saturation as float);\n+```\n+| Parameter | Type | Beschreibung |\n+| ---------- | ----- | ----------------------- |\n+| healing | int | No description provided |\n+| saturation | float | No description provided |\n+\n+\n+\n+## Methoden\n+### addEffect\n+\n+Returns [crafttweaker.api.food.MCFood](/vanilla/api/food/MCFood)\n+\n+```zenscript\n+myMCFood.addEffect(effect as crafttweaker.api.potion.MCPotionEffectInstance, probability as float);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| ----------- | --------------------------------------------------------------------------------------------- | ----------------------- |\n+| effect | [crafttweaker.api.potion.MCPotionEffectInstance](/vanilla/api/potions/MCPotionEffectInstance) | No description provided |\n+| probability | float | No description provided |\n+\n+\n+### clearEffects\n+\n+```zenscript\n+myMCFood.clearEffects();\n+```\n+\n+### removeEffect\n+\n+Returns [crafttweaker.api.food.MCFood](/vanilla/api/food/MCFood)\n+\n+```zenscript\n+myMCFood.removeEffect(effect as crafttweaker.api.potion.MCPotionEffectInstance);\n+```\n+\n+| Parameter | Type | Description |\n+| --------- | --------------------------------------------------------------------------------------------- | ----------------------- |\n+| effect | [crafttweaker.api.potion.MCPotionEffectInstance](/vanilla/api/potions/MCPotionEffectInstance) | No description provided |\n+\n+\n+### setCanEatWhenFull\n+\n+Returns [crafttweaker.api.food.MCFood](/vanilla/api/food/MCFood)\n+\n+```zenscript\n+myMCFood.setCanEatWhenFull(canEatWhenFull as boolean);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| -------------- | ------- | ----------------------- |\n+| canEatWhenFull | boolean | No description provided |\n+\n+\n+### setFastEating\n+\n+Returns [crafttweaker.api.food.MCFood](/vanilla/api/food/MCFood)\n+\n+```zenscript\n+myMCFood.setFastEating(fastEating as boolean);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| ---------- | ------- | ----------------------- |\n+| fastEating | boolean | No description provided |\n+\n+\n+### setHealing\n+\n+Returns [crafttweaker.api.food.MCFood](/vanilla/api/food/MCFood)\n+\n+```zenscript\n+myMCFood.setHealing(healing as int);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ---- | ----------------------- |\n+| healing | int | No description provided |\n+\n+\n+### setMeat\n+\n+Returns [crafttweaker.api.food.MCFood](/vanilla/api/food/MCFood)\n+\n+```zenscript\n+myMCFood.setMeat(meat as boolean);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------- | ----------------------- |\n+| meat | boolean | No description provided |\n+\n+\n+### setSaturation\n+\n+Returns [crafttweaker.api.food.MCFood](/vanilla/api/food/MCFood)\n+\n+```zenscript\n+myMCFood.setSaturation(saturation as float);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| ---------- | ----- | ----------------------- |\n+| saturation | float | No description provided |\n+\n+\n+\n+## Properties\n+\n+| Name | Type | Has Getter | Has Setter |\n+| -------------- | ------- | ---------- | ---------- |\n+| canEatWhenFull | boolean | true | false |\n+| healing | int | true | false |\n+| isFastEating | boolean | true | false |\n+| meat | boolean | true | false |\n+| saturation | float | true | false |\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations MCFood.md (German) [ci skip]
139,040
19.01.2020 23:08:30
-3,600
31540b02b3aab8d257a990960bbb52a10f8a6949
New translations CampFireManager.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/managers/CampFireManager.md", "diff": "+# CampFireManager\n+\n+\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.CampFireManager\n+```\n+\n+## Implemented Interfaces\n+CampFireManager implements the following interfaces. That means any method available to them can also be used on this class.\n+- [crafttweaker.api.registries.ICookingRecipeManager](/vanilla/api/managers/ICookingRecipeManager)\n+\n+## Methoden\n+### addRecipe\n+\n+Adds a recipe based on given params.\n+\n+```zenscript\n+campfire.addRecipe(name as String, output as crafttweaker.api.item.IItemStack, input as crafttweaker.api.item.IIngredient, xp as float, cookTime as int);\n+campfire.addRecipe(\"wool2diamond\", <item:diamond>, <tag:minecraft:wool>, 1.0, 0);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------------------------------------------------------------------- | ------------------------------- |\n+| name | String | Name of the new recipe |\n+| output | [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack) | IItemStack output of the recipe |\n+| input | [crafttweaker.api.item.IIngredient](/vanilla/api/items/IIngredient) | IIngredient input of the recipe |\n+| xp | float | how much xp the player gets |\n+| cookTime | int | how long it takes to cook |\n+\n+\n+### removeRecipe\n+\n+Removes a recipe based on it's output and input.\n+\n+```zenscript\n+campfire.removeRecipe(output as crafttweaker.api.item.IItemStack, input as crafttweaker.api.item.IIngredient);\n+campfire.removeRecipe(<item:minecraft:diamond>, <tag:minecraft:wool>);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------------------------------------------------------------------- | ------------------------------------ |\n+| output | [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack) | IItemStack output of the recipe. |\n+| input | [crafttweaker.api.item.IIngredient](/vanilla/api/items/IIngredient) | IIngredient of the recipe to remove. |\n+\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations CampFireManager.md (German) [ci skip]
139,040
19.01.2020 23:08:31
-3,600
0d0c46b772440f2594e42e97ea22396fe9b2cd0f
New translations BlastFurnaceManager.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/managers/BlastFurnaceManager.md", "diff": "+# BlastFurnaceManager\n+\n+\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.BlastFurnaceManager\n+```\n+\n+## Implemented Interfaces\n+BlastFurnaceManager implements the following interfaces. That means any method available to them can also be used on this class.\n+- [crafttweaker.api.registries.ICookingRecipeManager](/vanilla/api/managers/ICookingRecipeManager)\n+\n+## Methoden\n+### addRecipe\n+\n+Adds a recipe based on given params.\n+\n+```zenscript\n+blastFurnace.addRecipe(name as String, output as crafttweaker.api.item.IItemStack, input as crafttweaker.api.item.IIngredient, xp as float, cookTime as int);\n+blastFurnace.addRecipe(\"wool2diamond\", <item:diamond>, <tag:minecraft:wool>, 1.0, 0);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------------------------------------------------------------------- | ------------------------------- |\n+| name | String | Name of the new recipe |\n+| output | [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack) | IItemStack output of the recipe |\n+| input | [crafttweaker.api.item.IIngredient](/vanilla/api/items/IIngredient) | IIngredient input of the recipe |\n+| xp | float | how much xp the player gets |\n+| cookTime | int | how long it takes to cook |\n+\n+\n+### removeRecipe\n+\n+Removes a recipe based on it's output and input.\n+\n+```zenscript\n+blastFurnace.removeRecipe(output as crafttweaker.api.item.IItemStack, input as crafttweaker.api.item.IIngredient);\n+blastFurnace.removeRecipe(<item:minecraft:diamond>, <tag:minecraft:wool>);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------------------------------------------------------------------- | ------------------------------------ |\n+| output | [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack) | IItemStack output of the recipe. |\n+| input | [crafttweaker.api.item.IIngredient](/vanilla/api/items/IIngredient) | IIngredient of the recipe to remove. |\n+\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations BlastFurnaceManager.md (German) [ci skip]
139,040
19.01.2020 23:08:32
-3,600
77eca86fab009d17839dc8aa83eec8c331d32f65
New translations ILogger.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/logger/ILogger.md", "diff": "+# ILogger\n+\n+Base class used to interface with the crafttweaker.log file and other loggers (such as the player logger).\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.ILogger\n+```\n+\n+## Methoden\n+### debug\n+\n+Logs a debug message.\n+\n+```zenscript\n+logger.debug(message as String);\n+logger.debug(\"message\");\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------ | --------------------- |\n+| message | String | message to be logged. |\n+\n+\n+### error\n+\n+Logs an error message.\n+\n+```zenscript\n+logger.error(message as String);\n+logger.error(\"message\");\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------ | --------------------- |\n+| message | String | message to be logged. |\n+\n+\n+### info\n+\n+Logs an info message.\n+\n+```zenscript\n+logger.info(message as String);\n+logger.info(\"message\");\n+```\n+\n+| Parameter | Type | Description |\n+| --------- | ------ | --------------------- |\n+| message | String | message to be logged. |\n+\n+\n+### warning\n+\n+Logs a warning message.\n+\n+```zenscript\n+logger.warning(message as String);\n+logger.warning(\"message\");\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------ | --------------------- |\n+| message | String | message to be logged. |\n+\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations ILogger.md (German) [ci skip]
139,040
19.01.2020 23:08:34
-3,600
28337fe1dc643b24020422ef2ca55d8dd45c3fdf
New translations IItemStack.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/items/IItemStack.md", "diff": "+# IItemStack\n+\n+This represents an item. It can be retrieved using an Item BEP. Is an [crafttweaker.api.item.IIngredient](/vanilla/api/items/IIngredient)\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.item.IItemStack\n+```\n+\n+## Implemented Interfaces\n+IItemStack implements the following interfaces. That means any method available to them can also be used on this class.\n+- [crafttweaker.api.item.IIngredient](/vanilla/api/items/IIngredient)\n+\n+## Methoden\n+### clearCustomName\n+\n+Clears any custom name set for this ItemStack\n+\n+```zenscript\n+<item:minecraft:dirt>.clearCustomName();\n+```\n+\n+### getRemainingItem\n+\n+When this ingredient stack is crafted, what will remain in the grid? Does not check if the stack matches though! Used e.g. in CrT's net.minecraft.item.crafting.ICraftingRecipe\n+\n+Returns [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack)\n+\n+```zenscript\n+<item:minecraft:dirt>.getRemainingItem(stack as crafttweaker.api.item.IItemStack);\n+<item:minecraft:dirt>.getRemainingItem(<item:minecraft:iron_ingot>);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ----------------------------------------------------------------- | ----------------------------------------- |\n+| stack | [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack) | The stack to provide for this ingredient. |\n+\n+\n+### matches\n+\n+Does the given stack match the ingredient?\n+\n+Returns boolean\n+\n+```zenscript\n+<item:minecraft:dirt>.matches(stack as crafttweaker.api.item.IItemStack);\n+<item:minecraft:dirt>.matches(<item:minecraft:iron_ingot>);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ----------------------------------------------------------------- | ------------------ |\n+| stack | [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack) | The stack to check |\n+\n+\n+### setDisplayName\n+\n+Sets the display name of the ItemStack\n+\n+Returns [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack)\n+\n+```zenscript\n+<item:minecraft:dirt>.setDisplayName(name as String);\n+<item:minecraft:dirt>.setDisplayName(\"totally not dirt\");\n+```\n+\n+| Parameter | Type | Description |\n+| --------- | ------ | ---------------------- |\n+| name | String | New name of the stack. |\n+\n+\n+### withDamage\n+\n+Sets the damage of the ItemStack\n+\n+Returns [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack)\n+\n+```zenscript\n+<item:minecraft:dirt>.withDamage(damage as int);\n+<item:minecraft:dirt>.withDamage(10);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ---- | -------------------- |\n+| damage | int | the new damage value |\n+\n+\n+### withTag\n+\n+Sets the tag for the ItemStack.\n+\n+Returns [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack)\n+\n+```zenscript\n+<item:minecraft:dirt>.withTag(tag as crafttweaker.api.data.IData);\n+<item:minecraft:dirt>.withTag({Display: {lore: [\"Hello\"]}});\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------------------------------------------------------ | --------------- |\n+| tag | [crafttweaker.api.data.IData](/vanilla/api/data/IData) | The tag to set. |\n+\n+\n+\n+## Properties\n+\n+| Name | Type | Has Getter | Has Setter |\n+| -------------- | ------------------------------------------------------------------- | ---------- | ---------- |\n+| amount | int | true | false |\n+| burnTime | int | true | true |\n+| commandString | String | true | false |\n+| damageable | boolean | true | false |\n+| damaged | boolean | true | false |\n+| displayName | String | true | false |\n+| empty | boolean | true | false |\n+| food | [crafttweaker.api.food.MCFood](/vanilla/api/food/MCFood) | true | true |\n+| getOrCreate | [crafttweaker.api.data.IData](/vanilla/api/data/IData) | true | false |\n+| getRepairCost | int | true | false |\n+| hasDisplayName | boolean | true | false |\n+| hasEffect | boolean | true | false |\n+| hasTag | boolean | true | false |\n+| isCrossbow | boolean | true | false |\n+| isEnchantable | boolean | true | false |\n+| isEnchanted | boolean | true | false |\n+| items | [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack)[] | true | false |\n+| maxDamage | int | true | false |\n+| maxStackSize | int | true | false |\n+| registryName | String | true | false |\n+| stackable | boolean | true | false |\n+| tag | [crafttweaker.api.data.IData](/vanilla/api/data/IData) | true | false |\n+| translationKey | String | true | false |\n+| useDuration | int | true | false |\n+\n+## Operatoren\n+### MUL\n+\n+Sets the amount of the ItemStack\n+\n+```zenscript\n+<item:minecraft:dirt> * amount as int\n+<item:minecraft:dirt> * 3\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ---- | ------------ |\n+| amount | int | new amount |\n+\n+## Casters\n+\n+| Result type | Is Implicit |\n+| ----------------------------------------------------------------- | ----------- |\n+| [crafttweaker.api.data.IData](/vanilla/api/data/IData) | true |\n+| [crafttweaker.api.data.MapData](/vanilla/api/data/MapData) | true |\n+| [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack) | false |\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations IItemStack.md (German) [ci skip]
139,040
19.01.2020 23:08:35
-3,600
3a0540100dfb124f7461cefd8aef121715a84ef3
New translations IIngredient.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/items/IIngredient.md", "diff": "+# IIngredient\n+\n+This is IIngredient!!!\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.item.IIngredient\n+```\n+\n+## Implemented Interfaces\n+IIngredient implements the following interfaces. That means any method available to them can also be used on this class.\n+- [crafttweaker.api.brackets.CommandStringDisplayable](/vanilla/api/brackets/CommandStringDisplayable)\n+\n+## Methoden\n+### getRemainingItem\n+\n+When this ingredient stack is crafted, what will remain in the grid? Does not check if the stack matches though! Used e.g. in CrT's net.minecraft.item.crafting.ICraftingRecipe\n+\n+Returns [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack)\n+\n+```zenscript\n+<tag:ingotIron>.getRemainingItem(stack as crafttweaker.api.item.IItemStack);\n+<tag:ingotIron>.getRemainingItem(<item:minecraft:iron_ingot>);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ----------------------------------------------------------------- | ----------------------------------------- |\n+| stack | [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack) | The stack to provide for this ingredient. |\n+\n+\n+### matches\n+\n+Does the given stack match the ingredient?\n+\n+Returns boolean\n+\n+```zenscript\n+<tag:ingotIron>.matches(stack as crafttweaker.api.item.IItemStack);\n+<tag:ingotIron>.matches(<item:minecraft:iron_ingot>);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ----------------------------------------------------------------- | ------------------ |\n+| stack | [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack) | The stack to check |\n+\n+\n+\n+## Properties\n+\n+| Name | Type | Has Getter | Has Setter |\n+| ------------- | ------------------------------------------------------------------- | ---------- | ---------- |\n+| commandString | String | true | false |\n+| items | [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack)[] | true | false |\n+\n+## Casters\n+\n+| Result type | Is Implicit |\n+| ---------------------------------------------------------- | ----------- |\n+| [crafttweaker.api.data.IData](/vanilla/api/data/IData) | true |\n+| [crafttweaker.api.data.MapData](/vanilla/api/data/MapData) | true |\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations IIngredient.md (German) [ci skip]
139,040
19.01.2020 23:08:37
-3,600
63fc9b2f8a519c9693c14a49a08a89a5992f06ed
New translations MCUseHoeEvent.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/event/entity/player/MCUseHoeEvent.md", "diff": "+# MCUseHoeEvent\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.event.entity.player.MCUseHoeEvent\n+```\n+\n+## Constructors\n+```zenscript\n+new crafttweaker.api.event.entity.player.MCUseHoeEvent(handler as function.Consumer<crafttweaker.api.event.entity.player.MCUseHoeEvent>);\n+```\n+| Parameter | Type | Beschreibung |\n+| --------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------- |\n+| handler | function.Consumer<[crafttweaker.api.event.entity.player.MCUseHoeEvent](/vanilla/api/event/entity/player/MCUseHoeEvent)> | No description provided |\n+\n+\n+\n+## Methoden\n+### getEntityPlayer\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCUseHoeEvent.getEntityPlayer();\n+```\n+\n+### getPlayer\n+\n+Returns: `Player`\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCUseHoeEvent.getPlayer();\n+```\n+\n+### hasResult\n+\n+Determines if this event expects a significant result value. Note: Events with the HasResult annotation will have this method automatically added to return true.\n+\n+Returns boolean\n+\n+```zenscript\n+myMCUseHoeEvent.hasResult();\n+```\n+\n+### isCancelable\n+\n+Determine if this function is cancelable at all. Returns: `If access to setCanceled should be allowed\n+ Note:\n+ Events with the Cancelable annotation will have this method automatically added to return true.`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCUseHoeEvent.isCancelable();\n+```\n+\n+### isCanceled\n+\n+Determine if this event is canceled and should stop executing. Returns: `The current canceled state`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCUseHoeEvent.isCanceled();\n+```\n+\n+### setCanceled\n+\n+```zenscript\n+myMCUseHoeEvent.setCanceled(cancel as boolean);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------- | ----------------------- |\n+| cancel | boolean | No description provided |\n+\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations MCUseHoeEvent.md (German) [ci skip]
139,040
19.01.2020 23:08:38
-3,600
ec3424addbf9a3dccb6e1e13a114c0f8ad8c1e15
New translations MCPlayerDestroyItemEvent.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/event/entity/player/MCPlayerDestroyItemEvent.md", "diff": "+# MCPlayerDestroyItemEvent\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.event.entity.player.MCPlayerDestroyItemEvent\n+```\n+\n+## Constructors\n+```zenscript\n+new crafttweaker.api.event.entity.player.MCPlayerDestroyItemEvent(handler as function.Consumer<crafttweaker.api.event.entity.player.MCPlayerDestroyItemEvent>);\n+```\n+| Parameter | Type | Beschreibung |\n+| --------- | --------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------- |\n+| handler | function.Consumer<[crafttweaker.api.event.entity.player.MCPlayerDestroyItemEvent](/vanilla/api/event/entity/player/MCPlayerDestroyItemEvent)> | No description provided |\n+\n+\n+\n+## Methoden\n+### getEntityPlayer\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCPlayerDestroyItemEvent.getEntityPlayer();\n+```\n+\n+### getOriginal\n+\n+Returns [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack)\n+\n+```zenscript\n+myMCPlayerDestroyItemEvent.getOriginal();\n+```\n+\n+### getPlayer\n+\n+Returns: `Player`\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCPlayerDestroyItemEvent.getPlayer();\n+```\n+\n+### hasResult\n+\n+Determines if this event expects a significant result value. Note: Events with the HasResult annotation will have this method automatically added to return true.\n+\n+Returns boolean\n+\n+```zenscript\n+myMCPlayerDestroyItemEvent.hasResult();\n+```\n+\n+### isCancelable\n+\n+Determine if this function is cancelable at all. Returns: `If access to setCanceled should be allowed\n+ Note:\n+ Events with the Cancelable annotation will have this method automatically added to return true.`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCPlayerDestroyItemEvent.isCancelable();\n+```\n+\n+### isCanceled\n+\n+Determine if this event is canceled and should stop executing. Returns: `The current canceled state`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCPlayerDestroyItemEvent.isCanceled();\n+```\n+\n+### setCanceled\n+\n+```zenscript\n+myMCPlayerDestroyItemEvent.setCanceled(cancel as boolean);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------- | ----------------------- |\n+| cancel | boolean | No description provided |\n+\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations MCPlayerDestroyItemEvent.md (German) [ci skip]
139,040
19.01.2020 23:08:40
-3,600
775624f47c53a72f35066421f6086389e6ff72f6
New translations MCSleepingTimeCheckEvent.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/event/entity/player/MCSleepingTimeCheckEvent.md", "diff": "+# MCSleepingTimeCheckEvent\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.event.entity.player.MCSleepingTimeCheckEvent\n+```\n+\n+## Constructors\n+```zenscript\n+new crafttweaker.api.event.entity.player.MCSleepingTimeCheckEvent(handler as function.Consumer<crafttweaker.api.event.entity.player.MCSleepingTimeCheckEvent>);\n+```\n+| Parameter | Type | Beschreibung |\n+| --------- | --------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------- |\n+| handler | function.Consumer<[crafttweaker.api.event.entity.player.MCSleepingTimeCheckEvent](/vanilla/api/event/entity/player/MCSleepingTimeCheckEvent)> | No description provided |\n+\n+\n+\n+## Methoden\n+### getEntityPlayer\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCSleepingTimeCheckEvent.getEntityPlayer();\n+```\n+\n+### getPlayer\n+\n+Returns: `Player`\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCSleepingTimeCheckEvent.getPlayer();\n+```\n+\n+### hasResult\n+\n+Determines if this event expects a significant result value. Note: Events with the HasResult annotation will have this method automatically added to return true.\n+\n+Returns boolean\n+\n+```zenscript\n+myMCSleepingTimeCheckEvent.hasResult();\n+```\n+\n+### isCancelable\n+\n+Determine if this function is cancelable at all. Returns: `If access to setCanceled should be allowed\n+ Note:\n+ Events with the Cancelable annotation will have this method automatically added to return true.`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCSleepingTimeCheckEvent.isCancelable();\n+```\n+\n+### isCanceled\n+\n+Determine if this event is canceled and should stop executing. Returns: `The current canceled state`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCSleepingTimeCheckEvent.isCanceled();\n+```\n+\n+### setCanceled\n+\n+```zenscript\n+myMCSleepingTimeCheckEvent.setCanceled(cancel as boolean);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------- | ----------------------- |\n+| cancel | boolean | No description provided |\n+\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations MCSleepingTimeCheckEvent.md (German) [ci skip]
139,040
19.01.2020 23:08:41
-3,600
22a9147e715298c55fc5586db0047aacc27de24f
New translations MCSleepingLocationCheckEvent.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/event/entity/player/MCSleepingLocationCheckEvent.md", "diff": "+# MCSleepingLocationCheckEvent\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.event.entity.player.MCSleepingLocationCheckEvent\n+```\n+\n+## Constructors\n+```zenscript\n+new crafttweaker.api.event.entity.player.MCSleepingLocationCheckEvent(handler as function.Consumer<crafttweaker.api.event.entity.player.MCSleepingLocationCheckEvent>);\n+```\n+| Parameter | Type | Beschreibung |\n+| --------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------- |\n+| handler | function.Consumer<[crafttweaker.api.event.entity.player.MCSleepingLocationCheckEvent](/vanilla/api/event/entity/player/MCSleepingLocationCheckEvent)> | No description provided |\n+\n+\n+\n+## Methoden\n+### getSleepingLocation\n+\n+Returns [crafttweaker.api.util.BlockPos](/vanilla/api/util/BlockPos)\n+\n+```zenscript\n+myMCSleepingLocationCheckEvent.getSleepingLocation();\n+```\n+\n+### hasResult\n+\n+Determines if this event expects a significant result value. Note: Events with the HasResult annotation will have this method automatically added to return true.\n+\n+Returns boolean\n+\n+```zenscript\n+myMCSleepingLocationCheckEvent.hasResult();\n+```\n+\n+### isCancelable\n+\n+Determine if this function is cancelable at all. Returns: `If access to setCanceled should be allowed\n+ Note:\n+ Events with the Cancelable annotation will have this method automatically added to return true.`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCSleepingLocationCheckEvent.isCancelable();\n+```\n+\n+### isCanceled\n+\n+Determine if this event is canceled and should stop executing. Returns: `The current canceled state`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCSleepingLocationCheckEvent.isCanceled();\n+```\n+\n+### setCanceled\n+\n+```zenscript\n+myMCSleepingLocationCheckEvent.setCanceled(cancel as boolean);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------- | ----------------------- |\n+| cancel | boolean | No description provided |\n+\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations MCSleepingLocationCheckEvent.md (German) [ci skip]
139,040
19.01.2020 23:08:42
-3,600
deee1718394adc2909618746be6702bf5fa17bfe
New translations MCPlayerWakeUpEvent.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/event/entity/player/MCPlayerWakeUpEvent.md", "diff": "+# MCPlayerWakeUpEvent\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.event.entity.player.MCPlayerWakeUpEvent\n+```\n+\n+## Constructors\n+```zenscript\n+new crafttweaker.api.event.entity.player.MCPlayerWakeUpEvent(handler as function.Consumer<crafttweaker.api.event.entity.player.MCPlayerWakeUpEvent>);\n+```\n+| Parameter | Type | Beschreibung |\n+| --------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------- |\n+| handler | function.Consumer<[crafttweaker.api.event.entity.player.MCPlayerWakeUpEvent](/vanilla/api/event/entity/player/MCPlayerWakeUpEvent)> | No description provided |\n+\n+\n+\n+## Methoden\n+### getEntityPlayer\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCPlayerWakeUpEvent.getEntityPlayer();\n+```\n+\n+### getPlayer\n+\n+Returns: `Player`\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCPlayerWakeUpEvent.getPlayer();\n+```\n+\n+### hasResult\n+\n+Determines if this event expects a significant result value. Note: Events with the HasResult annotation will have this method automatically added to return true.\n+\n+Returns boolean\n+\n+```zenscript\n+myMCPlayerWakeUpEvent.hasResult();\n+```\n+\n+### isCancelable\n+\n+Determine if this function is cancelable at all. Returns: `If access to setCanceled should be allowed\n+ Note:\n+ Events with the Cancelable annotation will have this method automatically added to return true.`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCPlayerWakeUpEvent.isCancelable();\n+```\n+\n+### isCanceled\n+\n+Determine if this event is canceled and should stop executing. Returns: `The current canceled state`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCPlayerWakeUpEvent.isCanceled();\n+```\n+\n+### setCanceled\n+\n+```zenscript\n+myMCPlayerWakeUpEvent.setCanceled(cancel as boolean);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------- | ----------------------- |\n+| cancel | boolean | No description provided |\n+\n+\n+### shouldSetSpawn\n+\n+Indicates if the player's sleep was considered successful. In vanilla, this is used to determine if the spawn chunk is to be set to the bed's position.\n+\n+Returns boolean\n+\n+```zenscript\n+myMCPlayerWakeUpEvent.shouldSetSpawn();\n+```\n+\n+### updateWorld\n+\n+Indicates if the server should be notified of sleeping changes. This will only be false if the server is considered 'up to date' already, because, for example, it initiated the call.\n+\n+Returns boolean\n+\n+```zenscript\n+myMCPlayerWakeUpEvent.updateWorld();\n+```\n+\n+### wakeImmediately\n+\n+Used for the 'wake up animation'. This is false if the player is considered 'sleepy' and the overlay should slowly fade away.\n+\n+Returns boolean\n+\n+```zenscript\n+myMCPlayerWakeUpEvent.wakeImmediately();\n+```\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations MCPlayerWakeUpEvent.md (German) [ci skip]
139,040
19.01.2020 23:08:44
-3,600
2d6ee5b021c50a60d290b4d4fff90e1c47f81cce
New translations MCPlayerSleepInBedEvent.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/event/entity/player/MCPlayerSleepInBedEvent.md", "diff": "+# MCPlayerSleepInBedEvent\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.event.entity.player.MCPlayerSleepInBedEvent\n+```\n+\n+## Constructors\n+```zenscript\n+new crafttweaker.api.event.entity.player.MCPlayerSleepInBedEvent(handler as function.Consumer<crafttweaker.api.event.entity.player.MCPlayerSleepInBedEvent>);\n+```\n+| Parameter | Type | Beschreibung |\n+| --------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------- |\n+| handler | function.Consumer<[crafttweaker.api.event.entity.player.MCPlayerSleepInBedEvent](/vanilla/api/event/entity/player/MCPlayerSleepInBedEvent)> | No description provided |\n+\n+\n+\n+## Methoden\n+### getEntityPlayer\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCPlayerSleepInBedEvent.getEntityPlayer();\n+```\n+\n+### getPlayer\n+\n+Returns: `Player`\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCPlayerSleepInBedEvent.getPlayer();\n+```\n+\n+### getPos\n+\n+Returns [crafttweaker.api.util.BlockPos](/vanilla/api/util/BlockPos)\n+\n+```zenscript\n+myMCPlayerSleepInBedEvent.getPos();\n+```\n+\n+### hasResult\n+\n+Determines if this event expects a significant result value. Note: Events with the HasResult annotation will have this method automatically added to return true.\n+\n+Returns boolean\n+\n+```zenscript\n+myMCPlayerSleepInBedEvent.hasResult();\n+```\n+\n+### isCancelable\n+\n+Determine if this function is cancelable at all. Returns: `If access to setCanceled should be allowed\n+ Note:\n+ Events with the Cancelable annotation will have this method automatically added to return true.`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCPlayerSleepInBedEvent.isCancelable();\n+```\n+\n+### isCanceled\n+\n+Determine if this event is canceled and should stop executing. Returns: `The current canceled state`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCPlayerSleepInBedEvent.isCanceled();\n+```\n+\n+### setCanceled\n+\n+```zenscript\n+myMCPlayerSleepInBedEvent.setCanceled(cancel as boolean);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------- | ----------------------- |\n+| cancel | boolean | No description provided |\n+\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations MCPlayerSleepInBedEvent.md (German) [ci skip]