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
09.10.2017 21:52:28
-7,200
8c2c623bd5077d235c2781b8e4056e699d2f1594
Added NYI to not yet completely implemented Class Entries
[ { "change_type": "MODIFY", "old_path": "docs/Mods/ContentTweaker/Vanilla/Advanced_Functionality/Functions/ActionResult.md", "new_path": "docs/Mods/ContentTweaker/Vanilla/Advanced_Functionality/Functions/ActionResult.md", "diff": "-# ActionResult\n+# ActionResult (NYI)\nAn ActionResult is an enumeration of a [IItemUse Function's](/Mods/ContentTweaker/Vanilla/Advanced_Functionality/Functions/IItemUse) possible results.\n" }, { "change_type": "MODIFY", "old_path": "mkdocs.yml", "new_path": "mkdocs.yml", "diff": "@@ -101,10 +101,10 @@ pages:\n- Advanced Functionality:\n- Commands: 'Mods/ContentTweaker/Vanilla/Advanced_Functionality/Commands.md'\n- Functions:\n- - ActionResult: 'Mods/ContentTweaker/Vanilla/Advanced_Functionality/Functions/ActionResult.md'\n+ - ActionResult (NYI): 'Mods/ContentTweaker/Vanilla/Advanced_Functionality/Functions/ActionResult.md'\n- IBlockAction: 'Mods/ContentTweaker/Vanilla/Advanced_Functionality/Functions/IBlockAction.md'\n- IItemRightClick: 'Mods/ContentTweaker/Vanilla/Advanced_Functionality/Functions/IItemRightClick.md'\n- - IItemUse: 'Mods/ContentTweaker/Vanilla/Advanced_Functionality/Functions/IItemUse.md'\n+ - IItemUse (NYI): 'Mods/ContentTweaker/Vanilla/Advanced_Functionality/Functions/IItemUse.md'\n- Types:\n- Block:\n- Facing: 'Mods/ContentTweaker/Vanilla/Types/Block/Facing.md'\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Added NYI to not yet completely implemented Class Entries
139,040
11.10.2017 18:07:24
-7,200
966ba477726a23a8a9f1fd17ced7e326e5600313
A lot more CoT
[ { "change_type": "MODIFY", "old_path": "docs/Mods/ContentTweaker/Vanilla/Advanced_Functionality/Functions/ActionResult.md", "new_path": "docs/Mods/ContentTweaker/Vanilla/Advanced_Functionality/Functions/ActionResult.md", "diff": "-# ActionResult (NYI)\n+# ActionResult\nAn ActionResult is an enumeration of a [IItemUse Function's](/Mods/ContentTweaker/Vanilla/Advanced_Functionality/Functions/IItemUse) possible results.\n" }, { "change_type": "MODIFY", "old_path": "docs/Mods/ContentTweaker/Vanilla/Creatable_Content/Item.md", "new_path": "docs/Mods/ContentTweaker/Vanilla/Creatable_Content/Item.md", "diff": "@@ -30,6 +30,7 @@ item.setMaxStackSize(64);\n| Property Name | Type | Required | Default Value | Description/Notes |\n|-----------------|--------------------------------------------------------------------------------------------------|----------|---------------|--------------------------------------------------------------------------------------|\n| unlocalizedName | String | Yes | | Name, should be all lowercase |\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| rarity | EnumRarity | No | COMMON | How rare an item is, determines ToolTip color (\"COMMON\", \"UNCOMMON\", \"RARE\", \"EPIC\") |\n| creativeTab | [ICreativeTab](Creative_Tab) | No | Misc | The Creative tab the item will be put in |\n@@ -39,6 +40,7 @@ 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| glowing | boolean | No | false | Can be used to give your item the glowing effect (as if it were enchanted). |\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## Registering the item\n" }, { "change_type": "ADD", "old_path": null, "new_path": "docs/Mods/ContentTweaker/Vanilla/Types/Item/IMutableItemStack.md", "diff": "+# MutableItemStack\n+\n+A Mutable Item Stack is a special [IItemStack](/Vanilla/Items/IItemStack) object that can only be retrieved from [ICTPlayers](/Mods/ContentTweaker/Vanilla/Types/Player/ICTPlayer).\n+However, most (as of now, all) of IItemStack's methods won't work on this instead you need to use the ones below:\n+\n+## Importing the package\n+It 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+`import mods.contenttweaker.MutableItemStack;`\n+\n+##ZenMethods\n+\n+### Quantity\n+A Stack's count is the number of items in that stack!\n+\n+| ZenMethod | Parameter Type | Description |\n+|-----------------|----------------|-----------------------------------------------------|\n+| setCount(count) | int | Sets the stack's count to the `count` provided |\n+| grow(count) | int | Increases the stack's count by the `count` provided |\n+| shrink(count) | int | Decreases the stack's count by the `count` provided |\n\\ No newline at end of file\n" }, { "change_type": "MODIFY", "old_path": "mkdocs.yml", "new_path": "mkdocs.yml", "diff": "@@ -101,10 +101,10 @@ pages:\n- Advanced Functionality:\n- Commands: 'Mods/ContentTweaker/Vanilla/Advanced_Functionality/Commands.md'\n- Functions:\n- - ActionResult (NYI): 'Mods/ContentTweaker/Vanilla/Advanced_Functionality/Functions/ActionResult.md'\n+ - ActionResult: 'Mods/ContentTweaker/Vanilla/Advanced_Functionality/Functions/ActionResult.md'\n- IBlockAction: 'Mods/ContentTweaker/Vanilla/Advanced_Functionality/Functions/IBlockAction.md'\n- IItemRightClick: 'Mods/ContentTweaker/Vanilla/Advanced_Functionality/Functions/IItemRightClick.md'\n- - IItemUse (NYI): 'Mods/ContentTweaker/Vanilla/Advanced_Functionality/Functions/IItemUse.md'\n+ - IItemUse: 'Mods/ContentTweaker/Vanilla/Advanced_Functionality/Functions/IItemUse.md'\n- Types:\n- Block:\n- Facing: 'Mods/ContentTweaker/Vanilla/Types/Block/Facing.md'\n@@ -112,8 +112,11 @@ pages:\n- IBlockPos: 'Mods/ContentTweaker/Vanilla/Types/Block/IBlockPos.md'\n- IMaterialDefinition: 'Mods/ContentTweaker/Vanilla/Types/Block/IMaterialDefinition.md'\n- MCAxisAlignedBB: 'Mods/ContentTweaker/Vanilla/Types/Block/MCAxisAlignedBB.md'\n+ - Item:\n+ - IMutableItemStack: 'Mods/ContentTweaker/Vanilla/Types/Item/IMutableItemStack.md'\n- Player:\n- Hand: 'Mods/ContentTweaker/Vanilla/Types/Player/Hand.md'\n+ - ICTPlayer: 'Mods/ContentTweaker/Vanilla/Types/Player/ICTPlayer.md'\n- Sound:\n- ISoundTypeDefinition: 'Mods/ContentTweaker/Vanilla/Types/Sound/ISoundTypeDefinition.md'\n- ISoundEventDefinition: 'Mods/ContentTweaker/Vanilla/Types/Sound/ISoundEventDefinition.md'\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
A lot more CoT
139,040
11.10.2017 20:01:25
-7,200
f8ae5b13d81f54ef73cb6455759e3157b6d18ebb
Interlinks now with correct capitalization
[ { "change_type": "MODIFY", "old_path": "docs/Mods/ContentTweaker/Materials/Materials/Material.md", "new_path": "docs/Mods/ContentTweaker/Materials/Materials/Material.md", "diff": "@@ -7,7 +7,7 @@ It might be required for you to import the package if you encounter any issues,\n`import mods.contenttweaker.Material;`\n## Retrieving such an object\n-You can either retrieve an existing Material using the [MaterialSystem](/Mods/Contenttweaker/Materials/MaterialSystem) or create an entirely new one using the [Material Builder](/Mods/ContentTweaker/Materials/Materials/Material_Builder)\n+You can either retrieve an existing Material using the [MaterialSystem](/Mods/ContentTweaker/Materials/MaterialSystem) or create an entirely new one using the [Material Builder](/Mods/ContentTweaker/Materials/Materials/Material_Builder)\n## Fields\nYou can retrieve the following information from a Material:\n" }, { "change_type": "MODIFY", "old_path": "docs/Mods/ContentTweaker/Materials/Parts/Part.md", "new_path": "docs/Mods/ContentTweaker/Materials/Parts/Part.md", "diff": "@@ -7,7 +7,7 @@ It might be required for you to import the package if you encounter any issues,\n`import mods.contenttweaker.Part;`\n## Retrieving such an object\n-You can either retrieve an existing Part using the [MaterialSystem](/Mods/Contenttweaker/Materials/MaterialSystem) or create an entirely new one using the [Part Builder](/Mods/ContentTweaker/Materials/Parts/Part_Builder)\n+You can either retrieve an existing Part using the [MaterialSystem](/Mods/ContentTweaker/Materials/MaterialSystem) or create an entirely new one using the [Part Builder](/Mods/ContentTweaker/Materials/Parts/Part_Builder)\n<details>\n<summary>Following types are pre-registered (Headlines are the [Part Types](PartType)):</summary>\n" }, { "change_type": "MODIFY", "old_path": "docs/Mods/ContentTweaker/Materials/Parts/PartDataPiece.md", "new_path": "docs/Mods/ContentTweaker/Materials/Parts/PartDataPiece.md", "diff": "@@ -10,7 +10,7 @@ It might be required for you to import the package if you encounter any issues,\nYou can get a List of a [Parts](Part) DataPieces using `getData()` on a [Part](Part).\n-Alternatively, you can register a new PartDataPiece using the [MaterialSystem](/Mods/Contenttweaker/Materials/MaterialSystem):\n+Alternatively, you can register a new PartDataPiece using the [MaterialSystem](/Mods/ContentTweaker/Materials/MaterialSystem):\n```JAVA\nmods.contenttweaker.MaterialSystem.createPartDataPiece(String name, boolean required)\n" }, { "change_type": "MODIFY", "old_path": "docs/Mods/ContentTweaker/Materials/Parts/PartType.md", "new_path": "docs/Mods/ContentTweaker/Materials/Parts/PartType.md", "diff": "@@ -7,7 +7,7 @@ It might be required for you to import the package if you encounter any issues,\n`import mods.contenttweaker.PartType;`\n## Retrieving such an object\n-You can use the [MaterialSystem](/Mods/Contenttweaker/Materials/MaterialSystem) to either retrieve an existing PartType object or create an entirely new one.\n+You can use the [MaterialSystem](/Mods/ContentTweaker/Materials/MaterialSystem) to either retrieve an existing PartType object or create an entirely new one.\nCheck out below entry to learn how to create a new PartType.\n<details>\n@@ -40,7 +40,7 @@ You can set the following information on a PartType:\nIf you, for whatever reason would ever need to register a new PartType, you will need to know two things:\n- What name the new partType will have\n-- How [MaterialParts](/Mods/Contenttweaker/Materials/Materials/MaterialPart) created from [Parts](Part) that are of this type will be registered\n+- How [MaterialParts](/Mods/ContentTweaker/Materials/Materials/MaterialPart) created from [Parts](Part) that are of this type will be registered\nThe first is simple, it's a string.\nThe second is a bit trickier, it's a function that takes a MaterialPart as input:\n" }, { "change_type": "MODIFY", "old_path": "docs/Mods/ContentTweaker/Vanilla/Creatable_Content/Item.md", "new_path": "docs/Mods/ContentTweaker/Vanilla/Creatable_Content/Item.md", "diff": "@@ -37,10 +37,10 @@ item.setMaxStackSize(64);\n| toolClass | String | No | | What block types the tool can break |\n| toolLevel | int | No | -1 | The level of blocks can be broken |\n| beaconPayment | boolean | No | false | Can be given to a beacon to enable bonuses |\n-| itemRightClick | [IItemRightClick](/Mods/Contenttweaker/Vanilla/Advanced_Functionality/Functions/IItemRightClick) | No | | Called when the player right clicks with the item |\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| glowing | boolean | No | false | Can be used to give your item the glowing effect (as if it were enchanted). |\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+| onItemUse | [IItemUse](/Mods/ContentTweaker/Vanilla/Advanced_Functionality/Functions/IItemUse) | No | null | Called when the player right click on a block with the item |\n## Registering the item\n" }, { "change_type": "MODIFY", "old_path": "docs/Mods/ContentTweaker/Vanilla/Types/Block/IMaterialDefinition.md", "new_path": "docs/Mods/ContentTweaker/Vanilla/Types/Block/IMaterialDefinition.md", "diff": "@@ -7,5 +7,5 @@ Currently this class is not a ZenClass, so there is no way for you to import any\n## Calling an IMaterialDefinition object\n-You can get such an object using the [Block Material Bracket Handler](/Mods/Contenttweaker/Vanilla/Brackets/Bracket_Block_Material):\n+You can get such an object using the [Block Material Bracket Handler](/Mods/ContentTweaker/Vanilla/Brackets/Bracket_Block_Material):\n`<blockmaterial:wood>`\n" }, { "change_type": "MODIFY", "old_path": "docs/Mods/ContentTweaker/Vanilla/Types/Block/MCAxisAlignedBB.md", "new_path": "docs/Mods/ContentTweaker/Vanilla/Types/Block/MCAxisAlignedBB.md", "diff": "# MCAxisAlignedBB\n-A MineCraft Axis Aligned Boundary Box object allows you change a [Block's](/mods/ContentTweaker/Vanilla/Creatable_Content/Block) Boundary borders to a given cuboid shape.\n+A MineCraft Axis Aligned Boundary Box object allows you change a [Block's](/Mods/ContentTweaker/Vanilla/Creatable_Content/Block) Boundary borders to a given cuboid shape.\n## Importing the package\n@@ -8,7 +8,7 @@ It might be required for you to import the package if you encounter any issues,\n`import mods.contenttweaker.AxisAlignedBB;`\n## Calling an MCAxisAlignedBB object\n-You can get such an object using a [Block's](/mods/ContentTweaker/Vanilla/Creatable_Content/Block) `axisAlignedBB` Property.\n+You can get such an object using a [Block's](/Mods/ContentTweaker/Vanilla/Creatable_Content/Block) `axisAlignedBB` Property.\nAlternatively, you can use this package to create a new MCAxisAlignedBB object:\n```JAVA\nAxisAlignedBB.create(double minX, double minY, double minZ, double maxX, double maxY, double maxZ);\n" }, { "change_type": "MODIFY", "old_path": "docs/Mods/ContentTweaker/Vanilla/Types/Sound/ISoundEventDefinition.md", "new_path": "docs/Mods/ContentTweaker/Vanilla/Types/Sound/ISoundEventDefinition.md", "diff": "@@ -7,7 +7,7 @@ It might be required for you to import the package if you encounter any issues,\n`import mods.contenttweaker.SoundEvent;`\n## Calling an ISoundEventDefinition object\n-You can get such an object using the [Sound Event Bracket Handler](/Mods/Contenttweaker/Vanilla/Brackets/Bracket_Sound_Event):\n+You can get such an object using the [Sound Event Bracket Handler](/Mods/ContentTweaker/Vanilla/Brackets/Bracket_Sound_Event):\n`<soundevent:ambient.cave>`\n## ZenMethods without parameters\n" }, { "change_type": "MODIFY", "old_path": "docs/Mods/ContentTweaker/Vanilla/Types/Sound/ISoundTypeDefinition.md", "new_path": "docs/Mods/ContentTweaker/Vanilla/Types/Sound/ISoundTypeDefinition.md", "diff": "@@ -7,7 +7,7 @@ It might be required for you to import the package if you encounter any issues,\n`import mods.contenttweaker.SoundType;`\n## Calling an ISoundTypeDefinition object\n-You can get such an object using the [Sound Type Bracket Handler](/Mods/Contenttweaker/Vanilla/Brackets/Bracket_Sound_Type):\n+You can get such an object using the [Sound Type Bracket Handler](/Mods/ContentTweaker/Vanilla/Brackets/Bracket_Sound_Type):\n`<soundtype:wood>`\n##ZenMethods without parameters\n" }, { "change_type": "MODIFY", "old_path": "docs/Mods/ContentTweaker/Vanilla/Types/World/IWorld.md", "new_path": "docs/Mods/ContentTweaker/Vanilla/Types/World/IWorld.md", "diff": "@@ -23,4 +23,4 @@ It might be required for you to import the package if you encounter any issues,\n## ZenMethods with parameters\n- [IBiome](/Vanilla/Biomes/IBiome) getBiome([IBlockPos](/Mods/ContentTweaker/Vanilla/Types/Block/IBlockPos) blockPos);\n-- boolean setBlockState([ICTBlockState](/Mods/ContentTweaker/Vanilla/Types/Block/ICTBlockState) blockState, [IBlockPos](/mods/ContentTweaker/Vanilla/Types/Block/IBlockPos) blockPos);\n\\ No newline at end of file\n+- boolean setBlockState([ICTBlockState](/Mods/ContentTweaker/Vanilla/Types/Block/ICTBlockState) blockState, [IBlockPos](/Mods/ContentTweaker/Vanilla/Types/Block/IBlockPos) blockPos);\n\\ No newline at end of file\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Interlinks now with correct capitalization
139,040
11.10.2017 20:15:06
-7,200
86d35a5f6ae9791e5ddc2d7d5353975dd29b206e
Didnt see they expand the classes
[ { "change_type": "MODIFY", "old_path": "docs/Mods/ContentTweaker/Vanilla/Types/Item/IMutableItemStack.md", "new_path": "docs/Mods/ContentTweaker/Vanilla/Types/Item/IMutableItemStack.md", "diff": "# MutableItemStack\nA Mutable Item Stack is a special [IItemStack](/Vanilla/Items/IItemStack) object that can only be retrieved from [ICTPlayers](/Mods/ContentTweaker/Vanilla/Types/Player/ICTPlayer).\n-However, most (as of now, all) of IItemStack's methods won't work on this instead you need to use the ones below:\n+That means all of [IItemStack](/Vanilla/Items/IItemStack)'s methods, and those of [IIngredients](/Vanilla/Variable_Types/IIngredient)!\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/Mods/ContentTweaker/Vanilla/Types/Player/ICTPlayer.md", "new_path": "docs/Mods/ContentTweaker/Vanilla/Types/Player/ICTPlayer.md", "diff": "# ICTPlayer\nAn ICTPlayer is ContentTweaker's special [IPlayer](/Vanilla/Game/IPlayer) object.\n-However, most of the functions (in fact, all) that IPlayer offers don't work here!\n+That means all of [IPlayer's](/Vanilla/Game/IPlayer) methods are also available on this object!\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" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Didnt see they expand the classes
139,040
12.10.2017 21:22:00
-7,200
2fda357c554dc8b507c813d6c746f96fd0a041ec
IWorld setBlockState
[ { "change_type": "MODIFY", "old_path": "docs/Mods/ContentTweaker/Vanilla/Types/World/IWorld.md", "new_path": "docs/Mods/ContentTweaker/Vanilla/Types/World/IWorld.md", "diff": "@@ -24,3 +24,4 @@ It might be required for you to import the package if you encounter any issues,\n- [IBiome](/Vanilla/Biomes/IBiome) getBiome([IBlockPos](/Mods/ContentTweaker/Vanilla/Types/Block/IBlockPos) blockPos);\n- boolean setBlockState([ICTBlockState](/Mods/ContentTweaker/Vanilla/Types/Block/ICTBlockState) blockState, [IBlockPos](/Mods/ContentTweaker/Vanilla/Types/Block/IBlockPos) blockPos);\n+- [ICTBlockState](/Mods/ContentTweaker/Vanilla/Types/Block/ICTBlockState) getBlockState([IBlockPos](/Mods/ContentTweaker/Vanilla/Types/Block/IBlockPos) blockPos);\n\\ No newline at end of file\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
IWorld setBlockState
139,040
14.10.2017 12:01:42
-7,200
93c2c84881631250768172e506ce3898fb7c970e
CoT Item burn tyme, Crystal item
[ { "change_type": "MODIFY", "old_path": "docs/Mods/ContentTweaker/Materials/Materials/MaterialPartData.md", "new_path": "docs/Mods/ContentTweaker/Materials/Materials/MaterialPartData.md", "diff": "@@ -20,6 +20,18 @@ Now, what to put in as name or value?\nWell, that depends on the parttype of the tool you are using.\nBelow you will find a list for CoT's basic Part Types:\n+<details><summary>Items</summary>\n+ <table>\n+ <thead>\n+ <th>Name</th><th>Value</th><th>Required?</th></tr>\n+ </thead>\n+ <tbody>\n+ <tr><td>burn</td><td>An \"integer\" (e.g. \"100\")</td><td>No</td></tr>\n+ </tbody>\n+ </table>\n+</details>\n+\n+\n<details><summary>Armor</summary>\n<table>\n<thead>\n" }, { "change_type": "MODIFY", "old_path": "docs/Mods/ContentTweaker/Materials/Parts/Part.md", "new_path": "docs/Mods/ContentTweaker/Materials/Parts/Part.md", "diff": "@@ -16,6 +16,7 @@ You can either retrieve an existing Part using the [MaterialSystem](/Mods/Conten\n<li>Beam</li>\n<li>Bolt</li>\n<li>Casing</li>\n+ <li>Crystal</li>\n<li>Dense Plate</li>\n<li>Dust</li>\n<li>Gear</li>\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
CoT Item burn tyme, Crystal item
139,040
14.10.2017 12:02:05
-7,200
67ae39ab3b6f551e57d6ef6d59ac935917d335fd
BWM additional methods for kiln/saw
[ { "change_type": "MODIFY", "old_path": "docs/Mods/Modtweaker/BetterWithMods/Kiln.md", "new_path": "docs/Mods/Modtweaker/BetterWithMods/Kiln.md", "diff": "@@ -6,8 +6,11 @@ The Kiln ONLY takes blocks as inputs, all IItemStack input MUST be that of a pla\n```\nmods.betterwithmods.Kiln.add(IItemStack[] output, IItemStack input);\n+mods.betterwithmods.Kiln.add(IItemStack[] output, IIngredient input);\nmods.betterwithmods.Kiln.add([<minecraft:diamond>,<minecraft:coal>], <minecraft:coal_ore>);\n+//Only use IIngredients that contain items!\n+mods.betterwithmods.Kiln.add([<minecraft:diamond>,<minecraft:coal>], <ore:oreCoal>);\n```\n## Removal\n" }, { "change_type": "MODIFY", "old_path": "docs/Mods/Modtweaker/BetterWithMods/Saw.md", "new_path": "docs/Mods/Modtweaker/BetterWithMods/Saw.md", "diff": "@@ -6,8 +6,11 @@ The Saw ONLY takes _Blocks_ as inputs, all IItemStack input MUST be that of a pl\n```\nmods.betterwithmods.Saw.add(IItemStack[] output, IItemStack input);\n+mods.betterwithmods.Saw.add(IItemStack[] output, IIngredient input);\nmods.betterwithmods.Saw.add([<minecraft:stick>,<minecraft:stick>], <minecraft:fence>);\n+//Only use Ingredients that contain items!\n+mods.betterwithmods.Saw.add([<minecraft:stick>,<minecraft:stick>], <ore:plankWood>);\n```\n## Removal\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
BWM additional methods for kiln/saw
139,040
14.10.2017 13:28:34
-7,200
ddfdedb1249aa498c874d519b480dbf53be09466
Added CTGUI page
[ { "change_type": "ADD", "old_path": null, "new_path": "docs/Vanilla/CTGUI.md", "diff": "+# CTGUI\n+\n+Some people don't fancy text editors. Even using templates highlighting their syntax can't satisfy them. They want a GUI (Graphical User Interface).\n+For this matter, Jared, humble servant of Lord Ellpeck of House penguin, rightful heir to the Milkshake Throne, King of the Seven Kingdoms of Germany, the Rhoynar and the First Men, Mother of penguins, the modder of the great frozen plains, the unbroken and breaker of mods, has descended upon us from Maven, the great Library of Forbidden Wisdom and Blasphemy to share his great knowledge with mankind. Unfortunately, the human race did not yet seem able to grasp the concepts he laid out, so he decided to instead go for a more crude means of help, by allowing the layman to access a magical window from inside the game they liked to play and change the fundaments of this false reality from within.\n+\n+\n+## Calling the command\n+You call the command using\n+```\n+/CTGUI id\n+```\n+\n+These ids are currently implemented:\n+\n+| ID | Added by | Notes |\n+|---------------|--------------|-------|\n+| craftingtable | CraftTweaker | |\n+| furnace | CraftTweaker | |\n\\ No newline at end of file\n" }, { "change_type": "MODIFY", "old_path": "mkdocs.yml", "new_path": "mkdocs.yml", "diff": "@@ -3,6 +3,7 @@ pages:\n- Home: 'index.md'\n- Getting Started With Scripts: 'Getting_Started.md'\n- Commands: 'Vanilla/Commands.md'\n+ - CTGUI: 'Vanilla/CTGUI.md'\n- Bracket Handlers: 'Brackets/Brackets.md'\n- Ore Dictionary: 'Vanilla/OreDict.md'\n- Advanced Functions:\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Added CTGUI page
139,040
15.10.2017 09:34:50
-7,200
264c3f3097d56891d2fc4bd3a533a5e6ea1c5698
Background story in its own spoiler
[ { "change_type": "MODIFY", "old_path": "docs/Vanilla/CTGUI.md", "new_path": "docs/Vanilla/CTGUI.md", "diff": "# CTGUI\n-Some people don't fancy text editors. Even using templates highlighting their syntax can't satisfy them. They want a GUI (Graphical User Interface).\n-For this matter, Jared, humble servant of Lord Ellpeck of House penguin, rightful heir to the Milkshake Throne, King of the Seven Kingdoms of Germany, the Rhoynar and the First Men, Mother of penguins, the modder of the great frozen plains, the unbroken and breaker of mods, has descended upon us from Maven, the great Library of Forbidden Wisdom and Blasphemy to share his great knowledge with mankind. Unfortunately, the human race did not yet seem able to grasp the concepts he laid out, so he decided to instead go for a more crude means of help, by allowing the layman to access a magical window from inside the game they liked to play and change the fundaments of this false reality from within.\n+You can run a command and edit recipes from ingame using a GUI.\n+<details><summary>Background story</summary>\n+Some people don't fancy text editors. Even using templates highlighting their syntax can't satisfy them. They want a GUI (Graphical User Interface).\n+For this matter, Jared, humble servant of Lord Ellpeck of House penguin, rightful heir to the Milkshake Throne, King of the Seven Kingdoms of Germany, the Rhoynar and the First Men, Mother of penguins, the modder of the great frozen plains, the unbroken and breaker of mods, has descended upon us from Maven, the great Library of Forbidden Wisdom and Blasphemy to share his great knowledge with mankind, after being urged by BBoldt, traveller of realms, slayer of the great Unknown, writer of Necrochodu. Unfortunately, we were not yet able to decipher the seemingly random jabbering that came from him, so he decided to instead go for a more simplistic means of help, by giving people who posess the power to manipulate the very laws of the universe (also called `OPs` or `Admins`) to access a magical window from inside the game they liked to play and change the fundaments of this false reality from within.\n+</details>\n## Calling the command\nYou call the command using\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Background story in its own spoiler
139,040
21.10.2017 14:08:04
-7,200
5a7991da2a05e64ccf4af1c76419ab7d953768bd
TE new Methods
[ { "change_type": "ADD", "old_path": null, "new_path": "docs/Mods/Modtweaker/ThermalExpansion/Centrifugal_Seperator.md", "diff": "+# Centrifugal Seperator\n+\n+## Package\n+`mods.thermalexpansion.Centrifuge`\n+\n+## Addition\n+\n+```\n+//mods.thermalexpansion.Centrifuge.addRecipe(WeightedItemStack[] outputs, IItemStack input, ILiquidStack fluid, int energy);\n+mods.thermalexpansion.Centrifuge.addRecipe([(<minecraft:gold_ingot> * 5) % 10, <minecraft:iron_ingot> % 50], <minecraft:gold_ore>, <liquid:lava>, 2000);\n+\n+```\n+\n+## Removal\n+\n+```\n+//mods.thermalexpansion.Centrifuge.removeRecipe(IItemStack input);\n+mods.thermalexpansion.Centrifuge.removeRecipe(<minecraft:gold_ore>);\n+```\n\\ No newline at end of file\n" }, { "change_type": "ADD", "old_path": null, "new_path": "docs/Mods/Modtweaker/ThermalExpansion/Energetic_Infuser.md", "diff": "+# Energetic Infuser\n+\n+## Package\n+`mods.thermalexpansion.Infuser`\n+\n+## Addition\n+\n+```\n+//mods.thermalexpansion.Infuser.addRecipe(IItemStack output, IItemStack input, int energy);\n+mods.thermalexpansion.Infuser.addRecipe(<minecraft:gold_ingot>, <minecraft:iron_ingot>, 1000);\n+\n+```\n+\n+## Removal\n+\n+```\n+//mods.thermalexpansion.Infuser.removeRecipe(IItemStack input);\n+mods.thermalexpansion.Infuser.removeRecipe(<minecraft:gold_ore>);\n+```\n\\ No newline at end of file\n" }, { "change_type": "ADD", "old_path": null, "new_path": "docs/Mods/Modtweaker/ThermalExpansion/Fluid_Transposer.md", "diff": "+# Fluid_Transposer\n+\n+## Package\n+`mods.thermalexpansion.Transposer`\n+\n+## Addition\n+\n+```\n+//mods.thermalexpansion.Transposer.addExtractRecipe(ILiquidStack output, IItemStack input, int energy);\n+//mods.thermalexpansion.Transposer.addExtractRecipe(ILiquidStack output, IItemStack input, int energy, WeightedItemStack itemOut);\n+mods.thermalexpansion.Transposer.addExtractRecipe(<liquid:water> * 250, <minecraft:leaves:0>, 360);\n+mods.thermalexpansion.Transposer.addExtractRecipe(<liquid:water> * 250, <minecraft:leaves:1>, 360, <minecraft:leaves:0> % 30);\n+\n+\n+\n+//mods.thermalexpansion.Transposer.addFillRecipe(IItemStack output, IItemStack input, ILiquidStack fluid, int energy);\n+mods.thermalexpansion.Transposer.addFillRecipe(<minecraft:leaves:1>, <minecraft:leaves:0>, <liquid:water> * 200, 20);\n+\n+\n+```\n+\n+## Removal\n+\n+```\n+//mods.thermalexpansion.Transposer.removeExtractRecipe(IItemStack input);\n+mods.thermalexpansion.Transposer.removeRecipe(<minecraft:gold_ore>);\n+\n+\n+//mods.thermalexpansion.Transposer.removeFillRecipe(IItemStack input, ILiquidStack fluid);\n+mods.thermalexpansion.Transposer.removeRecipe(<minecraft:bucket>, <liquid:water>);\n+```\n\\ No newline at end of file\n" }, { "change_type": "ADD", "old_path": null, "new_path": "docs/Mods/Modtweaker/ThermalExpansion/Redstone_Furnace.md", "diff": "+#Redstone Furnace\n+\n+## Package\n+`mods.thermalexpansion.RedstoneFurnace`\n+\n+## Addition\n+\n+```\n+//mods.thermalexpansion.RedstoneFurnace.addRecipe(IItemStack output, IItemStack input, int energy);\n+mods.thermalexpansion.RedstoneFurnace.addRecipe(<minecraft:gold_ingot>, <minecraft:iron_ingot>, 3600);\n+```\n+\n+## Removal\n+\n+```\n+//mods.thermalexpansion.RedstoneFurnace.removeRecipe(IItemStack input);\n+mods.thermalexpansion.RedstoneFurnace.removeRecipe(<minecraft:gold_ore>);\n+```\n\\ No newline at end of file\n" }, { "change_type": "MODIFY", "old_path": "mkdocs.yml", "new_path": "mkdocs.yml", "diff": "@@ -197,11 +197,15 @@ pages:\n- Drying: 'Mods/Modtweaker/TConstruct/Drying.md'\n- Melting: 'Mods/Modtweaker/TConstruct/Melting.md'\n- Thermal Expansion:\n+ - Centrifugal Seperator: 'Mods/Modtweaker/ThermalExpansion/Centrifugal_Seperator.md'\n- Compactor: 'Mods/Modtweaker/ThermalExpansion/Compactor.md'\n- Crucible: 'Mods/Modtweaker/ThermalExpansion/Crucible.md'\n+ - Energetic Infuser: 'Mods/Modtweaker/ThermalExpansion/Energetic_Infuser.md'\n+ - Fluid Transposer: 'Mods/Modtweaker/ThermalExpansion/Fluid_Transposer.md'\n- InductionSmelter: 'Mods/Modtweaker/ThermalExpansion/InductionSmelter.md'\n- Insolator: 'Mods/Modtweaker/ThermalExpansion/Insolator.md'\n- Pulverizer: 'Mods/Modtweaker/ThermalExpansion/Pulverizer.md'\n+ - Redstone Furnace: 'Mods/Modtweaker/ThermalExpansion/Redstone_Furnace.md'\n- Refinery: 'Mods/Modtweaker/ThermalExpansion/Refinery.md'\n- Sawmill: 'Mods/Modtweaker/ThermalExpansion/Sawmill.md'\n- Industrial Foregoing:\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
TE new Methods
139,040
21.10.2017 14:08:30
-7,200
8812d7e6923441f2eb0a49a0556201b24320afd7
TCon new removals with inputs
[ { "change_type": "MODIFY", "old_path": "docs/Mods/Modtweaker/TConstruct/Alloying.md", "new_path": "docs/Mods/Modtweaker/TConstruct/Alloying.md", "diff": "@@ -17,4 +17,7 @@ mods.tconstruct.Alloy.addRecipe(<liquid:water> * 10, [<liquid:lava> * 10, <liqui\n```JAVA\n//mods.tconstruct.Alloy.removeRecipe(ILiquidStack output);\nmods.tconstruct.Alloy.removeRecipe(<liquid:water>);\n+\n+//mods.tconstruct.Alloy.removeRecipe(ILiquidStack output, ILiquidStack[] inputs);\n+mods.tconstruct.Alloy.removeRecipe(<liquid:water>, [<liquid:lava>, <liquid:molten_iron>]);\n```\n\\ No newline at end of file\n" }, { "change_type": "MODIFY", "old_path": "docs/Mods/Modtweaker/TConstruct/Casting.md", "new_path": "docs/Mods/Modtweaker/TConstruct/Casting.md", "diff": "@@ -30,7 +30,14 @@ Removing Recipes is also possible for Casting Tables and Basins:\n//mods.tconstruct.Casting.removeTableRecipe(IItemStack output);\nmods.tconstruct.Casting.removeTableRecipe(<minecraft:iron_ingot>);\n+//mods.tconstruct.Casting.removeTableRecipe(IItemStack output, ILiquidStack input);\n+mods.tconstruct.Casting.removeTableRecipe(<minecraft:iron_ingot>, <liquid:molten_iron>);\n+\n+\n//mods.tconstruct.Casting.removeBasinRecipe(IItemStack output);\nmods.tconstruct.Casting.removeBasinRecipe(<minecraft:gold_block>);\n+\n+//mods.tconstruct.Casting.removeBasinRecipe(IItemStack output, ILiquidStack input);\n+mods.tconstruct.Casting.removeBasinRecipe(<minecraft:gold_block>, <liquid:molten_gold>);\n```\n\\ No newline at end of file\n" }, { "change_type": "MODIFY", "old_path": "docs/Mods/Modtweaker/TConstruct/Drying.md", "new_path": "docs/Mods/Modtweaker/TConstruct/Drying.md", "diff": "@@ -17,4 +17,7 @@ mods.tconstruct.Drying.addRecipe(<minecraft:leather>,<minecraft:rotten_flesh>, 1\n```\n//mods.tconstruct.Drying.removeRecipe(IItemStack output);\nmods.tconstruct.Drying.removeRecipe(<minecraft:leather>);\n+\n+//mods.tconstruct.Drying.removeRecipe(IItemStack output, IItemStack input);\n+mods.tconstruct.Drying.removeRecipe(<minecraft:leather>, <minecraft:rotten_flesh>);\n```\n\\ No newline at end of file\n" }, { "change_type": "MODIFY", "old_path": "docs/Mods/Modtweaker/TConstruct/Melting.md", "new_path": "docs/Mods/Modtweaker/TConstruct/Melting.md", "diff": "@@ -18,4 +18,7 @@ mods.tconstruct.Melting.addRecipe(<liquid:molten_iron> * 144,<minecraft:iron_ing\n```JAVA\n//mods.tconstruct.Melting.removeRecipe(ILiquidStack output);\nmods.tconstruct.Melting.removeRecipe(<liquid:molten_iron>);\n+\n+//mods.tconstruct.Melting.removeRecipe(ILiquidStack output, IItemStack input);\n+mods.tconstruct.Melting.removeRecipe(<liquid:molten_iron>, <minecraft:iron_ingot>);\n```\n\\ No newline at end of file\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
TCon new removals with inputs
139,040
21.10.2017 14:08:48
-7,200
cdf4c0a243fd487c45263bfedd9427040d1f41e6
TCon added Package
[ { "change_type": "MODIFY", "old_path": "docs/Mods/Modtweaker/ThermalExpansion/Compactor.md", "new_path": "docs/Mods/Modtweaker/ThermalExpansion/Compactor.md", "diff": "# Compactor\n+## Package\n+`mods.thermalexpansion.Compactor`\n+\nThe compactor supports 3 types of mods:\n```\n" }, { "change_type": "MODIFY", "old_path": "docs/Mods/Modtweaker/ThermalExpansion/Crucible.md", "new_path": "docs/Mods/Modtweaker/ThermalExpansion/Crucible.md", "diff": "# Crucible\n+## Package\n+`mods.thermalexpansion.Crucible`\n+\n## Addition\n```\n" }, { "change_type": "MODIFY", "old_path": "docs/Mods/Modtweaker/ThermalExpansion/InductionSmelter.md", "new_path": "docs/Mods/Modtweaker/ThermalExpansion/InductionSmelter.md", "diff": "# InductionSmelter\n+## Package\n+`mods.thermalexpansion.InductionSmelter`\n+\n## Addition\n```\n" }, { "change_type": "MODIFY", "old_path": "docs/Mods/Modtweaker/ThermalExpansion/Insolator.md", "new_path": "docs/Mods/Modtweaker/ThermalExpansion/Insolator.md", "diff": "# Insolator\n+## Package\n+`mods.thermalexpansion.Insolator`\n+\n## Addition\n```\n-mods.thermalexpansion.Insolator.addRecipe(IItemStack primaryOutput, IItemStack primaryInput, IItemStack secondaryInput, int energy, @Optional IItemStack secondaryOutput, @Optional int secondaryChance);\n+//mods.thermalexpansion.Insolator.addRecipe(IItemStack primaryOutput, IItemStack primaryInput, IItemStack secondaryInput, int energy, @Optional IItemStack secondaryOutput, @Optional int secondaryChance);\nmods.thermalexpansion.Insolator.addRecipe(<minecraft:diamond>, <minecraft:stick>, <minecraft:iron_ore>, 1500, <minecraft:stone>, 20);\n```\n@@ -11,7 +14,7 @@ mods.thermalexpansion.Insolator.addRecipe(<minecraft:diamond>, <minecraft:stick>\n## Removal\n```\n-mods.thermalexpansion.Insolator.removeRecipe(IItemStack primaryInput, IItemStack secondaryInput);\n+//mods.thermalexpansion.Insolator.removeRecipe(IItemStack primaryInput, IItemStack secondaryInput);\nmods.thermalexpansion.Insolator.removeRecipe(<minecraft:melon_seeds>, <thermalfoundation:fertilizer:1>);\n```\n\\ No newline at end of file\n" }, { "change_type": "MODIFY", "old_path": "docs/Mods/Modtweaker/ThermalExpansion/Pulverizer.md", "new_path": "docs/Mods/Modtweaker/ThermalExpansion/Pulverizer.md", "diff": "# Pulverizer\n+## Package\n+`mods.thermalexpansion.Pulverizer`\n+\n## Addition\n```\n" }, { "change_type": "MODIFY", "old_path": "docs/Mods/Modtweaker/ThermalExpansion/Refinery.md", "new_path": "docs/Mods/Modtweaker/ThermalExpansion/Refinery.md", "diff": "# Refinery\n+## Package\n+`mods.thermalexpansion.Refinery`\n+\n## Addition\n```\n" }, { "change_type": "MODIFY", "old_path": "docs/Mods/Modtweaker/ThermalExpansion/Sawmill.md", "new_path": "docs/Mods/Modtweaker/ThermalExpansion/Sawmill.md", "diff": "# Sawmill\n+## Package\n+`mods.thermalexpansion.Sawmill`\n+\n## Addition\n```\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
TCon added Package
139,040
21.10.2017 14:09:08
-7,200
fe732fe95e623c4af5ce945b8fe6e26ef9b87cee
Arrays: Added casts to examples and casting explanation
[ { "change_type": "MODIFY", "old_path": "docs/AdvancedFunctions/Arrays_and_Loops.md", "new_path": "docs/AdvancedFunctions/Arrays_and_Loops.md", "diff": "@@ -8,24 +8,35 @@ It is declared using ```[``` and ```]```.\n```\n//Array containing \"Hello\" and \"World\"\n-val stringArray = [\"Hello\", \"World\"];\n+val stringArray = [\"Hello\", \"World\"] as string[];\n//Array containing 1-3\n-val intArray = [1,2,3];\n+val intArray = [1,2,3] as int[];\n```\nIf you now think \"wait, haven't I seen these brackets before?\", you have.\nRemember ```recipes.add(out,[[],[],[]]);```?\nThis uses three arrays with each containing up to three entries to define a crafting table recipe.\n+## Casting Arrays\n+You surely have noticed that all arrays here have the `as` statement appended.\n+Why you ask?\n+This is because ZenScript sometimes cannot predict what type the items in the array are. This can be the cause of strange conversion error logs!\n+Better be safe than sorry and cast the Arrays to their correct types!\n+Also, if you cast to non-primitive types (everything except strings, ints and the same) be sure to [import](Import) the corresponding package:\n+```\n+import crafttweaker.item.IItemStack;\n+val IArray = [<minecraft:gold_ingot>, <minecraft:iron_ingot>] as IItemStack[];\n+```\n+\n## Nested Arrays\nYou can place Arrays in Arrays.\n```\n-val stringArray1 = [\"Hello\",\"World\"];\n-val stringArray2 = [\"I\",\"am\"];\n-val stringArray3 = [\"a\",\"beatuful\"];\n-val stringArrayAll = [stringArray1,stringArray2,stringArray3,[\"Butterfly\",\"!\"]];\n+val stringArray1 = [\"Hello\",\"World\"] as string[];\n+val stringArray2 = [\"I\",\"am\"] as string[];\n+val stringArray3 = [\"a\",\"beatuful\"] as string[];\n+val stringArrayAll = [stringArray1,stringArray2,stringArray3,[\"Butterfly\",\"!\"]] as string[][];\n```\n## Reffering to items in an Array\n@@ -41,17 +52,17 @@ stringArray[1] is \"World\"\nstringArray[2] is \"I\"\nstringArray[3] is \"am\"\n*/\n-val stringArray = [\"Hello\",\"World\",\"I\",\"am\"];\n+val stringArray = [\"Hello\",\"World\",\"I\",\"am\"] as string[];\n//prints \"Hello\"\nprint(stringArray[0]);\n//Nested Arrays\n-val stringArray1 = [\"Hello\",\"World\"];\n-val stringArray2 = [\"I\",\"am\"];\n-val stringArray3 = [\"a\",\"beautiful\"];\n-val stringArrayAll = [stringArray1,stringArray2,stringArray3,[\"Butterfly\",\"!\"]];\n+val stringArray1 = [\"Hello\",\"World\"] as string[];\n+val stringArray2 = [\"I\",\"am\"] as string[];\n+val stringArray3 = [\"a\",\"beautiful\"] as string[];\n+val stringArrayAll = [stringArray1,stringArray2,stringArray3,[\"Butterfly\",\"!\"]] as string[][];\n/*\nstringArrayAll[0] is [\"Hello\",\"World\"]\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Arrays: Added casts to examples and casting explanation
139,040
21.10.2017 14:28:11
-7,200
aea35454a18c842a9cb83c1ca39995eb503a6353
Added AA Mining Lens & Oil Generator
[ { "change_type": "ADD", "old_path": null, "new_path": "docs/Mods/Modtweaker/ActuallyAdditions/Mining_Lens.md", "diff": "+# Mining Lens\n+\n+## Package\n+`mods.actuallyadditions.MiningLens`\n+\n+\n+## Addition\n+\n+\n+\n+```\n+//mods.actuallyadditions.MiningLens.addStoneOre(IOreDictEntry ore, int weight);\n+mods.actuallyadditions.MiningLens.addStoneOre(<ore:oreIron>, 2);\n+\n+\n+//mods.actuallyadditions.MiningLens.addNetherOre(IOreDictEntry ore, int weight);\n+mods.actuallyadditions.MiningLens.addNetherOre(<ore:oreGold>, 5);\n+```\n+\n+## Removal\n+\n+```\n+//mods.actuallyadditions.MiningLens.removeStoneOre(IOreDictEntry ore)\n+mods.actuallyadditions.MiningLens.removeStoneOre(<ore:oreIron>)\n+\n+\n+\n+//mods.actuallyadditions.MiningLens.removeNetherOre(IOreDictEntry ore)\n+mods.actuallyadditions.MiningLens.removeNetherOre(<ore:oreGold>)\n+```\n\\ No newline at end of file\n" }, { "change_type": "ADD", "old_path": null, "new_path": "docs/Mods/Modtweaker/ActuallyAdditions/Oil_Generator.md", "diff": "+# Oil Generator\n+\n+## Package\n+`mods.actuallyadditions.OilGen`\n+\n+\n+## Addition\n+\n+\n+`genTime` defaults to 100 if omitted\n+```\n+//mods.actuallyadditions.OilGen.addRecipe(ILiquidStack fluid, int genAmount);\n+//mods.actuallyadditions.OilGen.addRecipe(ILiquidStack fluid, int genAmount, int genTime);\n+\n+mods.actuallyadditions.OilGen.addRecipe(<liquid:water>, 100);\n+mods.actuallyadditions.OilGen.addRecipe(<liquid:lava>, 1000, 10);\n+```\n+\n+## Removal\n+\n+```\n+//mods.actuallyadditions.OilGen.removeRecipe(ILiquidStack output);\n+mods.actuallyadditions.OilGen.removeRecipe(<liquid:water>);\n+```\n\\ No newline at end of file\n" }, { "change_type": "MODIFY", "old_path": "mkdocs.yml", "new_path": "mkdocs.yml", "diff": "@@ -168,6 +168,8 @@ pages:\n- Compost: 'Mods/Modtweaker/ActuallyAdditions/Compost.md'\n- Crusher: 'Mods/Modtweaker/ActuallyAdditions/Crusher.md'\n- Empowerer: 'Mods/Modtweaker/ActuallyAdditions/Empowerer.md'\n+ - Mining Lens: 'Mods/Modtweaker/ActuallyAdditions/Mining_Lens.md'\n+ - Oil Generator: 'Mods/Modtweaker/ActuallyAdditions/Oil_Generator.md'\n- Treasure Chest: 'Mods/Modtweaker/ActuallyAdditions/TreasureChest.md'\n- BetterWithMods:\n- Anvil: 'Mods/Modtweaker/BetterWithMods/Anvil.md'\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Added AA Mining Lens & Oil Generator
139,040
21.10.2017 14:28:26
-7,200
96172c48e8bf0289c0ec3cc8c729f593ed92471b
Added Package to AA entries; Reformat
[ { "change_type": "MODIFY", "old_path": "docs/Mods/Modtweaker/ActuallyAdditions/AtomicReconstructor.md", "new_path": "docs/Mods/Modtweaker/ActuallyAdditions/AtomicReconstructor.md", "diff": "# Atomic Reconstructor\n+## Package\n+`mods.actuallyadditions.AtomicReconstructor`\n+\n## Addition\n```\n-mods.actuallyadditions.AtomicReconstructor.addRecipe(IItemStack output, IItemStack input, int energyUsed);\n-\n+//mods.actuallyadditions.AtomicReconstructor.addRecipe(IItemStack output, IItemStack input, int energyUsed);\nmods.actuallyadditions.AtomicReconstructor.addRecipe(<minecraft:fire_charge>, <minecraft:coal:1>, 1000);\n```\n## Removal\n```\n-mods.actuallyadditions.AtomicReconstructor.removeRecipe(IItemStack output);\n-\n+//mods.actuallyadditions.AtomicReconstructor.removeRecipe(IItemStack output);\nmods.actuallyadditions.AtomicReconstructor.removeRecipe(<minecraft:coal>);\n```\n\\ No newline at end of file\n" }, { "change_type": "MODIFY", "old_path": "docs/Mods/Modtweaker/ActuallyAdditions/BallOfFur.md", "new_path": "docs/Mods/Modtweaker/ActuallyAdditions/BallOfFur.md", "diff": "# Ball of Fur\n+## Package\n+`mods.actuallyadditions.BallOfFur`\n+\n## Addition\n```\n-mods.actuallyadditions.BallOfFur.addReturn(IItemStack output, int chance);\n-\n+//mods.actuallyadditions.BallOfFur.addReturn(IItemStack output, int chance);\nmods.actuallyadditions.BallOfFur.addReturn(<minecraft:string>, 5);\n```\n## Removal\n```\n-mods.actuallyadditions.BallOfFur.removeReturn(IItemStack output);\n-\n+//mods.actuallyadditions.BallOfFur.removeReturn(IItemStack output);\nmods.actuallyadditions.BallOfFur.removeReturn(<minecraft:coal>);\n```\n\\ No newline at end of file\n" }, { "change_type": "MODIFY", "old_path": "docs/Mods/Modtweaker/ActuallyAdditions/Compost.md", "new_path": "docs/Mods/Modtweaker/ActuallyAdditions/Compost.md", "diff": "# Compost\n+## Package\n+`mods.actuallyadditions.Compost`\n+\n## Addition\n```\n-mods.actuallyadditions.Compost.addRecipe(IItemStack output, IItemStack outputDisplay, IItemStack input, IItemStack inputDisplay);\n-\n+//mods.actuallyadditions.Compost.addRecipe(IItemStack output, IItemStack outputDisplay, IItemStack input, IItemStack inputDisplay);\nmods.actuallyadditions.Compost.addRecipe(<minecraft:dirt>, <minecraft:dirt>, <minecraft:sugar>, <minecraft:snow>);\n```\n## Removal\n```\n-mods.actuallyadditions.Compost.removeRecipe(IItemStack output);\n-\n+//mods.actuallyadditions.Compost.removeRecipe(IItemStack output);\nmods.actuallyadditions.Compost.removeRecipe(<actuallyadditions:item_canola_seed>);\n```\n\\ No newline at end of file\n" }, { "change_type": "MODIFY", "old_path": "docs/Mods/Modtweaker/ActuallyAdditions/Crusher.md", "new_path": "docs/Mods/Modtweaker/ActuallyAdditions/Crusher.md", "diff": "# Crusher\n+## Package\n+`mods.actuallyadditions.Crusher`\n+\n## Addition\n```\n-mods.actuallyadditions.Crusher.addRecipe(IItemStack output, IItemStack input, @Optional IItemStack outputSecondary, @Optional int outputSecondaryChance);\n-\n+//mods.actuallyadditions.Crusher.addRecipe(IItemStack output, IItemStack input, @Optional IItemStack outputSecondary, @Optional int outputSecondaryChance);\nmods.actuallyadditions.Crusher.addRecipe(<minecraft:iron_ingot>, <minecraft:iron_ore>, <minecraft:stone>, 50);\n```\n## Removal\n```\n-mods.actuallyadditions.Crusher.removeRecipe(IItemStack output);\n-\n+//mods.actuallyadditions.Crusher.removeRecipe(IItemStack output);\nmods.actuallyadditions.Crusher.removeRecipe(<minecraft:gold_ore>);\n```\n\\ No newline at end of file\n" }, { "change_type": "MODIFY", "old_path": "docs/Mods/Modtweaker/ActuallyAdditions/Empowerer.md", "new_path": "docs/Mods/Modtweaker/ActuallyAdditions/Empowerer.md", "diff": "# Empowerer\n+## Package\n+`mods.actuallyadditions.Empowerer`\n+\n## Addition\n```\n-mods.actuallyadditions.Empowerer.addRecipe(IItemStack output, IItemStack input, IItemStack modifier1, IItemStack modifier2, IItemStack modifier3, IItemStack modifier4, int energyPerStand, int time, @Optional float[] particleColourArray);\n+mods.actuallyadditions.Empowerer.addRecipe(IItemStack output, IItemStack input, IItemStack modifier1, IItemStack modifier2, IItemStack modifier3, IItemStack modifier4, int energyPerStand, int time);\n+mods.actuallyadditions.Empowerer.addRecipe(IItemStack output, IItemStack input, IItemStack modifier1, IItemStack modifier2, IItemStack modifier3, IItemStack modifier4, int energyPerStand, int time, particleColourArray);\n+mods.actuallyadditions.Empowerer.addRecipe(<minecraft:iron_ingot>, <minecraft:leaves>, <minecraft:redstone>, <minecraft:redstone>, <minecraft:redstone>, <minecraft:redstone>, 500, 100);\nmods.actuallyadditions.Empowerer.addRecipe(<minecraft:gold_ingot>, <minecraft:iron_ingot>, <minecraft:redstone>, <minecraft:redstone>, <minecraft:redstone>, <minecraft:redstone>, 500, 100, [0.5, 0.3, 0.2]);\n```\n## Removal\n```\n-mods.actuallyadditions.Empowerer.removeRecipe(IItemStack output);\n-\n+//mods.actuallyadditions.Empowerer.removeRecipe(IItemStack output);\nmods.actuallyadditions.Empowerer.removeRecipe(<actuallyadditions:item_crystal_empowered:5>);\n```\n\\ No newline at end of file\n" }, { "change_type": "MODIFY", "old_path": "docs/Mods/Modtweaker/ActuallyAdditions/TreasureChest.md", "new_path": "docs/Mods/Modtweaker/ActuallyAdditions/TreasureChest.md", "diff": "# Treasure Chest\n+## Package\n+`mods.actuallyadditions.TreasureChest`\n+\n## Addition\n```\n-mods.actuallyadditions.TreasureChest.addLoot(IItemStack returnItem, int chance, int minAmount, int maxAmount);\n-\n+//mods.actuallyadditions.TreasureChest.addLoot(IItemStack returnItem, int chance, int minAmount, int maxAmount);\nmods.actuallyadditions.TreasureChest.addLoot(<minecraft:dirt>, 50, 1, 64);\n```\n## Removal\n```\n-mods.actuallyadditions.TreasureChest.removeLoot(IItemStack returnItem);\n-\n+//mods.actuallyadditions.TreasureChest.removeLoot(IItemStack returnItem);\nmods.actuallyadditions.TreasureChest.removeLoot(<minecraft:gold_nugget>);\n```\n\\ No newline at end of file\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Added Package to AA entries; Reformat
139,040
21.10.2017 16:37:37
-7,200
23b0bc521bbee4457d3e08b98ecc98c95faf9773
Maybe Fixed Navbar Added more toc-Level entries to base.css
[ { "change_type": "MODIFY", "old_path": "mkdocs_windmill/css/base.css", "new_path": "mkdocs_windmill/css/base.css", "diff": "@@ -233,10 +233,24 @@ body {\n.wm-toc-lev1 > .wm-toc-text { padding-left: 14px; }\n.wm-toc-lev2 > .wm-toc-text { padding-left: 28px; }\n.wm-toc-lev3 > .wm-toc-text { padding-left: 42px; }\n+.wm-toc-lev4 > .wm-toc-text { padding-left: 56px; }\n+.wm-toc-lev5 > .wm-toc-text { padding-left: 70px; }\n+.wm-toc-lev6 > .wm-toc-text { padding-left: 84px; }\n+.wm-toc-lev7 > .wm-toc-text { padding-left: 98px; }\n+.wm-toc-lev8 > .wm-toc-text { padding-left: 112px; }\n+.wm-toc-lev9 > .wm-toc-text { padding-left: 126px; }\n+.wm-toc-lev10 > .wm-toc-text { padding-left: 140px; }\n.wm-toc-lev1 + .wm-page-toc { margin-left: 14px; }\n.wm-toc-lev2 + .wm-page-toc { margin-left: 28px; }\n.wm-toc-lev3 + .wm-page-toc { margin-left: 42px; }\n+.wm-toc-lev4 + .wm-page-toc { margin-left: 56px; }\n+.wm-toc-lev5 + .wm-page-toc { margin-left: 70px; }\n+.wm-toc-lev6 + .wm-page-toc { margin-left: 84px; }\n+.wm-toc-lev7 + .wm-page-toc { margin-left: 98px; }\n+.wm-toc-lev8 + .wm-page-toc { margin-left: 112px; }\n+.wm-toc-lev9 + .wm-page-toc { margin-left: 126px; }\n+.wm-toc-lev10 + .wm-page-toc { margin-left: 140px; }\n.wm-toc-li-nested {\npadding: 0px;\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Maybe Fixed Navbar Added more toc-Level entries to base.css
139,040
21.10.2017 18:17:04
-7,200
bdc17b4c3ab763566f00568124c5e50fe68acba0
Case sensiticity, you got me... again
[ { "change_type": "MODIFY", "old_path": "docs/Mods/ContentTweaker/Materials/Parts/Part.md", "new_path": "docs/Mods/ContentTweaker/Materials/Parts/Part.md", "diff": "@@ -16,16 +16,16 @@ You can either retrieve an existing Part using the [MaterialSystem](/Mods/Conten\n<h4>Items:</h4>\n<ul>\n<li>Beam ![beam icon](Assets/beam.png)</li>\n- <li>Bolt ![Bolt icon](Assets/Bolt.png)</li>\n- <li>Casing ![Casing icon](Assets/Casing.png)</li>\n- <li>Crystal ![Crystal icon](Assets/Crystal.png)</li>\n+ <li>Bolt ![Bolt icon](Assets/bolt.png)</li>\n+ <li>Casing ![Casing icon](Assets/casing.png)</li>\n+ <li>Crystal ![Crystal icon](Assets/crystal.png)</li>\n<li>Dense Plate ![Dense Plate icon](Assets/dense_plate.png)</li>\n- <li>Dust ![Dust icon](Assets/Dust.png)</li>\n- <li>Gear ![Gear icon](Assets/Gear.png)</li>\n- <li>Ingot ![Ingot icon](Assets/Ingot.png)</li>\n- <li>Nugget ![Nugget icon](Assets/Nugget.png)</li>\n- <li>Plate ![Plate icon](Assets/Plate.png)</li>\n- <li>Rod ![Rod icon](Assets/Rod.png)</li>\n+ <li>Dust ![Dust icon](Assets/dust.png)</li>\n+ <li>Gear ![Gear icon](Assets/gear.png)</li>\n+ <li>Ingot ![Ingot icon](Assets/ingot.png)</li>\n+ <li>Nugget ![Nugget icon](Assets/nugget.png)</li>\n+ <li>Plate ![Plate icon](Assets/plate.png)</li>\n+ <li>Rod ![Rod icon](Assets/rod.png)</li>\n</ul>\n<h4>Blocks:</h4>\n<ul>\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Case sensiticity, you got me... again
139,040
22.10.2017 21:56:48
-7,200
d443a6a65801c3fc021a0f3f9004c34d993de741
Import at top of file that enough?
[ { "change_type": "MODIFY", "old_path": "docs/AdvancedFunctions/Arrays_and_Loops.md", "new_path": "docs/AdvancedFunctions/Arrays_and_Loops.md", "diff": "@@ -23,7 +23,7 @@ You surely have noticed that all arrays here have the `as` statement appended.\nWhy you ask?\nThis is because ZenScript sometimes cannot predict what type the items in the array are. This can be the cause of strange conversion error logs!\nBetter be safe than sorry and cast the Arrays to their correct types!\n-Also, if you cast to non-primitive types (everything except strings, ints and the same) be sure to [import](Import) the corresponding package:\n+Also, if you cast to non-primitive types (everything except strings, ints and the same) be sure to [import](Import) the corresponding package and be sure to do so at the TOP of the script:\n```\nimport crafttweaker.item.IItemStack;\nval IArray = [<minecraft:gold_ingot>, <minecraft:iron_ingot>] as IItemStack[];\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Import at top of file that enough?
139,040
28.10.2017 18:43:01
-7,200
1946d71685d8071fc62b7ec89b05f96886a6121e
Added TiCon Smeltery fuel clarification
[ { "change_type": "MODIFY", "old_path": "docs/Vanilla/Liquids/ILiquidDefinition.md", "new_path": "docs/Vanilla/Liquids/ILiquidDefinition.md", "diff": "@@ -29,7 +29,7 @@ Like in the table above, you set the Zengetter/Setter at the end of the ILiquidD\nSome ZenGetters have no according ZenSetter, you will need to rely on other means to alter these properties.\nBe careful with Zensetters though, they only alter the fluid registry and have no effect on fluids in the world.\n-In most cases you will not need them.\n+You will probably only need the temperature setter when messing with [Tinkers' Construct Smeltery fuels](/Mods/Modtweaker/TConstruct/Fuel).\n```\nval definition = <liquid:lava>.definition;\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Added TiCon Smeltery fuel clarification
139,040
31.10.2017 20:24:55
-3,600
308ae0b5cc4e85c39e0049219b1197a770b1c211
Updated recipe funtions page, included names
[ { "change_type": "MODIFY", "old_path": "docs/AdvancedFunctions/Recipe_Functions.md", "new_path": "docs/AdvancedFunctions/Recipe_Functions.md", "diff": "@@ -12,7 +12,7 @@ This is a so-called IRecipeFunction.\nval diaPick = <minecraft:diamond_pickaxe>;\n//we start normal, by writing the output\n-recipes.addShapeless(diaPick,\n+recipes.addShapeless(\"pickrepair\",diaPick,\n//followed by the input array. One change though - we mark the diamond pickaxe, so we can use it in the function later\n[diaPick.anyDamage().marked(\"mark\"),<minecraft:diamond>],\n@@ -45,7 +45,7 @@ An IRecipeAction object comes after an IRecipeFunction!\n```\nval stone = <minecraft:stone>;\n-recipes.addShapeless(stone,[stone,stone,stone,stone],\n+recipes.addShapeless(\"experiencestone\",stone,[stone,stone,stone,stone],\n//IrecipeFunction, just return the output, it doesn't interest us this time.\nfunction(out,ins,cInfo){\nreturn out;\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Updated recipe funtions page, included names
139,040
31.10.2017 20:46:21
-3,600
2510c2328114c406ea60325fbac4471b2fc53f21
Fixed Recipe_Functions example
[ { "change_type": "MODIFY", "old_path": "docs/AdvancedFunctions/Recipe_Functions.md", "new_path": "docs/AdvancedFunctions/Recipe_Functions.md", "diff": "@@ -24,7 +24,9 @@ function(out, ins, cInfo){\n//now we return the pickaxe with either 0 DMG or Current damage -10, whatever is higher. This is to prevent negative damage values.\nreturn ins.mark.withDamage(max(0,ins.mark.damage - 10));\n-});\n+},\n+//We don't need a recipeAction here so just set it to null\n+null);\n```\n## How to set up an IRecipeFunction\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Fixed Recipe_Functions example
139,040
02.11.2017 12:26:33
-3,600
de2830537c67f115fb708e2dde80236219c0ad3e
Started with IData and DataMap
[ { "change_type": "ADD", "old_path": null, "new_path": "docs/Vanilla/Data/DataMap.md", "diff": "+# DataMap\n+\n+A Map, sometimes also called an Associative Array is a data structure that allows you to store multiple items.\n+Unlike an Array however, you can also give each of these item a key to call upon.\n+The DataMap expands [IData](IData), so each DataMap is IData, you might need this info later.\n+\n+## Creating a map:\n+A Map is a special kind of [IData](IData), so at the very last you'll need to import that interface:\n+`import crafttweaker.data.IData;`\n+\n+You may have noticed that no type can be converted into a map (nor can map be converted to any type besides Strings), so there has to be another way of creating them!\n+There is:\n+\n+```JAVA\n+import crafttweaker.data.IData;\n+\n+val myFirstMap = {key1: \"value1\",\n+ key2: \"value2\",\n+ key3: 3} as IData;\n+```\n+\n+The thing to remember is:\n+Maps are handled as `Map<String,IData>`!\n+That means your keys should not contain characters that normal CT strings can't handle.\n+It also means that while the key is a string, the value is another [IData](IData) object.\n+You can even nest maps inside maps (that's what a lot of NBT-Data do):\n+\n+```JAVA\n+val nestedMap = { key1:\n+ {\n+ key1: \"hello\"\n+ }\n+ } as IData;\n+```\n+\n+\n+## Retrieving Members\n+\n+Unfortunately, Maps created as above are immutable, so you cannot change their members.\n+To retrieve a Map's member you need to know its key name. Then you can do this:\n+\n+```JAVA\n+val mySecondMap = {key1: \"value1\",\n+ key2: \"value2\",\n+ key3: 3} as IData;\n+\n+//Retrieves the member called \"key1\"\n+var k1 = mySecondMap.key1 as IData;\n+print(k1.asString());\n+\n+//Retrieves the member called \"key2\"\n+var k2 = mySecondMap.memberGet(\"key2\") as IData;\n+print(k2.asString());\n+```\n\\ No newline at end of file\n" }, { "change_type": "MODIFY", "old_path": "mkdocs.yml", "new_path": "mkdocs.yml", "diff": "@@ -41,6 +41,9 @@ pages:\n- Liquids: 'Vanilla/Brackets/Bracket_Liquid.md'\n- Ores: 'Vanilla/Brackets/Bracket_Ore.md'\n- Potions: 'Vanilla/Brackets/Bracket_Potion.md'\n+ - Data:\n+ - IData: 'Vanilla/Data/IData.md'\n+ - DataMap: 'Vanilla/Data/DataMap.md'\n- Entities:\n- IEntityDefinition: 'Vanilla/Entities/IEntityDefinition.md'\n- IEntityDrop: 'Vanilla/Entities/IEntityDrop.md'\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Started with IData and DataMap
139,040
02.11.2017 12:27:00
-3,600
53d3adc32197c49a0e1631202773e145193613c8
Small changes to CoT's Part entry
[ { "change_type": "MODIFY", "old_path": "docs/Mods/ContentTweaker/Materials/Parts/Part.md", "new_path": "docs/Mods/ContentTweaker/Materials/Parts/Part.md", "diff": "@@ -19,7 +19,8 @@ You can either retrieve an existing Part using the [MaterialSystem](/Mods/Conten\n<li>Bolt ![Bolt icon](Assets/bolt.png)</li>\n<li>Casing ![Casing icon](Assets/casing.png)</li>\n<li>Crystal ![Crystal icon](Assets/crystal.png)</li>\n- <li>Dense Plate ![Dense Plate icon](Assets/dense_plate.png)</li>\n+ <li>Crushed Ore (crushed_ore) ![Crushed Ore icon](Assets/crushed_ore.png)</li>\n+ <li>Dense Plate (dense_plate) ![Dense Plate icon](Assets/dense_plate.png)</li>\n<li>Dust ![Dust icon](Assets/dust.png)</li>\n<li>Gear ![Gear icon](Assets/gear.png)</li>\n<li>Ingot ![Ingot icon](Assets/ingot.png)</li>\n@@ -34,8 +35,8 @@ You can either retrieve an existing Part using the [MaterialSystem](/Mods/Conten\n<h4>Ores:</h4>\n<ul>\n<li>Ore</li>\n- <li>Dense Ore</li>\n- <li>Poor Ore</li>\n+ <li>Dense Ore (dense_ore)</li>\n+ <li>Poor Ore(poor_ore)</li>\n</ul>\n<h4>Fluids:</h4>\n<ul>\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Small changes to CoT's Part entry
139,040
02.11.2017 12:27:48
-3,600
dca75e635517508b13479522ff103b6e4a03cf86
Added Associative Arrays entry (honestly, I didn't know how they worked until recently :wink:)
[ { "change_type": "MODIFY", "old_path": "mkdocs.yml", "new_path": "mkdocs.yml", "diff": "@@ -8,6 +8,7 @@ pages:\n- Ore Dictionary: 'Vanilla/OreDict.md'\n- Advanced Functions:\n- Arrays and Loops: 'AdvancedFunctions/Arrays_and_Loops.md'\n+ - Associative Arrays (Maps): 'AdvancedFunctions/Associative_Arrays.md'\n- Calculations: 'AdvancedFunctions/Calculations.md'\n- Conditional Statements: 'AdvancedFunctions/Conditional_Statements.md'\n- Custom Functions: 'AdvancedFunctions/Custom_Functions.md'\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Added Associative Arrays entry (honestly, I didn't know how they worked until recently :wink:)
139,040
03.11.2017 14:09:31
-3,600
fe7fa7a52a3f7e7b6199793485b4d369a099ff84
Interlinks to IData and DataMap
[ { "change_type": "MODIFY", "old_path": "docs/Vanilla/Blocks/IBlock.md", "new_path": "docs/Vanilla/Blocks/IBlock.md", "diff": "@@ -20,7 +20,7 @@ There are multiple ways thet return an IBlock object:\n|------------|--------------------------------|----------------------------------------|\n| definition | Returns the Block's definition | [IBlockDefinition](IBlockDefinition) |\n| meta | Returns the Block's metadata | int |\n-| data | Returns the Block's tileData | IData |\n+| data | Returns the Block's tileData | [IData](/Vanilla/Data/IData) |\n" }, { "change_type": "MODIFY", "old_path": "docs/Vanilla/Game/IPlayer.md", "new_path": "docs/Vanilla/Game/IPlayer.md", "diff": "@@ -15,7 +15,7 @@ Zengetters are for retrieving information. Usually either assigned to a variable\n|---------------|--------------------------------------------------------------------------------------------|------------------------------------------|------------------------|\n| id | returns the player's id | string | `player.id` |\n| name | returns the player's name | string | `player.name` |\n-| data | returns the player's data | IData | `player.data` |\n+| data | returns the player's data | [IData](/Vanilla/Data/IData) | `player.data` |\n| xp | returns the player's experience level. Can also be used to set a player's experience level | int | `player.xp` |\n| hotbarSize | returns the player's hotbar size | int | `player.hotbarSize` |\n| inventorySize | returns the player's inventory size | int | `player.inventorySize` |\n@@ -35,7 +35,7 @@ Zenmethods are for doing things with other things, in this case with a player.\n| ZenMethod | Parameter Type(s) | What does it do | Example |\n|----------------------- |-----------------------------------------|-------------------------------------------------------------------- |------------------------------------------|\n| removeXP(XPtoRemove) | int | Removes the given experience levels from the player. | `player.removeXP(1)` |\n-| update(IData) | IData | Updates the playerdata to the provided IData. | |\n+| update(IData) | [IData](/Vanilla/Data/IData) | Updates the playerdata to the provided IData. | |\n| sendChat(Message) | string OR IChatMessage | Sends the player a Chat Message. | `player.sendChat(\"Hello my old friend\")` |\n| getHotbarStack(index) | int | Returns the item at the given index within the player's hotbar. | `player.getHotbarStack(3)` |\n| getInventoryStack(index) | int | Returns the item at the given index within the player's inventory. | `player.getInventoryStack(3)` |\n" }, { "change_type": "MODIFY", "old_path": "docs/Vanilla/Items/IItemStack.md", "new_path": "docs/Vanilla/Items/IItemStack.md", "diff": "@@ -154,14 +154,14 @@ You can also create items with a specific or empty tag using:\n//creates apple with an emtpy tag\n<minecraft:apple>.withEmptyTag();\n```\n-`tag` is an IData Object.\n+`tag` is an [IData](/Vanilla/Data/IData) Object.\n#### Remove Tags\nYou can also remove tags\n```\nitem.removeTag(tag);\n```\n-`tag` is an IData Object.\n+`tag` is an [IData](/Vanilla/Data/IData) Object.\n### Liquid\n" }, { "change_type": "MODIFY", "old_path": "docs/Vanilla/Liquids/ILiquidStack.md", "new_path": "docs/Vanilla/Liquids/ILiquidStack.md", "diff": "@@ -35,7 +35,7 @@ Check the table to see what you can retrieve from the ILiquidStack Object using\n| temperature | This returns the temperature of the referred liquid | int | `test = <liquid:lava>.temperature;` |\n| viscosity | This returns the viscosity of the referred liquid | int | `test = <liquid:lava>.viscosity;` |\n| gaseous | This returns whether the referred liquid is gaseous | boolean | `test = <liquid:lava>.gaseous;` |\n-| tag | This returns the ILiquidObject's tag | IData | `test = <liquid:lava>.tag;` |\n+| tag | This returns the ILiquidObject's tag | [IData](/Vanilla/Data/IData) | `test = <liquid:lava>.tag;` |\n| definition | This returns the referred liquid's definition (see below) | [ILiquid Definition](ILiquidDefinition) | `test = <liquid:lava>.definition;` |\n# IIngredient Implementaion\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Interlinks to IData and DataMap
139,091
04.11.2017 20:57:34
-7,200
838ebaba3a0a7b6cedd7c0725ca239249e248935
Powered Thingies Integration
[ { "change_type": "ADD", "old_path": null, "new_path": "docs/Mods/PoweredThingies/CompoundMakerTweaker.md", "diff": "+# Powered Thingies :: Compound Maker\n+\n+### Importing\n+```kotlin\n+import mods.poweredthingies.Tweaker.compoundTweaker as ct;\n+```\n+\n+### Listing Keys, Removing Recipes by Key, Clearing\n+```kotlin\n+ct().logKeys()\n+ct().removeRecipe('minecraft:stone') // check <logKeys> output for valid keys\n+ct().clear()\n+```\n+\n+### Adding Recipe\n+##### Signature\n+```kotlin\n+```\n+##### Example\n+```kotlin\n+```\n+\n+### Notes\n+All of these actions will get cached and ran after the default registry for this machine has finished registering all recipes (including the ones from the custom jsons).\n\\ No newline at end of file\n" }, { "change_type": "ADD", "old_path": null, "new_path": "docs/Mods/PoweredThingies/FluidBurnerCoolantTweaker.md", "diff": "+# Powered Thingies :: Fluid Burner :: Coolant\n+\n+### Importing\n+```kotlin\n+import mods.poweredthingies.Tweaker.fluidBurnerCoolantTweaker as coolant;\n+```\n+\n+### Listing Keys, Removing Recipes by Key, Clearing\n+```kotlin\n+coolant().logKeys()\n+coolant().removeRecipe('teslathingies:fluid_tf-molten_tesla') // check <logKeys> output for valid keys\n+coolant().clear()\n+```\n+\n+### Adding Recipe\n+##### Signature\n+```kotlin\n+addCoolant(fluid: ILiquidStack, timeMultiplier: Float)\n+```\n+`timeMultiplier` is the value that will be used to increase (or decrease) the number ticks a fuel will burn for.\n+##### Example\n+```kotlin\n+coolant().addCoolant(<liquid:tf-sewage> * 50, 1.1);\n+```\n+\n+### Notes\n+All of these actions will get cached and ran after the default registry for this machine has finished registering all recipes (including the ones from the custom jsons).\n\\ No newline at end of file\n" }, { "change_type": "ADD", "old_path": null, "new_path": "docs/Mods/PoweredThingies/FluidBurnerFuelTweaker.md", "diff": "+# Powered Thingies :: Fluid Burner :: Fuel\n+\n+### Importing\n+```kotlin\n+import mods.poweredthingies.Tweaker.fluidBurnerFuelTweaker as fuel;\n+```\n+\n+### Listing Keys, Removing Recipes by Key, Clearing\n+```kotlin\n+fuel().logKeys()\n+fuel().removeRecipe('liquid:fluid_lava') // check <logKeys> output for valid keys\n+fuel().clear()\n+```\n+\n+### Adding Recipe\n+##### Signature\n+```kotlin\n+addFuel(fluid: ILiquidStack, ticks: Int)\n+```\n+`ticks` represents the number of ticks the specified fuel will burn for.\n+##### Example\n+```kotlin\n+fuel().addFuel(<liquid:tf-sewage> * 50, 100);\n+```\n+\n+### Notes\n+All of these actions will get cached and ran after the default registry for this machine has finished registering all recipes (including the ones from the custom jsons).\n\\ No newline at end of file\n" }, { "change_type": "ADD", "old_path": null, "new_path": "docs/Mods/PoweredThingies/FluidCompoundProducerTweaker.md", "diff": "+# Powered Thingies :: Fluid Compound Producer\n+\n+### Importing\n+```kotlin\n+import mods.poweredthingies.Tweaker.fluidCompoundTweaker as fct;\n+```\n+\n+### Listing Keys, Removing Recipes by Key, Clearing\n+```kotlin\n+fct().logKeys()\n+fct().removeRecipe('liquid:fluid_tf-molten_tesla') // check <logKeys> output for valid keys\n+fct().clear()\n+```\n+\n+### Adding Recipe\n+##### Signature\n+```kotlin\n+addRecipe(output: ILiquidStack, inputA: ILiquidStack, inputB: ILiquidStack)\n+```\n+##### Example\n+```kotlin\n+fct().addRecipe(<liquid:tf-sewage> * 150, <liquid:water> * 300, <liquid:lava> * 100);\n+```\n+\n+### Notes\n+All of these actions will get cached and ran after the default registry for this machine has finished registering all recipes (including the ones from the custom jsons).\n\\ No newline at end of file\n" }, { "change_type": "ADD", "old_path": null, "new_path": "docs/Mods/PoweredThingies/IncineratorTweaker.md", "diff": "+# Powered Thingies :: Incinerator\n+\n+### Importing\n+```kotlin\n+import mods.poweredthingies.Tweaker.incineratorTweaker as it;\n+```\n+\n+### Listing Keys, Removing Recipes by Key, Clearing\n+```kotlin\n+it().logKeys()\n+it().removeRecipe('minecraft:log') // check <logKeys> output for valid keys\n+it().clear()\n+```\n+\n+### Adding Recipe\n+##### Signature\n+```kotlin\n+addRecipe(input: IItemStack, power: Long, outputs: Array<WeightedItemStack>)\n+```\n+`power` represents the total number of power units (RF, T, or FE) the input item will generate.\n+##### Example\n+```kotlin\n+it().addRecipe(<minecraft:bucket>, 3600, [<minecraft:iron_ingot> % 15]);\n+```\n+\n+### Notes\n+All of these actions will get cached and ran after the default registry for this machine has finished registering all recipes (including the ones from the custom jsons).\n\\ No newline at end of file\n" }, { "change_type": "ADD", "old_path": null, "new_path": "docs/Mods/PoweredThingies/ItemCompoundProducerTweaker.md", "diff": "+# Powered Thingies :: Item Compound Producer\n+\n+### Importing\n+```kotlin\n+import mods.poweredthingies.Tweaker.itemCompoundProducerTweaker as icp;\n+```\n+\n+### Listing Keys, Removing Recipes by Key, Clearing\n+```kotlin\n+icp().logKeys()\n+icp().removeRecipe('minecraft:mossy_cobblestone') // check <logKeys> output for valid keys\n+icp().clear()\n+```\n+\n+### Adding Recipe\n+##### Signature\n+```kotlin\n+addRecipe(inputStack: IItemStack, inputFluid: ILiquidStack, result: IItemStack)\n+```\n+##### Example\n+```kotlin\n+icp().addRecipe(<minecraft:cobblestone>, <liquid:water> * 125, <minecraft:mossy_cobblestone>);\n+```\n+\n+### Notes\n+All of these actions will get cached and ran after the default registry for this machine has finished registering all recipes (including the ones from the custom jsons).\n\\ No newline at end of file\n" }, { "change_type": "ADD", "old_path": null, "new_path": "docs/Mods/PoweredThingies/ItemLiquefierTweaker.md", "diff": "+# Powered Thingies :: Item Liquefier\n+\n+### Importing\n+```kotlin\n+import mods.poweredthingies.Tweaker.itemLiquefierTweaker as ilt;\n+```\n+\n+### Listing Keys, Removing Recipes by Key, Clearing\n+```kotlin\n+ilt().logKeys()\n+ilt().removeRecipe('liquid:fluid_lava') // check <logKeys> output for valid keys\n+ilt().clear()\n+```\n+\n+### Adding Recipe\n+##### Signature\n+```kotlin\n+addRecipe(input: IItemStack, output: ILiquidStack)\n+```\n+##### Example\n+```kotlin\n+ilt().addRecipe(<minecraft:bucket>, <liquid:lava> * 125);\n+```\n+\n+### Notes\n+All of these actions will get cached and ran after the default registry for this machine has finished registering all recipes (including the ones from the custom jsons).\n\\ No newline at end of file\n" }, { "change_type": "ADD", "old_path": null, "new_path": "docs/Mods/PoweredThingies/PowderMakerTweaker.md", "diff": "+# Powered Thingies :: Powder Maker\n+\n+### Importing\n+```kotlin\n+import mods.poweredthingies.Tweaker.powderMakerTweaker as pmt;\n+```\n+\n+### Listing Keys, Removing Recipes by Key, Clearing\n+```kotlin\n+pmt().logKeys()\n+pmt().removeRecipe('minecraft:gravel') // check <logKeys> output for valid keys\n+pmt().clear()\n+```\n+\n+### Adding Recipe\n+##### Signature\n+```kotlin\n+addRecipe(input: IItemStack, outputs: Array<WeightedItemStack>)\n+```\n+##### Example\n+```kotlin\n+pmt().addRecipe(<minecraft:bucket>, [<minecraft:iron_ingot> % 100, <minecraft:iron_ingot> % 12, <minecraft:iron_ingot> % 12]);\n+```\n+\n+### Notes\n+All of these actions will get cached and ran after the default registry for this machine has finished registering all recipes (including the ones from the custom jsons).\n\\ No newline at end of file\n" }, { "change_type": "ADD", "old_path": null, "new_path": "docs/Mods/PoweredThingies/PoweredKilnTweaker.md", "diff": "+# Powered Thingies :: Powered Kiln\n+\n+### Importing\n+```kotlin\n+import mods.poweredthingies.Tweaker.poweredKilnTweaker as pkt;\n+```\n+\n+### Listing Keys, Removing Recipes by Key, Clearing\n+```kotlin\n+pkt().logKeys()\n+pkt().removeRecipe('minecraft:planks') // check <logKeys> output for valid keys\n+pkt().clear()\n+```\n+\n+### Adding Recipe\n+##### Signature\n+```kotlin\n+addRecipe(input: IItemStack, output: IItemStack)\n+```\n+##### Example\n+```kotlin\n+pkt().addRecipe(<minecraft:bucket>, <minecraft:iron_ingot>);\n+```\n+\n+### Notes\n+All of these actions will get cached and ran after the default registry for this machine has finished registering all recipes (including the ones from the custom jsons).\n\\ No newline at end of file\n" }, { "change_type": "ADD", "old_path": null, "new_path": "docs/Mods/PoweredThingies/_PoweredThingies.md", "diff": "+# Powered Thingies\n+Powered Thingies's non-farming machines Crafttweaker support.\n+\n+### Mod Info\n+Curseforge: https://minecraft.curseforge.com/projects/powered-thingies\n+Github: https://github.com/faceofcat/Tesla-Powered-Thingies\n+\n+Website: [https://www.modcrafters.net](https://www.modcrafters.net/?mod=thingies)\n+\n+### CT integration methods\n+All machines integrated with CT support these methods:\n+```kotlin\n+XYZ.clear() // will clear the entire recipe registry\n+XYZ.logKeys() // will output all keys in that registry to CT's log\n+XYZ.removeRecipe(key: String)) // will remove the recipe with that key from registry\n+XYZ.addRecipe(...) // adds a new recipe\n+```\n+To retrieve the `Tweaker` class for each machine you have to use the static `mods.poweredthingies.Tweaker` class.\n\\ No newline at end of file\n" }, { "change_type": "ADD", "old_path": null, "new_path": "docs/Mods/PoweredThingies/_TweakerClass.md", "diff": "+# Powered Thingies :: Tweaker Class\n+This is the entry point used to get instances of the individual `Tweaker` classes for each machine.\n+\n+### Importing\n+```\n+import mods.poweredthingies.Tweaker;\n+```\n+\n+### Getting Machine Specific Tweakers\n+```kotlin\n+var compoundMaker = Tweaker.compoundTweaker();\n+var fluidCompound = Tweaker.fluidCompoundTweaker();\n+var fluidBurnerFuel = Tweaker.fluidBurnerFuelTweaker();\n+var fluidBurnerCoolant = Tweaker.fluidBurnerCoolantTweaker();\n+var itemCompoundProducer = Tweaker.itemCompoundProducerTweaker();\n+var incinerator = Tweaker.incineratorTweaker();\n+var itemLiquefier = Tweaker.itemLiquefierTweaker();\n+var poweredKiln = Tweaker.poweredKilnTweaker();\n+var powderMaker = Tweaker.powderMakerTweaker();\n+```\n+\n+### Reasons why this class even exists\n+Mainly because I love using base classes and Kotlin and both those things don't import well in CT. Or I'm too retarded to make it work.\n+So... you are stuck with using this instead of having direct access to individual classes for each machine.\n\\ No newline at end of file\n" }, { "change_type": "MODIFY", "old_path": "mkdocs.yml", "new_path": "mkdocs.yml", "diff": "@@ -231,6 +231,18 @@ pages:\n- WailaStages: 'Mods/GameStages/WailaStages/WailaStages.md'\n- LootTableTweaker:\n- LootTableTweaker: 'Mods/LootTableTweaker/LootTableTweaker.md'\n+ - Powered Thingies:\n+ - Powered Thingies: 'Mods/PoweredThingies/_PoweredThingies.md'\n+ - Tweaker Static Class: 'Mods/PoweredThingies/_TweakerClass.md'\n+ - Compound Maker: 'Mods/PoweredThingies/CompoundMakerTweaker.md'\n+ - Fluid Burner Coolant: 'Mods/PoweredThingies/FluidBurnerCoolantTweaker.md'\n+ - Fluid Burner Fuel: 'Mods/PoweredThingies/FluidBurnerFuelTweaker.md'\n+ - Fluid Compound Producer: 'Mods/PoweredThingies/FluidCompoundProducerTweaker.md'\n+ - Incinerator: 'Mods/PoweredThingies/IncineratorTweaker.md'\n+ - Item Compound Producer: 'Mods/PoweredThingies/ItemCompoundProducerTweaker.md'\n+ - Item Liquefier: 'Mods/PoweredThingies/ItemLiquefierTweaker.md'\n+ - Powder Maker: 'Mods/PoweredThingies/PowderMakerTweaker.md'\n+ - Powered Kiln: 'Mods/PoweredThingies/PoweredKilnTweaker.md'\n# Do not edit in PRs below here\nsite_name: Crafttweaker Documentation\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Powered Thingies Integration
139,040
04.11.2017 22:38:25
-3,600
3d3fb348deb389c6c861b5dacaeed6cc62cc4e6f
Added example CoT script to CoT entry page shamelessly stolen from
[ { "change_type": "MODIFY", "old_path": "docs/Mods/ContentTweaker/ContentTweaker.md", "new_path": "docs/Mods/ContentTweaker/ContentTweaker.md", "diff": "# ContentTweaker\n-ContentTweaker allows for the Creation of Blocks, Items, Fluids, and other Content through ZenScript!\n\\ No newline at end of file\n+ContentTweaker allows for the Creation of Blocks, Items, Fluids, and other Content through ZenScript!ContentTweaker allows for the Creation of Blocks, Items, Fluids, and other Content through ZenScript!\n+\n+<details>\n+ <summary>Example Script</summary>\n+\n+ #loader contenttweaker\n+ //////////\n+ // Calls\n+ //////////\n+ import mods.contenttweaker.MaterialSystem;\n+ import mods.contenttweaker.Material;\n+\n+ //////////////\n+ // Variables\n+ //////////////\n+ var copper = MaterialSystem.getMaterialBuilder().setName(\"Copper\").setColor(15766817).build();\n+ var tin = MaterialSystem.getMaterialBuilder().setName(\"Tin\").setColor(10275286).build();\n+ var silver = MaterialSystem.getMaterialBuilder().setName(\"Silver\").setColor(15592941).build();\n+ var lead = MaterialSystem.getMaterialBuilder().setName(\"Lead\").setColor(5658219).build();\n+ var cobalt = MaterialSystem.getMaterialBuilder().setName(\"Cobalt\").setColor(18347).build();\n+\n+ var metal_list = [copper, tin, silver, lead, cobalt] as Material[];\n+ var part_names = [\"dust\", \"gear\", \"plate\", \"nugget\", \"ingot\", \"beam\", \"bolt\"] as string[];\n+ var ore_types = [\"ore\", \"poor_ore\", \"dense_ore\"] as string[];\n+\n+ ///////////////////////////\n+ // Material registration\n+ ///////////////////////////\n+\n+ for i, metal in metal_list {\n+ metal.registerParts(part_names);\n+\n+ var ores = metal.registerParts(ore_types);\n+ for i, ore in ores {\n+ var oreData = ore.getData();\n+ oreData.addDataValue(\"variants\", \"minecraft:stone,minecraft:end_stone,minecraft:netherrack\");\n+ oreData.addDataValue(\"hardness\", \"3,3,3\");\n+ oreData.addDataValue(\"resistance\", \"15,15,15\");\n+ oreData.addDataValue(\"harvestTool\", \"pickaxe,pickaxe,pickaxe\");\n+ oreData.addDataValue(\"harvestLevel\", \"1,1,1\");\n+ }\n+\n+ var blockData = metal.registerPart(\"block\").getData();\n+ blockData.addDataValue(\"hardness\", \"5\");\n+ blockData.addDataValue(\"resistance\", \"30\");\n+ blockData.addDataValue(\"harvestTool\", \"pickaxe\");\n+ blockData.addDataValue(\"harvestLevel\", \"1\");\n+ }\n+</details>\n\\ No newline at end of file\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Added example CoT script to CoT entry page shamelessly stolen from https://github.com/The-Acronym-Coders/ContentTweaker/wiki/Materials-V2-Test
139,040
04.11.2017 22:44:31
-3,600
ace80a9c995c5871b1d45d491e3f4ae830a9ccb6
Double explanation
[ { "change_type": "MODIFY", "old_path": "docs/Mods/ContentTweaker/ContentTweaker.md", "new_path": "docs/Mods/ContentTweaker/ContentTweaker.md", "diff": "# ContentTweaker\n-ContentTweaker allows for the Creation of Blocks, Items, Fluids, and other Content through ZenScript!ContentTweaker allows for the Creation of Blocks, Items, Fluids, and other Content through ZenScript!\n+ContentTweaker allows for the Creation of Blocks, Items, Fluids, and other Content through ZenScript!\n<details>\n<summary>Example Script</summary>\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Double explanation
139,040
04.11.2017 22:50:01
-3,600
e88ef7e084df17b95aa6160e043b8c44188acd0f
Moved CoT Material example script to Material Introduction
[ { "change_type": "MODIFY", "old_path": "docs/Mods/ContentTweaker/ContentTweaker.md", "new_path": "docs/Mods/ContentTweaker/ContentTweaker.md", "diff": "# ContentTweaker\nContentTweaker allows for the Creation of Blocks, Items, Fluids, and other Content through ZenScript!\n\\ No newline at end of file\n-\n-<details>\n- <summary>Example Script</summary>\n-\n- #loader contenttweaker\n- //////////\n- // Calls\n- //////////\n- import mods.contenttweaker.MaterialSystem;\n- import mods.contenttweaker.Material;\n-\n- //////////////\n- // Variables\n- //////////////\n- var copper = MaterialSystem.getMaterialBuilder().setName(\"Copper\").setColor(15766817).build();\n- var tin = MaterialSystem.getMaterialBuilder().setName(\"Tin\").setColor(10275286).build();\n- var silver = MaterialSystem.getMaterialBuilder().setName(\"Silver\").setColor(15592941).build();\n- var lead = MaterialSystem.getMaterialBuilder().setName(\"Lead\").setColor(5658219).build();\n- var cobalt = MaterialSystem.getMaterialBuilder().setName(\"Cobalt\").setColor(18347).build();\n-\n- var metal_list = [copper, tin, silver, lead, cobalt] as Material[];\n- var part_names = [\"dust\", \"gear\", \"plate\", \"nugget\", \"ingot\", \"beam\", \"bolt\"] as string[];\n- var ore_types = [\"ore\", \"poor_ore\", \"dense_ore\"] as string[];\n-\n- ///////////////////////////\n- // Material registration\n- ///////////////////////////\n-\n- for i, metal in metal_list {\n- metal.registerParts(part_names);\n-\n- var ores = metal.registerParts(ore_types);\n- for i, ore in ores {\n- var oreData = ore.getData();\n- oreData.addDataValue(\"variants\", \"minecraft:stone,minecraft:end_stone,minecraft:netherrack\");\n- oreData.addDataValue(\"hardness\", \"3,3,3\");\n- oreData.addDataValue(\"resistance\", \"15,15,15\");\n- oreData.addDataValue(\"harvestTool\", \"pickaxe,pickaxe,pickaxe\");\n- oreData.addDataValue(\"harvestLevel\", \"1,1,1\");\n- }\n-\n- var blockData = metal.registerPart(\"block\").getData();\n- blockData.addDataValue(\"hardness\", \"5\");\n- blockData.addDataValue(\"resistance\", \"30\");\n- blockData.addDataValue(\"harvestTool\", \"pickaxe\");\n- blockData.addDataValue(\"harvestLevel\", \"1\");\n- }\n-</details>\n\\ No newline at end of file\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Moved CoT Material example script to Material Introduction
139,091
05.11.2017 00:23:47
-7,200
d7c2214e25ae300e8686ff47d7a12eade4b2e2d3
fixed MD issues
[ { "change_type": "MODIFY", "old_path": "docs/Mods/PoweredThingies/CompoundMakerTweaker.md", "new_path": "docs/Mods/PoweredThingies/CompoundMakerTweaker.md", "diff": "@@ -15,9 +15,11 @@ ct().clear()\n### Adding Recipe\n##### Signature\n```kotlin\n+addRecipe(output: IItemStack, left: ILiquidStack?, top: Array<IItemStack>?, right: ILiquidStack?, bottom: Array<IItemStack>?)\n```\n##### Example\n```kotlin\n+ct().addRecipe(<minecraft:obsidian>, <liquid:lava> * 250, [<minecraft:cobblestone>, <minecraft:cobblestone>], null, [<minecraft:cobblestone>, <minecraft:cobblestone>]);\n```\n### Notes\n" }, { "change_type": "MODIFY", "old_path": "docs/Mods/PoweredThingies/_PoweredThingies.md", "new_path": "docs/Mods/PoweredThingies/_PoweredThingies.md", "diff": "Powered Thingies's non-farming machines Crafttweaker support.\n### Mod Info\n-Curseforge: https://minecraft.curseforge.com/projects/powered-thingies\n-Github: https://github.com/faceofcat/Tesla-Powered-Thingies\n+Curseforge: <https://minecraft.curseforge.com/projects/powered-thingies>\n+\n+Github: <https://github.com/faceofcat/Tesla-Powered-Thingies>\nWebsite: [https://www.modcrafters.net](https://www.modcrafters.net/?mod=thingies)\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
fixed MD issues
139,040
05.11.2017 16:57:15
-3,600
659b5d039a1f70b3d28fdc639375fe928a4ecec7
Localization hints for CoT items and Blocks
[ { "change_type": "MODIFY", "old_path": "docs/Mods/ContentTweaker/Vanilla/Creatable_Content/Block.md", "new_path": "docs/Mods/ContentTweaker/Vanilla/Creatable_Content/Block.md", "diff": "@@ -46,3 +46,7 @@ antiIceBlock.setBlockSoundType(<soundtype:snow>);\nantiIceBlock.setSlipperiness(0.3);\nantiIceBlock.register();\n```\n+\n+## Localising the block\n+You will need to add `tile.contenttweaker.blockName = Localized Name` to the responding language files.\n+Alternatively, you could use CraftTweaker's [localization feature](/Vanilla/Game/IGame), though it's recommended using the language files!\n\\ No newline at end of file\n" }, { "change_type": "MODIFY", "old_path": "docs/Mods/ContentTweaker/Vanilla/Creatable_Content/Item.md", "new_path": "docs/Mods/ContentTweaker/Vanilla/Creatable_Content/Item.md", "diff": "@@ -74,3 +74,7 @@ zsItem.itemRightClick = function(stack, world, player, hand) {\n};\nzsItem.register();\n```\n+\n+## Localising the item\n+You will need to add `item.contenttweaker.itemName = Localized Name` to the responding language files.\n+Alternatively, you could use CraftTweaker's [localization feature](/Vanilla/Game/IGame), though it's recommended using the language files!\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Localization hints for CoT items and Blocks
139,090
27.11.2017 09:05:18
0
6e4718bb2ac7a14c4bf2a95187e7378e856fb5e0
Added docs for PneumaticCraft: Repressurized
[ { "change_type": "ADD", "old_path": null, "new_path": "docs/Mods/PneumaticCraft_Repressurized/Assembly.md", "diff": "+# Robotic Assembly System\n+\n+The Robotic Assembly System is a multiblock consisting of the Assembly Controller, Assembly I/O Units, Assembly Platform, Assembly Laser and Assembly Drill. It converts input items to output items using the laser and/or drill.\n+\n+There are several functions for adding and removing recipes, depending on whether the recipe requires use of the laser, the drill, or both.\n+\n+## Calling\n+\n+You can call the Assembly package using `mods.pneumaticcraft.assembly`.\n+\n+## Removing\n+\n+These functions remove the first recipe they find with the given [IItemStack](/Vanilla/Items/IItemStack) `output`:\n+\n+```java\n+mods.pneumaticcraft.assembly.removeLaserRecipe(IItemStack output);\n+mods.pneumaticcraft.assembly.removeDrillRecipe(IItemStack output);\n+mods.pneumaticcraft.assembly.removeDrillLaserRecipe(IItemStack output);\n+\n+// Examples\n+mods.pneumaticcraft.assembly.removeLaserRecipe(<pneumaticcraft:aphorism_tile>);\n+mods.pneumaticcraft.assembly.removeDrillRecipe(<pneumaticcraft:pressure_chamber_valve>);\n+```\n+\n+These functions remove *all* recipes currently defined for the Assembly System:\n+\n+```java\n+mods.pneumaticcraft.assembly.removeAllLaserRecipes();\n+mods.pneumaticcraft.assembly.removeAllDrillRecipes();\n+mods.pneumaticcraft.assembly.removeAllDrillLaserRecipes();\n+```\n+\n+## Adding\n+\n+These functions are used to add new recipes for the assembly system:\n+\n+```java\n+mods.pneumaticcraft.assembly.addLaserRecipe(IItemStack input, IItemStack output)\n+mods.pneumaticcraft.assembly.addDrillRecipe(IItemStack input, IItemStack output)\n+mods.pneumaticcraft.assembly.addDrillLaserRecipe(IItemStack input, IItemStack output)\n+\n+// Examples\n+mods.pneumaticcraft.assembly.addLaserRecipe(<pneumaticcraft:ingot_iron_compressed> * 2, <pneumaticcraft:compressed_iron_gear>);\n+```\n+\n" }, { "change_type": "ADD", "old_path": null, "new_path": "docs/Mods/PneumaticCraft_Repressurized/PneumaticCraft_Repressurized.md", "diff": "+# PneumaticCraft: Repressurized\n+\n+PneumaticCraft: Repressurized is a port of MineMaarten's PneumaticCraft mod to Minecraft 1.12.2. It's a tech mod using the concept of pressurized air as a power system, and adds some cool gadgets including a fully-programmable drone automation system.\n+\n+## CraftTweaker Support\n+\n+PneumaticCraft: Repressurized comes with its own native CraftTweaker support. Therefore, please raise any CraftTweaker-related issues at the [PneumaticCraft: Repressurized issue tracker](https://github.com/TeamPneumatic/pnc-repressurized/issues).\n+\n+Note that the support documented here is for PneumaticCraft: Repressurized *only*; none of this applies to the original PneumaticCraft mod found in MC1.8.9 and earlier.\n" }, { "change_type": "ADD", "old_path": null, "new_path": "docs/Mods/PneumaticCraft_Repressurized/PressureChamber.md", "diff": "+# Pressure Chamber\n+\n+The Pressure Chamber is a multiblock structure which uses compressed air to convert one or more input items into one or more output items. Pressure Chamber recipes have an associated pressure value, which is the air pressure in bar required to perform the conversion.\n+\n+## Calling\n+\n+You can call the Pressure Chamber package using `mods.pneumaticcraft.pressurechamber`.\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.pressurechamber.removeRecipe(IIngredient output);\n+// Example\n+mods.pneumaticcraft.pressurechamber.removeRecipe(<pneumaticcraft:ingot_iron_compressed>);\n+```\n+\n+This function removes *all* Pressure Chamber recipes:\n+\n+```\n+mods.pneumaticcraft.pressurechamber.removeAllRecipes();\n+```\n+\n+## Adding\n+\n+This function is used to add new recipes to the Pressure Chamber:\n+\n+```\n+mods.pneumaticcraft.pressurechamber.addRecipe(IIngredient[] input, double pressure, IItemStack[] output);\n+\n+// Example\n+mods.pneumaticcraft.pressurechamber.addRecipe([<minecraft:gold_ingot> * 2,<minecraft:apple>], 2.0, [<minecraft:golden_apple>]);\n+```\n+\n" }, { "change_type": "MODIFY", "old_path": "mkdocs.yml", "new_path": "mkdocs.yml", "diff": "@@ -247,6 +247,14 @@ pages:\n- Item Liquefier: 'Mods/PoweredThingies/ItemLiquefierTweaker.md'\n- Powder Maker: 'Mods/PoweredThingies/PowderMakerTweaker.md'\n- Powered Kiln: 'Mods/PoweredThingies/PoweredKilnTweaker.md'\n+ - 'PneumaticCraft: Repressurized':\n+ - 'About PneumaticCraft: Repressurized': 'Mods/PneumaticCraft_Repressurized/PneumaticCraft_Repressurized.md'\n+ - Crafting:\n+ - Assembly System: 'Mods/PneumaticCraft_Repressurized/Assembly.md'\n+ - Heat Frame Cooling: 'Mods/PneumaticCraft_Repressurized/HeatFrameCooling.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# Do not edit in PRs below here\nsite_name: Crafttweaker Documentation\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Added docs for PneumaticCraft: Repressurized
139,033
05.12.2017 15:06:12
18,000
ab9cc1828222b07efec7a36fc204ba9af016cb4f
Fix Lang File Documentation
[ { "change_type": "MODIFY", "old_path": "docs/Mods/ContentTweaker/WalkThrough.md", "new_path": "docs/Mods/ContentTweaker/WalkThrough.md", "diff": "@@ -42,7 +42,7 @@ createBlock, which in this case is 'anti_ice'. If you are planning on using a de\nContentTweaker will generate the model jsons needed for it to function correctly.\nThe other part for this will be the language file. ContentTweaker will have already generated the en_us.lang file you\n-will need to a line that will look like `tile.contenttweaker.<block_name>=Block name` or in our case with the AntiIce it\n-will be `tile.contenttweaker.anti_ice=Anti Ice`. With both lang and texture filed in, you should be able to load up the\n+will need to a line that will look like `tile.contenttweaker.<block_name>.name=Block name` or in our case with the AntiIce it\n+will be `tile.contenttweaker.anti_ice.name=Anti Ice`. With both lang and texture filed in, you should be able to load up the\ngame and see your block which will have a model, texture, and name.\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Fix Lang File Documentation
139,032
16.12.2017 16:01:37
-3,600
59c0ea9637e7fe4762004a7084b767d875436eed
Added CraftTweaker support to Liquid Fuels in PC:R
[ { "change_type": "ADD", "old_path": null, "new_path": "docs/Mods/PneumaticCraft_Repressurized/LiquidFuels.md", "diff": "+# Liquid Fuels\n+\n+Liquid Fuels are used in PneumaticCraft: Repressurized in the (Advanced) Liquid Compressor to create compressed air, and (optionally) in the Kerosene Lamp to produce light.\n+By default the liquids produced in the Refinery are defined as fuel, as well as any liquid above a temperature of 305 degrees Kelvin.\n+\n+## Calling\n+\n+You can call the Liquid Fuels package using `mods.pneumaticcraft.liquidfuel`.\n+\n+## Removing\n+\n+This function removes the [ILiquidStack](/Vanilla/Variable_Types/ILiquidStack) `fluid` its fuel value:\n+\n+```\n+mods.pneumaticcraft.liquidfuel.removeFuel(ILiquidStack fluid);\n+// Example\n+mods.pneumaticcraft.liquidfuel.removeFuel(<liquid:lpg>);\n+```\n+\n+This function removes *all* registered fuels:\n+\n+```\n+mods.pneumaticcraft.liquidfuel.removeAllFuels();\n+```\n+\n+## Adding\n+\n+The following functions can be used to add fluids to the fuel registry:\n+\n+```java\n+// Register a certain liquid as a fuel. mlPerBucket defines the amount of compressed air produced per bucket of fuel. For reference, 16000mL of air is produced from a piece of Coal in an Air Compressor.\n+mods.pneumaticcraft.liquidfuel.addFuel(ILiquidStack fluid, double mlPerBucket);\n+\n+// Example: register water as a fuel which produces 16000mL air per bucket.\n+mmods.pneumaticcraft.liquidfuel.addFuel(<liquid:water>, 16000);\n+```\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Added CraftTweaker support to Liquid Fuels in PC:R (#30) https://github.com/TeamPneumatic/pnc-repressurized/commit/cb4e9d04b63ee71298d24619aea69df0b89d6525
139,032
16.12.2017 16:01:44
-3,600
d427bebc623df153120fdd7024aa1d63239cf3f3
Added 'Liquid Fuels' to the mkdocs.yml
[ { "change_type": "MODIFY", "old_path": "mkdocs.yml", "new_path": "mkdocs.yml", "diff": "@@ -255,6 +255,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+ - Liquid Fuels: 'Mods/PneumaticCraft_Repressurized/LiquidFuels.md'\n# Do not edit in PRs below here\nsite_name: Crafttweaker Documentation\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Added 'Liquid Fuels' to the mkdocs.yml (#31)
139,065
13.01.2018 00:27:11
18,000
8a0dd8c5509f5a4dd15c59af41a08f30cd68a698
Remove owner from IItemStack IItemStack does not appear to have this getter anymore. It is now on IItemDefinition
[ { "change_type": "MODIFY", "old_path": "docs/Vanilla/Items/IItemStack.md", "new_path": "docs/Vanilla/Items/IItemStack.md", "diff": "@@ -236,12 +236,6 @@ Returns a List of [IOreDictEntries](/Vanilla/OreDict) referring to this item.\n<minecraft:apple>.ores;\n```\n-### Owner\n-Returns a string containing the modid of the mod that adds the item.\n-```\n-<minecraft:apple>.owner;\n-```\n-\n### As IBlock\nYou can cast an IItemStack to an [IBlock](/Vanilla/Blocks/IBlock), as long as you are referring to a block, otherwise the cast results in null.\n```\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Remove owner from IItemStack (#36) IItemStack does not appear to have this getter anymore. It is now on IItemDefinition
139,065
17.01.2018 01:31:30
18,000
187076755fb74184b12bc086e679908474418618
Fix syntax issue in Forestry squeezer example
[ { "change_type": "MODIFY", "old_path": "docs/Mods/Modtweaker/Forestry/Squeezer.md", "new_path": "docs/Mods/Modtweaker/Forestry/Squeezer.md", "diff": "@@ -20,8 +20,8 @@ mods.forestry.Squeezer.removeRecipe(<liquid:seed.oil>, [<minecraft:wheat_seeds>]\n```JAVA\n//mods.forestry.Squeezer.addRecipe(ILiquidStack fluidOutput, IItemStack[] ingredients, int timePerItem, @Optional WeightedItemStack itemOutput);\n-//mods.forestry.Squeezer.addRecipe(<liquid:lava>, <minecraft:redstone>, 120);\n-mods.forestry.Squeezer.addRecipe(<liquid:lava>, <minecraft:obsidian>, 120, <minecraft:redstone> % 20);\n+//mods.forestry.Squeezer.addRecipe(<liquid:lava>, [<minecraft:redstone>], 120);\n+mods.forestry.Squeezer.addRecipe(<liquid:lava>, [<minecraft:obsidian>], 120, <minecraft:redstone> % 20);\n```\n| Parameter | Type | description |\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Fix syntax issue in Forestry squeezer example
139,056
17.02.2018 22:41:02
18,000
37c2f53b9e9f2de5ab3891d00bd6c47a7a864df6
Update IItemUse.md .damage() is the proper name, though it seems borked in 4.4.1
[ { "change_type": "MODIFY", "old_path": "docs/Mods/ContentTweaker/Vanilla/Advanced_Functionality/Functions/IItemUse.md", "new_path": "docs/Mods/ContentTweaker/Vanilla/Advanced_Functionality/Functions/IItemUse.md", "diff": "@@ -34,7 +34,7 @@ item.onItemUse = function(player, world, pos, hand, facing, blockHit) {\nvar firePos = pos.getOffset(facing, 1);\nif (world.getBlockState(firePos).isReplaceable(world, firePos)) {\nworld.setBlockState(<block:minecraft:fire>, firePos);\n- player.getHeldItem(hand).damageItem(1, player);\n+ player.getHeldItem(hand).damage(1, player);\nreturn ActionResult.success();\n}\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Update IItemUse.md .damage() is the proper name, though it seems borked in 4.4.1
139,065
18.02.2018 12:20:46
18,000
98fff2aa2e4f02ef88362399e23fb369d186fc97
Add localizing fluid section for CoT fluids
[ { "change_type": "MODIFY", "old_path": "docs/Mods/ContentTweaker/Vanilla/Creatable_Content/Fluid.md", "new_path": "docs/Mods/ContentTweaker/Vanilla/Creatable_Content/Fluid.md", "diff": "@@ -68,3 +68,7 @@ var zsFluid = VanillaFactory.createFluid(\"zs_fluid\", 0);\nzsFluid.fillSound = <soundevent:block.anvil.place>;\nzsFluid.register();\n```\n+\n+## Localizing the fluid\n+You will need to add `fluid.fluidName = Localized Name` to the responding language files.\n+Alternatively, you could use CraftTweaker's [localization feature](/Vanilla/Game/IGame), though it's recommended using the language files!\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Add localizing fluid section for CoT fluids
139,087
08.03.2018 15:02:29
-3,600
9ff12104bec41e82339be1a6293388eac37297da
Added Documentation for "Recipe by Input"
[ { "change_type": "MODIFY", "old_path": "docs/Mods/Immersive_Engineering/CraftTweaker_Support/Crusher.md", "new_path": "docs/Mods/Immersive_Engineering/CraftTweaker_Support/Crusher.md", "diff": "@@ -26,7 +26,7 @@ mods.immersiveengineering.Crusher.addRecipe(<minecraft:diamond>, <ore:logWood>,\n-## Remove Recipe\n+## Remove Recipe by Output\n|Type |Data Type |\n|------------------|---------------------------------------------------|\n@@ -39,3 +39,17 @@ mods.immersiveengineering.Crusher.removeRecipe(IItemstack output);\nmods.immersiveengineering.Crusher.removeRecipe(<minecraft:diamond>);\n```\n+\n+## Remove Recipe By Input\n+\n+|Type |Data Type |\n+|------------------|---------------------------------------------------|\n+|Input |[IItemstack](/Vanilla/Items/IItemStack) |\n+\n+### Example\n+```JAVA\n+//Example:\n+mods.immersiveengineering.Crusher.removeRecipesForInput(IItemstack input);\n+\n+mods.immersiveengineering.Crusher.removeRecipesForInput(<minecraft:diamond>);\n+```\n\\ No newline at end of file\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Added Documentation for "Recipe by Input" (#48)
139,060
30.03.2018 15:34:30
-7,200
044e37d78cdabc4f8cd65ff231fe6f3bbb337913
Update IItemUtils.md better regex examples?
[ { "change_type": "MODIFY", "old_path": "docs/Vanilla/Utils/IItemUtils.md", "new_path": "docs/Vanilla/Utils/IItemUtils.md", "diff": "@@ -28,10 +28,11 @@ The first checks against the items' registry names, the 2nd uses the unlocalized\n```Java\n//getItemsByRegexRegistryName(String Regex)\n-itemUtils.getItemsByRegexRegistryName(\"*\");\n+itemUtils.getItemsByRegexRegistryName(\".*sword.*\"); // all things that have sword in the name\n+itemUtils.getItemsByRegexRegistryName(\".*thermal.*\"); // all thermal expansion/foundation/dynamics items\n//getItemsByRegexUnlocalizedName(String Regex)\n-itemUtils.getItemsByRegexUnlocalizedName(\"*\");\n+itemUtils.getItemsByRegexUnlocalizedName(\".*pink.*\"); // pink things!! <3\n```\n## Create Spawn egg\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Update IItemUtils.md better regex examples?
139,060
30.03.2018 15:38:48
-7,200
0b98738c71c580342a53b39cb48d94f1a48902db
Update IOreDictEntry.md typos
[ { "change_type": "MODIFY", "old_path": "docs/Vanilla/OreDict/IOreDictEntry.md", "new_path": "docs/Vanilla/OreDict/IOreDictEntry.md", "diff": "@@ -54,16 +54,16 @@ oreDictEnt.removeItems([<minecraft:redstone>, <minecraft:gold_ore>]);\n### Check if an IOreDictEntry contains an item\n-You can check if aan IOreDictEntry contains an item using either the `in` or `has` keywords:\n+You can check if an IOreDictEntry contains an item using either the `in` or `has` keywords:\n```\nval oreDictEnt = <ore:ingotIron>;\nif(oreDictEnt in <minecraft:iron_ingot>){\n- print(\"Iron is in the oreDic!\");\n+ print(\"Iron is in the oreDict!\");\n}\nif(oreDictEnt has <minecraft:iron_ingot>){\n- print(\"Iron still is in the oreDic!\");\n+ print(\"Iron still is in the oreDict!\");\n}\n```\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Update IOreDictEntry.md typos
139,060
30.03.2018 15:46:32
-7,200
f73343f1ad7985c00dc9279ec8cc83d8ee9c76bc
Update Recipes_Crafting_Table.md
[ { "change_type": "MODIFY", "old_path": "docs/Vanilla/Recipes/Crafting/Recipes_Crafting_Table.md", "new_path": "docs/Vanilla/Recipes/Crafting/Recipes_Crafting_Table.md", "diff": "@@ -63,7 +63,7 @@ Furthermore, `inputs` is optional. If omitted, the function will do the same as\nRemoves all crafting recipes in the game.\nA bit overkill, don't you think?\n```java\n-recipes.removeAll()`\n+recipes.removeAll();\n```\n### Remove by name\n@@ -72,7 +72,7 @@ You can also use regex to remove multiple recipes at once. And no, if you don't\n```java\nrecipes.removeByRegex(\"name[1-9]\");\n-recipes.removeByRecipeName(\"name123\");\n+recipes.removeByRecipeName(\"modid:recipename\");\n```\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Update Recipes_Crafting_Table.md
139,060
30.03.2018 15:54:56
-7,200
00df73c7c4ff8f96f164303c1958167b00e7bef4
Update ICraftingRecipe.md added missing stuff
[ { "change_type": "MODIFY", "old_path": "docs/Vanilla/Recipes/Crafting/ICraftingRecipe.md", "new_path": "docs/Vanilla/Recipes/Crafting/ICraftingRecipe.md", "diff": "@@ -42,6 +42,28 @@ Parameter Types are [ICraftingInventory](ICraftingInventory) and [IPlayer](/Vani\nrec.applyTransformers(ICraftingInventory inventory, IPlayer byPlayer);\n```\n+### resourceDomain\n+\n+Basically, the modid of the mod that added the recipe.\n+```\n+rec.resourceDomain;\n+```\n+\n+### Ingredients\n+\n+Returns the ingredients list as [IIngredient](IIngredient)\\[] or [IIngredient](IIngredient)\\[]\\[] respectively.\n+```\n+rec.ingredients1D;\n+rec.ingredients2D;\n+```\n+\n+### Output\n+\n+The [IItemStack](IItemStack) output of the recipe.\n+```\n+rec.output;\n+```\n+\n### To String\n```\nrec.commandString;\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Update ICraftingRecipe.md added missing stuff
139,060
30.03.2018 15:58:37
-7,200
be137b7e8716f53d8bd6a71d232b4cc077aae9f4
Update Recipe_Functions.md clarifications
[ { "change_type": "MODIFY", "old_path": "docs/Vanilla/Recipes/Crafting/Recipe_Functions.md", "new_path": "docs/Vanilla/Recipes/Crafting/Recipe_Functions.md", "diff": "@@ -38,6 +38,10 @@ You don't have to call them this way, they can have any name.\n`ins` is a map with the marks as keys and the marked inputs as values.\n`cInfo` is an ICraftingInfo Object\n+The function must return the IItemStack that the recipe should output.\n+You can invalidate a recipe by returning `null` so it can't be crafted under certain conditions.\n+Modifying the `ins` here is a bad idea, this function triggers for each change in the crafting grid, not when actually pulling out the result.\n+\n# IRecipeAction\nBut CraftTweaker goes beyond simply calculating your outputs using functions.\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Update Recipe_Functions.md clarifications
139,060
30.03.2018 16:00:08
-7,200
12f3cbbc30670f73c67e098ccf22a10d63441a91
Update Recipe_Functions.md
[ { "change_type": "MODIFY", "old_path": "docs/Vanilla/Recipes/Crafting/Recipe_Functions.md", "new_path": "docs/Vanilla/Recipes/Crafting/Recipe_Functions.md", "diff": "@@ -39,7 +39,9 @@ You don't have to call them this way, they can have any name.\n`cInfo` is an ICraftingInfo Object\nThe function must return the IItemStack that the recipe should output.\n+\nYou can invalidate a recipe by returning `null` so it can't be crafted under certain conditions.\n+\nModifying the `ins` here is a bad idea, this function triggers for each change in the crafting grid, not when actually pulling out the result.\n# IRecipeAction\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Update Recipe_Functions.md
139,060
30.03.2018 16:05:57
-7,200
97c0ccc1bd690abcd300f579cfa7d4753db09933
Update Recipes_Furnace.md handy example
[ { "change_type": "MODIFY", "old_path": "docs/Vanilla/Recipes/Furnace/Recipes_Furnace.md", "new_path": "docs/Vanilla/Recipes/Furnace/Recipes_Furnace.md", "diff": "@@ -57,7 +57,7 @@ The command for setting fuel values is:\nfurnace.setFuel(input, burnTime);\n```\n-This will set the burn value of `input` to `burnTime`.\n+This will set the burn value of `input` to `burnTime` in ticks. Minecraft coal burns for 1600 ticks, 80 seconds, 8 items. 1 item in a minecraft furnace takes 200 ticks to complete.\nSetting the `burnTime` to `0` will stop the `input` from being a fuel item.\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Update Recipes_Furnace.md handy example
139,060
30.03.2018 16:08:50
-7,200
515620b7977b658afda6c24320d13172786e09f3
Update RecipeBuilder.md update to new system
[ { "change_type": "MODIFY", "old_path": "docs/Mods/Artisan_Worktables/CraftTweaker_Support/RecipeBuilder.md", "new_path": "docs/Mods/Artisan_Worktables/CraftTweaker_Support/RecipeBuilder.md", "diff": "## Calling The Packages\nYou can call the RecipeBuilder using:\n```JAVA\n-import mods.artisanworktables.Worktable;\n-import mods.artisanworktables.IRecipeBuilder;\n+import mods.artisanworktables.builder.RecipeBuilder;\n```\n### Example\n```JAVA\n//Bare Minimum Example\n-var CarpenterRecipe = Worktable.createRecipeBuilder(\"carpenter\");\n-\n-CarpenterRecipe.setShaped([\n+RecipeBuilder.get(\"carpenter\")\n+ .setShaped([\n[<minecraft:planks>],\n[<minecraft:planks>],\n[<minecraft:planks>]\n- ]);\n-CarpenterRecipe.setTool(<ore:carpenters_hammer>, 3)\n-CarpenterRecipe.addOutput(<minecraft:planks>)\n-CarpenterRecipe.create();\n+ ])\n+ .setTool(<ore:carpenters_hammer>, 3)\n+ .addOutput(<minecraft:planks>)\n+ .create();\n```\nFor more features see [Usages](/Mods/Artisan_Worktables/CraftTweaker_Support/Usages)\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Update RecipeBuilder.md update to new system
139,087
12.04.2018 17:08:13
-7,200
8871ae1feab57be367d941df4fff6341cefd43fd
Added Documentation for CompatSkills * Added Documentation for CompatSkills * Update Skills_Traits.md * Fixed Sizing issues using # * Cleared-up some documentation on resource loading * Fixed Typo Added Issue Tracker to Link to WIP Blood Magic Page * Update GameStages.md * Update Magneticraft.md * Update Immersive_Engineering.md * Update GameStages.md
[ { "change_type": "ADD", "old_path": null, "new_path": "docs/Mods/CompatSkills/CompatSkills.md", "diff": "+# Official Compat Addon for Reskillable\n+\n+\n+## Currently adds Compatibility for:\n+- Blood Magic\n+- CraftTweaker\n+- GameStages\n+- Immersive Engineering\n+- Magneticraft\n+\n+\n+### Important!:\n+You might notice a lot of references to \"String...\" in the blank examples.\n+This is called a VarArg.\n+It essentially means you can feed it any number of said variable this case \"String\".\n+\n+Example:\n+\"reskillable:building|15\", \"reskillable:magic|7\", \"stage|test\", \"adv|minecraft:husbandry/plant_seed\"\n+\n+\n+Currently there is only 1 support not using the VarArg approach which is Requirement Locking through CrT.\n+This will be switched over in the 1.2.0 release!\n+\n+### CurseForge Page:\n+https://minecraft.curseforge.com/projects/compatskills\n+\n+\n+### Discord:\n+https://discord.gg/Q2k3uEe\n\\ No newline at end of file\n" }, { "change_type": "ADD", "old_path": null, "new_path": "docs/Mods/CompatSkills/Requirements/RequirementTypes.md", "diff": "+# Requirement Types\n+\n+\n+## Advancements:\n+\n+Advancements is one of the original requirement types supported in Skillable (Original Mod) and has now been improved in the code to be more relyable for gating.\n+The Advancement Syntax is as followS:\n+```\n+Example:\n+adv|ResourceLocation\n+\n+Working Example:\n+adv|minecraft:husbandry/plant_seed\n+```\n+\n+This works for any and all Advancements even those added by other mods than minecraft, however the correct Resource Location needs to be specified.\n+\n+\n+\n+## GameStages:\n+\n+GameStages is a Requirement introduced by CompatSkills and allows you to gate items behind GameStages.\n+The GameStage Syntax is as follows:\n+```\n+Example:\n+stage|stageName\n+\n+Working Example:\n+stage|test\n+```\n+\n+\n+\n+## Skills:\n+\n+Skills alongside Advancements was one of the original lock types added by Skillable and has since then been refined to support other mods adding more Skills.\n+The Skill Syntax is as follows:\n+```\n+Example:\n+ResourceLocation|Level\n+\n+Working Example:\n+reskillable:building|15\n+```\n+\n+Since the release of Reskillable we've moved from a skill name system to a resource location name system.\n+This allows for several skills to add skills with the same internal name but different mod id's for the Resource Location.\n+You can find the Skill's ResourceLocations under:\n+[Skills & Traits](/Mods/CompatSkills/Requirements/Skills_Traits)\n+\n+\n+\n+## Traits:\n+\n+Traits is a new addition for Reskillable and makes it so you now can lock things behind a required Trait.\n+Traits are similar to Skills in the way that we've moved them over to a Resource Location instead of a name to allow for more robust extendability.\n+The Trait Syntax is as follows:\n+```\n+Example:\n+trait|ResourceLocation\n+\n+Working Example:\n+trait|reskillable:battle_spirit\n+```\n+\n+You can find the Traits's ResourceLocations under:\n+[Skills & Traits](/Mods/CompatSkills/Requirements/Skills_Traits)\n\\ No newline at end of file\n" }, { "change_type": "ADD", "old_path": null, "new_path": "docs/Mods/CompatSkills/Requirements/Requirements.md", "diff": "+# Requirements:\n+\n+Requirements is a concept introduced with Reskillable and is essentially Player-Bound properties to bind items behind.\n+\n+For example by default, Reskillable has Requirement support for the following:\n+- Advancements\n+- Skills\n+- Traits\n+\n+This list can be further expanded upon by addons.\n+In-fact CompatSkills adds support for GameStages as a valid Requirement.\n+\n+The requirement syntax varies from Property to Property on how it's implemented by the addon.\n+Under [Requirement Types](/Mods/CompatSkills/Requirements/RequirementTypes.md) you'll be able to see the syntax for all Requirements added by Reskillable and CompatSkills.\n\\ No newline at end of file\n" }, { "change_type": "ADD", "old_path": null, "new_path": "docs/Mods/CompatSkills/Requirements/Skills_Traits.md", "diff": "+# Skills & Traits\n+\n+\n+## Skills List:\n+\n+| Skills | ResourceLocation |\n+|:--------------------|:--------------------|\n+|Agility |reskillable:agility |\n+|Attack |reskillable:attack |\n+|Building |reskillable:building |\n+|Defense |reskillable:defense |\n+|Farming |reskillable:farming |\n+|Gathering |reskillable:gathering|\n+|Magic |reskillable:magic |\n+|Mining |reskillable:mining |\n+\n+\n+\n+## Traits List:\n+\n+| Parent Skill | Trait | ResourceLocation |\n+|:------------:|:------------------:|:---------------------------|\n+|Agility |Road Walk |reskillable:roadwalk |\n+|Agility |Sidestep |reskillable:sidestep |\n+|Attack |Battle Spirit |reskillable:battle_spirit |\n+|Attack |Neutralissse |reskillable:neutralissse |\n+|Building |Chorus Transmutation|reskillable:chorus_transmute|\n+|Building |Perfect Recovery |reskillable:perfect_recover |\n+|Defense |Effect Twist |reskillable:effect_twist |\n+|Defense |Undershirt |reskillable:undershirt |\n+|Farming |Green Thumb |reskillable:green_thumb |\n+|Farming |More Wheat |reskillable:more_wheat |\n+|Gathering |Drop Guarantee |reskillable:drop_guarantee |\n+|Gathering |Lucky Fisherman |reskillable:lucky_fisherman |\n+|Magic |Golden Osmosis |reskillable:golden_osmosis |\n+|Magic |Safe Port |reskillable:safe_port |\n+|Mining |Fossil Digger |reskillable:fossil_digger |\n+|Mining |Obsidian Smasher |reskillable:obsidian_smasher|\n" }, { "change_type": "ADD", "old_path": null, "new_path": "docs/Mods/CompatSkills/Supports/Blood_Magic.md", "diff": "+# Blood Magic\n+\n+**This Support is WIP**\n+**If Something Breaks, please open an issue on the issue tracker!**\n+[Issue-Tracker Link](https://github.com/Coders-After-Dark/CompatSkills/issues)\n+\n+## Binding:\n+This will cancel the Item Binding in Blood Magic for said specific item if the player doesn't meet the requirements.\n+\n+### Syntax:\n+```\n+Blank Example:\n+mods.compatskills.BindHandler.addBindLock(String failureMessage, IItemStack stack, String... requirements);\n+\n+Test Example:\n+mods.compatskills.BindHandler.addBindLock(\"Untold Dark Energies swirl around you and then subside\", <bloodmagic:blood_orb>.withTag({orb: \"bloodmagic:weak\"}), \"reskillable:building|15\", \"reskillable:magic|7\", \"stage|test\", \"adv|minecraft:husbandry/plant_seed\");\n+```\n+\n+\n+## Rituals:\n+This will cancel the activation of a ritual if the player doesn't meet the requirements.\n+\n+### Syntax:\n+```\n+Blank Example:\n+mods.compatskills.RitualHandler.addRitualLock(String failureMessage, String ritual, String... requirements)\n+\n+Test Example:\n+mods.compatskills.RitualHandler.addRitualLock(\"As the ritual activates, you don't achieve the expected result\", \"ritualCrushing\", \"reskillable:building|15\", \"reskillable:magic|7\", \"stage|test\", \"adv|minecraft:husbandry/plant_seed\")\n+```\n" }, { "change_type": "ADD", "old_path": null, "new_path": "docs/Mods/CompatSkills/Supports/CraftTweaker.md", "diff": "+# CraftTweaker\n+\n+## Requirement Locking:\n+Currently the main CrT support is for Requirement Locking.\n+This can also be accomplished through the config system.\n+However the Config System does **NOT** support NBT!\n+\n+\n+### Syntax:\n+```\n+Blank Example:\n+mods.compatskills.Requirement.addRequirement(IItemStack item, String locked)\n+\n+Working Example:\n+mods.compatskills.Requirement.addRequirement(<minecraft:wooden_pickaxe:*>, \"reskillable:mining|5\");\n+\n+// With NBT for Silk Touch\n+mods.compatskills.Requirement.addRequirement(<minecraft:wooden_pickaxe:1>.withTag({ench: [{lvl: 1 as short, id: 33 as short}], RepairCost: 1}), \"reskillable:mining|9\");\n+```\n" }, { "change_type": "ADD", "old_path": null, "new_path": "docs/Mods/CompatSkills/Supports/GameStages.md", "diff": "+# GameStages\n+\n+## Explanation:\n+So the GameStage Support exists in two form:\n+- Using GameStages as Requirements\n+- Creating \"Dummy Traits\" that once unlocked, unlocks a GameStage.\n+\n+This part of the GameStages support will focus on the later form.\n+Aka \"Dummy Traits\" for unlocking GameStages.\n+\n+\n+## Resource Information:\n+When creating a new dummy trait you'll notice a few things are missing:\n+- Unlocalized Name\n+- Unlocalized Description\n+- No Icon is present\n+\n+This is due to these things requiring Resources.\n+At the current stage CompatSkills does not provide the ability to provide these natively.\n+There are a few ways around this:\n+- Use BASE which comes with it's own Resource Loader (Only works if ContentTweaker is Present due to how BASE works!).\n+- Use ResourceLoader by Lumien.\n+\n+Localization is pretty straight forward.\n+```\n+assets/compatskills/lang/en_us.lang\n+\n+en_us.lang = English Translation\n+```\n+However the texture path for the trait icon is as follows:\n+```\n+assets/compatskills/textures/unlockables/name.png\n+\n+So if the name is \"banana\", The Path would be as follows:\n+\n+assets/compatskills/textures/unlockables/banana.png\n+```\n+\n+\n+### Syntax:\n+```\n+Blank Example:\n+mods.compatskills.GameStageUnlockable.addGameStageUnlockable(String gamestage, String name, int x, int y, String skillName, int cost, @Optional String... defaultRequirements);\n+\n+Working Example(s):\n+mods.compatskills.GameStageUnlockable.addGameStageUnlockable(\"a\", \"a\", 0, 0, \"reskillable:gathering\", 3, \"stage|test\");\n+mods.compatskills.GameStageUnlockable.addGameStageUnlockable(\"b\", \"b\", 0, 1, \"reskillable:gathering\", 3, \"adv|minecraft:husbandry/plant_seed\");\n+mods.compatskills.GameStageUnlockable.addGameStageUnlockable(\"c\", \"c\", 0, 2, \"reskillable:gathering\", 3, \"trait|compatskills:b\");\n+```\n" }, { "change_type": "ADD", "old_path": null, "new_path": "docs/Mods/CompatSkills/Supports/Immersive_Engineering.md", "diff": "+# Immersive Engineering\n+\n+## Credits:\n+Credits goes out to Skysom for helping guide me through this and for allowing me to rework some of his code from MultiblockStages!\n+\n+\n+## Explaination:\n+Immersive Engineering-Support currently consists of:\n+- A Command for dumping the string name of all IE Multiblocks.\n+ - Command is: /ct ieMultiBlocks\n+- Multiblock Gating using a Crt-based Syntax.\n+\n+\n+### Syntax:\n+```\n+Blank Example:\n+mods.compatskills.IEMultiBlockGate.addGate(String multiBlockName, String failureMessage, String... defaultRequirements);\n+\n+Working Example:\n+mods.compatskills.IEMultiBlockGate.addGate(\"IE:DieselGenerator\", \"I'm afraid this is just too complex for an idiot like you!\", \"reskillable:building|15\", \"reskillable:magic|7\", \"stage|test\", \"adv|minecraft:husbandry/plant_seed\");\n+```\n" }, { "change_type": "ADD", "old_path": null, "new_path": "docs/Mods/CompatSkills/Supports/Magneticraft.md", "diff": "+# Magneticraft\n+\n+## Explaination:\n+Magneticraft Support currently consists of:\n+- A Command for dumping the string name of all Magneticraft Multiblocks.\n+ - Command is: /ct magMultiBlocks\n+- Multiblock Gating using a Crt-based Syntax.\n+\n+\n+### Syntax:\n+```\n+Blank Example:\n+mods.compatskills.MagMultiBlockGates.addGate(String multiBlockName, String failureMessage, String... defaultRequirements);\n+\n+Working Example:\n+mods.compatskills.MagMultiBlockGates.addGate(\"solar_mirror\", \"I'm afraid this is just too complex for an idiot like you!\", \"reskillable:building|15\", \"reskillable:magic|7\", \"adv|minecraft:husbandry/plant_seed\", \"stage|test\");\n+```\n" }, { "change_type": "MODIFY", "old_path": "mkdocs.yml", "new_path": "mkdocs.yml", "diff": "@@ -177,6 +177,18 @@ pages:\n- Light-Well: 'Mods/Astral_Sorcery/Well.md'\n- Starlight Infusion: 'Mods/Astral_Sorcery/Infusion.md'\n- Starlight Transmutation: 'Mods/Astral_Sorcery/Transmutation.md'\n+ - CompatSkills:\n+ - CompatSkills: 'Mods/CompatSkills/CompatSkills.md'\n+ - Requirements:\n+ - Requirements: 'Mods/CompatSkills/Requirements/Requirements.md'\n+ - Requirement Types: 'Mods/CompatSkills/Requirements/RequirementTypes.md'\n+ - Skill & Traits: 'Mods/CompatSkills/Requirements/Skills_Traits.md'\n+ - Supports:\n+ - Blood Magic: 'Mods/CompatSkills/Supports/Blood_Magic.md'\n+ - CraftTweaker: 'Mods/CompatSkills/Supports/CraftTweaker.md'\n+ - GameStages: 'Mods/CompatSkills/Supports/GameStages.md'\n+ - Immersive Engineering: 'Mods/CompatSkills/Supports/Immersive_Engineering.md'\n+ - Magneticraft: 'Mods/CompatSkills/Supports/Magneticraft.md'\n- ContentTweaker:\n- ContentTweaker: 'Mods/ContentTweaker/ContentTweaker.md'\n- Commands: 'Mods/ContentTweaker/Commands.md'\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Added Documentation for CompatSkills (#61) * Added Documentation for CompatSkills * Update Skills_Traits.md * Fixed Sizing issues using # * Cleared-up some documentation on resource loading * Fixed Typo Added Issue Tracker to Link to WIP Blood Magic Page * Update GameStages.md * Update Magneticraft.md * Update Immersive_Engineering.md * Update GameStages.md
139,056
18.04.2018 15:31:19
14,400
e7858e0ac7a1462ce2bfc202b7679463c596024a
Update Fluid.md passing a color 0 works but makes an invisible fluid, probably not the best example. Replaced with Color.fromHex() since that's likely to be to most commonly used function there.
[ { "change_type": "MODIFY", "old_path": "docs/Mods/ContentTweaker/Vanilla/Creatable_Content/Fluid.md", "new_path": "docs/Mods/ContentTweaker/Vanilla/Creatable_Content/Fluid.md", "diff": "@@ -63,8 +63,9 @@ fluid.register();\n#loader contenttweaker\nimport mods.contenttweaker.VanillaFactory;\nimport mods.contenttweaker.Fluid;\n+import mods.contenttweaker.Color;\n-var zsFluid = VanillaFactory.createFluid(\"zs_fluid\", 0);\n+var zsFluid = VanillaFactory.createFluid(\"zs_fluid\", Color.fromHex(\"FF69B4\"));\nzsFluid.fillSound = <soundevent:block.anvil.place>;\nzsFluid.register();\n```\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Update Fluid.md (#58) passing a color 0 works but makes an invisible fluid, probably not the best example. Replaced with Color.fromHex() since that's likely to be to most commonly used function there.
139,083
29.07.2018 22:23:15
-7,200
96aae3619766ea1548c111017efc7eab9e45e335
Update PressureChamber.md * Update PressureChamber.md Fix remove syntax * Fix IItemStack Hyperlink for PressureChamber.md Also renamed output parameter to outputs
[ { "change_type": "MODIFY", "old_path": "docs/Mods/PneumaticCraft_Repressurized/PressureChamber.md", "new_path": "docs/Mods/PneumaticCraft_Repressurized/PressureChamber.md", "diff": "@@ -8,12 +8,12 @@ You can call the Pressure Chamber package using `mods.pneumaticcraft.pressurecha\n## Removing\n-This function removes the first recipe it finds with the given [IIngredient](/Vanilla/Variable_Types/IIngredient) `output`:\n+This function removes the first recipe it finds with the given [IItemStack](/Vanilla/Items/IItemStack/) `outputs` array:\n```\n-mods.pneumaticcraft.pressurechamber.removeRecipe(IIngredient output);\n+mods.pneumaticcraft.pressurechamber.removeRecipe(IItemStack[] outputs);\n// Example\n-mods.pneumaticcraft.pressurechamber.removeRecipe(<pneumaticcraft:ingot_iron_compressed>);\n+mods.pneumaticcraft.pressurechamber.removeRecipe([<pneumaticcraft:ingot_iron_compressed>]);\n```\nThis function removes *all* Pressure Chamber recipes:\n@@ -27,7 +27,7 @@ mods.pneumaticcraft.pressurechamber.removeAllRecipes();\nThis function is used to add new recipes to the Pressure Chamber:\n```\n-mods.pneumaticcraft.pressurechamber.addRecipe(IIngredient[] input, double pressure, IItemStack[] output);\n+mods.pneumaticcraft.pressurechamber.addRecipe(IIngredient[] inputs, double pressure, IItemStack[] outputs);\n// Example\nmods.pneumaticcraft.pressurechamber.addRecipe([<minecraft:gold_ingot> * 2,<minecraft:apple>], 2.0, [<minecraft:golden_apple>]);\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Update PressureChamber.md (#59) * Update PressureChamber.md Fix remove syntax * Fix IItemStack Hyperlink for PressureChamber.md Also renamed output parameter to outputs
139,041
08.08.2018 17:16:02
14,400
75ee3b9489230ea2b33660d7959b0844e57bbcfb
Added DropTableBuilder documentation * Added DropTableBuilder documentation * Expanded builder usage examples * Corrected header syntax Added the requisite spaces between header markdown and header text.
[ { "change_type": "ADD", "old_path": null, "new_path": "docs/Mods/ContentTweaker/Materials/DropTableBuilder.md", "diff": "+# DropTableBuilder\n+\n+DropTableBuilder is used to create 'drops' strings for ores and samples that support dropping multiple item stacks at once, item stacks that contain more than one item, and weighted drops.\n+\n+## Importing the package\n+It 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+`import mods.contenttweaker.DropTableBuilder;`\n+\n+## Methods\n+These methods allow for creation and modification of a drop table. All builder methods return the builder they were run on, allowing for chaining methods.\n+\n+| Method Name | Description |\n+|--------------------|----------------------------------------------------------------------------------|\n+| newSlot() | Creates a new drop table if run statically or adds a new slot to the drop table. |\n+| addItem() | Adds the specified item to the current slot of the drop table. |\n+| enableFortune() | Enables the current slot to benefit from the fortune enchant. |\n+\n+### Usage:\n+#### `newSlot()`\n+\n+DropTableBuilder.newSlot() will create a new builder.\n+\\<builder\\>.newSlot() will finalize the current slot and start a new one.\n+\n+#### `addItem(String itemStr[, int weight[, int count]])`\n+\n+`itemStr` can be an item's name like \\<mod\\>:\\<item\\>:\\<meta\\>, an ore dictionary entry like oredict:\\<entry\\>, or the word empty.\n+`weight` controls how likely the item is to drop using the formula \\<item weight\\>/\\<sum of item weights within slot\\>. Defaults to 1 if omitted.\n+`count` is how many of the item drop if selected. Defaults to 1 if omitted.\n+\n+#### `enableFortune()`\n+\n+Slots that have fortune enabled will select a number of additional items from the slot up to the level of fortune used. Matches vanilla fortune behavior on slots that have only 1 item.\n+\n+## Examples using the Builder\n+### Creating a drop table\n+\n+```\n+var complextable = DropTableBuilder.newSlot()\n+ .addItem(\"minecraft:diamond\", 1, 2)\n+ .addItem(\"minecraft:coal\", 9)\n+ .enableFortune()\n+ .newSlot()\n+ .addItem(\"oredict:stone\")\n+ .newSlot()\n+ .addItem(\"minecraft:cobblestone\")\n+ .addItem(\"empty\");\n+```\n+This drop table would drop 2 diamonds (10%) or 1 coal (90%) benefiting from fortune, 1 stone (100%), and 1 cobblestone (50%).\n+\n+```\n+var lapistable = DropTableBuilder.newSlot()\n+ .addItem(\"minecraft:lapis_lazuli\", 1, 4)\n+ .addItem(\"minecraft:lapis_lazuli\", 1, 5)\n+ .addItem(\"minecraft:lapis_lazuli\", 1, 6)\n+ .addItem(\"minecraft:lapis_lazuli\", 1, 7)\n+ .addItem(\"minecraft:lapis_lazuli\", 1, 8)\n+ .enableFortune();\n+```\n+This drop table mimics vanilla lapis, dropping 4-8 lapis and benefiting from fortune.\n+\n+### Using a drop table\n+Builders are used by assigning them as a \"drops\" data value. Since data values only accept strings, the builder will be cast as a string using its toString method.\n+```\n+var lapisData = MaterialSystem.getMaterialBuilder()\n+ .setColor(12345678).setName(\"Fake Lapis\").setColor(12345678).build()\n+ .registerPart(\"ore\").getData();\n+var complexData = MaterialSystem.getMaterialBuilder()\n+ .setColor(12345678).setName(\"Complex Ore\").setColor(12345678).build()\n+ .registerPart(\"ore\").getData();\n+lapisData.addDataValue(\"drops\",lapistable);\n+complexData.addDataValue(\"drops\",complextable+lapistable);\n+```\n+When 2 builders are added together, a new table is created with the slots from both tables.\n" }, { "change_type": "MODIFY", "old_path": "mkdocs.yml", "new_path": "mkdocs.yml", "diff": "@@ -331,6 +331,7 @@ pages:\n- Material System:\n- Introduction: 'Mods/ContentTweaker/Materials/Introduction.md'\n- MaterialSystem: 'Mods/ContentTweaker/Materials/MaterialSystem.md'\n+ - DropTableBuilder: 'Mods/ContentTweaker/Materials/DropTableBuilder.md'\n- Brackets:\n- Material Part Bracket Handler: 'Mods/ContentTweaker/Materials/Brackets/Bracket_MaterialPart.md'\n- Materials:\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Added DropTableBuilder documentation (#81) * Added DropTableBuilder documentation * Expanded builder usage examples * Corrected header syntax Added the requisite spaces between header markdown and header text.
139,040
18.08.2018 16:32:20
-7,200
c36121a6c15128a028a3e672fcd11d5ecc8bc5e6
IntegradedDynamics, Part I Just commiting this so that I can rebranch to check some stuff
[ { "change_type": "ADD", "old_path": null, "new_path": "docs/Mods/IntegratedDynamics/DryingBasin.md", "diff": "+# DryingBasin\n+\n+This package allows you to modify recipes for the Drying Basin.\n+\n+\n+## Importing the package\n+If you want to import this package, here you go:\n+```\n+import mods.integrateddynamics.DryingBasin;\n+```\n+\n+\n+## Adding Recipes\n+\n+```\n+//DryingBasin.addRecipe(@Optional IItemStack inputStack, @Optional ILiquidStack inputFluid, @Optional IItemStack outputStack, @Optional ILiquidStack outputFluid, @Optional(10) int duration);\n+\n+DryingBasin.addRecipe(<minecraft:melon>, <liquid:lava> * 100, <minecraft:stick>, <liquid:water> * 100, 10);\n+```\n+\n+\n+## Removing Recipes\n+\n+```\n+//DryingBasin.removeRecipe(@Optional IItemStack inputStack, @Optional ILiquidStack inputFluid, @Optional IItemStack outputStack, @Optional ILiquidStack outputFluid, @Optional(10) int duration);\n+DryingBasin.removeRecipe(<minecraft:melon>, <liquid:lava> * 100, <minecraft:stick>, <liquid:water> * 100, 10);\n+\n+\n+//DryingBasin.removeRecipesWithOutput(@Optional IItemStack outputStack, @Optional ILiquidStack outputFluid);\n+DryingBasin.removeRecipesWithOutput(<minecraft:leather>, null);\n+```\n\\ No newline at end of file\n" }, { "change_type": "ADD", "old_path": null, "new_path": "docs/Mods/IntegratedDynamics/MechanicalDryingBasin.md", "diff": "+# MechanicalDryingBasin\n+\n+This package allows you to modify recipes for the Mechanical Drying Basin.\n+\n+\n+## Importing the package\n+If you want to import this package, here you go:\n+```\n+import mods.integrateddynamics.MechanicalDryingBasin;\n+```\n+\n+\n+## Adding Recipes\n+\n+```\n+//MechanicalDryingBasin.addRecipe(@Optional IItemStack inputStack, @Optional ILiquidStack inputFluid, @Optional IItemStack outputStack, @Optional ILiquidStack outputFluid, @Optional(10) int duration);\n+\n+MechanicalDryingBasin.addRecipe(<minecraft:melon>, <liquid:lava> * 100, <minecraft:stick>, <liquid:water> * 100, 10);\n+```\n+\n+\n+## Removing Recipes\n+\n+```\n+//MechanicalDryingBasin.removeRecipe(@Optional IItemStack inputStack, @Optional ILiquidStack inputFluid, @Optional IItemStack outputStack, @Optional ILiquidStack outputFluid, @Optional(10) int duration);\n+MechanicalDryingBasin.removeRecipe(<minecraft:melon>, <liquid:lava> * 100, <minecraft:stick>, <liquid:water> * 100, 10);\n+\n+\n+//MechanicalDryingBasin.removeRecipesWithOutput(@Optional IItemStack outputStack, @Optional ILiquidStack outputFluid);\n+MechanicalDryingBasin.removeRecipesWithOutput(<minecraft:leather>, null);\n+```\n\\ No newline at end of file\n" }, { "change_type": "ADD", "old_path": null, "new_path": "docs/Mods/IntegratedDynamics/MechanicalSqueezer.md", "diff": "+# MechanicalSqueezer\n+\n+This package allows you to modify recipes for the Mechanical Squeezer.\n+\n+\n+## Importing the package\n+If you want to import this package, here you go:\n+```\n+import mods.integrateddynamics.MechanicalSqueezer;\n+```\n+\n+\n+## Adding Recipes\n+\n+```\n+//MechanicalSqueezer.addRecipe(IItemStack inputStack, @Optional IItemStack outputStack, @Optional ILiquidStack outputFluid, @Optional(10) int duration);\n+MechanicalSqueezer.addRecipe(<minecraft:melon>, <minecraft:stick>, <liquid:water> * 100, 10);\n+\n+\n+\n+//addRecipe(IItemStack inputStack,\n+ @Optional IItemStack outputStack1, @Optional float outputStackChance1,\n+ @Optional IItemStack outputStack2, @Optional float outputStackChance2,\n+ @Optional IItemStack outputStack3, @Optional float outputStackChance3,\n+ @Optional ILiquidStack outputFluid, @Optional(10) int duration);\n+//TODO\n+```\n+\n+\n+## Removing Recipes\n+\n+```\n+//MechanicalSqueezer.removeRecipe(IItemStack inputStack, @Optional IItemStack outputStack, @Optional ILiquidStack outputFluid, @Optional(10) int duration);\n+//TODO\n+\n+//MechanicalSqueezer.removeRecipe(IItemStack inputStack,\n+ @Optional IItemStack outputStack1, @Optional float outputStackChance1,\n+ @Optional IItemStack outputStack2, @Optional float outputStackChance2,\n+ @Optional IItemStack outputStack3, @Optional float outputStackChance3,\n+ @Optional ILiquidStack outputFluid, @Optional(10) int duration);\n+//TODO\n+\n+\n+\n+//MechanicalSqueezer.removeRecipesWithOutput(@Optional IItemStack outputStack, @Optional ILiquidStack outputFluid);\n+//TODO\n+\n+//MechanicalSqueezer.removeRecipesWithOutput(@Optional IItemStack outputStack1, @Optional float outputStackChance1,\n+ @Optional IItemStack outputStack2, @Optional float outputStackChance2,\n+ @Optional IItemStack outputStack3, @Optional float outputStackChance3,\n+ @Optional ILiquidStack outputFluid);\n+//TODO\n+```\n\\ No newline at end of file\n" }, { "change_type": "ADD", "old_path": null, "new_path": "docs/Mods/IntegratedDynamics/Squeezer.md", "diff": "+# Squeezer\n+\n+This package allows you to modify recipes for the Squeezer.\n+\n+\n+## Importing the package\n+If you want to import this package, here you go:\n+```\n+import mods.integrateddynamics.Squeezer;\n+```\n+\n+\n+## Adding Recipes\n+\n+```\n+//Squeezer.addRecipe(IItemStack inputStack, @Optional IItemStack outputStack, @Optional ILiquidStack outputFluid);\n+Squeezer.addRecipe(<minecraft:melon>, <minecraft:stick>, <liquid:water> * 100);\n+\n+\n+\n+//addRecipe(IItemStack inputStack,\n+ @Optional IItemStack outputStack1, @Optional float outputStackChance1,\n+ @Optional IItemStack outputStack2, @Optional float outputStackChance2,\n+ @Optional IItemStack outputStack3, @Optional float outputStackChance3,\n+ @Optional ILiquidStack outputFluid);\n+//TODO\n+```\n+\n+\n+## Removing Recipes\n+\n+```\n+//Squeezer.removeRecipe(IItemStack inputStack, @Optional IItemStack outputStack, @Optional ILiquidStack outputFluid);\n+//TODO\n+\n+//Squeezer.removeRecipe(IItemStack inputStack,\n+ @Optional IItemStack outputStack1, @Optional float outputStackChance1,\n+ @Optional IItemStack outputStack2, @Optional float outputStackChance2,\n+ @Optional IItemStack outputStack3, @Optional float outputStackChance3,\n+ @Optional ILiquidStack outputFluid);\n+//TODO\n+\n+\n+\n+//Squeezer.removeRecipesWithOutput(@Optional IItemStack outputStack, @Optional ILiquidStack outputFluid);\n+//TODO\n+\n+//Squeezer.removeRecipesWithOutput(@Optional IItemStack outputStack1, @Optional float outputStackChance1,\n+ @Optional IItemStack outputStack2, @Optional float outputStackChance2,\n+ @Optional IItemStack outputStack3, @Optional float outputStackChance3,\n+ @Optional ILiquidStack outputFluid);\n+//TODO\n+```\n\\ No newline at end of file\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
IntegradedDynamics, Part I Just commiting this so that I can rebranch to check some stuff
139,040
19.08.2018 16:02:07
-7,200
0ee9b81e62427d1be54dec132ba022c5e4c696b4
Added linkChecker to travis to ensure links within wiki entries are correct
[ { "change_type": "MODIFY", "old_path": ".travis.yml", "new_path": ".travis.yml", "diff": "@@ -3,7 +3,9 @@ sudo: false\ninstall:\n- pip install mkdocs==0.16.3\n+ - pip install git+https://github.com/linkchecker/linkchecker.git\nscript:\n- - mkdocs build --clean\n\\ No newline at end of file\n+ - mkdocs build --clean --site-dir site\n+ - linkchecker site/index.html --ignore-url=\"search\\.html\"\n\\ No newline at end of file\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Added linkChecker to travis to ensure links within wiki entries are correct
139,040
19.08.2018 16:53:00
-7,200
4fcd67d1c99eab677c1528d11bd6fd7d3b68efe9
ID part II, still needs some examples
[ { "change_type": "MODIFY", "old_path": "docs/Mods/IntegratedDynamics/MechanicalSqueezer.md", "new_path": "docs/Mods/IntegratedDynamics/MechanicalSqueezer.md", "diff": "@@ -19,10 +19,10 @@ MechanicalSqueezer.addRecipe(<minecraft:melon>, <minecraft:stick>, <liquid:water\n//addRecipe(IItemStack inputStack,\n- @Optional IItemStack outputStack1, @Optional float outputStackChance1,\n- @Optional IItemStack outputStack2, @Optional float outputStackChance2,\n- @Optional IItemStack outputStack3, @Optional float outputStackChance3,\n- @Optional ILiquidStack outputFluid, @Optional(10) int duration);\n+// @Optional IItemStack outputStack1, @Optional float outputStackChance1,\n+// @Optional IItemStack outputStack2, @Optional float outputStackChance2,\n+// @Optional IItemStack outputStack3, @Optional float outputStackChance3,\n+// @Optional ILiquidStack outputFluid, @Optional(10) int duration);\n//TODO\n```\n@@ -34,10 +34,10 @@ MechanicalSqueezer.addRecipe(<minecraft:melon>, <minecraft:stick>, <liquid:water\n//TODO\n//MechanicalSqueezer.removeRecipe(IItemStack inputStack,\n- @Optional IItemStack outputStack1, @Optional float outputStackChance1,\n- @Optional IItemStack outputStack2, @Optional float outputStackChance2,\n- @Optional IItemStack outputStack3, @Optional float outputStackChance3,\n- @Optional ILiquidStack outputFluid, @Optional(10) int duration);\n+// @Optional IItemStack outputStack1, @Optional float outputStackChance1,\n+// @Optional IItemStack outputStack2, @Optional float outputStackChance2,\n+// @Optional IItemStack outputStack3, @Optional float outputStackChance3,\n+// @Optional ILiquidStack outputFluid, @Optional(10) int duration);\n//TODO\n@@ -46,8 +46,8 @@ MechanicalSqueezer.addRecipe(<minecraft:melon>, <minecraft:stick>, <liquid:water\n//TODO\n//MechanicalSqueezer.removeRecipesWithOutput(@Optional IItemStack outputStack1, @Optional float outputStackChance1,\n- @Optional IItemStack outputStack2, @Optional float outputStackChance2,\n- @Optional IItemStack outputStack3, @Optional float outputStackChance3,\n- @Optional ILiquidStack outputFluid);\n+// @Optional IItemStack outputStack2, @Optional float outputStackChance2,\n+// @Optional IItemStack outputStack3, @Optional float outputStackChance3,\n+// @Optional ILiquidStack outputFluid);\n//TODO\n```\n\\ No newline at end of file\n" }, { "change_type": "MODIFY", "old_path": "docs/Mods/IntegratedDynamics/Squeezer.md", "new_path": "docs/Mods/IntegratedDynamics/Squeezer.md", "diff": "@@ -19,10 +19,10 @@ Squeezer.addRecipe(<minecraft:melon>, <minecraft:stick>, <liquid:water> * 100);\n//addRecipe(IItemStack inputStack,\n- @Optional IItemStack outputStack1, @Optional float outputStackChance1,\n- @Optional IItemStack outputStack2, @Optional float outputStackChance2,\n- @Optional IItemStack outputStack3, @Optional float outputStackChance3,\n- @Optional ILiquidStack outputFluid);\n+// @Optional IItemStack outputStack1, @Optional float outputStackChance1,\n+// @Optional IItemStack outputStack2, @Optional float outputStackChance2,\n+// @Optional IItemStack outputStack3, @Optional float outputStackChance3,\n+// @Optional ILiquidStack outputFluid);\n//TODO\n```\n@@ -34,10 +34,10 @@ Squeezer.addRecipe(<minecraft:melon>, <minecraft:stick>, <liquid:water> * 100);\n//TODO\n//Squeezer.removeRecipe(IItemStack inputStack,\n- @Optional IItemStack outputStack1, @Optional float outputStackChance1,\n- @Optional IItemStack outputStack2, @Optional float outputStackChance2,\n- @Optional IItemStack outputStack3, @Optional float outputStackChance3,\n- @Optional ILiquidStack outputFluid);\n+// @Optional IItemStack outputStack1, @Optional float outputStackChance1,\n+// @Optional IItemStack outputStack2, @Optional float outputStackChance2,\n+// @Optional IItemStack outputStack3, @Optional float outputStackChance3,\n+// @Optional ILiquidStack outputFluid);\n//TODO\n@@ -46,8 +46,8 @@ Squeezer.addRecipe(<minecraft:melon>, <minecraft:stick>, <liquid:water> * 100);\n//TODO\n//Squeezer.removeRecipesWithOutput(@Optional IItemStack outputStack1, @Optional float outputStackChance1,\n- @Optional IItemStack outputStack2, @Optional float outputStackChance2,\n- @Optional IItemStack outputStack3, @Optional float outputStackChance3,\n- @Optional ILiquidStack outputFluid);\n+// @Optional IItemStack outputStack2, @Optional float outputStackChance2,\n+// @Optional IItemStack outputStack3, @Optional float outputStackChance3,\n+// @Optional ILiquidStack outputFluid);\n//TODO\n```\n\\ No newline at end of file\n" }, { "change_type": "MODIFY", "old_path": "mkdocs.yml", "new_path": "mkdocs.yml", "diff": "@@ -425,6 +425,11 @@ pages:\n- Sludge Refiner: 'Mods/Industrial_Foregoing/SludgeRefiner.md'\n- Protein Reactor: 'Mods/Industrial_Foregoing/ProteinReactor.md'\n- Tree Fluid Extractor: 'Mods/Industrial_Foregoing/TreeFluidExtractor.md'\n+ - Integrated Dynamics:\n+ - DryingBasin: 'Mods/IntegratedDynamics/DryingBasin.md'\n+ - MechanicalDryingBasin: 'Mods/IntegratedDynamics/MechanicalDryingBasin.md'\n+ - Squeezer: 'Mods/IntegratedDynamics/Squeezer.md'\n+ - MechanicalSqueezer: 'Mods/IntegratedDynamics/MechanicalSqueezer.md'\n- JEI:\n- JEI: 'Mods/JEI/JEI.md'\n- LootTableTweaker:\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
ID part II, still needs some examples
139,040
19.08.2018 17:10:18
-7,200
6615b59c1da6fa919081bbc2b6cb9a5e547a6f42
Fixed typo in IEntityDefinition Wrong bracket after some refactoring
[ { "change_type": "MODIFY", "old_path": "docs/Vanilla/Entities/IEntityDefinition.md", "new_path": "docs/Vanilla/Entities/IEntityDefinition.md", "diff": "@@ -39,8 +39,8 @@ Returns the name as string\nThe first method only creates an entity on the given location.\nThe second one also spawns it.\n```\n-<Entity:minecraft:sheep>.createEntity(world);\n-<Entity:minecraft:sheep>.spawnEntity(world, blockPos);\n+<entity:minecraft:sheep>.createEntity(world);\n+<entity:minecraft:sheep>.spawnEntity(world, blockPos);\n```\n`world` is an [IWorld](/Vanilla/World/IWorld/) object.\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Fixed typo in IEntityDefinition - Wrong bracket after some refactoring
139,040
21.08.2018 13:44:13
-7,200
7cfbd9ac0c004f53248a0a2a0b85b87df0ed7b33
Added stub recipes to Integrated dynamics machines closes
[ { "change_type": "MODIFY", "old_path": "docs/Mods/IntegratedDynamics/MechanicalSqueezer.md", "new_path": "docs/Mods/IntegratedDynamics/MechanicalSqueezer.md", "diff": "@@ -18,12 +18,17 @@ MechanicalSqueezer.addRecipe(<minecraft:melon>, <minecraft:stick>, <liquid:water\n-//addRecipe(IItemStack inputStack,\n+//MechanicalSqueezer.addRecipe(IItemStack inputStack,\n// @Optional IItemStack outputStack1, @Optional float outputStackChance1,\n// @Optional IItemStack outputStack2, @Optional float outputStackChance2,\n// @Optional IItemStack outputStack3, @Optional float outputStackChance3,\n// @Optional ILiquidStack outputFluid, @Optional(10) int duration);\n-//TODO\n+\n+MechanicalSqueezer.addRecipe(<minecraft:pumpkin>,\n+ <minecraft:pumpkin_seeds>, 0.2,\n+ <minecraft:iron_nugget>, 0.01,\n+ <minecraft:cactus>, 0.5,\n+ <liquid:water> * 100, 20);\n```\n@@ -31,14 +36,19 @@ MechanicalSqueezer.addRecipe(<minecraft:melon>, <minecraft:stick>, <liquid:water\n```\n//MechanicalSqueezer.removeRecipe(IItemStack inputStack, @Optional IItemStack outputStack, @Optional ILiquidStack outputFluid, @Optional(10) int duration);\n-//TODO\n+MechanicalSqueezer.removeRecipe(<minecraft:melon>, <minecraft:stick>, <liquid:water> * 100, 10);\n//MechanicalSqueezer.removeRecipe(IItemStack inputStack,\n// @Optional IItemStack outputStack1, @Optional float outputStackChance1,\n// @Optional IItemStack outputStack2, @Optional float outputStackChance2,\n// @Optional IItemStack outputStack3, @Optional float outputStackChance3,\n// @Optional ILiquidStack outputFluid, @Optional(10) int duration);\n-//TODO\n+\n+MechanicalSqueezer.removeRecipe(<minecraft:pumpkin>,\n+ <minecraft:pumpkin_seeds>, 0.2,\n+ <minecraft:iron_nugget>, 0.01,\n+ <minecraft:cactus>, 0.5,\n+ <liquid:water> * 100, 20)\n@@ -49,5 +59,9 @@ MechanicalSqueezer.addRecipe(<minecraft:melon>, <minecraft:stick>, <liquid:water\n// @Optional IItemStack outputStack2, @Optional float outputStackChance2,\n// @Optional IItemStack outputStack3, @Optional float outputStackChance3,\n// @Optional ILiquidStack outputFluid);\n-//TODO\n+\n+MechanicalSqueezer.removeRecipesWithOutput(<minecraft:pumpkin_seeds>, 0.2,\n+ <minecraft:iron_nugget>, 0.01,\n+ <minecraft:cactus>, 0.5,\n+ <liquid:water> * 100, 20);\n```\n\\ No newline at end of file\n" }, { "change_type": "MODIFY", "old_path": "docs/Mods/IntegratedDynamics/Squeezer.md", "new_path": "docs/Mods/IntegratedDynamics/Squeezer.md", "diff": "@@ -18,12 +18,18 @@ Squeezer.addRecipe(<minecraft:melon>, <minecraft:stick>, <liquid:water> * 100);\n-//addRecipe(IItemStack inputStack,\n+//Squeezer.addRecipe(IItemStack inputStack,\n// @Optional IItemStack outputStack1, @Optional float outputStackChance1,\n// @Optional IItemStack outputStack2, @Optional float outputStackChance2,\n// @Optional IItemStack outputStack3, @Optional float outputStackChance3,\n// @Optional ILiquidStack outputFluid);\n-//TODO\n+\n+\n+Squeezer.addRecipe(<minecraft:pumpkin>,\n+ <minecraft:pumpkin_seeds>, 0.2,\n+ <minecraft:iron_nugget>, 0.01,\n+ <minecraft:cactus>, 0.5,\n+ <liquid:water> * 100);\n```\n@@ -38,16 +44,25 @@ Squeezer.addRecipe(<minecraft:melon>, <minecraft:stick>, <liquid:water> * 100);\n// @Optional IItemStack outputStack2, @Optional float outputStackChance2,\n// @Optional IItemStack outputStack3, @Optional float outputStackChance3,\n// @Optional ILiquidStack outputFluid);\n-//TODO\n+\n+Squeezer.removeRecipe(<minecraft:pumpkin>,\n+ <minecraft:pumpkin_seeds>, 0.2,\n+ <minecraft:iron_nugget>, 0.01,\n+ <minecraft:cactus>, 0.5,\n+ <liquid:water> * 100);\n//Squeezer.removeRecipesWithOutput(@Optional IItemStack outputStack, @Optional ILiquidStack outputFluid);\n-//TODO\n+Squeezer.removeRecipesWithOutput(<minecraft:pumpkin_seeds>, <liquid:water>);\n//Squeezer.removeRecipesWithOutput(@Optional IItemStack outputStack1, @Optional float outputStackChance1,\n// @Optional IItemStack outputStack2, @Optional float outputStackChance2,\n// @Optional IItemStack outputStack3, @Optional float outputStackChance3,\n// @Optional ILiquidStack outputFluid);\n-//TODO\n+\n+Squeezer.removeRecipesWithOutput(<minecraft:pumpkin_seeds>, 0.2,\n+ <minecraft:iron_nugget>, 0.01,\n+ <minecraft:cactus>, 0.5,\n+ <liquid:water> * 100);\n```\n\\ No newline at end of file\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Added stub recipes to Integrated dynamics machines closes #84
139,040
22.08.2018 13:11:02
-7,200
b5cd3a48e4449801c6fcf170d79d7b1b7b8334b2
Fixed TiCon Material Bracket Handler in examples. see
[ { "change_type": "MODIFY", "old_path": "docs/Mods/Modtweaker/TConstruct/Materials/ITICMaterial.md", "new_path": "docs/Mods/Modtweaker/TConstruct/Materials/ITICMaterial.md", "diff": "@@ -9,7 +9,7 @@ It might be required for you to import the package if you encounter any issues,\n## Retrieving such an object\nYou can retrieve an ITICMaterial object using the [ITICMaterial Bracket Handler](/Mods/Modtweaker/TConstruct/Brackets/Bracket_Material/):\n```java\n-val stone = <material:stone>;\n+val stone = <ticmat:stone>;\n```\n## Fields\n" }, { "change_type": "MODIFY", "old_path": "docs/Mods/Modtweaker/TConstruct/Materials/ITICMaterialDefinition.md", "new_path": "docs/Mods/Modtweaker/TConstruct/Materials/ITICMaterialDefinition.md", "diff": "@@ -10,7 +10,7 @@ It might be required for you to import the package if you encounter any issues,\nYou can retrieve an ITICMaterialDefinition from an [ITICMaterial's](/Mods/Modtweaker/TConstruct/Materials/ITICMaterial/) `definition` ZenGetter:\n```\n-val def = <material:stone>.definition;\n+val def = <ticmat:stone>.definition;\n```\n## ZenGetters\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Fixed TiCon Material Bracket Handler in examples. see https://github.com/jaredlll08/ModTweaker/issues/673
139,054
26.08.2018 17:35:50
18,000
2ac45a10e65444ec7f30debceabe5db26a7300b7
Update ICommand.md Correcting plural/singular documentation error.
[ { "change_type": "MODIFY", "old_path": "docs/Vanilla/Commands/ICommand.md", "new_path": "docs/Vanilla/Commands/ICommand.md", "diff": "@@ -4,7 +4,7 @@ An ICommand Object represents a command ingame.\n## Importing the package\nIt might be required for you to import the package if you encounter any issues (like casting an [Array](/AdvancedFunctions/Arrays_and_Loops/)), so better be safe than sorry and add the import.\n-`import crafttweaker.commands.ICommand;`\n+`import crafttweaker.command.ICommand;`\n## ZenGetters\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Update ICommand.md Correcting plural/singular documentation error.
139,089
28.09.2018 21:16:00
-28,800
b1b2097eb8a89a1fee6b7798a9343c58cfa2f50e
more information about findRecipe
[ { "change_type": "MODIFY", "old_path": "docs/Mods/GregTechCE/Machines.md", "new_path": "docs/Mods/GregTechCE/Machines.md", "diff": "@@ -155,5 +155,7 @@ Example:\n```java\nval compressor as RecipeMap = RecipeMap.getByName(\"compressor\");\n+\n+// findRecipe(long voltage, IItemHandlerModifiable inputs, IMultipleTankHandler/List<FluidStack> fluidInputs)\ncompressor.findRecipe(2, [<minecraft:redstone>], null).remove();\n```\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
more information about findRecipe
139,089
29.09.2018 09:56:03
-28,800
59b1f40570621178adf0df868d2dbc7cf93d5fd1
wire, cable, pipe and enchantments
[ { "change_type": "MODIFY", "old_path": "docs/Mods/GregTechCE/Material.md", "new_path": "docs/Mods/GregTechCE/Material.md", "diff": "@@ -44,7 +44,7 @@ Methods:\n### FluidMaterial\n-`FluidMaterial` is a material which contains fluid features. Its superclass is `Material` so you can use all members in `Material`.\n+`FluidMaterial` is a material which contains fluid features. Its superclass is `Material` so all members in `Material` is still available.\nProperties:\n@@ -64,7 +64,7 @@ Getters:\n### DustMaterial\n-`DustMaterial` is a material which contains dust features. Its superclass is `FluidMaterial` so you can use all members in `FluidMaterial`.\n+`DustMaterial` is a material which contains dust features. Its superclass is `FluidMaterial` so all members in `FluidMaterial` is still available.\nProperties:\n@@ -87,7 +87,7 @@ Getters:\n### SolidMaterial\n-`SolidMaterial` is a material which contains solid features. Its superclass is `DustMaterial` so you can use all members in `DustMaterial`.\n+`SolidMaterial` is a material which contains solid features. Its superclass is `DustMaterial` so all members in `DustMaterial` is still available.\nProperties:\n@@ -104,9 +104,33 @@ Getters:\n| toolDurability | int | Durability of tools made from this material, 0 for materials that can't be used for tools |\n| toolEnchantments | List<EnchantmentData> | Enchantment to be applied to tools made from this material |\n+### IngotMaterial\n+\n+`IngotMaterial` is a mterial which contains ingot features. Its superclass is `SolidMaterial` so all members in `SolidMaterial` is still available.\n+\n+Ingot materials can be used as wire, cable and fluid pipe. Those properties can be set by `setCableProperties(long voltage, int baseAmperage, int lossPerBlock)` and `setFluidPipeProperties(int throughput, int maxTemperature, boolean gasProof)`.\n+\n+For example:\n+\n+```java\n+var ingotMaterial = MaterialRegistry.createIngotMaterial(2052, \"test\", 0x1a2f3e, \"ingot\", 1);\n+ingotMaterial.setCableProperties(128L, 4, 1); // 128EU/t 4A 1 loss/block\n+```\n+\n## Enchantment data\n-`gregtech.mods.EnchantmentData` instance creation are current in development.\n+`gregtech.mods.EnchantmentData` can be found in `SolidMaterial#toolEnchantments`, they are an internal storage of a enchantment with levels.\n+\n+They can be casted into `crafttweaker.enchantments.IEnchantmentDefinition` by calling `enchantment` getter, and level is available with `level` getter.\n+\n+To add a enchantment for tools in `SolidMaterial`, simply calling `addToolEnchantment(IEnchantment enchantment)`, to add a CraftTweaker enchantment data type.\n+\n+Example for a Fortune I material:\n+\n+```java\n+var material = MaterialRegistry.get(\"iron\"); // Modify iron material\n+material.addToolEnchantment(<enchantment:minecraft:fortune> * 1); // Create a enchantment object and add it\n+```\n## Material generation flags\n@@ -196,13 +220,15 @@ var material = MaterialRegistry.get(materialName);\n// List all materials registered\nvar materialList = MaterialRegistry.getAllMaterials();\n+// Set toolDurability to 0 if ingot cannot be used as tool\n+// Note that an @Optional parameter can be left out, and it's replaced by default 0.\n+// Means Gem and Ingot material cannot be used as tool by default.\nMaterialRegistry.createFluidMaterial(int metaItemSubId, String name, int color, String iconSet, @Optional MaterialStack[] materialComponents);\nMaterialRegistry.createDustMaterial(int metaItemSubId, String name, int color, String iconSet, int harvestLevel, @Optional MaterialStack[] materialComponents);\nMaterialRegistry.createGemMaterial(int metaItemSubId, String name, int color, String iconSet, int harvestLevel, @Optional MaterialStack[] materialComponents, @Optional float toolSpeed, @Optional int toolDurability);\n-// set toolDurability to 0 if ingot cannot be used as tool\nMaterialRegistry.createIngotMaterial(int metaItemSubId, String name, int color, String iconSet, int harvestLevel, @Optional MaterialStack[] materialComponents, @Optional float toolSpeed, @Optional int toolDurability, @Optional int blastFurnaceTemperature);\n```\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
wire, cable, pipe and enchantments
139,089
30.09.2018 18:01:13
-28,800
60b7671fb093a607f76f86588aee7042925b4900
removed illeagl "L"
[ { "change_type": "MODIFY", "old_path": "docs/Mods/GregTechCE/Material.md", "new_path": "docs/Mods/GregTechCE/Material.md", "diff": "@@ -114,7 +114,7 @@ For example:\n```java\nvar ingotMaterial = MaterialRegistry.createIngotMaterial(2052, \"test\", 0x1a2f3e, \"ingot\", 1);\n-ingotMaterial.setCableProperties(128L, 4, 1); // 128EU/t 4A 1 loss/block\n+ingotMaterial.setCableProperties(128, 4, 1); // 128EU/t 4A 1 loss/block\n```\n## Enchantment data\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
removed illeagl "L"
139,077
09.10.2018 00:09:14
25,200
3f360c79bef19501d556231253259f8a5c2ef0f7
Updated pages and added new pages for blockstate handling
[ { "change_type": "ADD", "old_path": null, "new_path": "docs/Vanilla/Brackets/Bracket_BlockState.md", "diff": "+# BlockState Bracket Handler\n+\n+The BlockState Bracket Handler gives you access to the BlockStates in the game. It is only possible to get BlockStates registered in the game, so adding or removing mods may cause issues if you reference the mod's blockstates in a BlockState Bracket Handler.\n+\n+BlockStates are referenced in the BlockState Bracket Handler like so:\n+\n+```\n+<blockstate:modid:blockname>\n+```\n+\n+With the `modid` being the modid of the mod that the block is defined in, and `blockname` being the name of the block. This will return the default BlockState for the specified block.\n+\n+To get a specific blockstate with the BlockState Bracket Handler, you can optionally specify its properties like so:\n+\n+```\n+<blockstate:modid:blockname:properties>\n+```\n+\n+Where `properties` is a comma-separated set of `name=value` pairs for any properties that you want to specify on the blockstate. Any properties that are not specified are given the same values as in the default blockstate.\n+\n+This will return an IBlockState Object.\n+Please refer to [the respective wiki entry](/Vanilla/Blocks/IBlockState/) for further information.\n+\n+Note that this bracket handler will create a reference to one specific blockstate.\n+If you would like to be able to match against multiple blockstates, please refer to [the IBlockStateMatcher wiki entry].\n+\n+## Examples\n+\n+An example of the BlockState Bracket Handler would be:\n+\n+```\n+//block of dirt\n+<blockstate:minecraft:dirt>\n+\n+//oak log, vertical\n+<blockstate:minecraft:log>\n+<blockstate:minecraft:log:variant=oak,axis=y>\n+\n+//spruce log, horizontal along the x-axis\n+<blockstate:minecraft:log:variant=spruce,axis=x>\n+```\n" }, { "change_type": "MODIFY", "old_path": "docs/Vanilla/World/IWorld.md", "new_path": "docs/Vanilla/World/IWorld.md", "diff": "@@ -61,12 +61,13 @@ worldObj.getBlock(IBlockPos position);\n```\n### Get or Set a blockState at a specific Position\n-Use an [IBlockPos](/Vanilla/World/IBlockPos/) Object and for the setter also an [IBlockState](/Vanilla/Blocks/IBlockState/) Object.\n+Use an [IBlockPos](/Vanilla/World/IBlockPos/) Object and for the setter also an [IBlockState](/Vanilla/Blocks/IBlockState/) Object. Optionally an [IData](/Vanilla/Data/IData/) object can be specified to define NBT data for the blockstate's TileEntity when it is set.\nGetter Returns an [IBlockState](/Vanilla/Blocks/IBlockState/), setter a bool.\n```\nworldObj.getBlockState(IBlockPos pos);\nworldObj.setBlockState(IBlockState state, IBlockPos pos);\n+worldObj.setBlockState(IBlockState state, IData tileEntityData, IBlockPos pos);\n```\n### Spawn entity\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Updated pages and added new pages for blockstate handling
139,040
29.08.2018 18:17:37
-7,200
29c09992b8bc2e3bcb1f14ec4a307562f73b85d0
Fixed AnnotationIterable hyperlink See Closes
[ { "change_type": "MODIFY", "old_path": "docs/Dev_Area/ZenAnnotations/Annotation_Iterable.md", "new_path": "docs/Dev_Area/ZenAnnotations/Annotation_Iterable.md", "diff": "@@ -52,4 +52,4 @@ for oreDictEntry in oreDict {\n## What Classes can be annotated || Additional Info\nYou can annotate all classes that implement the required interface.\n-You need to provide a String value that refers to the Iterated [ZenScript's class name](/Dec_Area(ZenAnnotations/ZenClass/).\n\\ No newline at end of file\n+You need to provide a String value that refers to the Iterated [ZenScript's class name](/Dev_Area/ZenAnnotations/Annotation_ZenClass/).\n\\ No newline at end of file\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Fixed AnnotationIterable hyperlink - See #93 - Closes #93
139,040
08.10.2018 21:02:36
-7,200
c48b640c0be178881bfbb549945316e7fe61417e
Chagned some in operator usages to use has instead
[ { "change_type": "MODIFY", "old_path": "docs/AdvancedFunctions/Conditional_Statements.md", "new_path": "docs/AdvancedFunctions/Conditional_Statements.md", "diff": "@@ -125,22 +125,29 @@ All the examples given evaluate to true.\n| XOR | `^` | Checks if either the value before or after is true, false if both or none is true | true ^ false |\n-## The in Operator\n+## The in/has Operator\n-The `in` operator checks if something is in something.\n-First you need the list you want to check in, then the `in` then the value you want to check for\n+The `in` and the `has` operator check if something is in something.\n+First you need the list you want to check in, then the `in`/`has` then the value you want to check for.\n+`in` and `has` are the same keyword for ZS, but in most cases people use `has` for checking if a collection contains an item and in for loops as this represents the English grammar.\n-### in loadedMods\n+### in/has loadedMods\nYou can check, if a mod is loaded by checking if it's in the loadedMods list\n```Java\n+//While contains checks can use in\nif(loadedMods in \"mcp\"){\nprint(\"Minecraft Coder Pack loaded\");\n}\n+\n+//Most people prefer using has\n+if(loadedMods has \"mcp\"){\n+ print(\"Minecraft Coder Pack loaded\");\n+}\n```\n-### in IIngredient\n+### in/has IIngredient\nYou can also check if an item matches a definition by comparing two IIngredients.\n@@ -148,7 +155,27 @@ You can also check if an item matches a definition by comparing two IIngredients\nif(<ore:ingotIron> in <minecraft:iron_ingot>){\nprint(\"Iron ingots are in the right oreDic\");\n}\n+\n+if(<ore:ingotIron> has <minecraft:iron_ingot>){\n+ print(\"Iron ingots are in the right oreDic\");\n+}\n```\n-With this one you need to be a bit careful as not to confuse the two entries:\n-This is only then true, when ALL matching items from the IIngredient AFTER the `in` can also be found in the IIngredient BEFORE `in`.\n\\ No newline at end of file\n+This is only then true, when ALL matching items from the IIngredient AFTER the `has` can also be found in the IIngredient BEFORE `has`:\n+Say we have an IIngredient that contains all dusts (e.g. redstone and glowstone dust):\n+```java\n+val redstone = <minecraft:redstone>;\n+val glowstone = <minecraft:glowstone>\n+val allDusts = <ore:dustAll>;\n+allDusts.add(redstone, glowstone);\n+\n+//True as redstone is a part of alldusts\n+if(allDusts has redstone) {\n+\n+}\n+\n+//False as allDusts consists of redstone and glowstone, and redstone only consists of redstone.\n+if(redstone has allDusts) {\n+\n+}\n+```\n\\ No newline at end of file\n" }, { "change_type": "MODIFY", "old_path": "docs/Vanilla/OreDict/IOreDictEntry.md", "new_path": "docs/Vanilla/OreDict/IOreDictEntry.md", "diff": "@@ -58,10 +58,12 @@ You can check if an IOreDictEntry contains an item using either the `in` or `has\n```\nval oreDictEnt = <ore:ingotIron>;\n+//While using in is possible\nif(oreDictEnt in <minecraft:iron_ingot>){\nprint(\"Iron is in the oreDict!\");\n}\n+//many prefer using has as it might make more sense grammar-wise\nif(oreDictEnt has <minecraft:iron_ingot>){\nprint(\"Iron still is in the oreDict!\");\n}\n" }, { "change_type": "MODIFY", "old_path": "docs/Vanilla/Variable_Types/IIngredient.md", "new_path": "docs/Vanilla/Variable_Types/IIngredient.md", "diff": "@@ -178,13 +178,13 @@ You can also match two IIngredient Objects, in which case you'd need to use the\n```\nval ingots = <minecraft:iron_ingot> | <minecraft:gold_ingot>;\n-val goldOre = <ore:ingotIron>;\n+val oreIngot = <ore:ingotIron>;\nval ingotGold = <minecraft:gold_ingot>;\n-//true as the gold ingot is in the ingots Ingredient\n-ingots in ingotGold;\n+//true as the ingots Ingredient has <minecraft:gold_ingot>\n+ingots has ingotGold;\n//false as <minecraft:iron_ingot> cannot be found in <ore:ingotGold>\n-goldOre in ingots;\n+oreIngot has ingots;\n```\n\\ No newline at end of file\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Chagned some in operator usages to use has instead
139,040
08.10.2018 21:03:18
-7,200
0c7c5ae9b51743f0a896023d95073f8e0c0571eb
Added more examples to replaceAllOccurences to include 3rd parameter and an advanced usecase
[ { "change_type": "MODIFY", "old_path": "docs/Vanilla/Recipes/Crafting/Recipes_Crafting_Table.md", "new_path": "docs/Vanilla/Recipes/Crafting/Recipes_Crafting_Table.md", "diff": "@@ -177,10 +177,25 @@ recipes.getRecipesFor(<minecraft:iron_ingot>);\n```\n### Replace all item ingredients with another one\n-You can use this to replace all [ingredients](/Vanilla/Variable_Types/IIngredient/) in a recipe with another one, for example all sticks with stones.\n+You can use this to replace all [ingredients](/Vanilla/Variable_Types/IIngredient/) in a recipe with another one, for example all sticks with stones. It also accepts an optional third parameter that matches agains the recipe outputs. If the recipe\n```\n-//recipes.replaceAllOccurences(IIngredient toReplace, IIngredient replaceWith);\n+//recipes.replaceAllOccurences(IIngredient toReplace, IIngredient replaceWith, @Optional IIngredient forOutput);\n+\n+//replaces every stick with stone\nrecipes.replaceAllOccurences(<minecraft:stick>, <minecraft:stone>);\n+\n+//Explicitly uses any output, replaces gold ingots with gold blocks\n+recipes.replaceAllOccurences(<ore:ingotGold>, <ore:blockGold>, <*>);\n+\n+\n+//Only replaces in recipes with a diamond_sword as output\n+recipes.replaceAllOccurences(<ore:gemDiamond>, <ore:blockDiamond>, <minecraft:diamond_sword>);\n+\n+\n+//conditions work as well -> replaces in recipes for any recipe output except tnt\n+recipes.replaceAllOccurences(<ore:gunpowder>, <minecraft:tnt>, <*>.only(function(item) {\n+ return !isNull(item) & !<minecraft:tnt>.matches(item);\n+}));\n```\n### Craft\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Added more examples to replaceAllOccurences to include 3rd parameter and an advanced usecase
139,040
17.10.2018 21:01:42
-7,200
b897473e98138a9b2f9db21539640d3456c9d7b2
Tests with Jenkins
[ { "change_type": "MODIFY", "old_path": "Jenkinsfile", "new_path": "Jenkinsfile", "diff": "@@ -13,7 +13,8 @@ pipeline {\nsteps {\necho 'Building wiki files'\nsh 'chmod +x build.sh'\n- sh 'build.sh'\n+ sh 'ls'\n+ sh './build.sh'\n}\n}\nstage('Test') {\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Tests with Jenkins
139,040
17.10.2018 21:08:29
-7,200
8a95f3646c38e214a5e4eaad64ff2cdafb92171a
Another Jenkins test
[ { "change_type": "MODIFY", "old_path": "Jenkinsfile", "new_path": "Jenkinsfile", "diff": "@@ -12,9 +12,7 @@ pipeline {\nstage('Build') {\nsteps {\necho 'Building wiki files'\n- sh 'chmod +x build.sh'\n- sh 'ls'\n- sh './build.sh'\n+ sh 'sh ./build.sh'\n}\n}\nstage('Test') {\n@@ -26,7 +24,7 @@ pipeline {\npost {\nsuccess {\necho 'Success, now moving to web server'\n- sh 'move_to_webDir.sh'\n+ sh 'sh ./move_to_webDir.sh'\n}\n}\n}\n\\ No newline at end of file\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Another Jenkins test
139,040
17.10.2018 21:34:05
-7,200
da36c9f0d938d944b02ce117d9d589a28f5a0d64
Jenkins build file, use bash
[ { "change_type": "MODIFY", "old_path": "Jenkinsfile", "new_path": "Jenkinsfile", "diff": "@@ -12,7 +12,7 @@ pipeline {\nstage('Build') {\nsteps {\necho 'Building wiki files'\n- sh 'sh ./build.sh'\n+ sh 'bash ./build.sh'\n}\n}\nstage('Test') {\n@@ -24,7 +24,7 @@ pipeline {\npost {\nsuccess {\necho 'Success, now moving to web server'\n- sh 'sh ./move_to_webDir.sh'\n+ sh 'bash ./move_to_webDir.sh'\n}\n}\n}\n\\ No newline at end of file\n" }, { "change_type": "MODIFY", "old_path": "build.sh", "new_path": "build.sh", "diff": "@@ -4,7 +4,7 @@ echo \"start\"\necho \"Building english site\"\nmkdocs build --clean --site-dir ./build/en\n-if not exist ./translations mkdir ./translations\n+if not exist ./translations mkdir -p ./translations\ncd ./translations\nTRANS=./*\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Jenkins build file, use bash
139,040
17.10.2018 22:01:57
-7,200
746c5df74b678ad75f19ebba313106b90c0c7cf9
Bashify the script
[ { "change_type": "MODIFY", "old_path": "build.sh", "new_path": "build.sh", "diff": "@@ -4,19 +4,19 @@ echo \"start\"\necho \"Building english site\"\nmkdocs build --clean --site-dir ./build/en\n-if not exist ./translations mkdir -p ./translations\n+#if [ ! -f ./translations ]; then mkdir -p ./translations; fi\n+\ncd ./translations\nTRANS=./*\n-\n-for f in $TRANS\n-do\n+for f in $TRANS; do\ncd $f\n- echo \"Processing folder $f\"\n+ echo \"Processing folder $f\";\n#will refer to start folder/build/languageCode\n- SITEDIR=\"../../build/${f#\"./\"}\"\n+ SITEDIR=\"../../build/${f#\"./\"}\";\n+ echo $SITEDIR;\nmkdocs build --clean --site-dir $SITEDIR\n- cd ..\n+ cd ..;\ndone\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Bashify the script
139,040
17.10.2018 22:07:23
-7,200
edb0492c50e1ab7269185310d3a1a5070b95779c
Bashify the script, pt II
[ { "change_type": "MODIFY", "old_path": "build.sh", "new_path": "build.sh", "diff": "@@ -4,19 +4,8 @@ echo \"start\"\necho \"Building english site\"\nmkdocs build --clean --site-dir ./build/en\n-#if [ ! -f ./translations ]; then mkdir -p ./translations; fi\n-\ncd ./translations\nTRANS=./*\n-for f in $TRANS; do\n- cd $f\n- echo \"Processing folder $f\";\n- #will refer to start folder/build/languageCode\n- SITEDIR=\"../../build/${f#\"./\"}\";\n- echo $SITEDIR;\n- mkdocs build --clean --site-dir $SITEDIR\n- cd ..;\n-\n-done\n+for f in $TRANS; do cd $f echo \"Processing folder $f\"; SITEDIR=\"../../build/${f#\"./\"}\"; echo $SITEDIR; mkdocs build --clean --site-dir $SITEDIR; cd ..; done\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Bashify the script, pt II
139,040
18.10.2018 18:02:29
-7,200
91a75c1cdf1a4285404e4334c08f4ab37011dfdb
Added chmod to sh scripts
[ { "change_type": "MODIFY", "old_path": "Jenkinsfile", "new_path": "Jenkinsfile", "diff": "@@ -12,6 +12,7 @@ pipeline {\nstage('Build') {\nsteps {\necho 'Building wiki files'\n+ sh 'chmod +x build.sh'\nsh 'bash ./build.sh'\n}\n}\n@@ -24,6 +25,7 @@ pipeline {\npost {\nsuccess {\necho 'Success, now moving to web server'\n+ sh 'chmod +x move_to_webDir.sh'\nsh 'bash ./move_to_webDir.sh'\n}\n}\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Added chmod to sh scripts
139,040
18.10.2018 19:15:10
-7,200
68ee6acc2227d8f27be64f174483489d1bf54d39
New translations ZenTokens.md (German)
[ { "change_type": "MODIFY", "old_path": "translations/de/docs/Dev_Area/ZenTokens.md", "new_path": "translations/de/docs/Dev_Area/ZenTokens.md", "diff": "# ZenTokens\n-These are internal tokens only listed so I have a place to list them somewhere for devs to point to...\n+Diese internal Tokens sind hier nur aufgelistet, um die inneren Arbeitsschritte des Lexers zu verdeutlichen...\n-| Token Value | TokenName | Token String |\n-| ----------- | ------------- | ----------------------------------------------------------- |\n+| Token-Wert | Token Name | Token Regex |\n+| ---------- | ------------- | ----------------------------------------------------------- |\n| 1 | T_ID | `[a-zA-Z_][a-zA-Z_0-9]*` |\n| 2 | T_INTVALUE | `\\-?(0|[1-9][0-9]*)` |\n| 2 | T_INTVALUE | `0x[a-fA-F0-9]*)` |\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations ZenTokens.md (German) (#8)
139,040
24.10.2018 18:47:34
-7,200
1c9d828a89ac31fd4caf51221b0e3665ffa508aa
Give me an O
[ { "change_type": "MODIFY", "old_path": "crowdin.yml", "new_path": "crowdin.yml", "diff": "@@ -6,5 +6,4 @@ files:\ntranslation: /translations/%two_letters_code%/%original_path%/%original_file_name%\n- source: /mkdocs.yml\ntranslation: /translations/%two_letters_code%/%original_path%/%original_file_name%\n- type: txt\n- test: txt\n+ type: md\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Give me an O
139,040
27.10.2018 10:29:09
-7,200
7ab0ad70caff1e2b42c344eb49bc7230c01e6ac6
Typo and clarification on BloodAltar page, fixes
[ { "change_type": "MODIFY", "old_path": "docs/Mods/Modtweaker/BloodMagic/BloodAltar.md", "new_path": "docs/Mods/Modtweaker/BloodMagic/BloodAltar.md", "diff": "# Blood Altar\n## Package\n-`mods.bloodmagic.BloodAlter`\n+`mods.bloodmagic.BloodAltar`\n## Addition\n+\n+This creates a blood altar recipe that uses the given `input` item and produces the given `output` item.\n+To get the `minimumTier`, substract 1 from what JEI/the sigil tells you, so a T1 altar would require `0`.\n+The `syphon` value is the amount of Life Essence to syphon from the Blood Altar over the course of the craft.\n+The `consumeRate` is how quickly the Life Essence is syphoned.\n+The `drainRate` is how quickly progress is lost if the Blood Altar runs out of Life Essence during the craft.\n+\n```\n//mods.bloodmagic.BloodAltar.addRecipe(IItemStack output, IItemStack input, int minimumTier, int syphon, int consumeRate, int drainRate);\nmods.bloodmagic.BloodAltar.addRecipe(<minecraft:glass>, <minecraft:stick>, 0, 20,30,40);\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Typo and clarification on BloodAltar page, fixes #101
139,040
27.10.2018 10:31:02
-7,200
1c84c1b310f41adbc86f60c7a978fa24243fbc2e
Fixed invalid Headers in TCon casting.md fixes
[ { "change_type": "MODIFY", "old_path": "docs/Mods/Modtweaker/TConstruct/Casting.md", "new_path": "docs/Mods/Modtweaker/TConstruct/Casting.md", "diff": "@@ -5,7 +5,7 @@ The `Casting` package allows you to add or remove Casting recipes.\n## Calling\nYou can call the Casting package using `mods.tconstruct.Casting`\n-## Add Alloy Recipes\n+## Add Casting Recipes\nYou can add recipes for both, casting tables and basins:\nThe methods are equal in their parameters, varying only in their names.\n@@ -24,7 +24,7 @@ mods.tconstruct.Casting.addBasinRecipe(<minecraft:gold_ingot>, <minecraft:iron_i\n```\n-## Removing Alloy Recipes\n+## Removing Casting Recipes\nRemoving Recipes is also possible for Casting Tables and Basins:\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Fixed invalid Headers in TCon casting.md fixes #102
139,040
27.10.2018 10:33:36
-7,200
77d415e0643818bc22f39c3bd24f0b70cd87a353
Removed some invalidated remarks about maps from the respecting wiki entry.
[ { "change_type": "MODIFY", "old_path": "docs/AdvancedFunctions/Associative_Arrays.md", "new_path": "docs/AdvancedFunctions/Associative_Arrays.md", "diff": "@@ -26,8 +26,6 @@ Let's break this down, shall we?\nOkay, so what do I need to think of when using these?\n- You can use about every type available to Zenscript as either key or value.\n-- You cannot iterate over an Associative Array that uses Arrays as keys.\n-- You cannot use the 2-Variable Iterator when iterating over an Array that uses Arrays as values.\n- You cannot use variables for key declaration in the initial Declaration (the one that uses `{}`) as clear Text is interpreted as string!\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Removed some invalidated remarks about maps from the respecting wiki entry.
139,040
27.10.2018 17:06:47
-7,200
8104a7fa6c2e728aa15f504c0ca33f75793f2987
Updated AS Altar page
[ { "change_type": "MODIFY", "old_path": "docs/Mods/Astral_Sorcery/Altar.md", "new_path": "docs/Mods/Astral_Sorcery/Altar.md", "diff": "@@ -6,30 +6,45 @@ You can add and remove crafting recipes from the AS Altar.\nYou can call the AltarRecipe package using `mods.astralsorcery.Altar`.\n-## Altar Levels\n-Some recipes require an altar level:\n+## Remove Altar Recipes\n-|Altar Level | Level Name |\n-|------------|------------------------|\n-|0 |Luminous Crafting Table |\n-|1 |Starlight Crafting Altar|\n-|2 |Celestial Altar |\n+\n+This function removes the recipe with the given resource location.\n+You can get those locations by hovering over the recipe output in JEI or the Astral tome while the F3 screen is active.\n+Prints a warning if the recipe does not exist.\n+```\n+//mods.astralsorcery.Altar.removeAltarRecipe(string recipeLocation);\n+mods.astralsorcery.Altar.removeAltarRecipe(\"astralsorcery:shaped/internal/altar/lightwell\");\n+```\n-## Remove Altar Recipes\n+<details><summary>Pre v1.10 handler</summary>\nThis function removes the first recipe it finds that returns provided [IItemStack](/Vanilla/Items/IItemStack/) `output` and uses the provided altar level.\nIf there are multiple recipes that return the provided output, you need to call this method multiple times!\n+|Altar Level | Level Name |\n+|------------|------------------------|\n+|0 |Luminous Crafting Table |\n+|1 |Starlight Crafting Altar|\n+|2 |Celestial Altar |\n+\n```JAVA\n//mods.astralsorcery.Altar.removeAltarRecipe(IItemStack output, int altarLevel);\nmods.astralsorcery.Altar.removeAltarRecipe(<astralsorcery:blockblackmarble>, 0);\n```\n-\n+</details>\n## Add Altar Recipes\n+Since v1.10 all recipes require a resource location as first parameter.\n+Unlike vanilla recipe names, they are not optional and you will encounter errors if you do not provide it.\n+If you want to override an existing recipe, you can just add a new recipe with the same location.\n+You can get those locations by hovering over the recipe output in JEI or the Astral tome while the F3 screen is active.\n+\n+\nAll recipe addition methods require these parameters:\n+string `recipeLocation`,\n[IItemStack](/Vanilla/Items/IItemStack/) `output`,\nint `starlightRequired`,\nint `craftingTickTime`,\n@@ -48,7 +63,7 @@ These recipes cannot be shapeless!\n![Inputs Order](Assets/guialtar1.png)\n```JAVA\n-mods.astralsorcery.Altar.addDiscoveryAltarRecipe(<minecraft:dirt>, 200, 200, [\n+mods.astralsorcery.Altar.addDiscoveryAltarRecipe(\"mypackname:shaped/internal/altar/dirtfromstuff\", <minecraft:dirt>, 200, 200, [\n<minecraft:grass>, null, <ore:treeLeaves>,\nnull, <minecraft:grass>, null,\n<liquid:astralsorcery.liquidstarlight>, null, <ore:treeLeaves>]);\n@@ -65,7 +80,7 @@ Adds a recipe to the Starlight Crafting Table (T2)\n![Inputs Order](Assets/guialtar2.png)\n```JAVA\n-mods.astralsorcery.Altar.addAttunmentAltarRecipe(<minecraft:dirt>, 500, 300, [\n+mods.astralsorcery.Altar.addAttunmentAltarRecipe(mypackname:shaped/internal/altar/iguessmarble\", <minecraft:dirt>, 500, 300, [\nnull, null, null,\n<ore:treeLeaves>, <astralsorcery:blockmarble:2>, <ore:treeLeaves>,\nnull, <liquid:astralsorcery.liquidstarlight>, null,\n@@ -83,7 +98,7 @@ Adds a recipe to the Celestial Altar (T3)\n![Inputs Order](Assets/guialtar3.png)\n```JAVA\n-mods.astralsorcery.Altar.addConstellationAltarRecipe(<astralsorcery:itemcraftingcomponent:2>, 2000, 10, [\n+mods.astralsorcery.Altar.addConstellationAltarRecipe(\"mypackname:shaped/internal/altar/thisisveryexpensive\", <astralsorcery:itemcraftingcomponent:2>, 2000, 10, [\n<ore:blockMarble>, <astralsorcery:blocklens>, <ore:blockMarble>,\n<ore:blockMarble>, <astralsorcery:itemcraftingcomponent:2>, <ore:blockMarble>,\n<ore:blockMarble>, <minecraft:nether_star>, <ore:blockMarble>,\n@@ -106,9 +121,9 @@ Adds a recipe to the Trait Altar (T4)\n![Inputs Order](Assets/guialtar4.png)\n```JAVA\n-//mods.astralsorcery.Altar.addTraitAltarRecipe(IItemStack output, int starlight, int craftTickTime, IIngredient[] inputs, @optional String iRequiredConstellationFocusName);\n+//mods.astralsorcery.Altar.addTraitAltarRecipe(string recipeLocation, IItemStack output, int starlight, int craftTickTime, IIngredient[] inputs, @optional String iRequiredConstellationFocusName);\n-mods.astralsorcery.Altar.addTraitAltarRecipe(<minecraft:tnt>, 4500, 100, [\n+mods.astralsorcery.Altar.addTraitAltarRecipe(\"mypackname:shaped/internal/altar/seemsalotforjusttnt\", <minecraft:tnt>, 4500, 100, [\n<liquid:lava>, <liquid:lava>, <liquid:lava>,<liquid:lava>, <minecraft:gunpowder>,\n<liquid:lava>, <liquid:lava>, <liquid:lava>, <liquid:lava>,null,\nnull, null, null,<ore:blockMarble>, <ore:blockMarble>,\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Updated AS Altar page
139,040
28.10.2018 16:05:24
-3,600
dd559ca1f907ffb5e8402208d09a7aace6130985
Asset paths now are the full path
[ { "change_type": "MODIFY", "old_path": "docs/Mods/Astral_Sorcery/Altar.md", "new_path": "docs/Mods/Astral_Sorcery/Altar.md", "diff": "@@ -60,7 +60,7 @@ These recipes cannot be shapeless!\n`inputs` length *has to be* 9\n`inputs` Order:\n-![Inputs Order](Assets/guialtar1.png)\n+![Inputs Order](/Mods/Astral_Sorcery/Assets/guialtar1.png)\n```JAVA\nmods.astralsorcery.Altar.addDiscoveryAltarRecipe(\"mypackname:shaped/internal/altar/dirtfromstuff\", <minecraft:dirt>, 200, 200, [\n@@ -77,7 +77,7 @@ Adds a recipe to the Starlight Crafting Table (T2)\n`inputs` length *has to be* 13\n`inputs` Order:\n-![Inputs Order](Assets/guialtar2.png)\n+![Inputs Order](/Mods/Astral_Sorcery/Assets/guialtar2.png)\n```JAVA\nmods.astralsorcery.Altar.addAttunmentAltarRecipe(mypackname:shaped/internal/altar/iguessmarble\", <minecraft:dirt>, 500, 300, [\n@@ -95,7 +95,7 @@ Adds a recipe to the Celestial Altar (T3)\n`inputs` length *has to be* 21\n`inputs` Order:\n-![Inputs Order](Assets/guialtar3.png)\n+![Inputs Order](/Mods/Astral_Sorcery/Assets/guialtar3.png)\n```JAVA\nmods.astralsorcery.Altar.addConstellationAltarRecipe(\"mypackname:shaped/internal/altar/thisisveryexpensive\", <astralsorcery:itemcraftingcomponent:2>, 2000, 10, [\n@@ -118,7 +118,7 @@ Adds a recipe to the Trait Altar (T4)\n`inputs` length *has to be* 25 or higher. Items at index 25 or higher will be considered as \"outer items\" that need to be put on relays around the altar.\n`inputs` Order:\n-![Inputs Order](Assets/guialtar4.png)\n+![Inputs Order](/Mods/Astral_Sorcery/Assets/guialtar4.png)\n```JAVA\n//mods.astralsorcery.Altar.addTraitAltarRecipe(string recipeLocation, IItemStack output, int starlight, int craftTickTime, IIngredient[] inputs, @optional String iRequiredConstellationFocusName);\n" }, { "change_type": "MODIFY", "old_path": "docs/Mods/ContentTweaker/Materials/Parts/Part.md", "new_path": "docs/Mods/ContentTweaker/Materials/Parts/Part.md", "diff": "@@ -15,25 +15,25 @@ You can either retrieve an existing Part using the [MaterialSystem](/Mods/Conten\n<summary>Following types are pre-registered (Headlines are the [Part Types](/Mods/ContentTweaker/Materials/Parts/PartType/)):</summary>\n<h4>Items:</h4>\n<ul>\n- <li>Beam ![beam icon](Assets/beam.png)</li>\n- <li>Bolt ![Bolt icon](Assets/bolt.png)</li>\n- <li>Casing ![Casing icon](Assets/casing.png)</li>\n- <li>Clump ![Clump icon](Assets/clump.png)</li>\n- <li>Crystal ![Crystal icon](Assets/crystal.png)</li>\n- <li>Crushed Ore (crushed_ore) ![Crushed Ore icon](Assets/crushed_ore.png)</li>\n- <li>Dense Plate (dense_plate) ![Dense Plate icon](Assets/dense_plate.png)</li>\n- <li>Dirty Dust (dirty_dust) ![Dirty Dust icon](Assets/dirty_dust.png)</li>\n- <li>Dust ![Dust icon](Assets/dust.png)</li>\n- <li>Gear ![Gear icon](Assets/gear.png)</li>\n- <li>Ingot ![Ingot icon](Assets/ingot.png)</li>\n- <li>Nugget ![Nugget icon](Assets/nugget.png)</li>\n- <li>Plate ![Plate icon](Assets/plate.png)</li>\n- <li>Rod ![Rod icon](Assets/rod.png)</li>\n- <li>Shard ![Shard icon](Assets/shard.png)</li>\n+ <li>Beam ![beam icon](/Mods/ContentTweaker/Materials/Parts/Assets/beam.png)</li>\n+ <li>Bolt ![Bolt icon](/Mods/ContentTweaker/Materials/Parts/Assets/bolt.png)</li>\n+ <li>Casing ![Casing icon](/Mods/ContentTweaker/Materials/Parts/Assets/casing.png)</li>\n+ <li>Clump ![Clump icon](/Mods/ContentTweaker/Materials/Parts/Assets/clump.png)</li>\n+ <li>Crystal ![Crystal icon](/Mods/ContentTweaker/Materials/Parts/Assets/crystal.png)</li>\n+ <li>Crushed Ore (crushed_ore) ![Crushed Ore icon](/Mods/ContentTweaker/Materials/Parts/Assets/crushed_ore.png)</li>\n+ <li>Dense Plate (dense_plate) ![Dense Plate icon](/Mods/ContentTweaker/Materials/Parts/Assets/dense_plate.png)</li>\n+ <li>Dirty Dust (dirty_dust) ![Dirty Dust icon](/Mods/ContentTweaker/Materials/Parts/Assets/dirty_dust.png)</li>\n+ <li>Dust ![Dust icon](/Mods/ContentTweaker/Materials/Parts/Assets/dust.png)</li>\n+ <li>Gear ![Gear icon](/Mods/ContentTweaker/Materials/Parts/Assets/gear.png)</li>\n+ <li>Ingot ![Ingot icon](/Mods/ContentTweaker/Materials/Parts/Assets/ingot.png)</li>\n+ <li>Nugget ![Nugget icon](/Mods/ContentTweaker/Materials/Parts/Assets/nugget.png)</li>\n+ <li>Plate ![Plate icon](/Mods/ContentTweaker/Materials/Parts/Assets/plate.png)</li>\n+ <li>Rod ![Rod icon](/Mods/ContentTweaker/Materials/Parts/Assets/rod.png)</li>\n+ <li>Shard ![Shard icon](/Mods/ContentTweaker/Materials/Parts/Assets/shard.png)</li>\n</ul>\n<h4>Blocks:</h4>\n<ul>\n- <li>Block ![Block icon](Assets/block.png)</li>\n+ <li>Block ![Block icon](/Mods/ContentTweaker/Materials/Parts/Assets/block.png)</li>\n</ul>\n<h4>Ores:</h4>\n<ul>\n@@ -47,7 +47,7 @@ You can either retrieve an existing Part using the [MaterialSystem](/Mods/Conten\n</ul>\n<h4>Armor:</h4>\n<ul>\n- <li>Armor ![Helmet Icon](Assets/armor_head.png)![Chest Plate Icon](Assets/armor_chest.png)![Leggins Icon](Assets/armor_legs.png)![Boots Icon](Assets/armor_feet.png)</li>\n+ <li>Armor ![Helmet Icon](/Mods/ContentTweaker/Materials/Parts/Assets/armor_head.png)![Chest Plate Icon](/Mods/ContentTweaker/Materials/Parts/Assets/armor_chest.png)![Leggins Icon](/Mods/ContentTweaker/Materials/Parts/Assets/armor_legs.png)![Boots Icon](/Mods/ContentTweaker/Materials/Parts/Assets/armor_feet.png)</li>\n</ul>\n<h4>Minecart</h4>\n<ul>\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Asset paths now are the full path
139,040
28.10.2018 16:13:30
-3,600
0e533fe7c3b009be18786ff6ffbc2b73b90351b5
Made mkdocs builds and moves verbose
[ { "change_type": "MODIFY", "old_path": "build.sh", "new_path": "build.sh", "diff": "echo \"start\"\necho \"Building english site\"\n-mkdocs build --clean --theme-dir ./mkdocs_windmill --site-dir ./build/en\n+mkdocs build --verbose --clean --theme-dir ./mkdocs_windmill --site-dir ./build/en\ncd ./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 --verbose --clean --theme-dir \"../../mkdocs_windmill\" --site-dir $SITEDIR; cd ..; done\n" }, { "change_type": "MODIFY", "old_path": "move_to_webDir.sh", "new_path": "move_to_webDir.sh", "diff": "#!/bin/bash\necho $webDir\n-cp -fR build/* $webDir\n\\ No newline at end of file\n+cp -fRv build/* $webDir\n\\ No newline at end of file\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Made mkdocs builds and moves verbose
139,040
28.10.2018 16:23:36
-3,600
54d597acf5d117c4fa081b43cda579961cefff30
Terminated mkdocs build statement
[ { "change_type": "MODIFY", "old_path": "build.sh", "new_path": "build.sh", "diff": "echo \"start\"\necho \"Building english site\"\n-mkdocs build --verbose --clean --theme-dir ./mkdocs_windmill --site-dir ./build/en\n+mkdocs build --verbose --clean --theme-dir ./mkdocs_windmill --site-dir ./build/en;\ncd ./translations\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Terminated mkdocs build statement
139,040
28.10.2018 16:29:26
-3,600
b22fcee9c406d1cd020ba5569163d4e8470c379d
manually clean up prev builds
[ { "change_type": "MODIFY", "old_path": "build.sh", "new_path": "build.sh", "diff": "#!/bin/bash\n-echo \"start\"\n-echo \"Building english site\"\n+echo \"start\";\n+\n+echo \"Removing previous builds\";\n+rm -rfv /build/\n+\n+\n+echo \"Building english site\";\nmkdocs build --verbose --clean --theme-dir ./mkdocs_windmill --site-dir ./build/en;\ncd ./translations\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
manually clean up prev builds
139,040
28.10.2018 16:41:11
-3,600
62e7a43eca4caea232e770c565243959abc314e7
remove mkdocs verbosity
[ { "change_type": "MODIFY", "old_path": "build.sh", "new_path": "build.sh", "diff": "echo \"start\";\necho \"Removing previous builds\";\n-rm -rfv /build/\n+rm -frv ./build/*\necho \"Building english site\";\n-mkdocs build --verbose --clean --theme-dir ./mkdocs_windmill --site-dir ./build/en;\n+mkdocs build --clean --theme-dir ./mkdocs_windmill --site-dir ./build/en;\ncd ./translations\nTRANS=./*\n-for f in $TRANS; do cd $f echo \"Processing folder $f\"; SITEDIR=\"../../build/${f#\"./\"}\"; echo $SITEDIR; mkdocs build --verbose --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\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
remove mkdocs verbosity
139,040
28.10.2018 17:17:03
-3,600
be06b6ad888cb8687c01e1e8a85e98314f5aeefc
move script line endings
[ { "change_type": "MODIFY", "old_path": "move_to_webDir.sh", "new_path": "move_to_webDir.sh", "diff": "#!/bin/bash\n-echo $webDir\n+echo $webDir;\n-ls $webDir\n+ls $webDir;\n-rm -fRv $webDir/*\n-#cp -fRv build/* $webDir\n\\ No newline at end of file\n+rm -fRv $webDir/*;\n+#cp -fRv build/* $webDir;\n\\ No newline at end of file\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
move script line endings
139,040
28.10.2018 17:42:26
-3,600
f7f100d3e5ee3351ad5e86874aacc36ee2b1e4b0
I'm starting to get angry Parts page!
[ { "change_type": "MODIFY", "old_path": "docs/Mods/ContentTweaker/Materials/Parts/Part.md", "new_path": "docs/Mods/ContentTweaker/Materials/Parts/Part.md", "diff": "@@ -11,6 +11,12 @@ It might be required for you to import the package if you encounter any issues,\nYou can either retrieve an existing Part using the [MaterialSystem](/Mods/ContentTweaker/Materials/MaterialSystem/) or create an entirely new one using the [Part Builder](/Mods/ContentTweaker/Materials/Parts/Part_Builder/)\n+Beam ![beam icon](/Mods/ContentTweaker/Materials/Parts/Assets/beam.png)\n+\n+\n+TTT\n+Beam ![beam icon](../Assets/beam.png)\n+\n<details>\n<summary>Following types are pre-registered (Headlines are the [Part Types](/Mods/ContentTweaker/Materials/Parts/PartType/)):</summary>\n<h4>Items:</h4>\n" }, { "change_type": "MODIFY", "old_path": "move_to_webDir.sh", "new_path": "move_to_webDir.sh", "diff": "@@ -3,5 +3,4 @@ echo $webDir;\nls $webDir;\n-#rm -fRv $webDir/*;\ncp -fRv build/* $webDir;\n\\ No newline at end of file\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
I'm starting to get angry Parts page!
139,040
28.10.2018 18:13:18
-3,600
0ea2a0b473f1ad82a5f939c06b325500b2b7a0f4
Parts page let's test
[ { "change_type": "MODIFY", "old_path": "translations/de/docs/Mods/ContentTweaker/Materials/Parts/Part.md", "new_path": "translations/de/docs/Mods/ContentTweaker/Materials/Parts/Part.md", "diff": "+\n# Part\nA Part is the form an item is in, for example a gear or an ore.\n## Importing the package\n-\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`import mods.contenttweaker.Part;`\n## Retrieving such an object\n-\nYou can either retrieve an existing Part using the [MaterialSystem](/Mods/ContentTweaker/Materials/MaterialSystem/) or create an entirely new one using the [Part Builder](/Mods/ContentTweaker/Materials/Parts/Part_Builder/)\n-<details>\n- <summary>Following types are pre-registered (Headlines are the <a href=\"/Mods/ContentTweaker/Materials/Parts/PartType/\">Part Types</a>):</summary>\n- <h4>Items:</h4>\n- <ul>\n- <li>Beam <img src=\"/Mods/ContentTweaker/Materials/Parts/Assets/beam.png\" alt=\"beam icon\" /></li>\n- <li>Bolt <img src=\"/Mods/ContentTweaker/Materials/Parts/Assets/bolt.png\" alt=\"Bolt icon\" /></li>\n- <li>Casing <img src=\"/Mods/ContentTweaker/Materials/Parts/Assets/casing.png\" alt=\"Casing icon\" /></li>\n- <li>Clump <img src=\"/Mods/ContentTweaker/Materials/Parts/Assets/clump.png\" alt=\"Clump icon\" /></li>\n- <li>Crystal <img src=\"/Mods/ContentTweaker/Materials/Parts/Assets/crystal.png\" alt=\"Crystal icon\" /></li>\n- <li>Crushed Ore (crushed_ore) <img src=\"/Mods/ContentTweaker/Materials/Parts/Assets/crushed_ore.png\" alt=\"Crushed Ore icon\" /></li>\n- <li>Dense Plate (dense_plate) <img src=\"/Mods/ContentTweaker/Materials/Parts/Assets/dense_plate.png\" alt=\"Dense Plate icon\" /></li>\n- <li>Dirty Dust (dirty_dust) <img src=\"/Mods/ContentTweaker/Materials/Parts/Assets/dirty_dust.png\" alt=\"Dirty Dust icon\" /></li>\n- <li>Dust <img src=\"/Mods/ContentTweaker/Materials/Parts/Assets/dust.png\" alt=\"Dust icon\" /></li>\n- <li>Gear <img src=\"/Mods/ContentTweaker/Materials/Parts/Assets/gear.png\" alt=\"Gear icon\" /></li>\n- <li>Ingot <img src=\"/Mods/ContentTweaker/Materials/Parts/Assets/ingot.png\" alt=\"Ingot icon\" /></li>\n- <li>Nugget <img src=\"/Mods/ContentTweaker/Materials/Parts/Assets/nugget.png\" alt=\"Nugget icon\" /></li>\n- <li>Plate <img src=\"/Mods/ContentTweaker/Materials/Parts/Assets/plate.png\" alt=\"Plate icon\" /></li>\n- <li>Rod <img src=\"/Mods/ContentTweaker/Materials/Parts/Assets/rod.png\" alt=\"Rod icon\" /></li>\n- <li>Shard <img src=\"/Mods/ContentTweaker/Materials/Parts/Assets/shard.png\" alt=\"Shard icon\" /></li>\n- </ul>\n- <h4>Blocks:</h4>\n- <ul>\n- <li>Block <img src=\"/Mods/ContentTweaker/Materials/Parts/Assets/block.png\" alt=\"Block icon\" /></li>\n- </ul>\n- <h4>Ores:</h4>\n- <ul>\n- <li>Ore</li>\n- <li>Dense Ore (dense_ore)</li>\n- <li>Poor Ore(poor_ore)</li>\n- </ul>\n- <h4>Fluids:</h4>\n- <ul>\n- <li>Molten</li>\n- </ul><br />\n- <h4>Armor:</h4>\n- <ul>\n- <li>Armor <img src=\"/Mods/ContentTweaker/Materials/Parts/Assets/armor_head.png\" alt=\"Helmet Icon\" /><img src=\"/Mods/ContentTweaker/Materials/Parts/Assets/armor_chest.png\" alt=\"Chest Plate Icon\" /><img src=\"/Mods/ContentTweaker/Materials/Parts/Assets/armor_legs.png\" alt=\"Leggins Icon\" /><img src=\"/Mods/ContentTweaker/Materials/Parts/Assets/armor_feet.png\" alt=\"Boots Icon\" /></li>\n- </ul>\n- <h4>Minecart</h4>\n- <ul>\n- <li>Minecart</li>\n- </ul>\n+<details><summary>Following types are pre-registered (Headlines are the [Part Types](/Mods/ContentTweaker/Materials/Parts/PartType/)):</summary>\n+\n+#### Items:\n+\n+- Beam ![beam icon](/Mods/ContentTweaker/Materials/Parts/Assets/beam.png)\n+- Bolt ![Bolt icon](/Mods/ContentTweaker/Materials/Parts/Assets/bolt.png)\n+- Casing ![Casing icon](/Mods/ContentTweaker/Materials/Parts/Assets/casing.png)\n+- Clump ![Clump icon](/Mods/ContentTweaker/Materials/Parts/Assets/clump.png)\n+- Crystal ![Crystal icon](/Mods/ContentTweaker/Materials/Parts/Assets/crystal.png)\n+- Crushed Ore (crushed_ore) ![Crushed Ore icon](/Mods/ContentTweaker/Materials/Parts/Assets/crushed_ore.png)\n+- Dense Plate (dense_plate) ![Dense Plate icon](/Mods/ContentTweaker/Materials/Parts/Assets/dense_plate.png)\n+- Dirty Dust (dirty_dust) ![Dirty Dust icon](/Mods/ContentTweaker/Materials/Parts/Assets/dirty_dust.png)\n+- Dust ![Dust icon](/Mods/ContentTweaker/Materials/Parts/Assets/dust.png)\n+- Gear ![Gear icon](/Mods/ContentTweaker/Materials/Parts/Assets/gear.png)\n+- Ingot ![Ingot icon](/Mods/ContentTweaker/Materials/Parts/Assets/ingot.png)\n+- Nugget ![Nugget icon](/Mods/ContentTweaker/Materials/Parts/Assets/nugget.png)\n+- Plate ![Plate icon](/Mods/ContentTweaker/Materials/Parts/Assets/plate.png)\n+- Rod ![Rod icon](/Mods/ContentTweaker/Materials/Parts/Assets/rod.png)\n+- Shard ![Shard icon](/Mods/ContentTweaker/Materials/Parts/Assets/shard.png)\n+\n+#### Blocks:\n+\n+- Block ![Block icon](/Mods/ContentTweaker/Materials/Parts/Assets/block.png)\n+\n+#### Ores:\n+\n+- Ore\n+- Dense Ore (dense_ore)\n+- Poor Ore(poor_ore)\n+\n+#### Fluids:\n+\n+- Molten\n+\n+#### Armor:\n+\n+- Armor ![Helmet Icon](/Mods/ContentTweaker/Materials/Parts/Assets/armor_head.png)![Chest Plate Icon](/Mods/ContentTweaker/Materials/Parts/Assets/armor_chest.png)![Leggins Icon](/Mods/ContentTweaker/Materials/Parts/Assets/armor_legs.png)![Boots Icon](/Mods/ContentTweaker/Materials/Parts/Assets/armor_feet.png)\n+\n+#### Minecart\n+\n+- Minecart\n+\n</details>\n## Fields\n-\nYou can retrieve the following information from a Part:\n| ZenMethod | Return Type |\n-| ------------------------- | ----------------------------------------------------------------------------- |\n+|---------------------------|----------------------------------------|\n| hasOverlay() | boolean |\n| getName() | String |\n| getUnlocalizedName() | String |\n@@ -71,11 +69,10 @@ You can retrieve the following information from a Part:\n| getData() | List<[IPartDataPiece](/Mods/ContentTweaker/Materials/Parts/PartDataPiece/)\\> |\n## Register to Material(s)\n-\nYou can use this to register one or several Materials to this part\n-\n+```\npart.registerToMaterial(Material material);\npart.registerToMaterials(Material[] materials);\n-\n+```\nThe function will either return a single [MaterialPart](/Mods/ContentTweaker/Materials/Materials/MaterialPart/) object or a List of them, depending on whether you registered one or multiple materials at once.\n\\ No newline at end of file\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Parts page let's test
139,040
28.10.2018 18:20:39
-3,600
81001f3547e89d62333d493030ea1f94044c09a6
I wanna know why I am the way I am
[ { "change_type": "MODIFY", "old_path": "build.sh", "new_path": "build.sh", "diff": "@@ -6,8 +6,12 @@ echo \"Removing previous builds\";\nrm -fr ./build/*;\n-echo \"Building english site\";\n-mkdocs build --clean --theme-dir ./mkdocs_windmill --site-dir ./build/en;\n+#echo \"Building english site\";\n+#mkdocs build --clean --theme-dir ./mkdocs_windmill --site-dir ./build/en;\n+\n+cp ./docs ./translations/en/;\n+cp ./mkdocs.yml ./translations/en/;\n+\ncd ./translations\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
I wanna know why I am the way I am
139,040
28.10.2018 18:22:24
-3,600
abd2882b95e5369b69f36f97628134a6872e5381
I wanna know if I ever live again
[ { "change_type": "MODIFY", "old_path": "build.sh", "new_path": "build.sh", "diff": "@@ -9,7 +9,7 @@ rm -fr ./build/*;\n#echo \"Building english site\";\n#mkdocs build --clean --theme-dir ./mkdocs_windmill --site-dir ./build/en;\n-cp ./docs ./translations/en/;\n+cp -fr ./docs ./translations/en/;\ncp ./mkdocs.yml ./translations/en/;\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
I wanna know if I ever live again
139,040
28.10.2018 18:26:02
-3,600
e32be91b23a8915de02abdcfc141ef3a2703fdf7
I wanna know why nobody gives a damn
[ { "change_type": "MODIFY", "old_path": "build.sh", "new_path": "build.sh", "diff": "@@ -4,17 +4,18 @@ echo \"start\";\necho \"Removing previous builds\";\nrm -fr ./build/*;\n+git clean -df;\n#echo \"Building english site\";\n#mkdocs build --clean --theme-dir ./mkdocs_windmill --site-dir ./build/en;\n-cp -fr ./docs ./translations/en/;\n+cp -fr ./docs ./translations/en/docs;\ncp ./mkdocs.yml ./translations/en/;\n-cd ./translations\n+cd ./translations;\n-TRANS=./*\n+TRANS=./*;\nfor 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" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
I wanna know why nobody gives a damn
139,040
28.10.2018 18:31:18
-3,600
aa5868ce4c5952d9555b91aff984d26f82054130
I wanna Know-ow-ow
[ { "change_type": "MODIFY", "old_path": ".gitignore", "new_path": ".gitignore", "diff": ".idea/\nsite/\nbuild/\n+translations/en/\n" }, { "change_type": "MODIFY", "old_path": "build.sh", "new_path": "build.sh", "diff": "@@ -10,6 +10,7 @@ git clean -df;\n#echo \"Building english site\";\n#mkdocs build --clean --theme-dir ./mkdocs_windmill --site-dir ./build/en;\n+mkdir -p ./translations/en/docs;\ncp -fr ./docs ./translations/en/docs;\ncp ./mkdocs.yml ./translations/en/;\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
I wanna Know-ow-ow
139,040
28.10.2018 19:09:48
-3,600
6921642833ac8905865ca37eaa11cf95f1dd7da0
Maybe this time I'll say all the right things
[ { "change_type": "MODIFY", "old_path": "docs/Mods/ContentTweaker/Materials/Parts/Part.md", "new_path": "docs/Mods/ContentTweaker/Materials/Parts/Part.md", "diff": "@@ -10,48 +10,49 @@ It might be required for you to import the package if you encounter any issues,\n## Retrieving such an object\nYou can either retrieve an existing Part using the [MaterialSystem](/Mods/ContentTweaker/Materials/MaterialSystem/) or create an entirely new one using the [Part Builder](/Mods/ContentTweaker/Materials/Parts/Part_Builder/)\n-<details><summary>Following types are pre-registered (Headlines are the [Part Types](/Mods/ContentTweaker/Materials/Parts/PartType/)):</summary>\n-\n-#### Items:\n-\n-- Beam ![beam icon](/Mods/ContentTweaker/Materials/Parts/Assets/beam.png)\n-- Bolt ![Bolt icon](/Mods/ContentTweaker/Materials/Parts/Assets/bolt.png)\n-- Casing ![Casing icon](/Mods/ContentTweaker/Materials/Parts/Assets/casing.png)\n-- Clump ![Clump icon](/Mods/ContentTweaker/Materials/Parts/Assets/clump.png)\n-- Crystal ![Crystal icon](/Mods/ContentTweaker/Materials/Parts/Assets/crystal.png)\n-- Crushed Ore (crushed_ore) ![Crushed Ore icon](/Mods/ContentTweaker/Materials/Parts/Assets/crushed_ore.png)\n-- Dense Plate (dense_plate) ![Dense Plate icon](/Mods/ContentTweaker/Materials/Parts/Assets/dense_plate.png)\n-- Dirty Dust (dirty_dust) ![Dirty Dust icon](/Mods/ContentTweaker/Materials/Parts/Assets/dirty_dust.png)\n-- Dust ![Dust icon](/Mods/ContentTweaker/Materials/Parts/Assets/dust.png)\n-- Gear ![Gear icon](/Mods/ContentTweaker/Materials/Parts/Assets/gear.png)\n-- Ingot ![Ingot icon](/Mods/ContentTweaker/Materials/Parts/Assets/ingot.png)\n-- Nugget ![Nugget icon](/Mods/ContentTweaker/Materials/Parts/Assets/nugget.png)\n-- Plate ![Plate icon](/Mods/ContentTweaker/Materials/Parts/Assets/plate.png)\n-- Rod ![Rod icon](/Mods/ContentTweaker/Materials/Parts/Assets/rod.png)\n-- Shard ![Shard icon](/Mods/ContentTweaker/Materials/Parts/Assets/shard.png)\n-\n-#### Blocks:\n-\n-- Block ![Block icon](/Mods/ContentTweaker/Materials/Parts/Assets/block.png)\n-\n-#### Ores:\n-\n-- Ore\n-- Dense Ore (dense_ore)\n-- Poor Ore(poor_ore)\n-\n-#### Fluids:\n-\n-- Molten\n-\n-#### Armor:\n-\n-- Armor ![Helmet Icon](/Mods/ContentTweaker/Materials/Parts/Assets/armor_head.png)![Chest Plate Icon](/Mods/ContentTweaker/Materials/Parts/Assets/armor_chest.png)![Leggins Icon](/Mods/ContentTweaker/Materials/Parts/Assets/armor_legs.png)![Boots Icon](/Mods/ContentTweaker/Materials/Parts/Assets/armor_feet.png)\n-\n-#### Minecart\n-\n-- Minecart\n+<details>\n+ <summary>Following types are pre-registered (Headlines are the <a href=\"../PartType\">Part types</a>):</summary>\n+ <h4>Items:</h4>\n+ <ul>\n+ <li>Beam<img src=\"../Assets/beam.png\" alt=\"icon\"></li>\n+ <li>Bolt<img src=\"../Assets/bolt.png\" alt=\"icon\"></li>\n+ <li>Casing<img src=\"../Assets/casing.png\" alt=\"icon\"></li>\n+ <li>Clump<img src=\"../Assets/clump.png\" alt=\"icon\"></li>\n+ <li>Crystal Crystal<img src=\"../Assets/crystal.png\" alt=\"icon\"></li>\n+ <li>Crushed Ore (crushed_ore)<img src=\"../Assets/crushed_ore.png\" alt=\"icon\"></li>\n+ <li>Dense Plate (dense_plate)<img src=\"../Assets/dense_plate.png\" alt=\"icon\"></li>\n+ <li>Dirty Dust (dirty_dust)<img src=\"../Assets/dirty_dust.png\" alt=\"icon\"></li>\n+ <li>Dust<img src=\"../Assets/dust.png\" alt=\"icon\"></li>\n+ <li>Gear<img src=\"../Assets/gear.png\" alt=\"icon\"></li>\n+ <li>Ingot<img src=\"../Assets/ingot.png\" alt=\"icon\"></li>\n+ <li>Nugget<img src=\"../Assets/nugget.png\" alt=\"icon\"></li>\n+ <li>Plate<img src=\"../Assets/plate.png\" alt=\"icon\"></li>\n+ <li>Rod<img src=\"../Assets/rod.png\" alt=\"icon\"></li>\n+ <li>Shard<img src=\"../Assets/shard.png\" alt=\"icon\"></li>\n+ </ul>\n+ <h4>Blocks:</h4>\n+ <ul>\n+ <li>Block<img src=\"../Assets/block.png\" alt=\"icon\"></li>\n+ </ul>\n+ <h4>Ores:</h4>\n+ <ul>\n+ <li>Ore</li>\n+ <li>Dense Ore (dense_ore)</li>\n+ <li>Poor Ore(poor_ore)</li>\n+ </ul>\n+ <h4>Fluids:</h4>\n+ <ul>\n+ <li>Molten</li>\n+ </ul>\n+ <h4>Armor:</h4>\n+ <ul>\n+ <li>Armor <img src=\"../Assets/armor_head.png\" alt=\"head icon\"><img src=\"../Assets/armor_chest.png\" alt=\"chest icon\"><img src=\"../Assets/armor_legs.png\" alt=\"legs icon\"><img src=\"../Assets/armor_feet.png\" alt=\"feet icon\"></li>\n+ </ul>\n+ <h4>Minecart</h4>\n+ <ul>\n+ <li>Minecart</li>\n+ </ul>\n</details>\n## Fields\n" }, { "change_type": "MODIFY", "old_path": "translations/de/docs/Mods/ContentTweaker/Materials/Parts/Part.md", "new_path": "translations/de/docs/Mods/ContentTweaker/Materials/Parts/Part.md", "diff": "@@ -10,48 +10,49 @@ It might be required for you to import the package if you encounter any issues,\n## Retrieving such an object\nYou can either retrieve an existing Part using the [MaterialSystem](/Mods/ContentTweaker/Materials/MaterialSystem/) or create an entirely new one using the [Part Builder](/Mods/ContentTweaker/Materials/Parts/Part_Builder/)\n-<details><summary>Following types are pre-registered (Headlines are the [Part Types](/Mods/ContentTweaker/Materials/Parts/PartType/)):</summary>\n-\n-#### Items:\n-\n-- Beam ![beam icon](/Mods/ContentTweaker/Materials/Parts/Assets/beam.png)\n-- Bolt ![Bolt icon](/Mods/ContentTweaker/Materials/Parts/Assets/bolt.png)\n-- Casing ![Casing icon](/Mods/ContentTweaker/Materials/Parts/Assets/casing.png)\n-- Clump ![Clump icon](/Mods/ContentTweaker/Materials/Parts/Assets/clump.png)\n-- Crystal ![Crystal icon](/Mods/ContentTweaker/Materials/Parts/Assets/crystal.png)\n-- Crushed Ore (crushed_ore) ![Crushed Ore icon](/Mods/ContentTweaker/Materials/Parts/Assets/crushed_ore.png)\n-- Dense Plate (dense_plate) ![Dense Plate icon](/Mods/ContentTweaker/Materials/Parts/Assets/dense_plate.png)\n-- Dirty Dust (dirty_dust) ![Dirty Dust icon](/Mods/ContentTweaker/Materials/Parts/Assets/dirty_dust.png)\n-- Dust ![Dust icon](/Mods/ContentTweaker/Materials/Parts/Assets/dust.png)\n-- Gear ![Gear icon](/Mods/ContentTweaker/Materials/Parts/Assets/gear.png)\n-- Ingot ![Ingot icon](/Mods/ContentTweaker/Materials/Parts/Assets/ingot.png)\n-- Nugget ![Nugget icon](/Mods/ContentTweaker/Materials/Parts/Assets/nugget.png)\n-- Plate ![Plate icon](/Mods/ContentTweaker/Materials/Parts/Assets/plate.png)\n-- Rod ![Rod icon](/Mods/ContentTweaker/Materials/Parts/Assets/rod.png)\n-- Shard ![Shard icon](/Mods/ContentTweaker/Materials/Parts/Assets/shard.png)\n-\n-#### Blocks:\n-\n-- Block ![Block icon](/Mods/ContentTweaker/Materials/Parts/Assets/block.png)\n-\n-#### Ores:\n-\n-- Ore\n-- Dense Ore (dense_ore)\n-- Poor Ore(poor_ore)\n-\n-#### Fluids:\n-\n-- Molten\n-\n-#### Armor:\n-\n-- Armor ![Helmet Icon](/Mods/ContentTweaker/Materials/Parts/Assets/armor_head.png)![Chest Plate Icon](/Mods/ContentTweaker/Materials/Parts/Assets/armor_chest.png)![Leggins Icon](/Mods/ContentTweaker/Materials/Parts/Assets/armor_legs.png)![Boots Icon](/Mods/ContentTweaker/Materials/Parts/Assets/armor_feet.png)\n-\n-#### Minecart\n-\n-- Minecart\n+<details>\n+ <summary>Following types are pre-registered (Headlines are the <a href=\"../PartType\">Part types</a>):</summary>\n+ <h4>Items:</h4>\n+ <ul>\n+ <li>Beam<img src=\"../Assets/beam.png\" alt=\"icon\"></li>\n+ <li>Bolt<img src=\"../Assets/bolt.png\" alt=\"icon\"></li>\n+ <li>Casing<img src=\"../Assets/casing.png\" alt=\"icon\"></li>\n+ <li>Clump<img src=\"../Assets/clump.png\" alt=\"icon\"></li>\n+ <li>Crystal Crystal<img src=\"../Assets/crystal.png\" alt=\"icon\"></li>\n+ <li>Crushed Ore (crushed_ore)<img src=\"../Assets/crushed_ore.png\" alt=\"icon\"></li>\n+ <li>Dense Plate (dense_plate)<img src=\"../Assets/dense_plate.png\" alt=\"icon\"></li>\n+ <li>Dirty Dust (dirty_dust)<img src=\"../Assets/dirty_dust.png\" alt=\"icon\"></li>\n+ <li>Dust<img src=\"../Assets/dust.png\" alt=\"icon\"></li>\n+ <li>Gear<img src=\"../Assets/gear.png\" alt=\"icon\"></li>\n+ <li>Ingot<img src=\"../Assets/ingot.png\" alt=\"icon\"></li>\n+ <li>Nugget<img src=\"../Assets/nugget.png\" alt=\"icon\"></li>\n+ <li>Plate<img src=\"../Assets/plate.png\" alt=\"icon\"></li>\n+ <li>Rod<img src=\"../Assets/rod.png\" alt=\"icon\"></li>\n+ <li>Shard<img src=\"../Assets/shard.png\" alt=\"icon\"></li>\n+ </ul>\n+ <h4>Blocks:</h4>\n+ <ul>\n+ <li>Block<img src=\"../Assets/block.png\" alt=\"icon\"></li>\n+ </ul>\n+ <h4>Ores:</h4>\n+ <ul>\n+ <li>Ore</li>\n+ <li>Dense Ore (dense_ore)</li>\n+ <li>Poor Ore(poor_ore)</li>\n+ </ul>\n+ <h4>Fluids:</h4>\n+ <ul>\n+ <li>Molten</li>\n+ </ul>\n+ <h4>Armor:</h4>\n+ <ul>\n+ <li>Armor <img src=\"../Assets/armor_head.png\" alt=\"head icon\"><img src=\"../Assets/armor_chest.png\" alt=\"chest icon\"><img src=\"../Assets/armor_legs.png\" alt=\"legs icon\"><img src=\"../Assets/armor_feet.png\" alt=\"feet icon\"></li>\n+ </ul>\n+ <h4>Minecart</h4>\n+ <ul>\n+ <li>Minecart</li>\n+ </ul>\n</details>\n## Fields\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Maybe this time I'll say all the right things
139,040
28.10.2018 19:25:06
-3,600
3ed3cfd9b8b1f9cc9e37ea9c55a41d105e400c0f
Guess I'll now have to fix that as well...
[ { "change_type": "MODIFY", "old_path": "docs/Mods/Astral_Sorcery/Altar.md", "new_path": "docs/Mods/Astral_Sorcery/Altar.md", "diff": "@@ -20,14 +20,17 @@ mods.astralsorcery.Altar.removeAltarRecipe(\"astralsorcery:shaped/internal/altar/\n<details><summary>Pre v1.10 handler</summary>\n-This function removes the first recipe it finds that returns provided [IItemStack](/Vanilla/Items/IItemStack/) `output` and uses the provided altar level.\n+\n+\n+This function removes the first recipe it finds that returns provided <a href=\"../../../Vanilla/Items/IItemStack/\">IItemStack</a> `output` and uses the provided altar level.<br>\nIf there are multiple recipes that return the provided output, you need to call this method multiple times!\n-|Altar Level | Level Name |\n-|------------|------------------------|\n-|0 |Luminous Crafting Table |\n-|1 |Starlight Crafting Altar|\n-|2 |Celestial Altar |\n+<table>\n+ <tr><th>Altar Level</th><th>Level name</th></tr>\n+ <tr><td>0</td><td>Luminous Crafting Table</td></tr>\n+ <tr><td>1</td><td>Starlight Crafting Altar</td></tr>\n+ <tr><td>2</td><td>Celestial Altar</td></tr>\n+</table>\n```JAVA\n//mods.astralsorcery.Altar.removeAltarRecipe(IItemStack output, int altarLevel);\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Guess I'll now have to fix that as well...
139,040
28.10.2018 19:33:35
-3,600
9ac475444e684d23e0521a869728aa701f216e76
Added cleanup stage
[ { "change_type": "MODIFY", "old_path": "Jenkinsfile", "new_path": "Jenkinsfile", "diff": "pipeline {\nagent any\nstages {\n- stage('Setup') {\n+ stage('Cleanup') {\nsteps {\n- echo 'Setting up pip dependencies'\n- //pip install mkdocs==0.16.3\n+ echo 'Cleaning up'\n+ sh 'chmod +x cleanup.sh'\n+ sh 'bash ./cleanup.sh'\n}\n}\nstage('Build') {\n@@ -19,8 +20,6 @@ pipeline {\nstage('Test') {\nsteps {\necho 'Testing...'\n-\n- sh 'cat ./docs/Mods/ContentTweaker/Materials/Parts/Part.md'\n}\n}\n}\n" }, { "change_type": "MODIFY", "old_path": "build.sh", "new_path": "build.sh", "diff": "#!/bin/bash\n-echo \"start\";\n-\n-echo \"Removing previous builds\";\n-rm -fr ./build/*;\n-git clean -df;\n-\n-\n-#echo \"Building english site\";\n-#mkdocs build --clean --theme-dir ./mkdocs_windmill --site-dir ./build/en;\n-\n+echo \"build script\";\n+echo \"moving English version in translation folder\";\nmkdir -p ./translations/en/docs;\ncp -fr ./docs ./translations/en;\ncp ./mkdocs.yml ./translations/en/;\n-\n+echo \"start building...\";\ncd ./translations;\nTRANS=./*;\nfor 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+echo \"finished building!\"\n\\ No newline at end of file\n" }, { "change_type": "ADD", "old_path": null, "new_path": "cleanup.sh", "diff": "+echo \"Removing previous builds\";\n+rm -fr ./build/*;\n+\n+echo \"git cleanup\";\n+git clean -df;\n+\n+echo \"git hard-reset\";\n+git reset --hard;\n\\ No newline at end of file\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Added cleanup stage
139,036
05.11.2018 12:25:32
-28,800
f692d21073589c1e1a8a9ec05ec2f2001fe8d152
Add an index
[ { "change_type": "MODIFY", "old_path": "mkdocs.yml", "new_path": "mkdocs.yml", "diff": "@@ -206,6 +206,7 @@ pages:\n- P2P Attunement: 'Mods/Applied_Energistics_2/P2P_Attunement.md'\n- Spatial I/O: 'Mods/Applied_Energistics_2/Spatial.md'\n- Artisan Worktables:\n+ - Artisan Worktables:'Mods/Artisan_Worktables/Artisan_Worktables.md'\n- RecipeBuilder:\n- RecipeBuilder: 'Mods/Artisan_Worktables/CraftTweaker_Support/RecipeBuilder.md'\n- Usages: 'Mods/Artisan_Worktables/CraftTweaker_Support/Usages.md'\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Add an index
139,065
12.11.2018 20:40:35
18,000
ce218893d5205a7cf2be691a5c40ec8f032c437a
fix: incorrect location for gregtech ce in navigation
[ { "change_type": "MODIFY", "old_path": "mkdocs.yml", "new_path": "mkdocs.yml", "diff": "@@ -371,10 +371,6 @@ pages:\n- World:\n- IWorld: 'Mods/ContentTweaker/Vanilla/Types/World/IWorld.md'\n- CTRandom: 'Mods/ContentTweaker/Vanilla/Types/World/CTRandom.md'\n- - GregTech Community Edition:\n- - GregTech Community Edition: 'Mods/GregTechCE/GregTechCE.md'\n- - Machines: 'Mods/GregTechCE/Machines.md'\n- - Material: 'Mods/GregTechCE/Material.md'\n- Material System:\n- Introduction: 'Mods/ContentTweaker/Materials/Introduction.md'\n- MaterialSystem: 'Mods/ContentTweaker/Materials/MaterialSystem.md'\n@@ -424,6 +420,10 @@ pages:\n- ZenStager: 'Mods/GameStages/ZenStages/ZenStager.md'\n- Stage: 'Mods/GameStages/ZenStages/Stage.md'\n- Custom Type: 'Mods/GameStages/ZenStages/CustomType.md'\n+ - GregTech Community Edition:\n+ - GregTech Community Edition: 'Mods/GregTechCE/GregTechCE.md'\n+ - Machines: 'Mods/GregTechCE/Machines.md'\n+ - Material: 'Mods/GregTechCE/Material.md'\n- Immersive Engineering:\n- Immersive Engineering: 'Mods/Immersive_Engineering/Immersive_Engineering.md'\n- IE Variables:\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
fix: incorrect location for gregtech ce in navigation
139,040
19.11.2018 20:40:41
-3,600
6fd7d012a85c88e591f036c7bd92a6c079d95f6a
IServer extends ICommandSender notive
[ { "change_type": "MODIFY", "old_path": "docs/Vanilla/Game/IServer.md", "new_path": "docs/Vanilla/Game/IServer.md", "diff": "It might be required for you to import the package if you encounter any issues (like casting an [Array](/AdvancedFunctions/Arrays_and_Loops/)), so better be safe than sorry and add the import.\n`import crafttweaker.server.IServer;`\n+## Extending ICommandSender\n+IServer 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+\n## Access the Server Handler\nYou can access the Brewing Handler using the `server` [global keyword](/Vanilla/Global_Functions/).\nAlternatively you can get the server from any [ICommandSender](/Vanilla/Commands/ICommandSender/).\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
IServer extends ICommandSender notive
139,040
23.11.2018 22:49:30
-3,600
01fbdf2a5b4f733fe5d58d74f408e2b3a0717210
WIP: Started to add Contribute Section
[ { "change_type": "ADD", "old_path": null, "new_path": "docs/Contribute/OnlineEditor_Create.md", "diff": "+# Edit Files using GitHub's online editor\n+\n+## Requirements\n+You will need to have created a GitHub account and [forked the wiki to your account](/Contribute/SetupGithub).\n+\n+\n+## Introduction\n+GitHub's online editor allows you to change and create files using nothing but your browser.\n+It may not be as versatile as [using a local copy](/Contribute/LocalInstance) but you don't need to worry about setting up git and all.\n+\n+This guide will show you how to create a new wiki file using github's online editor.\n+Your main reason for adding new pages is most likely to fill in missing information, but maybe you also want to add an example wiki entry for a given mod handler, whatever the reason, feel free to commit changes and eventually [file a Pull Request](/Contribute/PullRequest).\n+\n+However, remember that you need to create the English version, translations are then handled via [CrowdIn](https://crowdin.com/project/crafttweaker-documentation/) (but only after the PR has been merged).\n+\n+\n+## Where to create the file\n+Theoretically, it doesn't matter where you put your file, but please try to fit the current scheme:\n+\n+- All files need to be in the `docs` folder.\n+- The File structure should match the navigation bar crumbs. Example: When using the navigation bar in the wiki, `ICraftingRecipe` can be found in `Vanilla/Recipes/Crafting Table Recipes/ICraftingRecipe`. The file for ICraftingRecipe can be found at `docs/Vanilla/Recipes/Crafting/ICraftingRecipe.md`. As you can see, the paths don't exactly match but they are sufficient to find the file.\n+- All information for one mod should remain in one group/folder.\n+\n+\n+## Create the file\n+After you have successfully located your future file's path, locate to the folder that will contain the file in GitHub, if it exists.\n+Don't worry if it does not exist, you can still create the file.\n+\n+Say you want to create a file called `Secret_Information.md` in `docs/AdvancedFunctions`:\n+Find the path in GitHub and click `Create new file`\n+![Create File Button](/Contribute/Assets/OnlineEditor_CreateFileButton.png)\n+\n+You 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+\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+\n+The Editor allows you to create the file as you like, and also to directly view a preview of the compiled formatting.\n+\n+If the syntax of the files is new for you, check the [Help on Markdown](/Contribute/Markdown) page.\n+\n+## Add the file to the index\n+After 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+\n+This index is the `mkdocs.yml` file.\n+\n+This file contains everything that is needed to create the wiki, and you need to make sure not to break it (though we will tell you if your PR breaks a build should it come to that)!\n+\n+All you need to do is add your file and categories to the `pages` list.\n+The format is pretty straight-forward:\n+\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+\n+For 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+\n+## Save/Commit the changes\n+*Note: This description originates from the edit files guide but the same principles apply, feel free to substitute with an own version if needed*\n+\n+After you have created the file content you need to let GitHub know that you want to save your changes.\n+\n+That's what the commit box below your Editor is for:\n+You 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.\n+\n+By default it looks roughly like this:\n+![Commit Box Default](/Contribute/Assets/OnlineEditor_CommitBox_Default.png)\n+\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+\n+You 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+\n+\n+If you have multiple e-mail addresses registered for your GitHub account, you can choose as which one you will create the commit. This will not have any real impact for contributing, though.\n+You can also decide whether you want to commit directly to your master branch or rather create a new branch for your commit. In most cases committing to your master branch works just fine.\n+\n+A filled out example might look like this:\n+![Commit box Filled](/Contribute/Assets/OnlineEditor_CommitBox_Filled.png)\n+\n+\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 done all your changes, you can [file a Pull Request](/Contribute/PullRequest).\n\\ No newline at end of file\n" }, { "change_type": "ADD", "old_path": null, "new_path": "docs/Contribute/OnlineEditor_Edit.md", "diff": "+# Edit Files using GitHub's online editor\n+\n+## Requirements\n+You will need to have created a GitHub account and [forked the wiki to your account](/Contribute/SetupGithub).\n+\n+\n+## Introduction\n+GitHub's online editor allows you to change and create files using nothing but your browser.\n+It may not be as versatile as [using a local copy](/Contribute/LocalInstance) but you don't need to worry about setting up git and all.\n+\n+This guide will show you how to edit an already existing file using github's online editor.\n+You may want to edit the page because you have found a typo or want to include a better example, whatever the reason, feel free to commit changes and eventually [file a Pull Request](/Contribute/PullRequest).\n+\n+However, remember that you can only edit the English version, translations are handled via [CrowdIn](https://crowdin.com/project/crafttweaker-documentation/).\n+\n+\n+## Locate the file\n+If you want to edit an existing file, you first need to locate it.\n+\n+\n+In most cases you can find the file by checking its Wiki Url.\n+\n+Rule of thumb: The `#` is the docs folder, everything after that are nested folders and eventually the file.\n+\n+For example, the file creating\n+<http://docs.blamejared.com/en/#AdvancedFunctions/Arrays_and_Loops/>\n+can be found in\n+`docs/AdvancedFunctions/Arrays_and_Loops.md`\n+\n+\n+## Edit the file\n+After you have successfully located the file, click on it to open it in the GitHub file view.\n+Here you can see how the wiki entry will roughly look like, though no navigation bar is present as this is only the entry content.\n+\n+Click on the little pen icon to open the editor:\n+![Edit Button](/Contribute/Assets/OnlineEditor_EditButton.png)\n+\n+The Editor allows you to change your file as you like, and also to directly view a preview with the compiled formatting. This preview will have colored bars on the lefthandside indicating that:\n+\n+- Green: This Section was not present on this page before.\n+- Yellow: This Section was present on this page before but was changed, e.g. a typo was corrected, or additional information was provided.\n+- Red: This section was present on this page before but was removed.\n+- None: This section was untouched.\n+\n+If the syntax of the files is new for you, check the [Help on Markdown](/Contribute/Markdown) page.\n+\n+## Save/Commit the changes\n+After you have changed the file you need to let GitHub know that you want to save your changes.\n+\n+That's what the commit box below your Editor is for:\n+You 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.\n+\n+By default it looks roughly like this:\n+![Commit Box Default](/Contribute/Assets/OnlineEditor_CommitBox_Default.png)\n+\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+\n+You 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+\n+\n+If you have multiple e-mail addresses registered for your GitHub account, you can choose as which one you will create the commit. This will not have any real impact for contributing, though.\n+You can also decide whether you want to commit directly to your master branch or rather create a new branch for your commit. In most cases committing to your master branch works just fine.\n+\n+A filled out example might look like this:\n+![Commit Box Filled](/Contribute/Assets/OnlineEditor_CommitBox_Filled.png)\n+\n+\n+## What to do next\n+After you have committed your changes, you can go on and edit or [Create](/Contribute/OnlineEditor_Create) more files using the online editor.\n+After you have done all your changes, you can [file a Pull Request](/Contribute/PullRequest).\n\\ No newline at end of file\n" }, { "change_type": "ADD", "old_path": null, "new_path": "docs/Contribute/PullRequest.md", "diff": "+# Filing a PullRequest\n+\n+## Prerequisites\n+You need to have [created](/Contribute/OnlineEditor/Create) and/or [modified](/Contribute/OnlineEditor/Edit) files in your fork of the wiki.\n+\n+## Introduction\n+After you have created or modified whatever you were trying to do, you need to get the changes to the original repository.\n+This guide will show you how to create a PR to apply your changes to the actual wiki.\n+\n+A Pull Request (or PR for short) allows you to apply your commits to the original codebase.\n+In other words, it allows you to make your changes visible to everyone visiting the wiki.\n+\n+\n+## Opening the Pull Request\n+When you head back to your fork's GitHub page, you will notice the branch info bar.\n+This bar tells you how your fork version differs from the original one.\n+\n+For example, the picture below has three commits that have not yet been applied to the CrT-wiki whereas three other commits have been created in the original one that have not been applied to the fork.\n+\n+![Pull Request Button](/Contribute/Assets/PullRequest_Compare_PullRequestButton.png)\n+\n+\n+If you click on the \"Pull Request\" button a new view will open, the Compare View.\n+In most cases it is already properly defined to use the Original Crafttweaker/Crafttweaker-Documentation master branch as destination and your branch as the changes to be pulled.\n+\n+Github will also verify that there are no conflicts between your changes and what the current state of the wiki is.\n+In case it does find any misfits it will alert you, though you can still create the PR and ask for our help to resolve the conflicts.\n+\n+Now all you need is provide a descriptive title and a description that will tell us about the changes.\n+\n+Also notice the `Allow edits from mainainers` checkbox.\n+This checkbox allows people with write-access to the CrT-Repo (e.g. Members of the CraftTweaker organization) to modify files of your PR in order to resolve merge conflicts, for example.\n+\n+![New PR Tool](/Contribute/Assets/PullRequest_Create.png)\n+\n+At the bottom you can verify that all your changes will be included in the PR.\n+\n+## Next Steps\n+Next, someone from the CrT-Organization or any contributor can look over your PR and leave general feedback or suggestions.\n+If someone from the CrT-Organization does a PR Review, you will be notified of all comments and whether or not you need to change something before it will be merged.\n+After all suggestions have been resolved, someone will merge the PR.\n\\ No newline at end of file\n" }, { "change_type": "ADD", "old_path": null, "new_path": "docs/Contribute/SetupGithub.md", "diff": "+# Setting up GitHub\n+\n+In order to start, you need a free Account for [Github](https://github.com).\n+Follow the registration steps if you have none already.\n+\n+## Locating the repository\n+The wiki repository can be found at <https://github.com/CraftTweaker/CraftTweaker-Documentation>\n+\n+## Forking the wiki\n+In order for you to do any changes, you need to copy the whole CrT-Wiki Repository to your Github Account.\n+This action is called forking.\n+You can fork the repository by clicking on the \"fork\" button in the wiki's GH page:\n+![Inputs Order](/Contribute/Assets/SetupGitHub_ForkButton.png)\n+\n+In case you are in a Github organization you might need to specify where you want to fork the repository to.\n+\n+\n+## Locating your fork\n+You can now find a new repository called \"CraftTweaker-Documentation\" when checking your profile page/repositories.\n+Alternatively, you can go to `github.com/yourUserName/CraftTweaker-Documentation`.\n+\n+\n+## How to continue\n+Now that you have successfully forked the Crafttweaker-Documentation repository to your own GitHub account, you can [use the online Editor](/Contribute/OnlineEditor) or clone to your computer and edit locally.\n\\ No newline at end of file\n" }, { "change_type": "ADD", "old_path": "docs/Contribute/assets/OnlineEditor_CommitBox_Default.png", "new_path": "docs/Contribute/assets/OnlineEditor_CommitBox_Default.png", "diff": "Binary files /dev/null and b/docs/Contribute/assets/OnlineEditor_CommitBox_Default.png differ\n" }, { "change_type": "ADD", "old_path": "docs/Contribute/assets/OnlineEditor_CommitBox_Filled.png", "new_path": "docs/Contribute/assets/OnlineEditor_CommitBox_Filled.png", "diff": "Binary files /dev/null and b/docs/Contribute/assets/OnlineEditor_CommitBox_Filled.png differ\n" }, { "change_type": "ADD", "old_path": "docs/Contribute/assets/OnlineEditor_CreateFileButton.png", "new_path": "docs/Contribute/assets/OnlineEditor_CreateFileButton.png", "diff": "Binary files /dev/null and b/docs/Contribute/assets/OnlineEditor_CreateFileButton.png differ\n" }, { "change_type": "ADD", "old_path": "docs/Contribute/assets/OnlineEditor_EditButton.png", "new_path": "docs/Contribute/assets/OnlineEditor_EditButton.png", "diff": "Binary files /dev/null and b/docs/Contribute/assets/OnlineEditor_EditButton.png differ\n" }, { "change_type": "ADD", "old_path": "docs/Contribute/assets/PullRequest_Compare_PullRequestButton.png", "new_path": "docs/Contribute/assets/PullRequest_Compare_PullRequestButton.png", "diff": "Binary files /dev/null and b/docs/Contribute/assets/PullRequest_Compare_PullRequestButton.png differ\n" }, { "change_type": "ADD", "old_path": "docs/Contribute/assets/PullRequest_Create.png", "new_path": "docs/Contribute/assets/PullRequest_Create.png", "diff": "Binary files /dev/null and b/docs/Contribute/assets/PullRequest_Create.png differ\n" }, { "change_type": "ADD", "old_path": "docs/Contribute/assets/SetupGitHub_ForkButton.png", "new_path": "docs/Contribute/assets/SetupGitHub_ForkButton.png", "diff": "Binary files /dev/null and b/docs/Contribute/assets/SetupGitHub_ForkButton.png differ\n" }, { "change_type": "MODIFY", "old_path": "mkdocs.yml", "new_path": "mkdocs.yml", "diff": "@@ -654,6 +654,11 @@ pages:\n- Water Extractor: 'Mods/Sky_Resources_2/Recipes/Water_Extractor.md'\n- Survivalist:\n- Survivalist: 'Mods/Survivalist/Survivalist.md'\n+ - How to contribute:\n+ - How to fork the project: 'Contribute/SetupGithub.md'\n+ - How to edit files online: 'Contribute/OnlineEditor_Edit.md'\n+ - How to create files online: 'Contribute/OnlineEditor_Create.md'\n+ - How to file a Pull Request: 'Contribute/PullRequest.md'\n- Developer Area:\n- Using IIngredients: 'Dev_Area/Ingredients.md'\n- ZenTokens: 'Dev_Area/ZenTokens.md'\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
WIP: Started to add Contribute Section
139,040
23.11.2018 22:53:53
-3,600
2447f3921899c63416e11b6e6fc0a79efd0cba9c
Fixed typo in assets path
[ { "change_type": "MODIFY", "old_path": "docs/Contribute/OnlineEditor_Create.md", "new_path": "docs/Contribute/OnlineEditor_Create.md", "diff": "@@ -28,7 +28,7 @@ Don't worry if it does not exist, you can still create the file.\nSay you want to create a file called `Secret_Information.md` in `docs/AdvancedFunctions`:\nFind the path in GitHub and click `Create new file`\n-![Create File Button](/Contribute/Assets/OnlineEditor_CreateFileButton.png)\n+![Create File Button](/Contribute/assets/OnlineEditor_CreateFileButton.png)\nYou are now presented with the new File editor page.\nFirst, 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@@ -65,7 +65,7 @@ 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+![Commit Box Default](/Contribute/assets/OnlineEditor_CommitBox_Default.png)\nIn 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@@ -76,7 +76,7 @@ If you have multiple e-mail addresses registered for your GitHub account, you ca\nYou can also decide whether you want to commit directly to your master branch or rather create a new branch for your commit. In most cases committing to your master branch works just fine.\nA filled out example might look like this:\n-![Commit box Filled](/Contribute/Assets/OnlineEditor_CommitBox_Filled.png)\n+![Commit box Filled](/Contribute/assets/OnlineEditor_CommitBox_Filled.png)\n## What to do next\n" }, { "change_type": "MODIFY", "old_path": "docs/Contribute/OnlineEditor_Edit.md", "new_path": "docs/Contribute/OnlineEditor_Edit.md", "diff": "@@ -33,7 +33,7 @@ After you have successfully located the file, click on it to open it in the GitH\nHere you can see how the wiki entry will roughly look like, though no navigation bar is present as this is only the entry content.\nClick on the little pen icon to open the editor:\n-![Edit Button](/Contribute/Assets/OnlineEditor_EditButton.png)\n+![Edit Button](/Contribute/assets/OnlineEditor_EditButton.png)\nThe Editor allows you to change your file as you like, and also to directly view a preview with the compiled formatting. This preview will have colored bars on the lefthandside indicating that:\n@@ -51,7 +51,7 @@ 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+![Commit Box Default](/Contribute/assets/OnlineEditor_CommitBox_Default.png)\nIn 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@@ -62,7 +62,7 @@ If you have multiple e-mail addresses registered for your GitHub account, you ca\nYou can also decide whether you want to commit directly to your master branch or rather create a new branch for your commit. In most cases committing to your master branch works just fine.\nA filled out example might look like this:\n-![Commit Box Filled](/Contribute/Assets/OnlineEditor_CommitBox_Filled.png)\n+![Commit Box Filled](/Contribute/assets/OnlineEditor_CommitBox_Filled.png)\n## What to do next\n" }, { "change_type": "MODIFY", "old_path": "docs/Contribute/PullRequest.md", "new_path": "docs/Contribute/PullRequest.md", "diff": "@@ -17,7 +17,7 @@ This bar tells you how your fork version differs from the original one.\nFor example, the picture below has three commits that have not yet been applied to the CrT-wiki whereas three other commits have been created in the original one that have not been applied to the fork.\n-![Pull Request Button](/Contribute/Assets/PullRequest_Compare_PullRequestButton.png)\n+![Pull Request Button](/Contribute/assets/PullRequest_Compare_PullRequestButton.png)\nIf you click on the \"Pull Request\" button a new view will open, the Compare View.\n@@ -31,7 +31,7 @@ Now all you need is provide a descriptive title and a description that will tell\nAlso notice the `Allow edits from mainainers` checkbox.\nThis checkbox allows people with write-access to the CrT-Repo (e.g. Members of the CraftTweaker organization) to modify files of your PR in order to resolve merge conflicts, for example.\n-![New PR Tool](/Contribute/Assets/PullRequest_Create.png)\n+![New PR Tool](/Contribute/assets/PullRequest_Create.png)\nAt the bottom you can verify that all your changes will be included in the PR.\n" }, { "change_type": "MODIFY", "old_path": "docs/Contribute/SetupGithub.md", "new_path": "docs/Contribute/SetupGithub.md", "diff": "@@ -10,7 +10,7 @@ The wiki repository can be found at <https://github.com/CraftTweaker/CraftTweake\nIn order for you to do any changes, you need to copy the whole CrT-Wiki Repository to your Github Account.\nThis action is called forking.\nYou can fork the repository by clicking on the \"fork\" button in the wiki's GH page:\n-![Inputs Order](/Contribute/Assets/SetupGitHub_ForkButton.png)\n+![Inputs Order](/Contribute/assets/SetupGitHub_ForkButton.png)\nIn case you are in a Github organization you might need to specify where you want to fork the repository to.\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Fixed typo in assets path
139,040
23.11.2018 23:22:04
-3,600
bf4e65b3c9e7f799170bc5024dacbe0b77d390cf
Removed unimplemented links (fix travis)
[ { "change_type": "MODIFY", "old_path": "docs/Contribute/OnlineEditor_Create.md", "new_path": "docs/Contribute/OnlineEditor_Create.md", "diff": "@@ -6,7 +6,7 @@ You will need to have created a GitHub account and [forked the wiki to your acco\n## Introduction\nGitHub's online editor allows you to change and create files using nothing but your browser.\n-It may not be as versatile as [using a local copy](/Contribute/LocalInstance) but you don't need to worry about setting up git and all.\n+It may not be as versatile as using a local copy but you don't need to worry about setting up git and all.\nThis guide will show you how to create a new wiki file using github's online editor.\nYour main reason for adding new pages is most likely to fill in missing information, but maybe you also want to add an example wiki entry for a given mod handler, whatever the reason, feel free to commit changes and eventually [file a Pull Request](/Contribute/PullRequest).\n@@ -37,7 +37,7 @@ If you want the file to be created in a (possible nonexisting) subfolder, or eve\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, check the [Help on Markdown](/Contribute/Markdown) page.\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## 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" }, { "change_type": "MODIFY", "old_path": "docs/Contribute/OnlineEditor_Edit.md", "new_path": "docs/Contribute/OnlineEditor_Edit.md", "diff": "@@ -6,7 +6,7 @@ You will need to have created a GitHub account and [forked the wiki to your acco\n## Introduction\nGitHub's online editor allows you to change and create files using nothing but your browser.\n-It may not be as versatile as [using a local copy](/Contribute/LocalInstance) but you don't need to worry about setting up git and all.\n+It may not be as versatile as using a local copy but you don't need to worry about setting up git and all.\nThis guide will show you how to edit an already existing file using github's online editor.\nYou may want to edit the page because you have found a typo or want to include a better example, whatever the reason, feel free to commit changes and eventually [file a Pull Request](/Contribute/PullRequest).\n@@ -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, check the [Help on Markdown](/Contribute/Markdown) page.\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## Save/Commit the changes\nAfter you have changed the file you need to let GitHub know that you want to save your changes.\n" }, { "change_type": "MODIFY", "old_path": "docs/Contribute/PullRequest.md", "new_path": "docs/Contribute/PullRequest.md", "diff": "# Filing a PullRequest\n## Prerequisites\n-You need to have [created](/Contribute/OnlineEditor/Create) and/or [modified](/Contribute/OnlineEditor/Edit) files in your fork of the wiki.\n+You need to have [created](/Contribute/OnlineEditor_Create) and/or [modified](/Contribute/OnlineEditor_Edit) files in your fork of the wiki.\n## Introduction\nAfter you have created or modified whatever you were trying to do, you need to get the changes to the original repository.\n" }, { "change_type": "MODIFY", "old_path": "docs/Contribute/SetupGithub.md", "new_path": "docs/Contribute/SetupGithub.md", "diff": "@@ -21,4 +21,4 @@ Alternatively, you can go to `github.com/yourUserName/CraftTweaker-Documentation\n## How to continue\n-Now that you have successfully forked the Crafttweaker-Documentation repository to your own GitHub account, you can [use the online Editor](/Contribute/OnlineEditor) or clone to your computer and edit locally.\n\\ No newline at end of file\n+Now that you have successfully forked the Crafttweaker-Documentation repository to your own GitHub account, you can [use the online Editor](/Contribute/OnlineEditor_Edit) or clone to your computer and edit locally.\n\\ No newline at end of file\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Removed unimplemented links (fix travis)
139,040
24.11.2018 18:34:09
-3,600
170fe4b44a17fafca1c394eca0a5f88223bbf801
Added WeightedLiquidStack description
[ { "change_type": "ADD", "old_path": null, "new_path": "docs/Vanilla/Liquids/WeightedLiquidStack.md", "diff": "+# WeightedLiquidStack\n+A Weighted Liquid Stack is like a normal [ILiquidStack](/Vanilla/Liquids/ILiquidStack/) but has a percentage added to it.\n+You normally use them when dealing with percentage based actions like drops or secondary outputs.\n+\n+## Importing the package\n+It might be required for you to import the package if you encounter any issues (like casting an [Array](/AdvancedFunctions/Arrays_and_Loops/)), so better be safe than sorry and add the import.\n+`import crafttweaker.item.WeightedLiquidStack;`\n+\n+## Calling a weightedLiquidStack\n+You can derive a weightedLiquidStack from an [ILiquidStack](/Vanilla/Liquids/ILiquidStack/) by either using the modulo operator or the weight function on it.\n+\n+```\n+val liquidStack = <liquid:lava>;\n+\n+//both create a weightedLiquidstack object with a chance of 20%\n+val wLiquidStack = liquidStack % 20;\n+val wLiquidStack2 = liquidStack.weight(0.2);\n+```\n+\n+\n+\n+## ZenGetters\n+\n+| ZenGetter | What does it do | Return Type |\n+|-----------|------------------------------------------------------|------------------------------------------------|\n+| stack | Returns the associated LiquidStack | [ILiquidStack](/Vanilla/Liquids/ILiquidStack/) |\n+| chance | Returns the stack's chance as decimal (e.g. 0.2) | float |\n+| percent | Returns the stack's chance as percentage (e.g. 20.0) | float |\n\\ No newline at end of file\n" }, { "change_type": "MODIFY", "old_path": "mkdocs.yml", "new_path": "mkdocs.yml", "diff": "@@ -152,6 +152,7 @@ pages:\n- Liquids:\n- ILiquidStack: 'Vanilla/Liquids/ILiquidStack.md'\n- ILiquidDefinition: 'Vanilla/Liquids/ILiquidDefinition.md'\n+ - WeightedLiquidStack: 'Vanilla/Liquids/WeightedLiquidStack.md'\n- Ore Dictionary:\n- IOreDict: 'Vanilla/OreDict/IOreDict.md'\n- IOreDictEntry: 'Vanilla/OreDict/IOreDictEntry.md'\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Added WeightedLiquidStack description