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
19.01.2020 23:08:45
-3,600
6b3d54b9f1f2b921d66f292bc5000f20d37d4932
New translations MCPlayerSetSpawnEvent.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/event/entity/player/MCPlayerSetSpawnEvent.md", "diff": "+# MCPlayerSetSpawnEvent\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.event.entity.player.MCPlayerSetSpawnEvent\n+```\n+\n+## Constructors\n+```zenscript\n+new crafttweaker.api.event.entity.player.MCPlayerSetSpawnEvent(handler as function.Consumer<crafttweaker.api.event.entity.player.MCPlayerSetSpawnEvent>);\n+```\n+| Parameter | Type | Beschreibung |\n+| --------- | --------------------------------------------------------------------------------------------------------------------------------------- | ----------------------- |\n+| handler | function.Consumer<[crafttweaker.api.event.entity.player.MCPlayerSetSpawnEvent](/vanilla/api/event/entity/player/MCPlayerSetSpawnEvent)> | No description provided |\n+\n+\n+\n+## Methoden\n+### getEntityPlayer\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCPlayerSetSpawnEvent.getEntityPlayer();\n+```\n+\n+### getNewSpawn\n+\n+Returns [crafttweaker.api.util.BlockPos](/vanilla/api/util/BlockPos)\n+\n+```zenscript\n+myMCPlayerSetSpawnEvent.getNewSpawn();\n+```\n+\n+### getPlayer\n+\n+Returns: `Player`\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCPlayerSetSpawnEvent.getPlayer();\n+```\n+\n+### hasResult\n+\n+Determines if this event expects a significant result value. Note: Events with the HasResult annotation will have this method automatically added to return true.\n+\n+Returns boolean\n+\n+```zenscript\n+myMCPlayerSetSpawnEvent.hasResult();\n+```\n+\n+### isCancelable\n+\n+Determine if this function is cancelable at all. Returns: `If access to setCanceled should be allowed\n+ Note:\n+ Events with the Cancelable annotation will have this method automatically added to return true.`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCPlayerSetSpawnEvent.isCancelable();\n+```\n+\n+### isCanceled\n+\n+Determine if this event is canceled and should stop executing. Returns: `The current canceled state`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCPlayerSetSpawnEvent.isCanceled();\n+```\n+\n+### isForced\n+\n+This event is called before a player's spawn point is changed. The event can be canceled, and no further processing will be done.\n+\n+Returns boolean\n+\n+```zenscript\n+myMCPlayerSetSpawnEvent.isForced();\n+```\n+\n+### setCanceled\n+\n+```zenscript\n+myMCPlayerSetSpawnEvent.setCanceled(cancel as boolean);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------- | ----------------------- |\n+| cancel | boolean | No description provided |\n+\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations MCPlayerSetSpawnEvent.md (German) [ci skip]
139,040
19.01.2020 23:08:46
-3,600
c0667185f1ae131bb1f41206c545d5106b12ca4a
New translations MCPlayerFlyableFallEvent.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/event/entity/player/MCPlayerFlyableFallEvent.md", "diff": "+# MCPlayerFlyableFallEvent\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.event.entity.player.MCPlayerFlyableFallEvent\n+```\n+\n+## Constructors\n+```zenscript\n+new crafttweaker.api.event.entity.player.MCPlayerFlyableFallEvent(handler as function.Consumer<crafttweaker.api.event.entity.player.MCPlayerFlyableFallEvent>);\n+```\n+| Parameter | Type | Beschreibung |\n+| --------- | --------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------- |\n+| handler | function.Consumer<[crafttweaker.api.event.entity.player.MCPlayerFlyableFallEvent](/vanilla/api/event/entity/player/MCPlayerFlyableFallEvent)> | No description provided |\n+\n+\n+\n+## Methoden\n+### getDistance\n+\n+Returns float\n+\n+```zenscript\n+myMCPlayerFlyableFallEvent.getDistance();\n+```\n+\n+### getEntityPlayer\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCPlayerFlyableFallEvent.getEntityPlayer();\n+```\n+\n+### getMultiplier\n+\n+Returns float\n+\n+```zenscript\n+myMCPlayerFlyableFallEvent.getMultiplier();\n+```\n+\n+### getPlayer\n+\n+Returns: `Player`\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCPlayerFlyableFallEvent.getPlayer();\n+```\n+\n+### hasResult\n+\n+Determines if this event expects a significant result value. Note: Events with the HasResult annotation will have this method automatically added to return true.\n+\n+Returns boolean\n+\n+```zenscript\n+myMCPlayerFlyableFallEvent.hasResult();\n+```\n+\n+### isCancelable\n+\n+Determine if this function is cancelable at all. Returns: `If access to setCanceled should be allowed\n+ Note:\n+ Events with the Cancelable annotation will have this method automatically added to return true.`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCPlayerFlyableFallEvent.isCancelable();\n+```\n+\n+### isCanceled\n+\n+Determine if this event is canceled and should stop executing. Returns: `The current canceled state`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCPlayerFlyableFallEvent.isCanceled();\n+```\n+\n+### setCanceled\n+\n+```zenscript\n+myMCPlayerFlyableFallEvent.setCanceled(cancel as boolean);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------- | ----------------------- |\n+| cancel | boolean | No description provided |\n+\n+\n+### setDistance\n+\n+```zenscript\n+myMCPlayerFlyableFallEvent.setDistance(distance as float);\n+```\n+\n+| Parameter | Type | Description |\n+| --------- | ----- | ----------------------- |\n+| distance | float | No description provided |\n+\n+\n+### setMultiplier\n+\n+```zenscript\n+myMCPlayerFlyableFallEvent.setMultiplier(multiplier as float);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| ---------- | ----- | ----------------------- |\n+| multiplier | float | No description provided |\n+\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations MCPlayerFlyableFallEvent.md (German) [ci skip]
139,040
19.01.2020 23:08:48
-3,600
a784d456e5ab6c00bcc9e80fa2c134277b9640c5
New translations MCLeftClickEmpty.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/event/entity/player/PlayerInteractEvent/MCLeftClickEmpty.md", "diff": "+# MCLeftClickEmpty\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.event.entity.player.PlayerInteractEvent.MCLeftClickEmpty\n+```\n+\n+## Constructors\n+```zenscript\n+new crafttweaker.api.event.entity.player.PlayerInteractEvent.MCLeftClickEmpty(handler as function.Consumer<crafttweaker.api.event.entity.player.PlayerInteractEvent.MCLeftClickEmpty>);\n+```\n+| Parameter | Type | Beschreibung |\n+| --------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------- |\n+| handler | function.Consumer<[crafttweaker.api.event.entity.player.PlayerInteractEvent.MCLeftClickEmpty](/vanilla/api/event/entity/player/PlayerInteractEvent/MCLeftClickEmpty)> | No description provided |\n+\n+\n+\n+## Methoden\n+### getEntityPlayer\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCLeftClickEmpty.getEntityPlayer();\n+```\n+\n+### getFace\n+\n+Returns: `The face involved in this interaction. For all non-block interactions, this will return null.`\n+\n+Returns [crafttweaker.api.util.Direction](/vanilla/api/util/Direction)\n+\n+```zenscript\n+myMCLeftClickEmpty.getFace();\n+```\n+\n+### getItemStack\n+\n+Returns: `The itemstack involved in this interaction, {` @code ItemStack.EMPTY} if the hand was empty.\n+\n+Returns [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack)\n+\n+```zenscript\n+myMCLeftClickEmpty.getItemStack();\n+```\n+\n+### getPlayer\n+\n+Returns: `Player`\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCLeftClickEmpty.getPlayer();\n+```\n+\n+### getPos\n+\n+If the interaction was on an entity, will be a BlockPos centered on the entity. If the interaction was on a block, will be the position of that block. Otherwise, will be a BlockPos centered on the player. Will never be null. Returns: `The position involved in this interaction.`\n+\n+Returns [crafttweaker.api.util.BlockPos](/vanilla/api/util/BlockPos)\n+\n+```zenscript\n+myMCLeftClickEmpty.getPos();\n+```\n+\n+### hasResult\n+\n+Determines if this event expects a significant result value. Note: Events with the HasResult annotation will have this method automatically added to return true.\n+\n+Returns boolean\n+\n+```zenscript\n+myMCLeftClickEmpty.hasResult();\n+```\n+\n+### isCancelable\n+\n+Determine if this function is cancelable at all. Returns: `If access to setCanceled should be allowed\n+ Note:\n+ Events with the Cancelable annotation will have this method automatically added to return true.`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCLeftClickEmpty.isCancelable();\n+```\n+\n+### isCanceled\n+\n+Determine if this event is canceled and should stop executing. Returns: `The current canceled state`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCLeftClickEmpty.isCanceled();\n+```\n+\n+### setCanceled\n+\n+```zenscript\n+myMCLeftClickEmpty.setCanceled(cancel as boolean);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------- | ----------------------- |\n+| cancel | boolean | No description provided |\n+\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations MCLeftClickEmpty.md (German) [ci skip]
139,040
19.01.2020 23:08:49
-3,600
1e8a1930490a383ae996c65a641cdd57d1301452
New translations MCEntityInteractSpecific.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/event/entity/player/PlayerInteractEvent/MCEntityInteractSpecific.md", "diff": "+# MCEntityInteractSpecific\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.event.entity.player.PlayerInteractEvent.MCEntityInteractSpecific\n+```\n+\n+## Constructors\n+```zenscript\n+new crafttweaker.api.event.entity.player.PlayerInteractEvent.MCEntityInteractSpecific(handler as function.Consumer<crafttweaker.api.event.entity.player.PlayerInteractEvent.MCEntityInteractSpecific>);\n+```\n+| Parameter | Type | Beschreibung |\n+| --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------- |\n+| handler | function.Consumer<[crafttweaker.api.event.entity.player.PlayerInteractEvent.MCEntityInteractSpecific](/vanilla/api/event/entity/player/PlayerInteractEvent/MCEntityInteractSpecific)> | No description provided |\n+\n+\n+\n+## Methoden\n+### getEntityPlayer\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCEntityInteractSpecific.getEntityPlayer();\n+```\n+\n+### getFace\n+\n+Returns: `The face involved in this interaction. For all non-block interactions, this will return null.`\n+\n+Returns [crafttweaker.api.util.Direction](/vanilla/api/util/Direction)\n+\n+```zenscript\n+myMCEntityInteractSpecific.getFace();\n+```\n+\n+### getItemStack\n+\n+Returns: `The itemstack involved in this interaction, {` @code ItemStack.EMPTY} if the hand was empty.\n+\n+Returns [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack)\n+\n+```zenscript\n+myMCEntityInteractSpecific.getItemStack();\n+```\n+\n+### getPlayer\n+\n+Returns: `Player`\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCEntityInteractSpecific.getPlayer();\n+```\n+\n+### getPos\n+\n+If the interaction was on an entity, will be a BlockPos centered on the entity. If the interaction was on a block, will be the position of that block. Otherwise, will be a BlockPos centered on the player. Will never be null. Returns: `The position involved in this interaction.`\n+\n+Returns [crafttweaker.api.util.BlockPos](/vanilla/api/util/BlockPos)\n+\n+```zenscript\n+myMCEntityInteractSpecific.getPos();\n+```\n+\n+### hasResult\n+\n+Determines if this event expects a significant result value. Note: Events with the HasResult annotation will have this method automatically added to return true.\n+\n+Returns boolean\n+\n+```zenscript\n+myMCEntityInteractSpecific.hasResult();\n+```\n+\n+### isCancelable\n+\n+Determine if this function is cancelable at all. Returns: `If access to setCanceled should be allowed\n+ Note:\n+ Events with the Cancelable annotation will have this method automatically added to return true.`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCEntityInteractSpecific.isCancelable();\n+```\n+\n+### isCanceled\n+\n+Determine if this event is canceled and should stop executing. Returns: `The current canceled state`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCEntityInteractSpecific.isCanceled();\n+```\n+\n+### setCanceled\n+\n+```zenscript\n+myMCEntityInteractSpecific.setCanceled(cancel as boolean);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------- | ----------------------- |\n+| cancel | boolean | No description provided |\n+\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations MCEntityInteractSpecific.md (German) [ci skip]
139,040
19.01.2020 23:08:52
-3,600
2822192fd142b3a0b49365e1aba31cd92b85cfb4
New translations ByteData.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/data/ByteData.md", "diff": "+# ByteData\n+\n+\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.data.ByteData\n+```\n+\n+## Implemented Interfaces\n+ByteData implements the following interfaces. That means any method available to them can also be used on this class.\n+- [crafttweaker.api.data.INumberData](/vanilla/api/data/INumberData)\n+\n+## Constructors\n+```zenscript\n+new crafttweaker.api.data.ByteData(internal as byte);\n+```\n+| Parameter | Type | Beschreibung |\n+| --------- | ---- | ----------------------- |\n+| internal | byte | No description provided |\n+\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations ByteData.md (German) [ci skip]
139,040
19.01.2020 23:08:53
-3,600
e1bf72337fbe0b42022e5a0858e25fcc93a41241
New translations IntArrayData.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/data/IntArrayData.md", "diff": "+# IntArrayData\n+\n+\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.data.IntArrayData\n+```\n+\n+## Implemented Interfaces\n+IntArrayData implements the following interfaces. That means any method available to them can also be used on this class.\n+- [crafttweaker.api.data.ICollectionData](/vanilla/api/data/ICollectionData)\n+\n+## Constructors\n+```zenscript\n+new crafttweaker.api.data.IntArrayData(internal as int[]);\n+```\n+| Parameter | Type | Beschreibung |\n+| --------- | ----- | ----------------------- |\n+| internal | int[] | No description provided |\n+\n+\n+\n+## Methoden\n+### add\n+\n+```zenscript\n+[4, 128, 256, 1024].add(value as crafttweaker.api.data.IData);\n+[4, 128, 256, 1024].add(\"today\");\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------------------------------------------------------ | ---------------------------- |\n+| value | [crafttweaker.api.data.IData](/vanilla/api/data/IData) | The value to add to the list |\n+\n+\n+\n+```zenscript\n+[4, 128, 256, 1024].add(index as int, value as crafttweaker.api.data.IData);\n+[4, 128, 256, 1024].add(1, \"beautiful\");\n+```\n+\n+| Parameter | Type | Description |\n+| --------- | ------------------------------------------------------ | -------------------------------------------------------------------- |\n+| index | int | The index to add to. Subsequent items will be moved one index higher |\n+| value | [crafttweaker.api.data.IData](/vanilla/api/data/IData) | The value to add to the list |\n+\n+\n+### asList\n+\n+Gets a List<IData> representation of this IData, returns null on anything but [crafttweaker.api.data.ListData](/vanilla/api/data/ListData).\n+\n+ Returns: `null if this IData is not a list.`\n+\n+Returns List<[crafttweaker.api.data.IData](/vanilla/api/data/IData)>\n+\n+```zenscript\n+[4, 128, 256, 1024].asList();\n+```\n+\n+### asMap\n+\n+Gets a Map<String, IData> representation of this IData, returns null on anything but [crafttweaker.api.data.MapData](/vanilla/api/data/MapData).\n+\n+ Returns: `null if this IData is not a map.`\n+\n+Returns [crafttweaker.api.data.IData](/vanilla/api/data/IData)[String]\n+\n+```zenscript\n+[4, 128, 256, 1024].asMap();\n+```\n+\n+### asString\n+\n+Gets the String representation of this IData\n+\n+ Returns: `String that represents this IData (value and type).`\n+\n+Returns String\n+\n+```zenscript\n+[4, 128, 256, 1024].asString();\n+```\n+\n+### clear\n+\n+Removes every element in the list\n+\n+```zenscript\n+[4, 128, 256, 1024].clear();\n+```\n+\n+### contains\n+\n+Checks if this IData contains another IData, mainly used in subclasses of [crafttweaker.api.data.ICollectionData](/vanilla/api/data/ICollectionData), is the same as an equals check on other IData types\n+\n+Returns boolean\n+\n+```zenscript\n+[4, 128, 256, 1024].contains(data as crafttweaker.api.data.IData);\n+[4, 128, 256, 1024].contains(\"Display\");\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------------------------------------------------------ | -------------------------------- |\n+| data | [crafttweaker.api.data.IData](/vanilla/api/data/IData) | data to check if it is contained |\n+\n+\n+### copy\n+\n+Makes a copy of this IData.\n+\n+ IData is immutable by default, use this to create a proper copy of the object.\n+\n+ Returns: `a copy of this IData.`\n+\n+Returns [crafttweaker.api.data.IData](/vanilla/api/data/IData)\n+\n+```zenscript\n+[4, 128, 256, 1024].copy();\n+```\n+\n+### get\n+\n+Retrieves the [crafttweaker.api.data.IData](/vanilla/api/data/IData) stored at the given index.\n+\n+Returns [crafttweaker.api.data.IData](/vanilla/api/data/IData)\n+\n+```zenscript\n+[4, 128, 256, 1024].get(index as int);\n+[4, 128, 256, 1024].get(0);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ---- | ------------------- |\n+| index | int | The index (0-based) |\n+\n+\n+### getId\n+\n+Gets the ID of the internal NBT tag.\n+\n+ Used to determine what NBT type is stored (in a list for example)\n+\n+ Returns: `ID of the NBT tag that this data represents.`\n+\n+Returns byte\n+\n+```zenscript\n+[4, 128, 256, 1024].getId();\n+```\n+\n+### getString\n+\n+Gets the String representation of the internal INBT tag\n+\n+ Returns: `String that represents the internal INBT of this IData.`\n+\n+Returns String\n+\n+```zenscript\n+[4, 128, 256, 1024].getString();\n+```\n+\n+### remove\n+\n+Removes the [crafttweaker.api.data.IData](/vanilla/api/data/IData) stored at the given index.\n+\n+Returns [crafttweaker.api.data.IData](/vanilla/api/data/IData)\n+\n+```zenscript\n+[4, 128, 256, 1024].remove(index as int);\n+[4, 128, 256, 1024].remove(0);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ---- | ------------------- |\n+| index | int | The index (0-based) |\n+\n+\n+### set\n+\n+Sets the item at the provided index to the given value\n+\n+Returns [crafttweaker.api.data.IData](/vanilla/api/data/IData)\n+\n+```zenscript\n+[4, 128, 256, 1024].set(index as int, value as crafttweaker.api.data.IData);\n+[4, 128, 256, 1024].set(0, \"Bye\");\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------------------------------------------------------ | -------------------------- |\n+| index | int | The index to set (0-based) |\n+| value | [crafttweaker.api.data.IData](/vanilla/api/data/IData) | The new Value |\n+\n+\n+\n+## Properties\n+\n+| Name | Type | Has Getter | Has Setter |\n+| ---- | ---- | ---------- | ---------- |\n+| size | int | true | false |\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations IntArrayData.md (German) [ci skip]
139,040
19.01.2020 23:08:55
-3,600
dc972b4195a3ec5d1371a8b33829dca2be6e6a7b
New translations INumberData.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/data/INumberData.md", "diff": "+# INumberData\n+\n+Represents a Number in the form of an [crafttweaker.api.data.IData](/vanilla/api/data/IData), useful for converting between types (double to int / long for example).\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.data.INumberData\n+```\n+\n+## Implemented Interfaces\n+INumberData implements the following interfaces. That means any method available to them can also be used on this class.\n+- [crafttweaker.api.data.IData](/vanilla/api/data/IData)\n+\n+## Methoden\n+### asList\n+\n+Gets a List<IData> representation of this IData, returns null on anything but [crafttweaker.api.data.ListData](/vanilla/api/data/ListData).\n+\n+ Returns: `null if this IData is not a list.`\n+\n+Returns List<[crafttweaker.api.data.IData](/vanilla/api/data/IData)>\n+\n+```zenscript\n+1.asList();\n+```\n+\n+### asMap\n+\n+Gets a Map<String, IData> representation of this IData, returns null on anything but [crafttweaker.api.data.MapData](/vanilla/api/data/MapData).\n+\n+ Returns: `null if this IData is not a map.`\n+\n+Returns [crafttweaker.api.data.IData](/vanilla/api/data/IData)[String]\n+\n+```zenscript\n+1.asMap();\n+```\n+\n+### asString\n+\n+Gets the String representation of this IData\n+\n+ Returns: `String that represents this IData (value and type).`\n+\n+Returns String\n+\n+```zenscript\n+1.asString();\n+```\n+\n+### contains\n+\n+Checks if this IData contains another IData, mainly used in subclasses of [crafttweaker.api.data.ICollectionData](/vanilla/api/data/ICollectionData), is the same as an equals check on other IData types\n+\n+Returns boolean\n+\n+```zenscript\n+1.contains(data as crafttweaker.api.data.IData);\n+1.contains(\"Display\");\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------------------------------------------------------ | -------------------------------- |\n+| data | [crafttweaker.api.data.IData](/vanilla/api/data/IData) | data to check if it is contained |\n+\n+\n+### copy\n+\n+Makes a copy of this IData.\n+\n+ IData is immutable by default, use this to create a proper copy of the object.\n+\n+ Returns: `a copy of this IData.`\n+\n+Returns [crafttweaker.api.data.IData](/vanilla/api/data/IData)\n+\n+```zenscript\n+1.copy();\n+```\n+\n+### getId\n+\n+Gets the ID of the internal NBT tag.\n+\n+ Used to determine what NBT type is stored (in a list for example)\n+\n+ Returns: `ID of the NBT tag that this data represents.`\n+\n+Returns byte\n+\n+```zenscript\n+1.getId();\n+```\n+\n+### getString\n+\n+Gets the String representation of the internal INBT tag\n+\n+ Returns: `String that represents the internal INBT of this IData.`\n+\n+Returns String\n+\n+```zenscript\n+1.getString();\n+```\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations INumberData.md (German) [ci skip]
139,040
19.01.2020 23:08:56
-3,600
385d722f10840a3e1b932e51ac7b891b16ef1912
New translations IData.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/data/IData.md", "diff": "+# IData\n+\n+The IData interface is a generic Interface for handling Data like NBT. You can cast about all primitives (short, double, string, int, ...) as well as certain arrays to IData. Remember that while they offer similar features, IData and their counterparts are NOT the same, which is why they will be referred to as DataTypes (e.g. [crafttweaker.api.data.ByteData](/vanilla/api/data/ByteData)).\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.data.IData\n+```\n+\n+## Methoden\n+### asList\n+\n+Gets a List<IData> representation of this IData, returns null on anything but [crafttweaker.api.data.ListData](/vanilla/api/data/ListData).\n+\n+ Returns: `null if this IData is not a list.`\n+\n+Returns List<[crafttweaker.api.data.IData](/vanilla/api/data/IData)>\n+\n+```zenscript\n+myIData.asList();\n+```\n+\n+### asMap\n+\n+Gets a Map<String, IData> representation of this IData, returns null on anything but [crafttweaker.api.data.MapData](/vanilla/api/data/MapData).\n+\n+ Returns: `null if this IData is not a map.`\n+\n+Returns [crafttweaker.api.data.IData](/vanilla/api/data/IData)[String]\n+\n+```zenscript\n+myIData.asMap();\n+```\n+\n+### asString\n+\n+Gets the String representation of this IData\n+\n+ Returns: `String that represents this IData (value and type).`\n+\n+Returns String\n+\n+```zenscript\n+myIData.asString();\n+```\n+\n+### contains\n+\n+Checks if this IData contains another IData, mainly used in subclasses of [crafttweaker.api.data.ICollectionData](/vanilla/api/data/ICollectionData), is the same as an equals check on other IData types\n+\n+Returns boolean\n+\n+```zenscript\n+myIData.contains(data as crafttweaker.api.data.IData);\n+myIData.contains(\"Display\");\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------------------------------------------------------ | -------------------------------- |\n+| data | [crafttweaker.api.data.IData](/vanilla/api/data/IData) | data to check if it is contained |\n+\n+\n+### copy\n+\n+Makes a copy of this IData.\n+\n+ IData is immutable by default, use this to create a proper copy of the object.\n+\n+ Returns: `a copy of this IData.`\n+\n+Returns [crafttweaker.api.data.IData](/vanilla/api/data/IData)\n+\n+```zenscript\n+myIData.copy();\n+```\n+\n+### getId\n+\n+Gets the ID of the internal NBT tag.\n+\n+ Used to determine what NBT type is stored (in a list for example)\n+\n+ Returns: `ID of the NBT tag that this data represents.`\n+\n+Returns byte\n+\n+```zenscript\n+myIData.getId();\n+```\n+\n+### getString\n+\n+Gets the String representation of the internal INBT tag\n+\n+ Returns: `String that represents the internal INBT of this IData.`\n+\n+Returns String\n+\n+```zenscript\n+myIData.getString();\n+```\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations IData.md (German) [ci skip]
139,040
19.01.2020 23:08:58
-3,600
8284685179dfe4ea21f544b6b7fd4b454b68052f
New translations ICollectionData.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/data/ICollectionData.md", "diff": "+# ICollectionData\n+\n+The ICollection data is used to represent a collection of [crafttweaker.api.data.IData](/vanilla/api/data/IData) like a List<IData>\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.data.ICollectionData\n+```\n+\n+## Implemented Interfaces\n+ICollectionData implements the following interfaces. That means any method available to them can also be used on this class.\n+- [crafttweaker.api.data.IData](/vanilla/api/data/IData)\n+\n+## Methoden\n+### add\n+\n+```zenscript\n+new ListData([\"Hello\", \"World\"]).add(value as crafttweaker.api.data.IData);\n+new ListData([\"Hello\", \"World\"]).add(\"today\");\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------------------------------------------------------ | ---------------------------- |\n+| value | [crafttweaker.api.data.IData](/vanilla/api/data/IData) | The value to add to the list |\n+\n+\n+\n+```zenscript\n+new ListData([\"Hello\", \"World\"]).add(index as int, value as crafttweaker.api.data.IData);\n+new ListData([\"Hello\", \"World\"]).add(1, \"beautiful\");\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------------------------------------------------------ | -------------------------------------------------------------------- |\n+| index | int | The index to add to. Subsequent items will be moved one index higher |\n+| value | [crafttweaker.api.data.IData](/vanilla/api/data/IData) | The value to add to the list |\n+\n+\n+### asList\n+\n+Gets a List<IData> representation of this IData, returns null on anything but [crafttweaker.api.data.ListData](/vanilla/api/data/ListData).\n+\n+ Returns: `null if this IData is not a list.`\n+\n+Returns List<[crafttweaker.api.data.IData](/vanilla/api/data/IData)>\n+\n+```zenscript\n+new ListData([\"Hello\", \"World\"]).asList();\n+```\n+\n+### asMap\n+\n+Gets a Map<String, IData> representation of this IData, returns null on anything but [crafttweaker.api.data.MapData](/vanilla/api/data/MapData).\n+\n+ Returns: `null if this IData is not a map.`\n+\n+Returns [crafttweaker.api.data.IData](/vanilla/api/data/IData)[String]\n+\n+```zenscript\n+new ListData([\"Hello\", \"World\"]).asMap();\n+```\n+\n+### asString\n+\n+Gets the String representation of this IData\n+\n+ Returns: `String that represents this IData (value and type).`\n+\n+Returns String\n+\n+```zenscript\n+new ListData([\"Hello\", \"World\"]).asString();\n+```\n+\n+### clear\n+\n+Removes every element in the list\n+\n+```zenscript\n+new ListData([\"Hello\", \"World\"]).clear();\n+```\n+\n+### contains\n+\n+Checks if this IData contains another IData, mainly used in subclasses of [crafttweaker.api.data.ICollectionData](/vanilla/api/data/ICollectionData), is the same as an equals check on other IData types\n+\n+Returns boolean\n+\n+```zenscript\n+new ListData([\"Hello\", \"World\"]).contains(data as crafttweaker.api.data.IData);\n+new ListData([\"Hello\", \"World\"]).contains(\"Display\");\n+```\n+\n+| Parameter | Type | Description |\n+| --------- | ------------------------------------------------------ | -------------------------------- |\n+| data | [crafttweaker.api.data.IData](/vanilla/api/data/IData) | data to check if it is contained |\n+\n+\n+### copy\n+\n+Makes a copy of this IData.\n+\n+ IData is immutable by default, use this to create a proper copy of the object.\n+\n+ Returns: `a copy of this IData.`\n+\n+Returns [crafttweaker.api.data.IData](/vanilla/api/data/IData)\n+\n+```zenscript\n+new ListData([\"Hello\", \"World\"]).copy();\n+```\n+\n+### get\n+\n+Retrieves the [crafttweaker.api.data.IData](/vanilla/api/data/IData) stored at the given index.\n+\n+Returns [crafttweaker.api.data.IData](/vanilla/api/data/IData)\n+\n+```zenscript\n+new ListData([\"Hello\", \"World\"]).get(index as int);\n+new ListData([\"Hello\", \"World\"]).get(0);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ---- | ------------------- |\n+| index | int | The index (0-based) |\n+\n+\n+### getId\n+\n+Gets the ID of the internal NBT tag.\n+\n+ Used to determine what NBT type is stored (in a list for example)\n+\n+ Returns: `ID of the NBT tag that this data represents.`\n+\n+Returns byte\n+\n+```zenscript\n+new ListData([\"Hello\", \"World\"]).getId();\n+```\n+\n+### getString\n+\n+Gets the String representation of the internal INBT tag\n+\n+ Returns: `String that represents the internal INBT of this IData.`\n+\n+Returns String\n+\n+```zenscript\n+new ListData([\"Hello\", \"World\"]).getString();\n+```\n+\n+### remove\n+\n+Removes the [crafttweaker.api.data.IData](/vanilla/api/data/IData) stored at the given index.\n+\n+Returns [crafttweaker.api.data.IData](/vanilla/api/data/IData)\n+\n+```zenscript\n+new ListData([\"Hello\", \"World\"]).remove(index as int);\n+new ListData([\"Hello\", \"World\"]).remove(0);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ---- | ------------------- |\n+| index | int | The index (0-based) |\n+\n+\n+### set\n+\n+Sets the item at the provided index to the given value\n+\n+Returns [crafttweaker.api.data.IData](/vanilla/api/data/IData)\n+\n+```zenscript\n+new ListData([\"Hello\", \"World\"]).set(index as int, value as crafttweaker.api.data.IData);\n+new ListData([\"Hello\", \"World\"]).set(0, \"Bye\");\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------------------------------------------------------ | -------------------------- |\n+| index | int | The index to set (0-based) |\n+| value | [crafttweaker.api.data.IData](/vanilla/api/data/IData) | The new Value |\n+\n+\n+\n+## Properties\n+\n+| Name | Type | Has Getter | Has Setter |\n+| ---- | ---- | ---------- | ---------- |\n+| size | int | true | false |\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations ICollectionData.md (German) [ci skip]
139,040
19.01.2020 23:08:59
-3,600
fe57056160ea892c07f9cd04204a4519e20dea5c
New translations FloatData.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/data/FloatData.md", "diff": "+# FloatData\n+\n+\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.data.FloatData\n+```\n+\n+## Implemented Interfaces\n+FloatData implements the following interfaces. That means any method available to them can also be used on this class.\n+- [crafttweaker.api.data.INumberData](/vanilla/api/data/INumberData)\n+\n+## Constructors\n+```zenscript\n+new crafttweaker.api.data.FloatData(internal as float);\n+```\n+| Parameter | Type | Beschreibung |\n+| --------- | ----- | ----------------------- |\n+| internal | float | No description provided |\n+\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations FloatData.md (German) [ci skip]
139,040
19.01.2020 23:09:00
-3,600
84c254beba79bdb7f9adddb0c3099bf159a2d7b5
New translations DoubleData.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/data/DoubleData.md", "diff": "+# DoubleData\n+\n+\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.data.DoubleData\n+```\n+\n+## Implemented Interfaces\n+DoubleData implements the following interfaces. That means any method available to them can also be used on this class.\n+- [crafttweaker.api.data.INumberData](/vanilla/api/data/INumberData)\n+\n+## Constructors\n+```zenscript\n+new crafttweaker.api.data.DoubleData(internal as double);\n+```\n+| Parameter | Type | Beschreibung |\n+| --------- | ------ | ----------------------- |\n+| internal | double | No description provided |\n+\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations DoubleData.md (German) [ci skip]
139,040
19.01.2020 23:09:01
-3,600
9c8dfba7248b18dd70a43737d3ef8af732b4aa31
New translations ByteArrayData.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/data/ByteArrayData.md", "diff": "+# ByteArrayData\n+\n+\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.data.ByteArrayData\n+```\n+\n+## Implemented Interfaces\n+ByteArrayData implements the following interfaces. That means any method available to them can also be used on this class.\n+- [crafttweaker.api.data.ICollectionData](/vanilla/api/data/ICollectionData)\n+\n+## Constructors\n+```zenscript\n+new crafttweaker.api.data.ByteArrayData(internal as byte[]);\n+```\n+| Parameter | Type | Beschreibung |\n+| --------- | ------ | ----------------------- |\n+| internal | byte[] | No description provided |\n+\n+\n+\n+## Methoden\n+### add\n+\n+```zenscript\n+[4, 1, 2].add(value as crafttweaker.api.data.IData);\n+[4, 1, 2].add(\"today\");\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------------------------------------------------------ | ---------------------------- |\n+| value | [crafttweaker.api.data.IData](/vanilla/api/data/IData) | The value to add to the list |\n+\n+\n+\n+```zenscript\n+[4, 1, 2].add(index as int, value as crafttweaker.api.data.IData);\n+[4, 1, 2].add(1, \"beautiful\");\n+```\n+\n+| Parameter | Type | Description |\n+| --------- | ------------------------------------------------------ | -------------------------------------------------------------------- |\n+| index | int | The index to add to. Subsequent items will be moved one index higher |\n+| value | [crafttweaker.api.data.IData](/vanilla/api/data/IData) | The value to add to the list |\n+\n+\n+### clear\n+\n+Removes every element in the list\n+\n+```zenscript\n+[4, 1, 2].clear();\n+```\n+\n+### get\n+\n+Retrieves the [crafttweaker.api.data.IData](/vanilla/api/data/IData) stored at the given index.\n+\n+Returns [crafttweaker.api.data.IData](/vanilla/api/data/IData)\n+\n+```zenscript\n+[4, 1, 2].get(index as int);\n+[4, 1, 2].get(0);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ---- | ------------------- |\n+| index | int | The index (0-based) |\n+\n+\n+### remove\n+\n+Removes the [crafttweaker.api.data.IData](/vanilla/api/data/IData) stored at the given index.\n+\n+Returns [crafttweaker.api.data.IData](/vanilla/api/data/IData)\n+\n+```zenscript\n+[4, 1, 2].remove(index as int);\n+[4, 1, 2].remove(0);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ---- | ------------------- |\n+| index | int | The index (0-based) |\n+\n+\n+### set\n+\n+Sets the item at the provided index to the given value\n+\n+Returns [crafttweaker.api.data.IData](/vanilla/api/data/IData)\n+\n+```zenscript\n+[4, 1, 2].set(index as int, value as crafttweaker.api.data.IData);\n+[4, 1, 2].set(0, \"Bye\");\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------------------------------------------------------ | -------------------------- |\n+| index | int | The index to set (0-based) |\n+| value | [crafttweaker.api.data.IData](/vanilla/api/data/IData) | The new Value |\n+\n+\n+\n+## Properties\n+\n+| Name | Type | Has Getter | Has Setter |\n+| ---- | ---- | ---------- | ---------- |\n+| size | int | true | false |\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations ByteArrayData.md (German) [ci skip]
139,040
19.01.2020 23:09:04
-3,600
e6741d7ab1745e6bb89dff0383637de3850f398c
New translations ListData.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/data/ListData.md", "diff": "+# ListData\n+\n+\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.data.ListData\n+```\n+\n+## Implemented Interfaces\n+ListData implements the following interfaces. That means any method available to them can also be used on this class.\n+- [crafttweaker.api.data.ICollectionData](/vanilla/api/data/ICollectionData)\n+\n+## Constructors\n+```zenscript\n+new crafttweaker.api.data.ListData();\n+```\n+```zenscript\n+new crafttweaker.api.data.ListData(list as List<crafttweaker.api.data.IData>);\n+```\n+| Parameter | Type | Beschreibung | IsOptional | Default Value |\n+| --------- | ------------------------------------------------------------ | ----------------------- | ---------- | ------------- |\n+| list | List<[crafttweaker.api.data.IData](/vanilla/api/data/IData)> | No description provided | true | null |\n+\n+\n+\n+## Methoden\n+### add\n+\n+```zenscript\n+[\"Hello\", \"World\", \"!\"].add(value as crafttweaker.api.data.IData);\n+[\"Hello\", \"World\", \"!\"].add(\"today\");\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------------------------------------------------------ | ---------------------------- |\n+| value | [crafttweaker.api.data.IData](/vanilla/api/data/IData) | The value to add to the list |\n+\n+\n+\n+```zenscript\n+[\"Hello\", \"World\", \"!\"].add(index as int, value as crafttweaker.api.data.IData);\n+[\"Hello\", \"World\", \"!\"].add(1, \"beautiful\");\n+```\n+\n+| Parameter | Type | Description |\n+| --------- | ------------------------------------------------------ | -------------------------------------------------------------------- |\n+| index | int | The index to add to. Subsequent items will be moved one index higher |\n+| value | [crafttweaker.api.data.IData](/vanilla/api/data/IData) | The value to add to the list |\n+\n+\n+### clear\n+\n+Removes every element in the list\n+\n+```zenscript\n+[\"Hello\", \"World\", \"!\"].clear();\n+```\n+\n+### get\n+\n+Retrieves the [crafttweaker.api.data.IData](/vanilla/api/data/IData) stored at the given index.\n+\n+Returns [crafttweaker.api.data.IData](/vanilla/api/data/IData)\n+\n+```zenscript\n+[\"Hello\", \"World\", \"!\"].get(index as int);\n+[\"Hello\", \"World\", \"!\"].get(0);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ---- | ------------------- |\n+| index | int | The index (0-based) |\n+\n+\n+### remove\n+\n+Removes the [crafttweaker.api.data.IData](/vanilla/api/data/IData) stored at the given index.\n+\n+Returns [crafttweaker.api.data.IData](/vanilla/api/data/IData)\n+\n+```zenscript\n+[\"Hello\", \"World\", \"!\"].remove(index as int);\n+[\"Hello\", \"World\", \"!\"].remove(0);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ---- | ------------------- |\n+| index | int | The index (0-based) |\n+\n+\n+### set\n+\n+Sets the item at the provided index to the given value\n+\n+Returns [crafttweaker.api.data.IData](/vanilla/api/data/IData)\n+\n+```zenscript\n+[\"Hello\", \"World\", \"!\"].set(index as int, value as crafttweaker.api.data.IData);\n+[\"Hello\", \"World\", \"!\"].set(0, \"Bye\");\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------------------------------------------------------ | -------------------------- |\n+| index | int | The index to set (0-based) |\n+| value | [crafttweaker.api.data.IData](/vanilla/api/data/IData) | The new Value |\n+\n+\n+\n+## Properties\n+\n+| Name | Type | Has Getter | Has Setter |\n+| ---- | ---- | ---------- | ---------- |\n+| size | int | true | false |\n+\n+## Casters\n+\n+| Result type | Is Implicit |\n+| ------------------------------------------------------------ | ----------- |\n+| List<[crafttweaker.api.data.IData](/vanilla/api/data/IData)> | true |\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations ListData.md (German) [ci skip]
139,040
19.01.2020 23:09:05
-3,600
32dc87ce858e3772fbf92089c9d901cf695268c9
New translations CommandStringDisplayable.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/brackets/CommandStringDisplayable.md", "diff": "+# CommandStringDisplayable\n+\n+This is A helper interface for every item that is returned by a BEP!\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.brackets.CommandStringDisplayable\n+```\n+\n+## Properties\n+\n+| Name | Type | Has Getter | Has Setter |\n+| ------------- | ------ | ---------- | ---------- |\n+| commandString | String | true | false |\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations CommandStringDisplayable.md (German) [ci skip]
139,040
19.01.2020 23:09:06
-3,600
7e055bf058fb6abce9b08f99afee1f2ec94f0cb7
New translations MCBlockState.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/blocks/MCBlockState.md", "diff": "+# MCBlockState\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.block.MCBlockState\n+```\n+\n+## Implemented Interfaces\n+MCBlockState implements the following interfaces. That means any method available to them can also be used on this class.\n+- [crafttweaker.api.brackets.CommandStringDisplayable](/vanilla/api/brackets/CommandStringDisplayable)\n+\n+## Methoden\n+### getAllowedValuesForProperty\n+\n+Returns List<String>\n+\n+```zenscript\n+myMCBlockState.getAllowedValuesForProperty(name as String);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------ | ----------------------- |\n+| name | String | No description provided |\n+\n+\n+### getProperties\n+\n+Returns String[String]\n+\n+```zenscript\n+myMCBlockState.getProperties();\n+```\n+\n+### getPropertyNames\n+\n+Returns List<String>\n+\n+```zenscript\n+myMCBlockState.getPropertyNames();\n+```\n+\n+### getPropertyValue\n+\n+Returns String\n+\n+```zenscript\n+myMCBlockState.getPropertyValue(name as String);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------ | ----------------------- |\n+| name | String | No description provided |\n+\n+\n+### hasProperty\n+\n+Returns boolean\n+\n+```zenscript\n+myMCBlockState.hasProperty(name as String);\n+```\n+\n+| Parameter | Type | Description |\n+| --------- | ------ | ----------------------- |\n+| name | String | No description provided |\n+\n+\n+### withProperty\n+\n+Returns [crafttweaker.api.block.MCBlockState](/vanilla/api/blocks/MCBlockState)\n+\n+```zenscript\n+myMCBlockState.withProperty(name as String, value as String);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------ | ----------------------- |\n+| name | String | No description provided |\n+| value | String | No description provided |\n+\n+\n+\n+## Properties\n+\n+| Name | Type | Has Getter | Has Setter |\n+| --------------- | ------------------------------------------------------------- | ---------- | ---------- |\n+| block | [crafttweaker.api.block.MCBlock](/vanilla/api/blocks/MCBlock) | true | false |\n+| canProvidePower | boolean | true | false |\n+| commandString | String | true | false |\n+| hasTileEntity | boolean | true | false |\n+| isSolid | boolean | true | false |\n+| isSticky | boolean | true | false |\n+| lightLevel | int | true | false |\n+| ticksRandomly | boolean | true | false |\n+\n+## Casters\n+\n+| Result type | Is Implicit |\n+| ------------------------------------------------------------- | ----------- |\n+| String | false |\n+| [crafttweaker.api.block.MCBlock](/vanilla/api/blocks/MCBlock) | true |\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations MCBlockState.md (German) [ci skip]
139,040
19.01.2020 23:09:08
-3,600
d4e6ab4d4f1891807faa577a15f22da4aac9fd92
New translations MCBlock.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/blocks/MCBlock.md", "diff": "+# MCBlock\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.block.MCBlock\n+```\n+\n+## Methoden\n+### canSpawnInBlock\n+\n+Returns boolean\n+\n+```zenscript\n+myMCBlock.canSpawnInBlock();\n+```\n+\n+### getDefaultState\n+\n+Returns [crafttweaker.api.block.MCBlockState](/vanilla/api/blocks/MCBlockState)\n+\n+```zenscript\n+myMCBlock.getDefaultState();\n+```\n+\n+\n+## Properties\n+\n+| Name | Type | Has Getter | Has Setter |\n+| -------------- | ------ | ---------- | ---------- |\n+| lootTable | String | true | false |\n+| translationKey | String | true | false |\n+\n+## Casters\n+\n+| Result type | Is Implicit |\n+| ----------- | ----------- |\n+| String | false |\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations MCBlock.md (German) [ci skip]
139,040
19.01.2020 23:09:09
-3,600
2df11e520b000872dcc14dda6329300a1b2780b3
New translations MCMaterialColor.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/block/material/MCMaterialColor.md", "diff": "+# MCMaterialColor\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.block.material.MCMaterialColor\n+```\n+\n+## Methoden\n+### getMapColor\n+\n+Returns int\n+\n+```zenscript\n+myMCMaterialColor.getMapColor(index as int);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ---- | ----------------------- |\n+| index | int | No description provided |\n+\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations MCMaterialColor.md (German) [ci skip]
139,040
19.01.2020 23:09:10
-3,600
2469b9834557a4ba3490e39fa23ac217fa45514f
New translations MCMaterial.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/block/material/MCMaterial.md", "diff": "+# MCMaterial\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.block.material.MCMaterial\n+```\n+\n+## Methoden\n+### blocksMovement\n+\n+Returns if this material is considered solid or not\n+\n+Returns boolean\n+\n+```zenscript\n+myMCMaterial.blocksMovement();\n+```\n+\n+### getColor\n+\n+Retrieves the color index of the block. This is is the same color used by vanilla maps to represent this block.\n+\n+Returns [crafttweaker.api.block.material.MCMaterialColor](/vanilla/api/block/material/MCMaterialColor)\n+\n+```zenscript\n+myMCMaterial.getColor();\n+```\n+\n+### isFlammable\n+\n+Returns if the block can burn or not.\n+\n+Returns boolean\n+\n+```zenscript\n+myMCMaterial.isFlammable();\n+```\n+\n+### isLiquid\n+\n+Returns if blocks of these materials are liquids.\n+\n+Returns boolean\n+\n+```zenscript\n+myMCMaterial.isLiquid();\n+```\n+\n+### isOpaque\n+\n+Indicate if the material is opaque\n+\n+Returns boolean\n+\n+```zenscript\n+myMCMaterial.isOpaque();\n+```\n+\n+### isReplaceable\n+\n+Returns whether the material can be replaced by other blocks when placed - eg snow, vines and tall grass.\n+\n+Returns boolean\n+\n+```zenscript\n+myMCMaterial.isReplaceable();\n+```\n+\n+### isSolid\n+\n+Returns true if the block is a considered solid. This is true by default.\n+\n+Returns boolean\n+\n+```zenscript\n+myMCMaterial.isSolid();\n+```\n+\n+### isToolNotRequired\n+\n+Returns true if the material can be harvested without a tool (or with the wrong tool)\n+\n+Returns boolean\n+\n+```zenscript\n+myMCMaterial.isToolNotRequired();\n+```\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations MCMaterial.md (German) [ci skip]
139,040
19.01.2020 23:09:13
-3,600
19e7cb9fdcedba11dbe371a68380b5fb5c24712c
New translations IntData.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/data/IntData.md", "diff": "+# IntData\n+\n+\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.data.IntData\n+```\n+\n+## Implemented Interfaces\n+IntData implements the following interfaces. That means any method available to them can also be used on this class.\n+- [crafttweaker.api.data.INumberData](/vanilla/api/data/INumberData)\n+\n+## Constructors\n+```zenscript\n+new crafttweaker.api.data.IntData(internal as int);\n+```\n+| Parameter | Type | Beschreibung |\n+| --------- | ---- | ----------------------- |\n+| internal | int | No description provided |\n+\n+\n+\n+## Methoden\n+### asList\n+\n+Gets a List<IData> representation of this IData, returns null on anything but [crafttweaker.api.data.ListData](/vanilla/api/data/ListData).\n+\n+ Returns: `null if this IData is not a list.`\n+\n+Returns List<[crafttweaker.api.data.IData](/vanilla/api/data/IData)>\n+\n+```zenscript\n+8192.asList();\n+```\n+\n+### asMap\n+\n+Gets a Map<String, IData> representation of this IData, returns null on anything but [crafttweaker.api.data.MapData](/vanilla/api/data/MapData).\n+\n+ Returns: `null if this IData is not a map.`\n+\n+Returns [crafttweaker.api.data.IData](/vanilla/api/data/IData)[String]\n+\n+```zenscript\n+8192.asMap();\n+```\n+\n+### asString\n+\n+Gets the String representation of this IData\n+\n+ Returns: `String that represents this IData (value and type).`\n+\n+Returns String\n+\n+```zenscript\n+8192.asString();\n+```\n+\n+### contains\n+\n+Checks if this IData contains another IData, mainly used in subclasses of [crafttweaker.api.data.ICollectionData](/vanilla/api/data/ICollectionData), is the same as an equals check on other IData types\n+\n+Returns boolean\n+\n+```zenscript\n+8192.contains(data as crafttweaker.api.data.IData);\n+8192.contains(\"Display\");\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------------------------------------------------------ | -------------------------------- |\n+| data | [crafttweaker.api.data.IData](/vanilla/api/data/IData) | data to check if it is contained |\n+\n+\n+### copy\n+\n+Makes a copy of this IData.\n+\n+ IData is immutable by default, use this to create a proper copy of the object.\n+\n+ Returns: `a copy of this IData.`\n+\n+Returns [crafttweaker.api.data.IData](/vanilla/api/data/IData)\n+\n+```zenscript\n+8192.copy();\n+```\n+\n+### getId\n+\n+Gets the ID of the internal NBT tag.\n+\n+ Used to determine what NBT type is stored (in a list for example)\n+\n+ Returns: `ID of the NBT tag that this data represents.`\n+\n+Returns byte\n+\n+```zenscript\n+8192.getId();\n+```\n+\n+### getString\n+\n+Gets the String representation of the internal INBT tag\n+\n+ Returns: `String that represents the internal INBT of this IData.`\n+\n+Returns String\n+\n+```zenscript\n+8192.getString();\n+```\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations IntData.md (German) [ci skip]
139,040
19.01.2020 23:09:15
-3,600
e779c88cc316d6f7f73efac4838f4b43f8ecc6c3
New translations LongArrayData.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/data/LongArrayData.md", "diff": "+# LongArrayData\n+\n+\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.data.LongArrayData\n+```\n+\n+## Implemented Interfaces\n+LongArrayData implements the following interfaces. That means any method available to them can also be used on this class.\n+- [crafttweaker.api.data.ICollectionData](/vanilla/api/data/ICollectionData)\n+\n+## Constructors\n+```zenscript\n+new crafttweaker.api.data.LongArrayData(internal as long[]);\n+```\n+| Parameter | Type | Beschreibung |\n+| --------- | ------ | ----------------------- |\n+| internal | long[] | No description provided |\n+\n+\n+\n+## Methoden\n+### add\n+\n+```zenscript\n+[100000, 800000, 50000].add(value as crafttweaker.api.data.IData);\n+[100000, 800000, 50000].add(\"today\");\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------------------------------------------------------ | ---------------------------- |\n+| value | [crafttweaker.api.data.IData](/vanilla/api/data/IData) | The value to add to the list |\n+\n+\n+\n+```zenscript\n+[100000, 800000, 50000].add(index as int, value as crafttweaker.api.data.IData);\n+[100000, 800000, 50000].add(1, \"beautiful\");\n+```\n+\n+| Parameter | Type | Description |\n+| --------- | ------------------------------------------------------ | -------------------------------------------------------------------- |\n+| index | int | The index to add to. Subsequent items will be moved one index higher |\n+| value | [crafttweaker.api.data.IData](/vanilla/api/data/IData) | The value to add to the list |\n+\n+\n+### asList\n+\n+Gets a List<IData> representation of this IData, returns null on anything but [crafttweaker.api.data.ListData](/vanilla/api/data/ListData).\n+\n+ Returns: `null if this IData is not a list.`\n+\n+Returns List<[crafttweaker.api.data.IData](/vanilla/api/data/IData)>\n+\n+```zenscript\n+[100000, 800000, 50000].asList();\n+```\n+\n+### asMap\n+\n+Gets a Map<String, IData> representation of this IData, returns null on anything but [crafttweaker.api.data.MapData](/vanilla/api/data/MapData).\n+\n+ Returns: `null if this IData is not a map.`\n+\n+Returns [crafttweaker.api.data.IData](/vanilla/api/data/IData)[String]\n+\n+```zenscript\n+[100000, 800000, 50000].asMap();\n+```\n+\n+### asString\n+\n+Gets the String representation of this IData\n+\n+ Returns: `String that represents this IData (value and type).`\n+\n+Returns String\n+\n+```zenscript\n+[100000, 800000, 50000].asString();\n+```\n+\n+### clear\n+\n+Removes every element in the list\n+\n+```zenscript\n+[100000, 800000, 50000].clear();\n+```\n+\n+### contains\n+\n+Checks if this IData contains another IData, mainly used in subclasses of [crafttweaker.api.data.ICollectionData](/vanilla/api/data/ICollectionData), is the same as an equals check on other IData types\n+\n+Returns boolean\n+\n+```zenscript\n+[100000, 800000, 50000].contains(data as crafttweaker.api.data.IData);\n+[100000, 800000, 50000].contains(\"Display\");\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------------------------------------------------------ | -------------------------------- |\n+| data | [crafttweaker.api.data.IData](/vanilla/api/data/IData) | data to check if it is contained |\n+\n+\n+### copy\n+\n+Makes a copy of this IData.\n+\n+ IData is immutable by default, use this to create a proper copy of the object.\n+\n+ Returns: `a copy of this IData.`\n+\n+Returns [crafttweaker.api.data.IData](/vanilla/api/data/IData)\n+\n+```zenscript\n+[100000, 800000, 50000].copy();\n+```\n+\n+### get\n+\n+Retrieves the [crafttweaker.api.data.IData](/vanilla/api/data/IData) stored at the given index.\n+\n+Returns [crafttweaker.api.data.IData](/vanilla/api/data/IData)\n+\n+```zenscript\n+[100000, 800000, 50000].get(index as int);\n+[100000, 800000, 50000].get(0);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ---- | ------------------- |\n+| index | int | The index (0-based) |\n+\n+\n+### getId\n+\n+Gets the ID of the internal NBT tag.\n+\n+ Used to determine what NBT type is stored (in a list for example)\n+\n+ Returns: `ID of the NBT tag that this data represents.`\n+\n+Returns byte\n+\n+```zenscript\n+[100000, 800000, 50000].getId();\n+```\n+\n+### getString\n+\n+Gets the String representation of the internal INBT tag\n+\n+ Returns: `String that represents the internal INBT of this IData.`\n+\n+Returns String\n+\n+```zenscript\n+[100000, 800000, 50000].getString();\n+```\n+\n+### remove\n+\n+Removes the [crafttweaker.api.data.IData](/vanilla/api/data/IData) stored at the given index.\n+\n+Returns [crafttweaker.api.data.IData](/vanilla/api/data/IData)\n+\n+```zenscript\n+[100000, 800000, 50000].remove(index as int);\n+[100000, 800000, 50000].remove(0);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ---- | ------------------- |\n+| index | int | The index (0-based) |\n+\n+\n+### set\n+\n+Sets the item at the provided index to the given value\n+\n+Returns [crafttweaker.api.data.IData](/vanilla/api/data/IData)\n+\n+```zenscript\n+[100000, 800000, 50000].set(index as int, value as crafttweaker.api.data.IData);\n+[100000, 800000, 50000].set(0, \"Bye\");\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------------------------------------------------------ | -------------------------- |\n+| index | int | The index to set (0-based) |\n+| value | [crafttweaker.api.data.IData](/vanilla/api/data/IData) | The new Value |\n+\n+\n+\n+## Properties\n+\n+| Name | Type | Has Getter | Has Setter |\n+| ---- | ---- | ---------- | ---------- |\n+| size | int | true | false |\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations LongArrayData.md (German) [ci skip]
139,040
19.01.2020 23:09:16
-3,600
2d8d0ec811058cfb5556fa7b368c1d0d618c5b98
New translations MCEntityInteract.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/event/entity/player/PlayerInteractEvent/MCEntityInteract.md", "diff": "+# MCEntityInteract\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.event.entity.player.PlayerInteractEvent.MCEntityInteract\n+```\n+\n+## Constructors\n+```zenscript\n+new crafttweaker.api.event.entity.player.PlayerInteractEvent.MCEntityInteract(handler as function.Consumer<crafttweaker.api.event.entity.player.PlayerInteractEvent.MCEntityInteract>);\n+```\n+| Parameter | Type | Beschreibung |\n+| --------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------- |\n+| handler | function.Consumer<[crafttweaker.api.event.entity.player.PlayerInteractEvent.MCEntityInteract](/vanilla/api/event/entity/player/PlayerInteractEvent/MCEntityInteract)> | No description provided |\n+\n+\n+\n+## Methoden\n+### getEntityPlayer\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCEntityInteract.getEntityPlayer();\n+```\n+\n+### getFace\n+\n+Returns: `The face involved in this interaction. For all non-block interactions, this will return null.`\n+\n+Returns [crafttweaker.api.util.Direction](/vanilla/api/util/Direction)\n+\n+```zenscript\n+myMCEntityInteract.getFace();\n+```\n+\n+### getItemStack\n+\n+Returns: `The itemstack involved in this interaction, {` @code ItemStack.EMPTY} if the hand was empty.\n+\n+Returns [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack)\n+\n+```zenscript\n+myMCEntityInteract.getItemStack();\n+```\n+\n+### getPlayer\n+\n+Returns: `Player`\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCEntityInteract.getPlayer();\n+```\n+\n+### getPos\n+\n+If the interaction was on an entity, will be a BlockPos centered on the entity. If the interaction was on a block, will be the position of that block. Otherwise, will be a BlockPos centered on the player. Will never be null. Returns: `The position involved in this interaction.`\n+\n+Returns [crafttweaker.api.util.BlockPos](/vanilla/api/util/BlockPos)\n+\n+```zenscript\n+myMCEntityInteract.getPos();\n+```\n+\n+### hasResult\n+\n+Determines if this event expects a significant result value. Note: Events with the HasResult annotation will have this method automatically added to return true.\n+\n+Returns boolean\n+\n+```zenscript\n+myMCEntityInteract.hasResult();\n+```\n+\n+### isCancelable\n+\n+Determine if this function is cancelable at all. Returns: `If access to setCanceled should be allowed\n+ Note:\n+ Events with the Cancelable annotation will have this method automatically added to return true.`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCEntityInteract.isCancelable();\n+```\n+\n+### isCanceled\n+\n+Determine if this event is canceled and should stop executing. Returns: `The current canceled state`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCEntityInteract.isCanceled();\n+```\n+\n+### setCanceled\n+\n+```zenscript\n+myMCEntityInteract.setCanceled(cancel as boolean);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------- | ----------------------- |\n+| cancel | boolean | No description provided |\n+\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations MCEntityInteract.md (German) [ci skip]
139,040
19.01.2020 23:09:17
-3,600
1972afabbc5e25cc6ec180a415d39c53639ec15b
New translations MCItemCraftedEvent.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/event/entity/player/PlayerEvent/MCItemCraftedEvent.md", "diff": "+# MCItemCraftedEvent\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.event.entity.player.PlayerEvent.MCItemCraftedEvent\n+```\n+\n+## Constructors\n+```zenscript\n+new crafttweaker.api.event.entity.player.PlayerEvent.MCItemCraftedEvent(handler as function.Consumer<crafttweaker.api.event.entity.player.PlayerEvent.MCItemCraftedEvent>);\n+```\n+| Parameter | Type | Beschreibung |\n+| --------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------- |\n+| handler | function.Consumer<[crafttweaker.api.event.entity.player.PlayerEvent.MCItemCraftedEvent](/vanilla/api/event/entity/player/PlayerEvent/MCItemCraftedEvent)> | No description provided |\n+\n+\n+\n+## Methoden\n+### getCrafting\n+\n+Returns [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack)\n+\n+```zenscript\n+myMCItemCraftedEvent.getCrafting();\n+```\n+\n+### getEntityPlayer\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCItemCraftedEvent.getEntityPlayer();\n+```\n+\n+### getPlayer\n+\n+Returns: `Player`\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCItemCraftedEvent.getPlayer();\n+```\n+\n+### hasResult\n+\n+Determines if this event expects a significant result value. Note: Events with the HasResult annotation will have this method automatically added to return true.\n+\n+Returns boolean\n+\n+```zenscript\n+myMCItemCraftedEvent.hasResult();\n+```\n+\n+### isCancelable\n+\n+Determine if this function is cancelable at all. Returns: `If access to setCanceled should be allowed\n+ Note:\n+ Events with the Cancelable annotation will have this method automatically added to return true.`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCItemCraftedEvent.isCancelable();\n+```\n+\n+### isCanceled\n+\n+Determine if this event is canceled and should stop executing. Returns: `The current canceled state`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCItemCraftedEvent.isCanceled();\n+```\n+\n+### setCanceled\n+\n+```zenscript\n+myMCItemCraftedEvent.setCanceled(cancel as boolean);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------- | ----------------------- |\n+| cancel | boolean | No description provided |\n+\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations MCItemCraftedEvent.md (German) [ci skip]
139,040
19.01.2020 23:09:19
-3,600
39808e0e93e7cd67337b3b16a27b5482cf0ec018
New translations MCPlayerRespawnEvent.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/event/entity/player/PlayerEvent/MCPlayerRespawnEvent.md", "diff": "+# MCPlayerRespawnEvent\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.event.entity.player.PlayerEvent.MCPlayerRespawnEvent\n+```\n+\n+## Constructors\n+```zenscript\n+new crafttweaker.api.event.entity.player.PlayerEvent.MCPlayerRespawnEvent(handler as function.Consumer<crafttweaker.api.event.entity.player.PlayerEvent.MCPlayerRespawnEvent>);\n+```\n+| Parameter | Type | Beschreibung |\n+| --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------- |\n+| handler | function.Consumer<[crafttweaker.api.event.entity.player.PlayerEvent.MCPlayerRespawnEvent](/vanilla/api/event/entity/player/PlayerEvent/MCPlayerRespawnEvent)> | No description provided |\n+\n+\n+\n+## Methoden\n+### getEntityPlayer\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCPlayerRespawnEvent.getEntityPlayer();\n+```\n+\n+### getPlayer\n+\n+Returns: `Player`\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCPlayerRespawnEvent.getPlayer();\n+```\n+\n+### hasResult\n+\n+Determines if this event expects a significant result value. Note: Events with the HasResult annotation will have this method automatically added to return true.\n+\n+Returns boolean\n+\n+```zenscript\n+myMCPlayerRespawnEvent.hasResult();\n+```\n+\n+### isCancelable\n+\n+Determine if this function is cancelable at all. Returns: `If access to setCanceled should be allowed\n+ Note:\n+ Events with the Cancelable annotation will have this method automatically added to return true.`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCPlayerRespawnEvent.isCancelable();\n+```\n+\n+### isCanceled\n+\n+Determine if this event is canceled and should stop executing. Returns: `The current canceled state`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCPlayerRespawnEvent.isCanceled();\n+```\n+\n+### isEndConquered\n+\n+Returns boolean\n+\n+```zenscript\n+myMCPlayerRespawnEvent.isEndConquered();\n+```\n+\n+### setCanceled\n+\n+```zenscript\n+myMCPlayerRespawnEvent.setCanceled(cancel as boolean);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------- | ----------------------- |\n+| cancel | boolean | No description provided |\n+\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations MCPlayerRespawnEvent.md (German) [ci skip]
139,040
19.01.2020 23:09:20
-3,600
572d948c8e6856a99c8cd6d068e77d19175a58e6
New translations MCPlayerLoggedOutEvent.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/event/entity/player/PlayerEvent/MCPlayerLoggedOutEvent.md", "diff": "+# MCPlayerLoggedOutEvent\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.event.entity.player.PlayerEvent.MCPlayerLoggedOutEvent\n+```\n+\n+## Constructors\n+```zenscript\n+new crafttweaker.api.event.entity.player.PlayerEvent.MCPlayerLoggedOutEvent(handler as function.Consumer<crafttweaker.api.event.entity.player.PlayerEvent.MCPlayerLoggedOutEvent>);\n+```\n+| Parameter | Type | Beschreibung |\n+| --------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------- |\n+| handler | function.Consumer<[crafttweaker.api.event.entity.player.PlayerEvent.MCPlayerLoggedOutEvent](/vanilla/api/event/entity/player/PlayerEvent/MCPlayerLoggedOutEvent)> | No description provided |\n+\n+\n+\n+## Methoden\n+### getEntityPlayer\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCPlayerLoggedOutEvent.getEntityPlayer();\n+```\n+\n+### getPlayer\n+\n+Returns: `Player`\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCPlayerLoggedOutEvent.getPlayer();\n+```\n+\n+### hasResult\n+\n+Determines if this event expects a significant result value. Note: Events with the HasResult annotation will have this method automatically added to return true.\n+\n+Returns boolean\n+\n+```zenscript\n+myMCPlayerLoggedOutEvent.hasResult();\n+```\n+\n+### isCancelable\n+\n+Determine if this function is cancelable at all. Returns: `If access to setCanceled should be allowed\n+ Note:\n+ Events with the Cancelable annotation will have this method automatically added to return true.`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCPlayerLoggedOutEvent.isCancelable();\n+```\n+\n+### isCanceled\n+\n+Determine if this event is canceled and should stop executing. Returns: `The current canceled state`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCPlayerLoggedOutEvent.isCanceled();\n+```\n+\n+### setCanceled\n+\n+```zenscript\n+myMCPlayerLoggedOutEvent.setCanceled(cancel as boolean);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------- | ----------------------- |\n+| cancel | boolean | No description provided |\n+\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations MCPlayerLoggedOutEvent.md (German) [ci skip]
139,040
19.01.2020 23:09:21
-3,600
ed3d44e755826a7cd4cb192a475ecbd204286791
New translations MCPlayerLoggedInEvent.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/event/entity/player/PlayerEvent/MCPlayerLoggedInEvent.md", "diff": "+# MCPlayerLoggedInEvent\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.event.entity.player.PlayerEvent.MCPlayerLoggedInEvent\n+```\n+\n+## Constructors\n+```zenscript\n+new crafttweaker.api.event.entity.player.PlayerEvent.MCPlayerLoggedInEvent(handler as function.Consumer<crafttweaker.api.event.entity.player.PlayerEvent.MCPlayerLoggedInEvent>);\n+```\n+| Parameter | Type | Beschreibung |\n+| --------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------- |\n+| handler | function.Consumer<[crafttweaker.api.event.entity.player.PlayerEvent.MCPlayerLoggedInEvent](/vanilla/api/event/entity/player/PlayerEvent/MCPlayerLoggedInEvent)> | No description provided |\n+\n+\n+\n+## Methoden\n+### getEntityPlayer\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCPlayerLoggedInEvent.getEntityPlayer();\n+```\n+\n+### getPlayer\n+\n+Returns: `Player`\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCPlayerLoggedInEvent.getPlayer();\n+```\n+\n+### hasResult\n+\n+Determines if this event expects a significant result value. Note: Events with the HasResult annotation will have this method automatically added to return true.\n+\n+Returns boolean\n+\n+```zenscript\n+myMCPlayerLoggedInEvent.hasResult();\n+```\n+\n+### isCancelable\n+\n+Determine if this function is cancelable at all. Returns: `If access to setCanceled should be allowed\n+ Note:\n+ Events with the Cancelable annotation will have this method automatically added to return true.`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCPlayerLoggedInEvent.isCancelable();\n+```\n+\n+### isCanceled\n+\n+Determine if this event is canceled and should stop executing. Returns: `The current canceled state`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCPlayerLoggedInEvent.isCanceled();\n+```\n+\n+### setCanceled\n+\n+```zenscript\n+myMCPlayerLoggedInEvent.setCanceled(cancel as boolean);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------- | ----------------------- |\n+| cancel | boolean | No description provided |\n+\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations MCPlayerLoggedInEvent.md (German) [ci skip]
139,040
19.01.2020 23:09:23
-3,600
1d73d9d6473daef8ef52f2dd56a49a6d61a4e8bb
New translations MCPlayerChangedDimensionEvent.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/event/entity/player/PlayerEvent/MCPlayerChangedDimensionEvent.md", "diff": "+# MCPlayerChangedDimensionEvent\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.event.entity.player.PlayerEvent.MCPlayerChangedDimensionEvent\n+```\n+\n+## Constructors\n+```zenscript\n+new crafttweaker.api.event.entity.player.PlayerEvent.MCPlayerChangedDimensionEvent(handler as function.Consumer<crafttweaker.api.event.entity.player.PlayerEvent.MCPlayerChangedDimensionEvent>);\n+```\n+| Parameter | Type | Beschreibung |\n+| --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------- |\n+| handler | function.Consumer<[crafttweaker.api.event.entity.player.PlayerEvent.MCPlayerChangedDimensionEvent](/vanilla/api/event/entity/player/PlayerEvent/MCPlayerChangedDimensionEvent)> | No description provided |\n+\n+\n+\n+## Methoden\n+### getEntityPlayer\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCPlayerChangedDimensionEvent.getEntityPlayer();\n+```\n+\n+### getPlayer\n+\n+Returns: `Player`\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCPlayerChangedDimensionEvent.getPlayer();\n+```\n+\n+### hasResult\n+\n+Determines if this event expects a significant result value. Note: Events with the HasResult annotation will have this method automatically added to return true.\n+\n+Returns boolean\n+\n+```zenscript\n+myMCPlayerChangedDimensionEvent.hasResult();\n+```\n+\n+### isCancelable\n+\n+Determine if this function is cancelable at all. Returns: `If access to setCanceled should be allowed\n+ Note:\n+ Events with the Cancelable annotation will have this method automatically added to return true.`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCPlayerChangedDimensionEvent.isCancelable();\n+```\n+\n+### isCanceled\n+\n+Determine if this event is canceled and should stop executing. Returns: `The current canceled state`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCPlayerChangedDimensionEvent.isCanceled();\n+```\n+\n+### setCanceled\n+\n+```zenscript\n+myMCPlayerChangedDimensionEvent.setCanceled(cancel as boolean);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------- | ----------------------- |\n+| cancel | boolean | No description provided |\n+\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations MCPlayerChangedDimensionEvent.md (German) [ci skip]
139,040
19.01.2020 23:09:24
-3,600
3fb8a3a88f4fbde0a0dc0b5782fefb6585d1f819
New translations MCItemSmeltedEvent.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/event/entity/player/PlayerEvent/MCItemSmeltedEvent.md", "diff": "+# MCItemSmeltedEvent\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.event.entity.player.PlayerEvent.MCItemSmeltedEvent\n+```\n+\n+## Constructors\n+```zenscript\n+new crafttweaker.api.event.entity.player.PlayerEvent.MCItemSmeltedEvent(handler as function.Consumer<crafttweaker.api.event.entity.player.PlayerEvent.MCItemSmeltedEvent>);\n+```\n+| Parameter | Type | Beschreibung |\n+| --------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------- |\n+| handler | function.Consumer<[crafttweaker.api.event.entity.player.PlayerEvent.MCItemSmeltedEvent](/vanilla/api/event/entity/player/PlayerEvent/MCItemSmeltedEvent)> | No description provided |\n+\n+\n+\n+## Methoden\n+### getEntityPlayer\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCItemSmeltedEvent.getEntityPlayer();\n+```\n+\n+### getPlayer\n+\n+Returns: `Player`\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCItemSmeltedEvent.getPlayer();\n+```\n+\n+### getSmelting\n+\n+Returns [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack)\n+\n+```zenscript\n+myMCItemSmeltedEvent.getSmelting();\n+```\n+\n+### hasResult\n+\n+Determines if this event expects a significant result value. Note: Events with the HasResult annotation will have this method automatically added to return true.\n+\n+Returns boolean\n+\n+```zenscript\n+myMCItemSmeltedEvent.hasResult();\n+```\n+\n+### isCancelable\n+\n+Determine if this function is cancelable at all. Returns: `If access to setCanceled should be allowed\n+ Note:\n+ Events with the Cancelable annotation will have this method automatically added to return true.`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCItemSmeltedEvent.isCancelable();\n+```\n+\n+### isCanceled\n+\n+Determine if this event is canceled and should stop executing. Returns: `The current canceled state`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCItemSmeltedEvent.isCanceled();\n+```\n+\n+### setCanceled\n+\n+```zenscript\n+myMCItemSmeltedEvent.setCanceled(cancel as boolean);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------- | ----------------------- |\n+| cancel | boolean | No description provided |\n+\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations MCItemSmeltedEvent.md (German) [ci skip]
139,040
19.01.2020 23:09:25
-3,600
2e7cb640dfb7f50d734e9ec0d0e99ff4a2111a1e
New translations MCItemPickupEvent.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/event/entity/player/PlayerEvent/MCItemPickupEvent.md", "diff": "+# MCItemPickupEvent\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.event.entity.player.PlayerEvent.MCItemPickupEvent\n+```\n+\n+## Constructors\n+```zenscript\n+new crafttweaker.api.event.entity.player.PlayerEvent.MCItemPickupEvent(handler as function.Consumer<crafttweaker.api.event.entity.player.PlayerEvent.MCItemPickupEvent>);\n+```\n+| Parameter | Type | Beschreibung |\n+| --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------- |\n+| handler | function.Consumer<[crafttweaker.api.event.entity.player.PlayerEvent.MCItemPickupEvent](/vanilla/api/event/entity/player/PlayerEvent/MCItemPickupEvent)> | No description provided |\n+\n+\n+\n+## Methoden\n+### getEntityPlayer\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCItemPickupEvent.getEntityPlayer();\n+```\n+\n+### getPlayer\n+\n+Returns: `Player`\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCItemPickupEvent.getPlayer();\n+```\n+\n+### getStack\n+\n+Returns [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack)\n+\n+```zenscript\n+myMCItemPickupEvent.getStack();\n+```\n+\n+### hasResult\n+\n+Determines if this event expects a significant result value. Note: Events with the HasResult annotation will have this method automatically added to return true.\n+\n+Returns boolean\n+\n+```zenscript\n+myMCItemPickupEvent.hasResult();\n+```\n+\n+### isCancelable\n+\n+Determine if this function is cancelable at all. Returns: `If access to setCanceled should be allowed\n+ Note:\n+ Events with the Cancelable annotation will have this method automatically added to return true.`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCItemPickupEvent.isCancelable();\n+```\n+\n+### isCanceled\n+\n+Determine if this event is canceled and should stop executing. Returns: `The current canceled state`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCItemPickupEvent.isCanceled();\n+```\n+\n+### setCanceled\n+\n+```zenscript\n+myMCItemPickupEvent.setCanceled(cancel as boolean);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------- | ----------------------- |\n+| cancel | boolean | No description provided |\n+\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations MCItemPickupEvent.md (German) [ci skip]
139,040
19.01.2020 23:09:27
-3,600
eeb970d72627d8840bed4f983200a3bc97b29b14
New translations MCOpen.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/event/entity/player/PlayerContainerEvent/MCOpen.md", "diff": "+# MCOpen\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.event.entity.player.PlayerContainerEvent.MCOpen\n+```\n+\n+## Constructors\n+```zenscript\n+new crafttweaker.api.event.entity.player.PlayerContainerEvent.MCOpen(handler as function.Consumer<crafttweaker.api.event.entity.player.PlayerContainerEvent.MCOpen>);\n+```\n+| Parameter | Type | Beschreibung |\n+| --------- | --------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------- |\n+| handler | function.Consumer<[crafttweaker.api.event.entity.player.PlayerContainerEvent.MCOpen](/vanilla/api/event/entity/player/PlayerContainerEvent/MCOpen)> | No description provided |\n+\n+\n+\n+## Methoden\n+### getEntityPlayer\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCOpen.getEntityPlayer();\n+```\n+\n+### getPlayer\n+\n+Returns: `Player`\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCOpen.getPlayer();\n+```\n+\n+### hasResult\n+\n+Determines if this event expects a significant result value. Note: Events with the HasResult annotation will have this method automatically added to return true.\n+\n+Returns boolean\n+\n+```zenscript\n+myMCOpen.hasResult();\n+```\n+\n+### isCancelable\n+\n+Determine if this function is cancelable at all. Returns: `If access to setCanceled should be allowed\n+ Note:\n+ Events with the Cancelable annotation will have this method automatically added to return true.`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCOpen.isCancelable();\n+```\n+\n+### isCanceled\n+\n+Determine if this event is canceled and should stop executing. Returns: `The current canceled state`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCOpen.isCanceled();\n+```\n+\n+### setCanceled\n+\n+```zenscript\n+myMCOpen.setCanceled(cancel as boolean);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------- | ----------------------- |\n+| cancel | boolean | No description provided |\n+\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations MCOpen.md (German) [ci skip]
139,040
19.01.2020 23:09:28
-3,600
3a74d40ff1691b831047daef86af4d6aae26f0f1
New translations LongData.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/data/LongData.md", "diff": "+# LongData\n+\n+\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.data.LongData\n+```\n+\n+## Implemented Interfaces\n+LongData implements the following interfaces. That means any method available to them can also be used on this class.\n+- [crafttweaker.api.data.INumberData](/vanilla/api/data/INumberData)\n+\n+## Constructors\n+```zenscript\n+new crafttweaker.api.data.LongData(internal as long);\n+```\n+| Parameter | Type | Beschreibung |\n+| --------- | ---- | ----------------------- |\n+| internal | long | No description provided |\n+\n+\n+\n+## Methoden\n+### asList\n+\n+Gets a List<IData> representation of this IData, returns null on anything but [crafttweaker.api.data.ListData](/vanilla/api/data/ListData).\n+\n+ Returns: `null if this IData is not a list.`\n+\n+Returns List<[crafttweaker.api.data.IData](/vanilla/api/data/IData)>\n+\n+```zenscript\n+800000000.asList();\n+```\n+\n+### asMap\n+\n+Gets a Map<String, IData> representation of this IData, returns null on anything but [crafttweaker.api.data.MapData](/vanilla/api/data/MapData).\n+\n+ Returns: `null if this IData is not a map.`\n+\n+Returns [crafttweaker.api.data.IData](/vanilla/api/data/IData)[String]\n+\n+```zenscript\n+800000000.asMap();\n+```\n+\n+### asString\n+\n+Gets the String representation of this IData\n+\n+ Returns: `String that represents this IData (value and type).`\n+\n+Returns String\n+\n+```zenscript\n+800000000.asString();\n+```\n+\n+### contains\n+\n+Checks if this IData contains another IData, mainly used in subclasses of [crafttweaker.api.data.ICollectionData](/vanilla/api/data/ICollectionData), is the same as an equals check on other IData types\n+\n+Returns boolean\n+\n+```zenscript\n+800000000.contains(data as crafttweaker.api.data.IData);\n+800000000.contains(\"Display\");\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------------------------------------------------------ | -------------------------------- |\n+| data | [crafttweaker.api.data.IData](/vanilla/api/data/IData) | data to check if it is contained |\n+\n+\n+### copy\n+\n+Makes a copy of this IData.\n+\n+ IData is immutable by default, use this to create a proper copy of the object.\n+\n+ Returns: `a copy of this IData.`\n+\n+Returns [crafttweaker.api.data.IData](/vanilla/api/data/IData)\n+\n+```zenscript\n+800000000.copy();\n+```\n+\n+### getId\n+\n+Gets the ID of the internal NBT tag.\n+\n+ Used to determine what NBT type is stored (in a list for example)\n+\n+ Returns: `ID of the NBT tag that this data represents.`\n+\n+Returns byte\n+\n+```zenscript\n+800000000.getId();\n+```\n+\n+### getString\n+\n+Gets the String representation of the internal INBT tag\n+\n+ Returns: `String that represents the internal INBT of this IData.`\n+\n+Returns String\n+\n+```zenscript\n+800000000.getString();\n+```\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations LongData.md (German) [ci skip]
139,040
19.01.2020 23:09:29
-3,600
700cec8a98f3b6afccd5048c2718dab5cde90bf3
New translations MCClose.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/event/entity/player/PlayerContainerEvent/MCClose.md", "diff": "+# MCClose\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.event.entity.player.PlayerContainerEvent.MCClose\n+```\n+\n+## Constructors\n+```zenscript\n+new crafttweaker.api.event.entity.player.PlayerContainerEvent.MCClose(handler as function.Consumer<crafttweaker.api.event.entity.player.PlayerContainerEvent.MCClose>);\n+```\n+| Parameter | Type | Beschreibung |\n+| --------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------- |\n+| handler | function.Consumer<[crafttweaker.api.event.entity.player.PlayerContainerEvent.MCClose](/vanilla/api/event/entity/player/PlayerContainerEvent/MCClose)> | No description provided |\n+\n+\n+\n+## Methoden\n+### getEntityPlayer\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCClose.getEntityPlayer();\n+```\n+\n+### getPlayer\n+\n+Returns: `Player`\n+\n+Returns [crafttweaker.api.entity.player.MCPlayerEntity](/vanilla/api/entity/player/MCPlayerEntity)\n+\n+```zenscript\n+myMCClose.getPlayer();\n+```\n+\n+### hasResult\n+\n+Determines if this event expects a significant result value. Note: Events with the HasResult annotation will have this method automatically added to return true.\n+\n+Returns boolean\n+\n+```zenscript\n+myMCClose.hasResult();\n+```\n+\n+### isCancelable\n+\n+Determine if this function is cancelable at all. Returns: `If access to setCanceled should be allowed\n+ Note:\n+ Events with the Cancelable annotation will have this method automatically added to return true.`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCClose.isCancelable();\n+```\n+\n+### isCanceled\n+\n+Determine if this event is canceled and should stop executing. Returns: `The current canceled state`\n+\n+Returns boolean\n+\n+```zenscript\n+myMCClose.isCanceled();\n+```\n+\n+### setCanceled\n+\n+```zenscript\n+myMCClose.setCanceled(cancel as boolean);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------- | ----------------------- |\n+| cancel | boolean | No description provided |\n+\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations MCClose.md (German) [ci skip]
139,040
19.01.2020 23:09:38
-3,600
9982344ab175f2236969e505427346b63591d802
New translations MCEntityType.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/entities/MCEntityType.md", "diff": "+# MCEntityType\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.entity.MCEntityType\n+```\n+\n+## Implemented Interfaces\n+MCEntityType implements the following interfaces. That means any method available to them can also be used on this class.\n+- [crafttweaker.api.brackets.CommandStringDisplayable](/vanilla/api/brackets/CommandStringDisplayable)\n+\n+## Properties\n+\n+| Name | Type | Has Getter | Has Setter |\n+| -------------- | ---------------------------------------------------------------------------------------------- | ---------- | ---------- |\n+| classification | [crafttweaker.api.entity.MCEntityClassification](/vanilla/api/entities/MCEntityClassification) | true | false |\n+| commandString | String | true | false |\n+| height | float | true | false |\n+| immuneToFire | boolean | true | false |\n+| lootTable | String | true | false |\n+| name | String | true | false |\n+| serializable | boolean | true | false |\n+| summonable | boolean | true | false |\n+| translationKey | String | true | false |\n+| width | float | true | false |\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations MCEntityType.md (German) [ci skip]
139,040
19.01.2020 23:09:39
-3,600
2e5142da6d7ac745a5758e67ab1fd6a217721708
New translations MCEntityClassification.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/entities/MCEntityClassification.md", "diff": "+# MCEntityClassification\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.entity.MCEntityClassification\n+```\n+\n+## Implemented Interfaces\n+MCEntityClassification implements the following interfaces. That means any method available to them can also be used on this class.\n+- [crafttweaker.api.brackets.CommandStringDisplayable](/vanilla/api/brackets/CommandStringDisplayable)\n+\n+## Properties\n+\n+| Name | Type | Has Getter | Has Setter |\n+| ----------------- | ------- | ---------- | ---------- |\n+| commandString | String | true | false |\n+| isAnimal | boolean | true | false |\n+| isPeaceful | boolean | true | false |\n+| maxNumberOfEntity | int | true | false |\n+| name | String | true | false |\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations MCEntityClassification.md (German) [ci skip]
139,040
19.01.2020 23:09:40
-3,600
333f8f8fa7ab9754845ce5a4f69bec6f5ae4a04b
New translations StringData.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/data/StringData.md", "diff": "+# StringData\n+\n+\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.data.StringData\n+```\n+\n+## Implemented Interfaces\n+StringData implements the following interfaces. That means any method available to them can also be used on this class.\n+- [crafttweaker.api.data.IData](/vanilla/api/data/IData)\n+\n+## Constructors\n+```zenscript\n+new crafttweaker.api.data.StringData(internal as String);\n+```\n+| Parameter | Type | Beschreibung |\n+| --------- | ------ | ----------------------- |\n+| internal | String | No description provided |\n+\n+\n+\n+## Methoden\n+### asList\n+\n+Gets a List<IData> representation of this IData, returns null on anything but [crafttweaker.api.data.ListData](/vanilla/api/data/ListData).\n+\n+ Returns: `null if this IData is not a list.`\n+\n+Returns List<[crafttweaker.api.data.IData](/vanilla/api/data/IData)>\n+\n+```zenscript\n+new StringData(\"Hello\").asList();\n+```\n+\n+### asMap\n+\n+Gets a Map<String, IData> representation of this IData, returns null on anything but [crafttweaker.api.data.MapData](/vanilla/api/data/MapData).\n+\n+ Returns: `null if this IData is not a map.`\n+\n+Returns [crafttweaker.api.data.IData](/vanilla/api/data/IData)[String]\n+\n+```zenscript\n+new StringData(\"Hello\").asMap();\n+```\n+\n+### asString\n+\n+Gets the String representation of this IData\n+\n+ Returns: `String that represents this IData (value and type).`\n+\n+Returns String\n+\n+```zenscript\n+new StringData(\"Hello\").asString();\n+```\n+\n+### contains\n+\n+Checks if this IData contains another IData, mainly used in subclasses of [crafttweaker.api.data.ICollectionData](/vanilla/api/data/ICollectionData), is the same as an equals check on other IData types\n+\n+Returns boolean\n+\n+```zenscript\n+new StringData(\"Hello\").contains(data as crafttweaker.api.data.IData);\n+new StringData(\"Hello\").contains(\"Display\");\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------------------------------------------------------ | -------------------------------- |\n+| data | [crafttweaker.api.data.IData](/vanilla/api/data/IData) | data to check if it is contained |\n+\n+\n+### copy\n+\n+Makes a copy of this IData.\n+\n+ IData is immutable by default, use this to create a proper copy of the object.\n+\n+ Returns: `a copy of this IData.`\n+\n+Returns [crafttweaker.api.data.IData](/vanilla/api/data/IData)\n+\n+```zenscript\n+new StringData(\"Hello\").copy();\n+```\n+\n+### getId\n+\n+Gets the ID of the internal NBT tag.\n+\n+ Used to determine what NBT type is stored (in a list for example)\n+\n+ Returns: `ID of the NBT tag that this data represents.`\n+\n+Returns byte\n+\n+```zenscript\n+new StringData(\"Hello\").getId();\n+```\n+\n+### getString\n+\n+Gets the String representation of the internal INBT tag\n+\n+ Returns: `String that represents the internal INBT of this IData.`\n+\n+Returns String\n+\n+```zenscript\n+new StringData(\"Hello\").getString();\n+```\n+\n+\n+## Operatoren\n+### ADD\n+\n+Concatenates the two string Datas and returns the result.\n+\n+```zenscript\n+new StringData(\"Hello\") + data as crafttweaker.api.data.StringData\n+new StringData(\"Hello\") + new StringData(\"World\")\n+```\n+\n+| Parameter | Type | Description |\n+| --------- | ---------------------------------------------------------------- | ------------------------ |\n+| data | [crafttweaker.api.data.StringData](/vanilla/api/data/StringData) | The other data to append |\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations StringData.md (German) [ci skip]
139,040
19.01.2020 23:09:42
-3,600
6641069332bfade1bb428c81d49412449c8f9bb1
New translations ShortData.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/data/ShortData.md", "diff": "+# ShortData\n+\n+\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.data.ShortData\n+```\n+\n+## Implemented Interfaces\n+ShortData implements the following interfaces. That means any method available to them can also be used on this class.\n+- [crafttweaker.api.data.INumberData](/vanilla/api/data/INumberData)\n+\n+## Constructors\n+```zenscript\n+new crafttweaker.api.data.ShortData(internal as short);\n+```\n+| Parameter | Type | Beschreibung |\n+| --------- | ----- | ----------------------- |\n+| internal | short | No description provided |\n+\n+\n+\n+## Methoden\n+### asList\n+\n+Gets a List<IData> representation of this IData, returns null on anything but [crafttweaker.api.data.ListData](/vanilla/api/data/ListData).\n+\n+ Returns: `null if this IData is not a list.`\n+\n+Returns List<[crafttweaker.api.data.IData](/vanilla/api/data/IData)>\n+\n+```zenscript\n+1058.asList();\n+```\n+\n+### asMap\n+\n+Gets a Map<String, IData> representation of this IData, returns null on anything but [crafttweaker.api.data.MapData](/vanilla/api/data/MapData).\n+\n+ Returns: `null if this IData is not a map.`\n+\n+Returns [crafttweaker.api.data.IData](/vanilla/api/data/IData)[String]\n+\n+```zenscript\n+1058.asMap();\n+```\n+\n+### asString\n+\n+Gets the String representation of this IData\n+\n+ Returns: `String that represents this IData (value and type).`\n+\n+Returns String\n+\n+```zenscript\n+1058.asString();\n+```\n+\n+### contains\n+\n+Checks if this IData contains another IData, mainly used in subclasses of [crafttweaker.api.data.ICollectionData](/vanilla/api/data/ICollectionData), is the same as an equals check on other IData types\n+\n+Returns boolean\n+\n+```zenscript\n+1058.contains(data as crafttweaker.api.data.IData);\n+1058.contains(\"Display\");\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------------------------------------------------------ | -------------------------------- |\n+| data | [crafttweaker.api.data.IData](/vanilla/api/data/IData) | data to check if it is contained |\n+\n+\n+### copy\n+\n+Makes a copy of this IData.\n+\n+ IData is immutable by default, use this to create a proper copy of the object.\n+\n+ Returns: `a copy of this IData.`\n+\n+Returns [crafttweaker.api.data.IData](/vanilla/api/data/IData)\n+\n+```zenscript\n+1058.copy();\n+```\n+\n+### getId\n+\n+Gets the ID of the internal NBT tag.\n+\n+ Used to determine what NBT type is stored (in a list for example)\n+\n+ Returns: `ID of the NBT tag that this data represents.`\n+\n+Returns byte\n+\n+```zenscript\n+1058.getId();\n+```\n+\n+### getString\n+\n+Gets the String representation of the internal INBT tag\n+\n+ Returns: `String that represents the internal INBT of this IData.`\n+\n+Returns String\n+\n+```zenscript\n+1058.getString();\n+```\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations ShortData.md (German) [ci skip]
139,040
19.01.2020 23:09:43
-3,600
2622969c2adc3d6765ce7bee68b1651348bf1e68
New translations MapData.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/data/MapData.md", "diff": "+# MapData\n+\n+\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.data.MapData\n+```\n+\n+## Implemented Interfaces\n+MapData implements the following interfaces. That means any method available to them can also be used on this class.\n+- [crafttweaker.api.data.IData](/vanilla/api/data/IData)\n+\n+## Constructors\n+```zenscript\n+new crafttweaker.api.data.MapData();\n+```\n+```zenscript\n+new crafttweaker.api.data.MapData(map as crafttweaker.api.data.IData[String]);\n+```\n+| Parameter | Type | Beschreibung |\n+| --------- | -------------------------------------------------------------- | ----------------------- |\n+| map | [crafttweaker.api.data.IData](/vanilla/api/data/IData)[String] | No description provided |\n+\n+\n+\n+## Methoden\n+### asList\n+\n+Gets a List<IData> representation of this IData, returns null on anything but [crafttweaker.api.data.ListData](/vanilla/api/data/ListData).\n+\n+ Returns: `null if this IData is not a list.`\n+\n+Returns List<[crafttweaker.api.data.IData](/vanilla/api/data/IData)>\n+\n+```zenscript\n+myMapData.asList();\n+```\n+\n+### asMap\n+\n+Gets a Map<String, IData> representation of this IData, returns null on anything but [crafttweaker.api.data.MapData](/vanilla/api/data/MapData).\n+\n+ Returns: `null if this IData is not a map.`\n+\n+Returns [crafttweaker.api.data.IData](/vanilla/api/data/IData)[String]\n+\n+```zenscript\n+myMapData.asMap();\n+```\n+\n+### asString\n+\n+Gets the String representation of this IData\n+\n+ Returns: `String that represents this IData (value and type).`\n+\n+Returns String\n+\n+```zenscript\n+myMapData.asString();\n+```\n+\n+### contains\n+\n+Checks if the Map contains the given key.\n+\n+Returns boolean\n+\n+```zenscript\n+myMapData.contains(key as String);\n+myMapData.contains(\"Hello\");\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------ | --------------------- |\n+| key | String | The key to search for |\n+\n+\n+### copy\n+\n+Makes a copy of this IData.\n+\n+ IData is immutable by default, use this to create a proper copy of the object.\n+\n+ Returns: `a copy of this IData.`\n+\n+Returns [crafttweaker.api.data.IData](/vanilla/api/data/IData)\n+\n+```zenscript\n+myMapData.copy();\n+```\n+\n+### get\n+\n+Retrieves the value associated with the key\n+\n+Returns [crafttweaker.api.data.IData](/vanilla/api/data/IData)\n+\n+```zenscript\n+myMapData.get(key as String);\n+myMapData.get(\"Hello\");\n+```\n+\n+| Parameter | Type | Description |\n+| --------- | ------ | --------------------- |\n+| key | String | The key to search for |\n+\n+\n+### getId\n+\n+Gets the ID of the internal NBT tag.\n+\n+ Used to determine what NBT type is stored (in a list for example)\n+\n+ Returns: `ID of the NBT tag that this data represents.`\n+\n+Returns byte\n+\n+```zenscript\n+myMapData.getId();\n+```\n+\n+### getString\n+\n+Gets the String representation of the internal INBT tag\n+\n+ Returns: `String that represents the internal INBT of this IData.`\n+\n+Returns String\n+\n+```zenscript\n+myMapData.getString();\n+```\n+\n+### merge\n+\n+Merges this map and the other map. If entries from this map and the other map share the values are tried to be merged. If that does not work, then the value from the other map is used.\n+\n+Returns [crafttweaker.api.data.MapData](/vanilla/api/data/MapData)\n+\n+```zenscript\n+myMapData.merge(other as crafttweaker.api.data.MapData);\n+myMapData.merge({Doodle: \"Do});\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ---------------------------------------------------------- | -------------- |\n+| other | [crafttweaker.api.data.MapData](/vanilla/api/data/MapData) | The other map. |\n+\n+\n+### put\n+\n+Adds sets the value for the given key or creates a new entry if it did not exist before.\n+\n+Returns [crafttweaker.api.data.IData](/vanilla/api/data/IData)\n+\n+```zenscript\n+myMapData.put(key as String, value as crafttweaker.api.data.IData);\n+myMapData.put(\"Hello\", \"Goodbye\");\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------------------------------------------------------ | ----------------------------- |\n+| key | String | The key to set the value for. |\n+| value | [crafttweaker.api.data.IData](/vanilla/api/data/IData) | The value to set. |\n+\n+\n+### putAll\n+\n+Adds all entries from the given map into this one. Can override existing keys.\n+\n+```zenscript\n+myMapData.putAll(map as crafttweaker.api.data.IData[String]);\n+myMapData.putAll({Hello: \"Goodbye\", Item: \"Bedrock\"});\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | -------------------------------------------------------------- | ----------------------------------------- |\n+| map | [crafttweaker.api.data.IData](/vanilla/api/data/IData)[String] | The other entries to be added to this map |\n+\n+\n+### remove\n+\n+Removes the entry with the given key from the Map\n+\n+```zenscript\n+myMapData.remove(key as String);\n+myMapData.remove(\"Somewhere\");\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------ | ------------------------------ |\n+| key | String | The key of the entry to remove |\n+\n+\n+\n+## Properties\n+\n+| Name | Type | Has Getter | Has Setter |\n+| ------- | ----------- | ---------- | ---------- |\n+| isEmpty | boolean | true | false |\n+| keySet | Set<String> | true | false |\n+| size | int | true | false |\n+\n+## Operators\n+### ADD\n+\n+Adds all entries from the given IData to this entry\n+\n+```zenscript\n+myMapData + data as crafttweaker.api.data.IData\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------------------------------------------------------ | ----------------------- |\n+| data | [crafttweaker.api.data.IData](/vanilla/api/data/IData) | No description provided |\n+\n+## Casters\n+\n+| Result type | Is Implicit |\n+| -------------------------------------------------------------- | ----------- |\n+| [crafttweaker.api.data.IData](/vanilla/api/data/IData)[String] | true |\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations MapData.md (German) [ci skip]
139,040
19.01.2020 23:16:53
-3,600
65cbb96c28b87d75d4b68b47d1fcd30b6d5791a3
New translations MCBiomeSpawnEntry.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/world/MCBiomeSpawnEntry.md", "diff": "+# MCBiomeSpawnEntry\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.world.MCBiomeSpawnEntry\n+```\n+\n+## Constructors\n+```zenscript\n+new crafttweaker.api.world.MCBiomeSpawnEntry(entityType as crafttweaker.api.entity.MCEntityType, weight as int, minGroupCount as int, maxGroupCount as int);\n+```\n+| Parameter | Type | Beschreibung |\n+| ------------- | -------------------------------------------------------------------------- | ----------------------- |\n+| entityType | [crafttweaker.api.entity.MCEntityType](/vanilla/api/entities/MCEntityType) | No description provided |\n+| weight | int | No description provided |\n+| minGroupCount | int | No description provided |\n+| maxGroupCount | int | No description provided |\n+\n+\n+\n+## Properties\n+\n+| Name | Type | Has Getter | Has Setter |\n+| ------------- | -------------------------------------------------------------------------- | ---------- | ---------- |\n+| entityType | [crafttweaker.api.entity.MCEntityType](/vanilla/api/entities/MCEntityType) | true | false |\n+| maxGroupCount | int | true | false |\n+| minGroupCount | int | true | false |\n+| weight | int | true | false |\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations MCBiomeSpawnEntry.md (German) [ci skip]
139,040
19.01.2020 23:16:55
-3,600
ee1c0c178f14874ea743aaf6f5fd57c530a9a26d
New translations MCBiome.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/world/MCBiome.md", "diff": "+# MCBiome\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.world.MCBiome\n+```\n+\n+## Methoden\n+### getSpawns\n+\n+Returns List<[crafttweaker.api.world.MCBiomeSpawnEntry](/vanilla/api/world/MCBiomeSpawnEntry)>\n+\n+```zenscript\n+myMCBiome.getSpawns(classification as crafttweaker.api.entity.MCEntityClassification);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| -------------- | ---------------------------------------------------------------------------------------------- | ----------------------- |\n+| classification | [crafttweaker.api.entity.MCEntityClassification](/vanilla/api/entities/MCEntityClassification) | No description provided |\n+\n+\n+### getTempCategory\n+\n+Returns String\n+\n+```zenscript\n+myMCBiome.getTempCategory();\n+```\n+\n+### getTemperature\n+\n+Returns float\n+\n+```zenscript\n+myMCBiome.getTemperature(pos as crafttweaker.api.util.BlockPos);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------------------------------------------------------------ | ----------------------- |\n+| pos | [crafttweaker.api.util.BlockPos](/vanilla/api/util/BlockPos) | No description provided |\n+\n+\n+\n+## Properties\n+\n+| Name | Type | Has Getter | Has Setter |\n+| ------------------ | ------- | ---------- | ---------- |\n+| category | String | true | false |\n+| defaultTemperature | float | true | false |\n+| depth | float | true | false |\n+| doesRain | boolean | true | false |\n+| doesSnow | boolean | true | false |\n+| downfall | float | true | false |\n+| isHighHumidity | boolean | true | false |\n+| isMutation | boolean | true | false |\n+| isTempCold | boolean | true | false |\n+| isTempMedium | boolean | true | false |\n+| isTempOcean | boolean | true | false |\n+| isTempWarm | boolean | true | false |\n+| parent | String | true | false |\n+| rainType | String | true | false |\n+| scale | float | true | false |\n+| spawningChange | float | true | false |\n+| translationKey | String | true | false |\n+| waterColor | int | true | false |\n+| waterFogColor | int | true | false |\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations MCBiome.md (German) [ci skip]
139,040
19.01.2020 23:16:59
-3,600
36f3f15227e0bbeff821849280e80de963ccc38d
New translations Direction.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/util/Direction.md", "diff": "+# Direction\n+\n+Represents a cardinal direction (north, south, east, west) and (up and down).\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.util.Direction\n+```\n+\n+## Methoden\n+### rotateAround\n+\n+Rotates this direction around a given Axis\n+\n+Returns [crafttweaker.api.util.Direction](/vanilla/api/util/Direction)\n+\n+```zenscript\n+<direction:north>.rotateAround(axis as crafttweaker.api.util.DirectionAxis);\n+<direction:north>.rotateAround(<directionaxis:north>);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ---------------------------------------------------------------------- | ------------------------- |\n+| axis | [crafttweaker.api.util.DirectionAxis](/vanilla/api/util/DirectionAxis) | the Axis to rotate around |\n+\n+\n+### rotateY\n+\n+Rotates this direction on the Y axis\n+\n+ Returns: `the direction that rotated on the Y axis of this direction`\n+\n+Returns [crafttweaker.api.util.Direction](/vanilla/api/util/Direction)\n+\n+```zenscript\n+<direction:north>.rotateY();\n+```\n+\n+### rotateYCCW\n+\n+Rotates this direction counter-clock wise on the Y axis\n+\n+ Returns: `the direction that is counter clockwise on the Y axis`\n+\n+Returns [crafttweaker.api.util.Direction](/vanilla/api/util/Direction)\n+\n+```zenscript\n+<direction:north>.rotateYCCW();\n+```\n+\n+\n+## Properties\n+\n+| Name | Type | Has Getter | Has Setter |\n+| --------------- | ---------------------------------------------------------------------- | ---------- | ---------- |\n+| axis | [crafttweaker.api.util.DirectionAxis](/vanilla/api/util/DirectionAxis) | true | false |\n+| axisOffset | int | true | false |\n+| horizontalAngle | float | true | false |\n+| horizontalIndex | int | true | false |\n+| index | int | true | false |\n+| name | String | true | false |\n+| opposite | [crafttweaker.api.util.Direction](/vanilla/api/util/Direction) | true | false |\n+| xOffset | int | true | false |\n+| yOffset | int | true | false |\n+| zOffset | int | true | false |\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations Direction.md (German) [ci skip]
139,040
19.01.2020 23:17:30
-3,600
d807cb3da3fc43a4fc6356b3097f8d3388f61be3
New translations DirectionAxis.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/util/DirectionAxis.md", "diff": "+# DirectionAxis\n+\n+Represents a direction axis (X, Y, Z)\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.util.DirectionAxis\n+```\n+\n+## Implemented Interfaces\n+DirectionAxis implements the following interfaces. That means any method available to them can also be used on this class.\n+- [crafttweaker.api.brackets.CommandStringDisplayable](/vanilla/api/brackets/CommandStringDisplayable)\n+\n+## Methoden\n+### getCoordinate\n+\n+Gets the coordinate of this axis based on the given values, if this axis is \"X\", then it will return the value of the \"x\" parameter\n+\n+Returns int\n+\n+```zenscript\n+<directionaxis:x>.getCoordinate(x as int, y as int, z as int);\n+<directionaxis:x>.getCoordinate(1, 2, 3);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ---- | ------------------------- |\n+| x | int | x value of the coordinate |\n+| y | int | y value of the coordinate |\n+| z | int | z value of the coordinate |\n+\n+\n+\n+## Properties\n+\n+| Name | Type | Has Getter | Has Setter |\n+| ------------- | ------- | ---------- | ---------- |\n+| commandString | String | true | false |\n+| horizontal | boolean | true | false |\n+| name | String | true | false |\n+| ordinal | int | true | false |\n+| vertical | boolean | true | false |\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations DirectionAxis.md (German) [ci skip]
139,040
19.01.2020 23:17:31
-3,600
dde830f90d52cb39d445e1edf1077bab8a00092a
New translations BlockPos.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/util/BlockPos.md", "diff": "+# BlockPos\n+\n+Represents a position of a block in the world\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.util.BlockPos\n+```\n+\n+## Constructors\n+```zenscript\n+new crafttweaker.api.util.BlockPos(x as int, y as int, z as int);\n+```\n+| Parameter | Type | Beschreibung |\n+| --------- | ---- | ----------------------- |\n+| x | int | No description provided |\n+| y | int | No description provided |\n+| z | int | No description provided |\n+\n+\n+\n+## Methoden\n+### add\n+\n+Adds two positions together and returns the result.\n+\n+Returns [crafttweaker.api.util.BlockPos](/vanilla/api/util/BlockPos)\n+\n+```zenscript\n+new BlockPos(0, 1, 2).add(pos as crafttweaker.api.util.BlockPos);\n+new BlockPos(0, 1, 2).add(new BlockPos(3, 2, 1));\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------------------------------------------------------------ | --------------------- |\n+| pos | [crafttweaker.api.util.BlockPos](/vanilla/api/util/BlockPos) | other position to add |\n+\n+\n+\n+Adds the given values to this position, and returns a new position with the new values.\n+\n+Returns [crafttweaker.api.util.BlockPos](/vanilla/api/util/BlockPos)\n+\n+```zenscript\n+new BlockPos(0, 1, 2).add(x as double, y as double, z as double);\n+new BlockPos(0, 1, 2).add(50.21, -20.8, -25.2);\n+```\n+\n+| Parameter | Type | Description |\n+| --------- | ------ | -------------- |\n+| x | double | x value to add |\n+| y | double | y value to add |\n+| z | double | z value to add |\n+\n+\n+### crossProduct\n+\n+Creates a new BlockPos based on the cross product of this position, and the given position\n+\n+Returns [crafttweaker.api.util.BlockPos](/vanilla/api/util/BlockPos)\n+\n+```zenscript\n+new BlockPos(0, 1, 2).crossProduct(pos as crafttweaker.api.util.BlockPos);\n+new BlockPos(0, 1, 2).crossProduct(new BlockPos(5, 8, 2););\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------------------------------------------------------------ | ------------------------- |\n+| pos | [crafttweaker.api.util.BlockPos](/vanilla/api/util/BlockPos) | BlockPos to cross product |\n+\n+\n+### distanceSq\n+\n+Gets the squared distance of this position to the specified BlockPos, using the center of the BlockPos\n+\n+Returns double\n+\n+```zenscript\n+new BlockPos(0, 1, 2).distanceSq(to as crafttweaker.api.util.BlockPos);\n+new BlockPos(0, 1, 2).distanceSq(new BlockPos(256, 128, 10););\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------------------------------------------------------------ | ------------------------- |\n+| to | [crafttweaker.api.util.BlockPos](/vanilla/api/util/BlockPos) | BlockPos to check against |\n+\n+\n+\n+Gets the squared distance of this position to the specified BlockPos\n+\n+Returns double\n+\n+```zenscript\n+new BlockPos(0, 1, 2).distanceSq(to as crafttweaker.api.util.BlockPos, useCenter as boolean);\n+new BlockPos(0, 1, 2).distanceSq(new BlockPos(256, 128, 10);, true);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------------------------------------------------------------ | --------------------------------------------------------------------- |\n+| to | [crafttweaker.api.util.BlockPos](/vanilla/api/util/BlockPos) | BlockPos to check against |\n+| useCenter | boolean | should the center of the coordinate be used? (adds 0.5 to each value) |\n+\n+\n+\n+Gets the squared distance of this position to the specified coordinates\n+\n+Returns double\n+\n+```zenscript\n+new BlockPos(0, 1, 2).distanceSq(x as double, y as double, z as double, useCenter as boolean);\n+new BlockPos(0, 1, 2).distanceSq(500.25, 250.75, 100.20, false);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------- | --------------------------------------------------------------------- |\n+| x | double | x position to check against |\n+| y | double | y position to check against |\n+| z | double | z position to check against |\n+| useCenter | boolean | should the center of the coordinate be used? (adds 0.5 to each value) |\n+\n+\n+### down\n+\n+Creates a new BlockPos based on this BlockPos that is one block lower than this BlockPos\n+\n+ Returns: `a new BlockPos that is one block lower than this BlockPos`\n+\n+Returns net.minecraft.util.math.BlockPos\n+\n+```zenscript\n+new BlockPos(0, 1, 2).down();\n+```\n+\n+### east\n+\n+Creates a new BlockPos based on this BlockPos that is one block east of this BlockPos\n+\n+ Returns: `a new BlockPos that is one block east of this BlockPos`\n+\n+Returns net.minecraft.util.math.BlockPos\n+\n+```zenscript\n+new BlockPos(0, 1, 2).east();\n+```\n+\n+\n+Creates a new BlockPos based on this BlockPos that is n block(s) east of this BlockPos\n+\n+ Returns: `a new BlockPos that is n block(s) east of this BlockPos`\n+\n+Returns net.minecraft.util.math.BlockPos\n+\n+```zenscript\n+new BlockPos(0, 1, 2).east(n as int);\n+new BlockPos(0, 1, 2).east(2);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ---- | ----------------------- |\n+| n | int | No description provided |\n+\n+\n+### manhattanDistance\n+\n+Gets the Manhattan Distance of this pos compared to a different position\n+\n+Returns int\n+\n+```zenscript\n+new BlockPos(0, 1, 2).manhattanDistance(other as crafttweaker.api.util.BlockPos);\n+new BlockPos(0, 1, 2).manhattanDistance(new BlockPos(4, 5, 6));\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------------------------------------------------------------ | ------------------------------------- |\n+| other | [crafttweaker.api.util.BlockPos](/vanilla/api/util/BlockPos) | other position to get the distance to |\n+\n+\n+### north\n+\n+Creates a new BlockPos based on this BlockPos that is one block north of this BlockPos\n+\n+ Returns: `a new BlockPos that is one block north of this BlockPos`\n+\n+Returns net.minecraft.util.math.BlockPos\n+\n+```zenscript\n+new BlockPos(0, 1, 2).north();\n+```\n+\n+\n+Creates a new BlockPos based on this BlockPos that is n block(s) north of this BlockPos\n+\n+ Returns: `a new BlockPos that is n block(s) north of this BlockPos`\n+\n+Returns net.minecraft.util.math.BlockPos\n+\n+```zenscript\n+new BlockPos(0, 1, 2).north(n as int);\n+new BlockPos(0, 1, 2).north(10);\n+```\n+\n+| Parameter | Type | Description |\n+| --------- | ---- | ----------------------- |\n+| n | int | No description provided |\n+\n+\n+### offset\n+\n+Creates a new BlockPos based on this BlockPos that is one block offset of this BlockPos based on the given [crafttweaker.api.util.Direction](/vanilla/api/util/Direction)\n+\n+ Returns: `a new BlockPos that is 1 block offset of this BlockPos`\n+\n+Returns [crafttweaker.api.util.BlockPos](/vanilla/api/util/BlockPos)\n+\n+```zenscript\n+new BlockPos(0, 1, 2).offset(direction as crafttweaker.api.util.Direction);\n+new BlockPos(0, 1, 2).offset(<direction:east>);\n+```\n+\n+| Parameter | Type | Description |\n+| --------- | -------------------------------------------------------------- | ----------------------- |\n+| direction | [crafttweaker.api.util.Direction](/vanilla/api/util/Direction) | No description provided |\n+\n+\n+\n+Creates a new BlockPos based on this BlockPos that is n block(s) offset of this BlockPos based on the given [crafttweaker.api.util.Direction](/vanilla/api/util/Direction)\n+\n+ Returns: `a new BlockPos that is n block(s) offset of this BlockPos`\n+\n+Returns [crafttweaker.api.util.BlockPos](/vanilla/api/util/BlockPos)\n+\n+```zenscript\n+new BlockPos(0, 1, 2).offset(direction as crafttweaker.api.util.Direction, n as int);\n+new BlockPos(0, 1, 2).offset(<direction:south>, 3);\n+```\n+\n+| Parameter | Type | Description |\n+| --------- | -------------------------------------------------------------- | ----------------------- |\n+| direction | [crafttweaker.api.util.Direction](/vanilla/api/util/Direction) | No description provided |\n+| n | int | No description provided |\n+\n+\n+### south\n+\n+Creates a new BlockPos based on this BlockPos that is one block south of this BlockPos\n+\n+ Returns: `a new BlockPos that is one block south of this BlockPos`\n+\n+Returns net.minecraft.util.math.BlockPos\n+\n+```zenscript\n+new BlockPos(0, 1, 2).south();\n+```\n+\n+\n+Creates a new BlockPos based on this BlockPos that is n block(s) south of this BlockPos\n+\n+ Returns: `a new BlockPos that is n block(s) south of this BlockPos`\n+\n+Returns net.minecraft.util.math.BlockPos\n+\n+```zenscript\n+new BlockPos(0, 1, 2).south(n as int);\n+new BlockPos(0, 1, 2).south(12);\n+```\n+\n+| Parameter | Type | Description |\n+| --------- | ---- | ----------------------- |\n+| n | int | No description provided |\n+\n+\n+### subtract\n+\n+Subtracts two positions together and returns the result.\n+\n+Returns [crafttweaker.api.util.BlockPos](/vanilla/api/util/BlockPos)\n+\n+```zenscript\n+new BlockPos(0, 1, 2).subtract(pos as crafttweaker.api.util.BlockPos);\n+new BlockPos(0, 1, 2).subtract(new BlockPos(2, 1, 3));\n+```\n+\n+| Parameter | Type | Description |\n+| --------- | ------------------------------------------------------------ | ------------------------ |\n+| pos | [crafttweaker.api.util.BlockPos](/vanilla/api/util/BlockPos) | other position to remove |\n+\n+\n+### up\n+\n+Creates a new BlockPos based on this BlockPos that is one block higher than this BlockPos\n+\n+ Returns: `a new BlockPos that is one block higher than this BlockPos`\n+\n+Returns net.minecraft.util.math.BlockPos\n+\n+```zenscript\n+new BlockPos(0, 1, 2).up();\n+```\n+\n+\n+Creates a new BlockPos based on this BlockPos that is n block(s) higher than this BlockPos\n+\n+ Returns: `a new BlockPos that is n block(s) higher than this BlockPos`\n+\n+Returns net.minecraft.util.math.BlockPos\n+\n+```zenscript\n+new BlockPos(0, 1, 2).up(n as int);\n+new BlockPos(0, 1, 2).up(45);\n+```\n+\n+| Parameter | Type | Description |\n+| --------- | ---- | ----------------------- |\n+| n | int | No description provided |\n+\n+\n+### west\n+\n+Creates a new BlockPos based on this BlockPos that is one block west of this BlockPos\n+\n+ Returns: `a new BlockPos that is one block west of this BlockPos`\n+\n+Returns net.minecraft.util.math.BlockPos\n+\n+```zenscript\n+new BlockPos(0, 1, 2).west();\n+```\n+\n+\n+Creates a new BlockPos based on this BlockPos that is n block(s) west of this BlockPos\n+\n+ Returns: `a new BlockPos that is n block(s) west of this BlockPos`\n+\n+Returns net.minecraft.util.math.BlockPos\n+\n+```zenscript\n+new BlockPos(0, 1, 2).west(n as int);\n+new BlockPos(0, 1, 2).west(120);\n+```\n+\n+| Parameter | Type | Description |\n+| --------- | ---- | ----------------------- |\n+| n | int | No description provided |\n+\n+\n+### withinDistance\n+\n+Checks if the given BlockPos is within the specified distance of this BlockPos (this uses the middle of the BlockPos)\n+\n+Returns boolean\n+\n+```zenscript\n+new BlockPos(0, 1, 2).withinDistance(pos as crafttweaker.api.util.BlockPos, distance as double);\n+new BlockPos(0, 1, 2).withinDistance(new BlockPos(80, 75, 54);, 10);\n+```\n+\n+| Parameter | Type | Description |\n+| --------- | ------------------------------------------------------------ | ---------------------------------------------- |\n+| pos | [crafttweaker.api.util.BlockPos](/vanilla/api/util/BlockPos) | BlockPos to check if it is within the distance |\n+| distance | double | distance to check within |\n+\n+\n+\n+## Properties\n+\n+| Name | Type | Has Getter | Has Setter |\n+| ---- | ---- | ---------- | ---------- |\n+| x | int | true | false |\n+| y | int | true | false |\n+| z | int | true | false |\n+\n+## Operatoren\n+### ADD\n+\n+Adds two positions together and returns the result.\n+\n+```zenscript\n+new BlockPos(0, 1, 2) + pos as crafttweaker.api.util.BlockPos\n+new BlockPos(0, 1, 2) + new BlockPos(3, 2, 1)\n+```\n+\n+| Parameter | Type | Description |\n+| --------- | ------------------------------------------------------------ | --------------------- |\n+| pos | [crafttweaker.api.util.BlockPos](/vanilla/api/util/BlockPos) | other position to add |\n+### SUB\n+\n+Subtracts two positions together and returns the result.\n+\n+```zenscript\n+new BlockPos(0, 1, 2) - pos as crafttweaker.api.util.BlockPos\n+new BlockPos(0, 1, 2) - new BlockPos(2, 1, 3)\n+```\n+\n+| Parameter | Type | Description |\n+| --------- | ------------------------------------------------------------ | ------------------------ |\n+| pos | [crafttweaker.api.util.BlockPos](/vanilla/api/util/BlockPos) | other position to remove |\n+\n+## Casters\n+\n+| Result type | Is Implicit |\n+| ----------- | ----------- |\n+| long | false |\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations BlockPos.md (German) [ci skip]
139,040
19.01.2020 23:17:43
-3,600
1a2e4d2d864eab6dae465b02e1747cee53b6f458
New translations MCTag.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/tags/MCTag.md", "diff": "+# MCTag\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.tag.MCTag\n+```\n+\n+## Implemented Interfaces\n+MCTag implements the following interfaces. That means any method available to them can also be used on this class.\n+- [crafttweaker.api.item.IIngredient](/vanilla/api/items/IIngredient)\n+\n+## Methoden\n+### addBlocks\n+\n+```zenscript\n+myMCTag.addBlocks(blocks as crafttweaker.api.block.MCBlock[]);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | --------------------------------------------------------------- | ----------------------- |\n+| blocks | [crafttweaker.api.block.MCBlock](/vanilla/api/blocks/MCBlock)[] | No description provided |\n+\n+\n+### addEntityTypes\n+\n+```zenscript\n+myMCTag.addEntityTypes(entities as crafttweaker.api.entity.MCEntityType[]);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ---------------------------------------------------------------------------- | ----------------------- |\n+| entities | [crafttweaker.api.entity.MCEntityType](/vanilla/api/entities/MCEntityType)[] | No description provided |\n+\n+\n+### addItems\n+\n+```zenscript\n+myMCTag.addItems(items as crafttweaker.api.item.IItemStack[]);\n+```\n+\n+| Parameter | Type | Description |\n+| --------- | ------------------------------------------------------------------- | ----------------------- |\n+| items | [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack)[] | No description provided |\n+\n+\n+### createBlockTag\n+\n+Returns [crafttweaker.api.tag.MCTag](/vanilla/api/tags/MCTag)\n+\n+```zenscript\n+myMCTag.createBlockTag();\n+```\n+\n+### createEntityTypeTag\n+\n+Returns [crafttweaker.api.tag.MCTag](/vanilla/api/tags/MCTag)\n+\n+```zenscript\n+myMCTag.createEntityTypeTag();\n+```\n+\n+### createItemTag\n+\n+Returns [crafttweaker.api.tag.MCTag](/vanilla/api/tags/MCTag)\n+\n+```zenscript\n+myMCTag.createItemTag();\n+```\n+\n+### getRemainingItem\n+\n+When this ingredient stack is crafted, what will remain in the grid? Does not check if the stack matches though! Used e.g. in CrT's net.minecraft.item.crafting.ICraftingRecipe\n+\n+Returns [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack)\n+\n+```zenscript\n+myMCTag.getRemainingItem(stack as crafttweaker.api.item.IItemStack);\n+myMCTag.getRemainingItem(<item:minecraft:iron_ingot>);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ----------------------------------------------------------------- | ----------------------------------------- |\n+| stack | [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack) | The stack to provide for this ingredient. |\n+\n+\n+### matches\n+\n+Does the given stack match the ingredient?\n+\n+Returns boolean\n+\n+```zenscript\n+myMCTag.matches(stack as crafttweaker.api.item.IItemStack);\n+myMCTag.matches(<item:minecraft:iron_ingot>);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ----------------------------------------------------------------- | ------------------ |\n+| stack | [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack) | The stack to check |\n+\n+\n+### removeBlocks\n+\n+```zenscript\n+myMCTag.removeBlocks(blocks as crafttweaker.api.block.MCBlock[]);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | --------------------------------------------------------------- | ----------------------- |\n+| blocks | [crafttweaker.api.block.MCBlock](/vanilla/api/blocks/MCBlock)[] | No description provided |\n+\n+\n+### removeEntityTypes\n+\n+```zenscript\n+myMCTag.removeEntityTypes(entities as crafttweaker.api.entity.MCEntityType[]);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ---------------------------------------------------------------------------- | ----------------------- |\n+| entities | [crafttweaker.api.entity.MCEntityType](/vanilla/api/entities/MCEntityType)[] | No description provided |\n+\n+\n+### removeItems\n+\n+```zenscript\n+myMCTag.removeItems(items as crafttweaker.api.item.IItemStack[]);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------------------------------------------------------------------- | ----------------------- |\n+| items | [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack)[] | No description provided |\n+\n+\n+\n+## Properties\n+\n+| Name | Type | Has Getter | Has Setter |\n+| ------------- | ---------------------------------------------------------------------------- | ---------- | ---------- |\n+| blocks | [crafttweaker.api.block.MCBlock](/vanilla/api/blocks/MCBlock)[] | true | false |\n+| commandString | String | true | false |\n+| entityTypes | [crafttweaker.api.entity.MCEntityType](/vanilla/api/entities/MCEntityType)[] | true | false |\n+| items | [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack)[] | true | false |\n+\n+## Casters\n+\n+| Result type | Is Implicit |\n+| ---------------------------------------------------------- | ----------- |\n+| [crafttweaker.api.data.IData](/vanilla/api/data/IData) | true |\n+| [crafttweaker.api.data.MapData](/vanilla/api/data/MapData) | true |\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations MCTag.md (German) [ci skip]
139,040
19.01.2020 23:17:44
-3,600
6c61b063aeccea6bedbeb7e7db467c990d988c7a
New translations CraftingTableManager.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/managers/CraftingTableManager.md", "diff": "+# CraftingTableManager\n+\n+\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.CraftingTableManager\n+```\n+\n+## Implemented Interfaces\n+CraftingTableManager implements the following interfaces. That means any method available to them can also be used on this class.\n+- [crafttweaker.api.registries.IRecipeManager](/vanilla/api/managers/IRecipeManager)\n+\n+## Methoden\n+### addJSONRecipe\n+\n+Adds a recipe based on a provided IData. The provided IData should represent a DataPack JSON, this effectively allows you to register recipes for any DataPack supporting IRecipeType systems.\n+\n+```zenscript\n+craftingTable.addJSONRecipe(name as String, data as crafttweaker.api.data.IData);\n+craftingTable.addJSONRecipe(\"recipe_name\", {ingredient:{item:<item:minecraft:gold_ore>.registryName},result:<item:minecraft:cooked_porkchop>.registryName,experience:0.35 as float, cookingtime:100});\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------------------------------------------------------ | ------------------------------- |\n+| name | String | name of the recipe |\n+| data | [crafttweaker.api.data.IData](/vanilla/api/data/IData) | data representing the json file |\n+\n+\n+### addShaped\n+\n+Adds a shaped recipe to the crafting table\n+\n+```zenscript\n+craftingTable.addShaped(recipeName as String, output as crafttweaker.api.item.IItemStack, ingredients as crafttweaker.api.item.IIngredient[][], recipeFunction as com.blamejared.crafttweaker.api.managers.IRecipeManager.RecipeFunctionMatrix);\n+craftingTable.addShaped(\"recipe_name\", <item:minecraft:dirt>, [[<item:minecraft:diamond>], [<tag:minecraft:wool>]]);\n+craftingTable.addShaped(\"recipe_name\", <item:minecraft:dirt>, [[<item:minecraft:diamond>], [<tag:minecraft:wool>]], (usualOut as IItemStack, inputs as IItemStack[][]) => {if(inputs[0][0].displayName == \"totally real diamond block\" ){return usualOut;}return <item:minecraft:clay>.setDisplayName(\"Diamond\");});\n+```\n+\n+| Parameter | Type | Beschreibung | IsOptional | Default Value |\n+| -------------- | ---------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ | ---------- | ------------- |\n+| recipeName | String | name of the recipe to add. | false | null |\n+| output | [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack) | output IItemStack | false | null |\n+| ingredients | [crafttweaker.api.item.IIngredient](/vanilla/api/items/IIngredient)[][] | array of an array of IIngredient for inputs | false | null |\n+| recipeFunction | com.blamejared.crafttweaker.api.managers.IRecipeManager.RecipeFunctionMatrix | optional com.blamejared.crafttweaker.api.managers.IRecipeManager.RecipeFunctionMatrix for more advanced conditions | true | null |\n+\n+\n+### addShapedMirrored\n+\n+Adds a mirrored shaped recipe to the crafting table\n+\n+```zenscript\n+craftingTable.addShapedMirrored(recipeName as String, output as crafttweaker.api.item.IItemStack, ingredients as crafttweaker.api.item.IIngredient[][], recipeFunction as com.blamejared.crafttweaker.api.managers.IRecipeManager.RecipeFunctionMatrix);\n+craftingTable.addShapedMirrored(\"recipe_name\", <item:minecraft:dirt>, [[<item:minecraft:diamond>], [<tag:minecraft:wool>]]);\n+craftingTable.addShapedMirrored(\"recipe_name\", <item:minecraft:dirt>, [[<item:minecraft:diamond>], [<tag:minecraft:wool>]], (usualOut as IItemStack, inputs as IItemStack[][]) => {if(inputs[0][0].displayName == \"totally real diamond block\" ){return usualOut;}return <item:minecraft:clay>.setDisplayName(\"Diamond\");});\n+```\n+\n+| Parameter | Type | Description | IsOptional | Default Value |\n+| -------------- | ---------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ | ---------- | ------------- |\n+| recipeName | String | name of the recipe to add. | false | null |\n+| output | [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack) | output IItemStack | false | null |\n+| ingredients | [crafttweaker.api.item.IIngredient](/vanilla/api/items/IIngredient)[][] | array of an array of IIngredient for inputs | false | null |\n+| recipeFunction | com.blamejared.crafttweaker.api.managers.IRecipeManager.RecipeFunctionMatrix | optional com.blamejared.crafttweaker.api.managers.IRecipeManager.RecipeFunctionMatrix for more advanced conditions | true | null |\n+\n+\n+### addShapeless\n+\n+Adds a shapeless recipe to the crafting table\n+\n+```zenscript\n+craftingTable.addShapeless(recipeName as String, output as crafttweaker.api.item.IItemStack, ingredients as crafttweaker.api.item.IIngredient[], recipeFunction as com.blamejared.crafttweaker.api.managers.IRecipeManager.RecipeFunctionArray);\n+craftingTable.addShapeless(\"recipe_name\", <item:minecraft:dirt>, [<item:minecraft:diamond>, <tag:minecraft:wool>]);\n+craftingTable.addShapeless(\"recipe_name\", <item:minecraft:dirt>, [<item:minecraft:diamond>, <tag:minecraft:wool>], (usualOut as IItemStack, inputs as IItemStack[]) => {if(inputs[0].displayName == \"totally real diamond block\" ){return usualOut;}return <item:minecraft:clay>.setDisplayName(\"Diamond\");});\n+```\n+\n+| Parameter | Type | Beschreibung | IsOptional | Default Value |\n+| -------------- | --------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ---------- | ------------- |\n+| recipeName | String | name of the recipe to add. | false | null |\n+| output | [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack) | output IItemStack | false | null |\n+| ingredients | [crafttweaker.api.item.IIngredient](/vanilla/api/items/IIngredient)[] | array of IIngredient for inputs | false | null |\n+| recipeFunction | com.blamejared.crafttweaker.api.managers.IRecipeManager.RecipeFunctionArray | optional com.blamejared.crafttweaker.api.managers.IRecipeManager.RecipeFunctionArray for more advanced conditions | true | null |\n+\n+\n+### removeAll\n+\n+Remove all recipes in this registry\n+\n+```zenscript\n+craftingTable.removeAll();\n+```\n+\n+### removeByModid\n+\n+Remove recipe based on Registry name modid\n+\n+```zenscript\n+craftingTable.removeByModid(modid as String);\n+craftingTable.removeByModid(\"minecraft\");\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------ | ------------------------------ |\n+| modid | String | modid of the recipes to remove |\n+\n+\n+### removeByName\n+\n+Remove recipe based on Registry name\n+\n+```zenscript\n+craftingTable.removeByName(name as String);\n+craftingTable.removeByName(\"minecraft:furnace\");\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------ | --------------------------------- |\n+| name | String | registry name of recipe to remove |\n+\n+\n+### removeByRegex\n+\n+Remove recipe based on regex\n+\n+```zenscript\n+craftingTable.removeByRegex(regex as String);\n+craftingTable.removeByRegex(\"\\\\d_\\\\d\");\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------ | ---------------------- |\n+| regex | String | regex to match against |\n+\n+\n+### removeRecipe\n+\n+Remove a recipe based on it's output.\n+\n+```zenscript\n+craftingTable.removeRecipe(output as crafttweaker.api.item.IItemStack);\n+craftingTable.removeRecipe(<item:minecraft:glass>);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ----------------------------------------------------------------- | -------------------- |\n+| output | [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack) | output of the recipe |\n+\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations CraftingTableManager.md (German) [ci skip]
139,040
19.01.2020 23:17:46
-3,600
66005743d86896e16b96193d3bb34f27e1761740
New translations MCPotionEffectInstance.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/potions/MCPotionEffectInstance.md", "diff": "+# MCPotionEffectInstance\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.potion.MCPotionEffectInstance\n+```\n+\n+## Methoden\n+### addCurativeItem\n+\n+```zenscript\n+myMCPotionEffectInstance.addCurativeItem(stack as crafttweaker.api.item.IItemStack);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ----------------------------------------------------------------- | ----------------------- |\n+| stack | [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack) | No description provided |\n+\n+\n+### combine\n+\n+Returns boolean\n+\n+```zenscript\n+myMCPotionEffectInstance.combine(effect as crafttweaker.api.potion.MCPotionEffectInstance);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | --------------------------------------------------------------------------------------------- | ----------------------- |\n+| effect | [crafttweaker.api.potion.MCPotionEffectInstance](/vanilla/api/potions/MCPotionEffectInstance) | No description provided |\n+\n+\n+### getCurativeItems\n+\n+Returns List<[crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack)>\n+\n+```zenscript\n+myMCPotionEffectInstance.getCurativeItems();\n+```\n+\n+### isCurativeItem\n+\n+Returns boolean\n+\n+```zenscript\n+myMCPotionEffectInstance.isCurativeItem(stack as crafttweaker.api.item.IItemStack);\n+```\n+\n+| Parameter | Type | Description |\n+| --------- | ----------------------------------------------------------------- | ----------------------- |\n+| stack | [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack) | No description provided |\n+\n+\n+### setCurativeItems\n+\n+```zenscript\n+myMCPotionEffectInstance.setCurativeItems(items as crafttweaker.api.item.IItemStack[]);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------------------------------------------------------------------- | ----------------------- |\n+| items | [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack)[] | No description provided |\n+\n+\n+\n+## Properties\n+\n+| Name | Type | Has Getter | Has Setter |\n+| ------------- | ----------------------------------------------------------------------------- | ---------- | ---------- |\n+| ambient | boolean | true | false |\n+| amplifier | int | true | false |\n+| duration | int | true | false |\n+| effectName | String | true | false |\n+| potion | [crafttweaker.api.potion.MCPotionEffect](/vanilla/api/potions/MCPotionEffect) | true | false |\n+| showIcon | boolean | true | false |\n+| showParticles | boolean | true | false |\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations MCPotionEffectInstance.md (German) [ci skip]
139,040
19.01.2020 23:17:47
-3,600
a6e7960c7b52b89c4dd6e5e2a26976ae53c8ff97
New translations MCPotionEffect.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/potions/MCPotionEffect.md", "diff": "+# MCPotionEffect\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.potion.MCPotionEffect\n+```\n+\n+## Implemented Interfaces\n+MCPotionEffect implements the following interfaces. That means any method available to them can also be used on this class.\n+- [crafttweaker.api.brackets.CommandStringDisplayable](/vanilla/api/brackets/CommandStringDisplayable)\n+\n+## Methoden\n+### isReady\n+\n+Returns boolean\n+\n+```zenscript\n+myMCPotionEffect.isReady(duration as int, amplifier as int);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ---- | ----------------------- |\n+| duration | int | No description provided |\n+| amplifier | int | No description provided |\n+\n+\n+### newInstance\n+\n+Returns [crafttweaker.api.potion.MCPotionEffectInstance](/vanilla/api/potions/MCPotionEffectInstance)\n+\n+```zenscript\n+myMCPotionEffect.newInstance(duration as int, amplifier as int);\n+```\n+\n+| Parameter | Type | Beschreibung | IsOptional | Default Value |\n+| --------- | ---- | ----------------------- | ---------- | ------------- |\n+| duration | int | No description provided | false | null |\n+| amplifier | int | No description provided | true | 0 |\n+\n+\n+\n+## Properties\n+\n+| Name | Type | Has Getter | Has Setter |\n+| ------------- | ----------------------------------------------------------------------- | ---------- | ---------- |\n+| commandString | String | true | false |\n+| curativeItems | List<[crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack)> | true | false |\n+| displayName | String | true | false |\n+| isBeneficial | boolean | true | false |\n+| isInstant | boolean | true | false |\n+| liquidColor | int | true | false |\n+| name | String | true | false |\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations MCPotionEffect.md (German) [ci skip]
139,040
19.01.2020 23:17:48
-3,600
0ab873542e4581e4b96bf9c7cd52ade87aa76f41
New translations MCPotion.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/potions/MCPotion.md", "diff": "+# MCPotion\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.potion.MCPotion\n+```\n+\n+## Implemented Interfaces\n+MCPotion implements the following interfaces. That means any method available to them can also be used on this class.\n+- [crafttweaker.api.brackets.CommandStringDisplayable](/vanilla/api/brackets/CommandStringDisplayable)\n+\n+## Methoden\n+### getNamePrefixed\n+\n+Returns String\n+\n+```zenscript\n+myMCPotion.getNamePrefixed(name as String);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------ | ----------------------- |\n+| name | String | No description provided |\n+\n+\n+\n+## Properties\n+\n+| Name | Type | Has Getter | Has Setter |\n+| ---------------- | --------------------------------------------------------------------------------------------------- | ---------- | ---------- |\n+| commandString | String | true | false |\n+| effects | List<[crafttweaker.api.potion.MCPotionEffectInstance](/vanilla/api/potions/MCPotionEffectInstance)> | true | false |\n+| hasInstantEffect | boolean | true | false |\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations MCPotion.md (German) [ci skip]
139,040
19.01.2020 23:17:49
-3,600
9a935af1ea917048ceb4667d1f318d5e3edaac96
New translations StoneCutterManager.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/managers/StoneCutterManager.md", "diff": "+# StoneCutterManager\n+\n+\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.StoneCutterManager\n+```\n+\n+## Implemented Interfaces\n+StoneCutterManager implements the following interfaces. That means any method available to them can also be used on this class.\n+- [crafttweaker.api.registries.IRecipeManager](/vanilla/api/managers/IRecipeManager)\n+\n+## Methoden\n+### addJSONRecipe\n+\n+Adds a recipe based on a provided IData. The provided IData should represent a DataPack JSON, this effectively allows you to register recipes for any DataPack supporting IRecipeType systems.\n+\n+```zenscript\n+stoneCutter.addJSONRecipe(name as String, data as crafttweaker.api.data.IData);\n+stoneCutter.addJSONRecipe(\"recipe_name\", {ingredient:{item:<item:minecraft:gold_ore>.registryName},result:<item:minecraft:cooked_porkchop>.registryName,experience:0.35 as float, cookingtime:100});\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------------------------------------------------------ | ------------------------------- |\n+| name | String | name of the recipe |\n+| data | [crafttweaker.api.data.IData](/vanilla/api/data/IData) | data representing the json file |\n+\n+\n+### addRecipe\n+\n+Adds a recipe to the stone cutter\n+\n+```zenscript\n+stoneCutter.addRecipe(recipeName as String, output as crafttweaker.api.item.IItemStack, input as crafttweaker.api.item.IIngredient);\n+stoneCutter.addRecipe(\"recipe_name\", <item:minecraft:grass>, <tag:minecraft:wool>);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| ---------- | ------------------------------------------------------------------- | ------------------ |\n+| recipeName | String | name of the recipe |\n+| output | [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack) | output IItemStack |\n+| input | [crafttweaker.api.item.IIngredient](/vanilla/api/items/IIngredient) | input IIngredient |\n+\n+\n+### removeAll\n+\n+Remove all recipes in this registry\n+\n+```zenscript\n+stoneCutter.removeAll();\n+```\n+\n+### removeByModid\n+\n+Remove recipe based on Registry name modid\n+\n+```zenscript\n+stoneCutter.removeByModid(modid as String);\n+stoneCutter.removeByModid(\"minecraft\");\n+```\n+\n+| Parameter | Type | Description |\n+| --------- | ------ | ------------------------------ |\n+| modid | String | modid of the recipes to remove |\n+\n+\n+### removeByName\n+\n+Remove recipe based on Registry name\n+\n+```zenscript\n+stoneCutter.removeByName(name as String);\n+stoneCutter.removeByName(\"minecraft:furnace\");\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------ | --------------------------------- |\n+| name | String | registry name of recipe to remove |\n+\n+\n+### removeByRegex\n+\n+Remove recipe based on regex\n+\n+```zenscript\n+stoneCutter.removeByRegex(regex as String);\n+stoneCutter.removeByRegex(\"\\\\d_\\\\d\");\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------ | ---------------------- |\n+| regex | String | regex to match against |\n+\n+\n+### removeRecipe\n+\n+Remove a recipe based on it's output.\n+\n+```zenscript\n+stoneCutter.removeRecipe(output as crafttweaker.api.item.IItemStack);\n+stoneCutter.removeRecipe(<item:minecraft:glass>);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ----------------------------------------------------------------- | -------------------- |\n+| output | [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack) | output of the recipe |\n+\n+\n+\n+## Properties\n+\n+| Name | Type | Has Getter | Has Setter |\n+| ------------- | ------ | ---------- | ---------- |\n+| commandString | String | true | false |\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations StoneCutterManager.md (German) [ci skip]
139,040
19.01.2020 23:17:51
-3,600
3395db1ea7d4bb98dd803501a00344845f4e336d
New translations SmokerManager.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/managers/SmokerManager.md", "diff": "+# SmokerManager\n+\n+\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.SmokerManager\n+```\n+\n+## Implemented Interfaces\n+SmokerManager implements the following interfaces. That means any method available to them can also be used on this class.\n+- [crafttweaker.api.registries.ICookingRecipeManager](/vanilla/api/managers/ICookingRecipeManager)\n+\n+## Methoden\n+### addJSONRecipe\n+\n+Adds a recipe based on a provided IData. The provided IData should represent a DataPack JSON, this effectively allows you to register recipes for any DataPack supporting IRecipeType systems.\n+\n+```zenscript\n+smoker.addJSONRecipe(name as String, data as crafttweaker.api.data.IData);\n+smoker.addJSONRecipe(\"recipe_name\", {ingredient:{item:<item:minecraft:gold_ore>.registryName},result:<item:minecraft:cooked_porkchop>.registryName,experience:0.35 as float, cookingtime:100});\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------------------------------------------------------ | ------------------------------- |\n+| name | String | name of the recipe |\n+| data | [crafttweaker.api.data.IData](/vanilla/api/data/IData) | data representing the json file |\n+\n+\n+### addRecipe\n+\n+Adds a recipe based on given params.\n+\n+```zenscript\n+smoker.addRecipe(name as String, output as crafttweaker.api.item.IItemStack, input as crafttweaker.api.item.IIngredient, xp as float, cookTime as int);\n+smoker.addRecipe(\"wool2diamond\", <item:diamond>, <tag:minecraft:wool>, 1.0, 0);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------------------------------------------------------------------- | ------------------------------- |\n+| name | String | Name of the new recipe |\n+| output | [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack) | IItemStack output of the recipe |\n+| input | [crafttweaker.api.item.IIngredient](/vanilla/api/items/IIngredient) | IIngredient input of the recipe |\n+| xp | float | how much xp the player gets |\n+| cookTime | int | how long it takes to cook |\n+\n+\n+### removeAll\n+\n+Remove all recipes in this registry\n+\n+```zenscript\n+smoker.removeAll();\n+```\n+\n+### removeByModid\n+\n+Remove recipe based on Registry name modid\n+\n+```zenscript\n+smoker.removeByModid(modid as String);\n+smoker.removeByModid(\"minecraft\");\n+```\n+\n+| Parameter | Type | Description |\n+| --------- | ------ | ------------------------------ |\n+| modid | String | modid of the recipes to remove |\n+\n+\n+### removeByName\n+\n+Remove recipe based on Registry name\n+\n+```zenscript\n+smoker.removeByName(name as String);\n+smoker.removeByName(\"minecraft:furnace\");\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------ | --------------------------------- |\n+| name | String | registry name of recipe to remove |\n+\n+\n+### removeByRegex\n+\n+Remove recipe based on regex\n+\n+```zenscript\n+smoker.removeByRegex(regex as String);\n+smoker.removeByRegex(\"\\\\d_\\\\d\");\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------ | ---------------------- |\n+| regex | String | regex to match against |\n+\n+\n+### removeRecipe\n+\n+Remove a recipe based on it's output.\n+\n+```zenscript\n+smoker.removeRecipe(output as crafttweaker.api.item.IItemStack);\n+smoker.removeRecipe(<item:minecraft:glass>);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ----------------------------------------------------------------- | -------------------- |\n+| output | [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack) | output of the recipe |\n+\n+\n+\n+Removes a recipe based on it's output and input.\n+\n+```zenscript\n+smoker.removeRecipe(output as crafttweaker.api.item.IItemStack, input as crafttweaker.api.item.IIngredient);\n+smoker.removeRecipe(<item:minecraft:diamond>, <tag:minecraft:wool>);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------------------------------------------------------------------- | ------------------------------------ |\n+| output | [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack) | IItemStack output of the recipe. |\n+| input | [crafttweaker.api.item.IIngredient](/vanilla/api/items/IIngredient) | IIngredient of the recipe to remove. |\n+\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations SmokerManager.md (German) [ci skip]
139,040
19.01.2020 23:17:52
-3,600
30fe452ff05b1920063ef64b9e208c5acd1efd2b
New translations IRecipeManager.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/managers/IRecipeManager.md", "diff": "+# IRecipeManager\n+\n+Default interface for Registry based handlers as they can all remove recipes by ResourceLocation.\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.registries.IRecipeManager\n+```\n+\n+## Implemented Interfaces\n+IRecipeManager implements the following interfaces. That means any method available to them can also be used on this class.\n+- [crafttweaker.api.brackets.CommandStringDisplayable](/vanilla/api/brackets/CommandStringDisplayable)\n+\n+## Methoden\n+### addJSONRecipe\n+\n+Adds a recipe based on a provided IData. The provided IData should represent a DataPack JSON, this effectively allows you to register recipes for any DataPack supporting IRecipeType systems.\n+\n+```zenscript\n+craftingTable.addJSONRecipe(name as String, data as crafttweaker.api.data.IData);\n+craftingTable.addJSONRecipe(\"recipe_name\", {ingredient:{item:<item:minecraft:gold_ore>.registryName},result:<item:minecraft:cooked_porkchop>.registryName,experience:0.35 as float, cookingtime:100});\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------------------------------------------------------ | ------------------------------- |\n+| name | String | name of the recipe |\n+| data | [crafttweaker.api.data.IData](/vanilla/api/data/IData) | data representing the json file |\n+\n+\n+### removeAll\n+\n+Remove all recipes in this registry\n+\n+```zenscript\n+craftingTable.removeAll();\n+```\n+\n+### removeByModid\n+\n+Remove recipe based on Registry name modid\n+\n+```zenscript\n+craftingTable.removeByModid(modid as String);\n+craftingTable.removeByModid(\"minecraft\");\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------ | ------------------------------ |\n+| modid | String | modid of the recipes to remove |\n+\n+\n+### removeByName\n+\n+Remove recipe based on Registry name\n+\n+```zenscript\n+craftingTable.removeByName(name as String);\n+craftingTable.removeByName(\"minecraft:furnace\");\n+```\n+\n+| Parameter | Type | Description |\n+| --------- | ------ | --------------------------------- |\n+| name | String | registry name of recipe to remove |\n+\n+\n+### removeByRegex\n+\n+Remove recipe based on regex\n+\n+```zenscript\n+craftingTable.removeByRegex(regex as String);\n+craftingTable.removeByRegex(\"\\\\d_\\\\d\");\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------ | ---------------------- |\n+| regex | String | regex to match against |\n+\n+\n+### removeRecipe\n+\n+Remove a recipe based on it's output.\n+\n+```zenscript\n+craftingTable.removeRecipe(output as crafttweaker.api.item.IItemStack);\n+craftingTable.removeRecipe(<item:minecraft:glass>);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ----------------------------------------------------------------- | -------------------- |\n+| output | [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack) | output of the recipe |\n+\n+\n+\n+## Properties\n+\n+| Name | Type | Has Getter | Has Setter |\n+| ------------- | ------ | ---------- | ---------- |\n+| commandString | String | true | false |\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations IRecipeManager.md (German) [ci skip]
139,040
19.01.2020 23:17:54
-3,600
0ea9e1c51e70ab09190093a3e19046054fcda24d
New translations ICookingRecipeManager.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/managers/ICookingRecipeManager.md", "diff": "+# ICookingRecipeManager\n+\n+Default interface for Registry based handlers as they can all remove recipes by ResourceLocation.\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.registries.ICookingRecipeManager\n+```\n+\n+## Implemented Interfaces\n+ICookingRecipeManager implements the following interfaces. That means any method available to them can also be used on this class.\n+- [crafttweaker.api.registries.IRecipeManager](/vanilla/api/managers/IRecipeManager)\n+\n+## Methoden\n+### addJSONRecipe\n+\n+Adds a recipe based on a provided IData. The provided IData should represent a DataPack JSON, this effectively allows you to register recipes for any DataPack supporting IRecipeType systems.\n+\n+```zenscript\n+furnace.addJSONRecipe(name as String, data as crafttweaker.api.data.IData);\n+furnace.addJSONRecipe(\"recipe_name\", {ingredient:{item:<item:minecraft:gold_ore>.registryName},result:<item:minecraft:cooked_porkchop>.registryName,experience:0.35 as float, cookingtime:100});\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------------------------------------------------------ | ------------------------------- |\n+| name | String | name of the recipe |\n+| data | [crafttweaker.api.data.IData](/vanilla/api/data/IData) | data representing the json file |\n+\n+\n+### addRecipe\n+\n+Adds a recipe based on given params.\n+\n+```zenscript\n+furnace.addRecipe(name as String, output as crafttweaker.api.item.IItemStack, input as crafttweaker.api.item.IIngredient, xp as float, cookTime as int);\n+furnace.addRecipe(\"wool2diamond\", <item:diamond>, <tag:minecraft:wool>, 1.0, 0);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------------------------------------------------------------------- | ------------------------------- |\n+| name | String | Name of the new recipe |\n+| output | [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack) | IItemStack output of the recipe |\n+| input | [crafttweaker.api.item.IIngredient](/vanilla/api/items/IIngredient) | IIngredient input of the recipe |\n+| xp | float | how much xp the player gets |\n+| cookTime | int | how long it takes to cook |\n+\n+\n+### removeAll\n+\n+Remove all recipes in this registry\n+\n+```zenscript\n+furnace.removeAll();\n+```\n+\n+### removeByModid\n+\n+Remove recipe based on Registry name modid\n+\n+```zenscript\n+furnace.removeByModid(modid as String);\n+furnace.removeByModid(\"minecraft\");\n+```\n+\n+| Parameter | Type | Description |\n+| --------- | ------ | ------------------------------ |\n+| modid | String | modid of the recipes to remove |\n+\n+\n+### removeByName\n+\n+Remove recipe based on Registry name\n+\n+```zenscript\n+furnace.removeByName(name as String);\n+furnace.removeByName(\"minecraft:furnace\");\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------ | --------------------------------- |\n+| name | String | registry name of recipe to remove |\n+\n+\n+### removeByRegex\n+\n+Remove recipe based on regex\n+\n+```zenscript\n+furnace.removeByRegex(regex as String);\n+furnace.removeByRegex(\"\\\\d_\\\\d\");\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------ | ---------------------- |\n+| regex | String | regex to match against |\n+\n+\n+### removeRecipe\n+\n+Remove a recipe based on it's output.\n+\n+```zenscript\n+furnace.removeRecipe(output as crafttweaker.api.item.IItemStack);\n+furnace.removeRecipe(<item:minecraft:glass>);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ----------------------------------------------------------------- | -------------------- |\n+| output | [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack) | output of the recipe |\n+\n+\n+\n+Removes a recipe based on it's output and input.\n+\n+```zenscript\n+furnace.removeRecipe(output as crafttweaker.api.item.IItemStack, input as crafttweaker.api.item.IIngredient);\n+furnace.removeRecipe(<item:minecraft:diamond>, <tag:minecraft:wool>);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------------------------------------------------------------------- | ------------------------------------ |\n+| output | [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack) | IItemStack output of the recipe. |\n+| input | [crafttweaker.api.item.IIngredient](/vanilla/api/items/IIngredient) | IIngredient of the recipe to remove. |\n+\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations ICookingRecipeManager.md (German) [ci skip]
139,040
19.01.2020 23:17:56
-3,600
46cbd3b81af2b477aa574986693861f30dd0f37e
New translations FurnaceManager.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/managers/FurnaceManager.md", "diff": "+# FurnaceManager\n+\n+\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.FurnaceManager\n+```\n+\n+## Implemented Interfaces\n+FurnaceManager implements the following interfaces. That means any method available to them can also be used on this class.\n+- [crafttweaker.api.registries.ICookingRecipeManager](/vanilla/api/managers/ICookingRecipeManager)\n+\n+## Methoden\n+### addRecipe\n+\n+Adds a recipe based on given params.\n+\n+```zenscript\n+furnace.addRecipe(name as String, output as crafttweaker.api.item.IItemStack, input as crafttweaker.api.item.IIngredient, xp as float, cookTime as int);\n+furnace.addRecipe(\"wool2diamond\", <item:diamond>, <tag:minecraft:wool>, 1.0, 0);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------------------------------------------------------------------- | ------------------------------- |\n+| name | String | Name of the new recipe |\n+| output | [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack) | IItemStack output of the recipe |\n+| input | [crafttweaker.api.item.IIngredient](/vanilla/api/items/IIngredient) | IIngredient input of the recipe |\n+| xp | float | how much xp the player gets |\n+| cookTime | int | how long it takes to cook |\n+\n+\n+### removeRecipe\n+\n+Removes a recipe based on it's output and input.\n+\n+```zenscript\n+furnace.removeRecipe(output as crafttweaker.api.item.IItemStack, input as crafttweaker.api.item.IIngredient);\n+furnace.removeRecipe(<item:minecraft:diamond>, <tag:minecraft:wool>);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------------------------------------------------------------------- | ------------------------------------ |\n+| output | [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack) | IItemStack output of the recipe. |\n+| input | [crafttweaker.api.item.IIngredient](/vanilla/api/items/IIngredient) | IIngredient of the recipe to remove. |\n+\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations FurnaceManager.md (German) [ci skip]
139,040
18.04.2020 15:16:02
-7,200
31f2dbf73ec76c2880be035887e2fe0766f737c2
New translations InitialInventory.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/mods/InitialInventory/InitialInventory.md", "diff": "+# InitialInventory\n+\n+## Description\n+\n+This mod adds support for the player to be given an item when they join a world, and then never again, similar to how some mods give players books when they join a world for the first time.\n+\n+## Package\n+`mods.initialinventory.InvHandler`\n+\n+## Adding starting items\n+\n+This will add an item to the players inventory when they join the world.\n+\n+The parameters are:\n+\n+\n+Param: `key`\n+\n+Type: `String`\n+\n+Description:\n+\n+Used to determine if an item should be given. A key can be any string, the point of it is to determine if a player has been given a set of items before.\n+\n+It is useful for modpacks which later add more starting items, by using a different key, players who have already started playing the pack, can still receive those items. An example would be:\n+\n+Add a diamond as a starting item with key \"1\", join the world, the player will get the diamond.\n+\n+Add an apple as a starting item with key \"2\", join the world, the player will get the apple, but not the diamond again.\n+\n+Make a new world, the player will receive both an apple and a diamond.\n+\n+param: `item`\n+\n+Type `IItemStack`\n+\n+Beschreibung:\n+\n+The item to give to the player when they join.\n+\n+Param: `index`\n+\n+Type: `int`\n+\n+Description:\n+\n+Optional integer to define where the item will be given, can be used to put an item in a inventory slot like an armor slot.\n+\n+If left out, will default to -1, which means it will put it in the first available slot, or combine it with other items that may already be in the inventory.\n+\n+\n+## Beispiel\n+\n+```zenscript\n+//mods.initialinventory.InvHandler.addStartingItem(String key, IItemStack item, Optional int index);\n+mods.initialinventory.InvHandler.addStartingItem(\"apples\", <item:minecraft:apple>);\n+mods.initialinventory.InvHandler.addStartingItem(\"apples\", <item:minecraft:golden_apple>, 5);\n+```\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations InitialInventory.md (German) [ci skip]
139,040
12.05.2020 19:49:46
-7,200
86a05cbe1366c9dc371ab78c0e36ac9f28b34fd7
New translations index.md (Spanish) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/es/docs/index.md", "diff": "+# CraftTweaker\n+\n+CraftTweaker is a Minecraft mod that allows modpack authors to customize the game, allowing for new recipes to be added, old ones to be removed and just general modpack customization!\n+\n+CraftTweaker uses a custom scripting language called ZenScript, which is a fairly easy to learn language that fits CraftTweaker's needs more than an already existing language would (such as JavaScript).\n+\n+This site will hopefully help guide you through everything that is possible with CraftTweaker, all that would be left is for you to use the knowledge and create something amazing!\n\\ No newline at end of file\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations index.md (Spanish) [ci skip]
139,040
12.05.2020 19:50:14
-7,200
d20a59b5f908895a3c669d07ecf95b47e6ca3ff5
New translations getting_started.md (Spanish) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/es/docs/getting_started.md", "diff": "+# Getting Started with scripts\n+\n+CraftTweaker uses a custom scripting Language called `ZenScript`, ZenScript is read from `.zs` files that are stored in the `<gamedir>/scripts` folder, if you aren't sure where this folder is, just run `/ct scripts` when in the game and the folder will open.\n+\n+ZenScript is a \"top down\" scripting language, meaning that, `Imports` need to be at the top of the file, `Variable Declarations` should be near the top of the file, however there are no restrictions to that, a `Variable` can be defined anywhere in a script, however it will not be accessible to the lines above the `Variable` declaration.\n+\n+\n+Script files have the `.zs` prefix, make sure that it isn't `.zs.txt`!\n+\n+## What are scripts\n+\n+Scripts are stored in `<gamedir>/scripts` and are loaded when the player joins a world, much like previous versions of CraftTweaker (excluding 1.12), Scripts CAN be reloaded, just run `/reload`.\n+\n+Scripts are loaded twice when entering a single player world, once on the `Server` side, and then on the `Client` side, if you have a `println()` in your script, you will see it twice, since it is running twice.\n+\n+This does not mean that changes are applied twice however, changes made by scripts can be sided, so some changes, such as setting localization, only run on the client side, but adding recipes is only done on the server side.\n+\n+When joining a server, the server sends their scripts to the client, and the client runs those scripts. This does mean that a client without any scripts, can join a server and get the changes (useful if you need to disable an item on the server but don't want to force clients to download extra files!)\n+\n+\n+### Writing your first script\n+\n+To get started with Scripts, you can create a very basic file, called `hello.zs` in the `<gamedir>/scripts>` folder; If you aren't sure where the folder is, just run `/ct scripts` and it should open!\n+\n+In `hello.zs` put the following line\n+\n+```zenscript\n+println(\"Hello world!\");\n+```\n+\n+Now load up Minecraft and and take a look at the `<gamedir>/logs/crafttweaker.log` file (or run `/ct log` to have the file open in your default text editor).\n+\n+The `crafttweaker.log` file is located in `<gamedir>/logs` and can be read by any program that can read plaintext files.\n+\n+It is recommended to use Notepad++, Sublime Text or VSCode to edit script files, however any program will do.\n+\n+When choosing a program to use to edit scripts, take a look at what Syntax highlighters are available, most common text editors have ZenScript highlighting support through the use of a plugin.\n+\n+\n+\n+### The crafttweaker.log file\n+\n+The `crafttweaker.log` file uses a specific syntax in it's output, that syntax is:\n+\n+```\n+[HH:MM:SS.ms][LOADERSTAGE][SIDE][TYPE] <message>\n+```\n+\n+Using the example above, the output would be:\n+\n+```\n+[14:58:06.697][DONE][SERVER][INFO] Hello world!\n+```\n+\n+The syntax is used for debug purposes and the only time the syntax is not used, is for command dumps, in which case it just prints the message, this is done so copy pasting the dumped information is easier.\n+\n+### Comments\n+\n+Comments can be used to make your script files more readable and easier to understand!\n+\n+ZenScript supports 3 types of comments, being:\n+\n+Single line: `// I'm a single line comment!`\n+\n+Alternate Single Line: `# I'm also a single line comment!`\n+\n+Multiline:\n+```\n+/* I'm\n+a\n+multiline comment! */\n+```\n+\n+Just note, that `#` comments are also used for PreProcessors (TODO link to PreProcessors when they are documented), so while they are still valid comments, they could cause unwanted side effects.\n\\ No newline at end of file\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations getting_started.md (Spanish) [ci skip]
139,040
03.06.2020 23:29:25
-7,200
9d29eb29b599c4c9f8a08b54a3e650050782e17d
New translations ItemTypeBuilder.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/mods/contenttweaker/API/item/ItemTypeBuilder.md", "diff": "+# ItemTypeBuilder\n+\n+Denotes a special builder that is used for builing special item types. Used in [mods.contenttweaker.item.ItemTypeBuilder#withType](/mods/contenttweaker/API/item/ItemTypeBuilder/#withtype)\n+\n+This class was added by a mod with mod-id `contenttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+mods.contenttweaker.item.ItemTypeBuilder\n+```\n+\n+## Implemented Interfaces\n+ItemTypeBuilder implements the following interfaces. That means any method available to them can also be used on this class.\n+- [mods.contenttweaker.api.IIsBuilder](/mods/contenttweaker/API/api/IIsBuilder)\n+\n+## Methoden\n+### build\n+\n+Instructs CoT to actually build whatever this builder is supposed to be building.\n+\n+```zenscript\n+new ItemBuilder().withType<ItemBuilderBasic>().build(resourceLocation as String);\n+new ItemBuilder().withType<ItemBuilderBasic>().build(\"my_awesome_block\");\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| ---------------- | ------ | ------------------------------------ |\n+| resourceLocation | String | The resource path to give this block |\n+\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations ItemTypeBuilder.md (German) [ci skip]
139,040
03.06.2020 23:29:27
-7,200
6f7f073067555add23e01b20800648f8824d5828
New translations MCToolType.md (Spanish) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/es/docs/mods/contenttweaker/API/item/MCToolType.md", "diff": "+# MCToolType\n+\n+A Tooltype is used to identify what kind of blocks a tool can mine, or inversely, what kind of tool is required to mine a given block.\n+\n+This class was added by a mod with mod-id `contenttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Importar la clase\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+mods.contenttweaker.item.MCToolType\n+```\n+\n+## Implemented Interfaces\n+MCToolType implements the following interfaces. That means any method available to them can also be used on this class.\n+- [crafttweaker.api.brackets.CommandStringDisplayable](/vanilla/api/brackets/CommandStringDisplayable)\n+\n+## Constructors\n+Constructs a ToolType object. If one with the given name already exists, they will internally point to the same toolType. Otherwise, a new one with the name is created (The same holds true for Brackets as well!)\n+```zenscript\n+new mods.contenttweaker.item.MCToolType(name as String);\n+new mods.contenttweaker.item.MCToolType(\"pickaxe\");\n+```\n+| Parameter | Type | Description |\n+| --------- | ------ | ------------------- |\n+| name | String | The name to be used |\n+\n+\n+\n+## Methods\n+### getName\n+\n+Gets the name of this toolType. The name is what is used in the Bracket expression after the `<tooltype:`\n+\n+Return type: String\n+\n+```zenscript\n+<tooltype:pickaxe>.getName();\n+```\n+\n+### hashCode\n+\n+Returns the object's hash code\n+\n+Return type: int\n+\n+```zenscript\n+<tooltype:pickaxe>.hashCode();\n+```\n+\n+### toString\n+\n+Get the string representation of this type. Is different from commandString!\n+\n+Return type: String\n+\n+```zenscript\n+<tooltype:pickaxe>.toString();\n+```\n+\n+\n+## Properties\n+\n+| Name | Type | Has Getter | Has Setter |\n+| ------------- | ------ | ---------- | ---------- |\n+| commandString | String | true | false |\n+| name | String | true | false |\n+\n+## Operators\n+### EQUALS\n+\n+Compares if two given MCToolType objects are equal\n+\n+```zenscript\n+<tooltype:pickaxe> == o as Object\n+<tooltype:pickaxe> == new MCToolType(\"pickaxe\")\n+```\n+\n+| Parameter | Type | Description |\n+| --------- | ------ | ---------------- |\n+| o | Object | The other object |\n+\n+## Casters\n+\n+| Result type | Is Implicit |\n+| ----------- | ----------- |\n+| String | false |\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations MCToolType.md (Spanish) [ci skip]
139,040
03.06.2020 23:29:28
-7,200
86e7e52c6771a8bf19babc3ddcb0cdb39cef876e
New translations ItemBuilderBasic.md (Spanish) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/es/docs/mods/contenttweaker/API/item/basic/ItemBuilderBasic.md", "diff": "+# ItemBuilderBasic\n+\n+The basic builder for items, also called by [mods.contenttweaker.item.basic.ItemBuilderBasic#build](/mods/contenttweaker/API/item/basic/ItemBuilderBasic/#build). Does not have any special properties, it exists.\n+\n+This class was added by a mod with mod-id `contenttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Importar la clase\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+mods.contenttweaker.item.basic.ItemBuilderBasic\n+```\n+\n+## Implemented Interfaces\n+ItemBuilderBasic implements the following interfaces. That means any method available to them can also be used on this class.\n+- [mods.contenttweaker.api.IIsBuilder](/mods/contenttweaker/API/api/IIsBuilder)\n+- [mods.contenttweaker.item.ItemTypeBuilder](/mods/contenttweaker/API/item/ItemTypeBuilder)\n+\n+## Methods\n+### build\n+\n+Instructs CoT to actually build whatever this builder is supposed to be building.\n+\n+```zenscript\n+new ItemBuilder().withType<ItemBuilderBasic>().build(resourceLocation as String);\n+new ItemBuilder().withType<ItemBuilderBasic>().build(\"my_awesome_block\");\n+```\n+\n+| Parameter | Type | Description |\n+| ---------------- | ------ | ------------------------------------ |\n+| resourceLocation | String | The resource path to give this block |\n+\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations ItemBuilderBasic.md (Spanish) [ci skip]
139,040
03.06.2020 23:29:30
-7,200
141bc837cb792f3db847aa2d9fb1b95e0a6cc311
New translations ItemBuilderTool.md (Spanish) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/es/docs/mods/contenttweaker/API/item/tool/ItemBuilderTool.md", "diff": "+# ItemBuilderTool\n+\n+A special builder that allows you to create items that can be used as tools. You should have set the item's max damage before changing to this builder. <p> Has special methods that allow you to set the mining level for several tool types as well as the attack damage.\n+\n+This class was added by a mod with mod-id `contenttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Importar la clase\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+mods.contenttweaker.item.tool.ItemBuilderTool\n+```\n+\n+## Implemented Interfaces\n+ItemBuilderTool implements the following interfaces. That means any method available to them can also be used on this class.\n+- [mods.contenttweaker.api.IIsBuilder](/mods/contenttweaker/API/api/IIsBuilder)\n+- [mods.contenttweaker.item.ItemTypeBuilder](/mods/contenttweaker/API/item/ItemTypeBuilder)\n+\n+## Methods\n+### build\n+\n+Instructs CoT to actually build whatever this builder is supposed to be building.\n+\n+```zenscript\n+new ItemBuilder().withMaxDamage(150).withType<ItemBuilderTool>().build(resourceLocation as String);\n+new ItemBuilder().withMaxDamage(150).withType<ItemBuilderTool>().build(\"my_awesome_block\");\n+```\n+\n+| Parameter | Type | Description |\n+| ---------------- | ------ | ------------------------------------ |\n+| resourceLocation | String | The resource path to give this block |\n+\n+\n+### withAttackDamage\n+\n+Allows you to set the attack damage bonus that you get when holding this item\n+\n+ Returns: `This builder, used for method chaining`\n+\n+Return type: [mods.contenttweaker.item.tool.ItemBuilderTool](/mods/contenttweaker/API/item/tool/ItemBuilderTool)\n+\n+```zenscript\n+new ItemBuilder().withMaxDamage(150).withType<ItemBuilderTool>().withAttackDamage(attackDamage as float);\n+new ItemBuilder().withMaxDamage(150).withType<ItemBuilderTool>().withAttackDamage(2.0f);\n+```\n+\n+| Parameter | Type | Description |\n+| ------------ | ----- | ---------------------------- |\n+| attackDamage | float | The additional attack damage |\n+\n+\n+### withAttackSpeed\n+\n+Allows you to set the attack speed bonus that you get when holding this item.\n+\n+ Returns: `This builder, used for method chaining.`\n+\n+Return type: [mods.contenttweaker.item.tool.ItemBuilderTool](/mods/contenttweaker/API/item/tool/ItemBuilderTool)\n+\n+```zenscript\n+new ItemBuilder().withMaxDamage(150).withType<ItemBuilderTool>().withAttackSpeed(attackSpeed as double);\n+new ItemBuilder().withMaxDamage(150).withType<ItemBuilderTool>().withAttackSpeed(2.0d);\n+```\n+\n+| Parameter | Type | Description |\n+| ----------- | ------ | ---------------- |\n+| attackSpeed | double | The attack speed |\n+\n+\n+### withDurabilityCostAttack\n+\n+Allows you to set the amount of damage that this item will receive when hitting enemies. By default this is `0`\n+\n+ Returns: `This builder, used for method chaining`\n+\n+Return type: [mods.contenttweaker.item.tool.ItemBuilderTool](/mods/contenttweaker/API/item/tool/ItemBuilderTool)\n+\n+```zenscript\n+new ItemBuilder().withMaxDamage(150).withType<ItemBuilderTool>().withDurabilityCostAttack(durabilityCostAttack as int);\n+new ItemBuilder().withMaxDamage(150).withType<ItemBuilderTool>().withDurabilityCostAttack(5);\n+```\n+\n+| Parameter | Type | Description |\n+| -------------------- | ---- | ---------------------------------------- |\n+| durabilityCostAttack | int | The damage points this item will receive |\n+\n+\n+### withDurabilityCostMining\n+\n+Allows you to set the amount of damage that this item will receive when mining blocks. By default this is `0`\n+\n+ Returns: `This builder, used for method chaining`\n+\n+Return type: [mods.contenttweaker.item.tool.ItemBuilderTool](/mods/contenttweaker/API/item/tool/ItemBuilderTool)\n+\n+```zenscript\n+new ItemBuilder().withMaxDamage(150).withType<ItemBuilderTool>().withDurabilityCostMining(durabilityCostMining as int);\n+new ItemBuilder().withMaxDamage(150).withType<ItemBuilderTool>().withDurabilityCostMining(1);\n+```\n+\n+| Parameter | Type | Description |\n+| -------------------- | ---- | ---------------------------------------- |\n+| durabilityCostMining | int | The damage points this item will receive |\n+\n+\n+### withToolType\n+\n+Allows you to add a tool type to this tool. You can specify the type, the mining level and optionally the mining speed when this type is hit as well.\n+\n+ Returns: `This builder, used for method chaining`\n+\n+Return type: [mods.contenttweaker.item.tool.ItemBuilderTool](/mods/contenttweaker/API/item/tool/ItemBuilderTool)\n+\n+```zenscript\n+new ItemBuilder().withMaxDamage(150).withType<ItemBuilderTool>().withToolType(toolType as mods.contenttweaker.item.MCToolType, miningLevel as int, miningSpeed as float);\n+new ItemBuilder().withMaxDamage(150).withType<ItemBuilderTool>().withToolType(<tooltype:shovel>, 3);\n+new ItemBuilder().withMaxDamage(150).withType<ItemBuilderTool>().withToolType(<tooltype:shovel>, 3, 2.0f);\n+```\n+\n+| Parameter | Type | Description | IsOptional | Default Value |\n+| ----------- | ------------------------------------------------------------------------------- | ---------------------------------------------------- | ---------- | ------------- |\n+| toolType | [mods.contenttweaker.item.MCToolType](/mods/contenttweaker/API/item/MCToolType) | The type of the tool | false | `null` |\n+| miningLevel | int | The mining level for this tool type | false | `null` |\n+| miningSpeed | float | How fast this tool can mine blocks of the given type | true | `1.0` |\n+\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations ItemBuilderTool.md (Spanish) [ci skip]
139,040
03.06.2020 23:29:34
-7,200
f5921ea4eba7a9b7611156d817e2e42e4ed61c59
New translations BracketHandlers.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/mods/contenttweaker/API/BracketHandlers.md", "diff": "+# BracketHandlers\n+\n+I advise against using the static methods in this class directly as they may be merged into CrT's BEP at any point. If you need to access the Bracket Expression Parser methods dynamically, you can use\n+ ```zencode\n+ var myName = \"misc\";\n+ <itemgroup:${myName}>\n+ ```\n+\n+This class was added by a mod with mod-id `contenttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+mods.contenttweaker.BracketHandlers\n+```\n+\n+## Methoden\n+### getItemGroup\n+\n+Gets the itemGroup. Will throw an error if the group could not be found\n+\n+ Returns: `The found MCItemGroup`\n+\n+Return type: [mods.contenttweaker.item.MCItemGroup](/mods/contenttweaker/API/item/MCItemGroup)\n+\n+```zenscript\n+<itemgroup:misc>\n+\n+mods.contenttweaker.BracketHandlers.getItemGroup(tokens as String);\n+mods.contenttweaker.BracketHandlers.getItemGroup(\"misc\");\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------ | ------------------------------------------- |\n+| tokens | String | What you createDataCompound in the BEP call |\n+\n+\n+### getToolType\n+\n+Gets a [mods.contenttweaker.item.MCToolType](/mods/contenttweaker/API/item/MCToolType). Will create a new one if the given one does not exist.\n+\n+ Returns: `The [mods.contenttweaker.item.MCToolType](/mods/contenttweaker/API/item/MCToolType) if found, or a new MCToolType`\n+\n+Return type: [mods.contenttweaker.item.MCToolType](/mods/contenttweaker/API/item/MCToolType)\n+\n+```zenscript\n+<tooltype:shovel>\n+\n+mods.contenttweaker.BracketHandlers.getToolType(tokens as String);\n+mods.contenttweaker.BracketHandlers.getToolType(\"shovel\");\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------ | ------------------------------------------------- |\n+| tokens | String | What you would createDataCompound in the BEP call |\n+\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations BracketHandlers.md (German) [ci skip]
139,040
03.06.2020 23:29:35
-7,200
b7c75e234c0fa592de3052f1a8ca7d7faca9225f
New translations IIsBuilder.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/mods/contenttweaker/API/api/IIsBuilder.md", "diff": "+# IIsBuilder\n+\n+Denotes anything that is a builder. What did you expect?\n+\n+This class was added by a mod with mod-id `contenttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+mods.contenttweaker.api.IIsBuilder\n+```\n+\n+## Methoden\n+### build\n+\n+Instructs CoT to actually build whatever this builder is supposed to be building.\n+\n+```zenscript\n+myIIsBuilder.build(resourceLocation as String);\n+myIIsBuilder.build(\"my_awesome_block\");\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| ---------------- | ------ | ------------------------------------ |\n+| resourceLocation | String | The resource path to give this block |\n+\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations IIsBuilder.md (German) [ci skip]
139,040
03.06.2020 23:29:37
-7,200
544f334655abde17ed115787bb14f54ea64ade2c
New translations BlockBuilder.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/mods/contenttweaker/API/block/BlockBuilder.md", "diff": "+# BlockBuilder\n+\n+The blockbuilder is used to... build blocks (you totally didn't see that one coming, right... right?).<br> Once you created it you can set various properties which will be outlined by the separate methods. <p> You can also change the block's type to create a more specialized form of block (e.g. stairs or Blocks that can be rotated in the same way logs can). To tell CoT that you want the block to appear ingame you need to call [mods.contenttweaker.block.BlockBuilder#build(String)](/mods/contenttweaker/API/block/BlockBuilder/#build) and specify a valid resource location path.\n+\n+This class was added by a mod with mod-id `contenttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+mods.contenttweaker.block.BlockBuilder\n+```\n+\n+## Implemented Interfaces\n+BlockBuilder implements the following interfaces. That means any method available to them can also be used on this class.\n+- [mods.contenttweaker.api.IIsBuilder](/mods/contenttweaker/API/api/IIsBuilder)\n+\n+## Constructors\n+Creates a new BlockBuilder. Remember that this will _not_ create a new block in the game, you need to call [mods.contenttweaker.block.BlockBuilder#build(String)](/mods/contenttweaker/API/block/BlockBuilder/#build) for that.\n+```zenscript\n+new mods.contenttweaker.block.BlockBuilder(material as crafttweaker.api.block.material.MCMaterial);\n+new mods.contenttweaker.block.BlockBuilder();\n+new mods.contenttweaker.block.BlockBuilder(<blockmaterial:earth>);\n+```\n+| Parameter | Type | Beschreibung | IsOptional | Default Value |\n+| --------- | ------------------------------------------------------------------------------------ | --------------------------------- | ---------- | ---------------------------- |\n+| material | [crafttweaker.api.block.material.MCMaterial](/vanilla/api/block/material/MCMaterial) | The material this block will have | true | `<blockmaterial:iron>` |\n+\n+\n+\n+## Methoden\n+### build\n+\n+Instructs CoT to actually build whatever this builder is supposed to be building.\n+\n+```zenscript\n+myBlockBuilder.build(resourceLocation as String);\n+myBlockBuilder.build(\"my_awesome_block\");\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| ---------------- | ------ | ------------------------------------ |\n+| resourceLocation | String | The resource path to give this block |\n+\n+\n+### withHardnessAndResistance\n+\n+Sets the block's hardness and resistance levels. Unlike the other method, this one only accepts one parameter and will use that value for both properties.\n+\n+ Returns: `This builder, used for method chaining`\n+\n+Return type: [mods.contenttweaker.block.BlockBuilder](/mods/contenttweaker/API/block/BlockBuilder)\n+\n+```zenscript\n+myBlockBuilder.withHardnessAndResistance(hardnessAndResistance as float);\n+myBlockBuilder.withHardnessAndResistance(0.5f);\n+```\n+\n+| Parameter | Type | Description |\n+| --------------------- | ----- | ------------------------------------------------- |\n+| hardnessAndResistance | float | The value to set for hardness and for resistance. |\n+\n+\n+\n+Sets the block's hardness and resistance levels. Unlike the other method, this one allows you to set each property one to a separate value.\n+\n+ Returns: `This builder, used for method chaining`\n+\n+Return type: [mods.contenttweaker.block.BlockBuilder](/mods/contenttweaker/API/block/BlockBuilder)\n+\n+```zenscript\n+myBlockBuilder.withHardnessAndResistance(hardnessIn as float, resistanceIn as float);\n+myBlockBuilder.withHardnessAndResistance(0.5f, 0.5f);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| ------------ | ----- | -------------------------------- |\n+| hardnessIn | float | The value to set for hardness |\n+| resistanceIn | float | The value to set for resistance. |\n+\n+\n+### withHarvestLevel\n+\n+Sets the mining level required to mine this block\n+\n+ Returns: `This builder, used for method chaining`\n+\n+Return type: [mods.contenttweaker.block.BlockBuilder](/mods/contenttweaker/API/block/BlockBuilder)\n+\n+```zenscript\n+myBlockBuilder.withHarvestLevel(harvestLevel as int);\n+myBlockBuilder.withHarvestLevel(3);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| ------------ | ---- | -------------------------- |\n+| harvestLevel | int | The harvest level requried |\n+\n+\n+### withHarvestTool\n+\n+Sets the tool required to harvest this block\n+\n+ Returns: `This builder, used for method chaining`\n+\n+Return type: [mods.contenttweaker.block.BlockBuilder](/mods/contenttweaker/API/block/BlockBuilder)\n+\n+```zenscript\n+myBlockBuilder.withHarvestTool(harvestTool as mods.contenttweaker.item.MCToolType);\n+myBlockBuilder.withHarvestTool(<tooltype:shovel>);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| ----------- | ------------------------------------------------------------------------------- | ------------- |\n+| harvestTool | [mods.contenttweaker.item.MCToolType](/mods/contenttweaker/API/item/MCToolType) | The tool type |\n+\n+\n+### withItemGroup\n+\n+Sets the item group in which this block will appear\n+\n+ Returns: `This builder, used for method chaining`\n+\n+Return type: [mods.contenttweaker.block.BlockBuilder](/mods/contenttweaker/API/block/BlockBuilder)\n+\n+```zenscript\n+myBlockBuilder.withItemGroup(group as mods.contenttweaker.item.MCItemGroup);\n+myBlockBuilder.withItemGroup(<itemgroup:building_blocks>);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | --------------------------------------------------------------------------------- | ---------------- |\n+| group | [mods.contenttweaker.item.MCItemGroup](/mods/contenttweaker/API/item/MCItemGroup) | The group to set |\n+\n+\n+### withLightValue\n+\n+Sets the block's light value.\n+\n+ Returns: `This builder, used for method chaining`\n+\n+Return type: [mods.contenttweaker.block.BlockBuilder](/mods/contenttweaker/API/block/BlockBuilder)\n+\n+```zenscript\n+myBlockBuilder.withLightValue(lightValueIn as int);\n+myBlockBuilder.withLightValue(15);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| ------------ | ---- | ---------------------- |\n+| lightValueIn | int | The light level to set |\n+\n+\n+### withLootFrom\n+\n+Will instruct CoT to override this block's loot table with the one of the block Provided. Currently this will still create a loot table entry, though it will be ignored by the game.\n+\n+ Returns: `This builder, used for method chaining`\n+\n+Return type: [mods.contenttweaker.block.BlockBuilder](/mods/contenttweaker/API/block/BlockBuilder)\n+\n+```zenscript\n+myBlockBuilder.withLootFrom(blockIn as crafttweaker.api.block.MCBlock);\n+myBlockBuilder.withLootFrom(<block:minecraft:diamond>);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------------------------------------------------------------- | -------------------------------------------- |\n+| blockIn | [crafttweaker.api.block.MCBlock](/vanilla/api/blocks/MCBlock) | The block whose loot table should be applied |\n+\n+\n+### withMaxStackSize\n+\n+Sets the maximum Stack size that this block can have when in your inventory. Will be 64 if unchanged.\n+\n+ Returns: `This builder, used for chaining`\n+\n+Return type: [mods.contenttweaker.block.BlockBuilder](/mods/contenttweaker/API/block/BlockBuilder)\n+\n+```zenscript\n+myBlockBuilder.withMaxStackSize(size as int);\n+myBlockBuilder.withMaxStackSize(16);\n+```\n+\n+| Parameter | Type | Description |\n+| --------- | ---- | ---------------- |\n+| size | int | The size to set. |\n+\n+\n+### withRarity\n+\n+Allows you to set the rarity of this block.\n+\n+ Returns: `This builder, used for method chaining`\n+\n+Return type: [mods.contenttweaker.block.BlockBuilder](/mods/contenttweaker/API/block/BlockBuilder)\n+\n+```zenscript\n+myBlockBuilder.withRarity(rarity as String);\n+myBlockBuilder.withRarity(\"UNCOMMON\");\n+```\n+\n+| Parameter | Type | Description |\n+| --------- | ------ | ----------- |\n+| rarity | String | The rarity |\n+\n+\n+### withSlipperiness\n+\n+Sets the slipperiness.\n+\n+ Returns: `This builder, used for method chaining`\n+\n+Return type: [mods.contenttweaker.block.BlockBuilder](/mods/contenttweaker/API/block/BlockBuilder)\n+\n+```zenscript\n+myBlockBuilder.withSlipperiness(slipperinessIn as float);\n+myBlockBuilder.withSlipperiness(0.5f);\n+```\n+\n+| Parameter | Type | Description |\n+| -------------- | ----- | ---------------- |\n+| slipperinessIn | float | The value to set |\n+\n+\n+### withType\n+\n+Sets the specific type of this block. After this method is called the builder's context will switch to the more provided type builder. That means that the methods of this builder will no longer be available, so any properties you wish to set should be set before you call this method.\n+\n+ Returns: `A builder with the given block.`\n+\n+Return type: T\n+\n+```zenscript\n+myBlockBuilder.withType<T>();\n+myBlockBuilder.withType<mods.contenttweaker.block.pillar.BlockBuilderPillarRotatable>();\n+```\n+\n+| ParameterName | Bounds |\n+| ------------- | --------------------------------------------------------------------------------------------- |\n+| T | [mods.contenttweaker.block.BlockTypeBuilder](/mods/contenttweaker/API/block/BlockTypeBuilder) |\n+\n+### withoutDrops\n+\n+Will instruct CoT that this block will not have any loot entries. Currently this will still create a loot table entry, though it will be ignored by the game.\n+\n+ Returns: `This builder, used for method chaining`\n+\n+Return type: [mods.contenttweaker.block.BlockBuilder](/mods/contenttweaker/API/block/BlockBuilder)\n+\n+```zenscript\n+myBlockBuilder.withoutDrops();\n+```\n+\n+### withoutMovementBlocking\n+\n+Instructs CoT that this block will does not block movement.\n+\n+ Returns: `This builder, used for chaining`\n+\n+Return type: [mods.contenttweaker.block.BlockBuilder](/mods/contenttweaker/API/block/BlockBuilder)\n+\n+```zenscript\n+myBlockBuilder.withoutMovementBlocking();\n+```\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations BlockBuilder.md (German) [ci skip]
139,040
03.06.2020 23:29:39
-7,200
41947edca9e54e33d1b20a994edd011abf3c3c53
New translations BlockTypeBuilder.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/mods/contenttweaker/API/block/BlockTypeBuilder.md", "diff": "+# BlockTypeBuilder\n+\n+Denotes a special builder that is used for building special block types. Used in [mods.contenttweaker.block.BlockTypeBuilder#withType](/mods/contenttweaker/API/block/BlockTypeBuilder/#withtype)\n+\n+This class was added by a mod with mod-id `contenttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+mods.contenttweaker.block.BlockTypeBuilder\n+```\n+\n+## Implemented Interfaces\n+BlockTypeBuilder implements the following interfaces. That means any method available to them can also be used on this class.\n+- [mods.contenttweaker.api.IIsBuilder](/mods/contenttweaker/API/api/IIsBuilder)\n+\n+## Methoden\n+### build\n+\n+Instructs CoT to actually build whatever this builder is supposed to be building.\n+\n+```zenscript\n+new BlockBuilder().withType<BlockBuilderBasic>().build(resourceLocation as String);\n+new BlockBuilder().withType<BlockBuilderBasic>().build(\"my_awesome_block\");\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| ---------------- | ------ | ------------------------------------ |\n+| resourceLocation | String | The resource path to give this block |\n+\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations BlockTypeBuilder.md (German) [ci skip]
139,040
03.06.2020 23:29:40
-7,200
a629e38e61b40c0e1f6c2218dced4a078f3b46a8
New translations BlockBuilderBasic.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/mods/contenttweaker/API/block/basic/BlockBuilderBasic.md", "diff": "+# BlockBuilderBasic\n+\n+This builder builds the block type that is used by default in [mods.contenttweaker.block.basic.BlockBuilderBasic#build](/mods/contenttweaker/API/block/basic/BlockBuilderBasic/#build) This builder does not offer any special properties to set, you can only build it.\n+\n+This class was added by a mod with mod-id `contenttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+mods.contenttweaker.block.basic.BlockBuilderBasic\n+```\n+\n+## Implemented Interfaces\n+BlockBuilderBasic implements the following interfaces. That means any method available to them can also be used on this class.\n+- [mods.contenttweaker.api.IIsBuilder](/mods/contenttweaker/API/api/IIsBuilder)\n+- [mods.contenttweaker.block.BlockTypeBuilder](/mods/contenttweaker/API/block/BlockTypeBuilder)\n+\n+## Methoden\n+### build\n+\n+Instructs CoT to actually build whatever this builder is supposed to be building.\n+\n+```zenscript\n+new BlockBuilder().withType<ItemBuilderBasic>().build(resourceLocation as String);\n+new BlockBuilder().withType<ItemBuilderBasic>().build(\"my_awesome_block\");\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| ---------------- | ------ | ------------------------------------ |\n+| resourceLocation | String | The resource path to give this block |\n+\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations BlockBuilderBasic.md (German) [ci skip]
139,040
03.06.2020 23:29:42
-7,200
c87131c8d2d48c7ed22849869d6b1f5711eb2b7d
New translations BlockBuilderPillarRotatable.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/mods/contenttweaker/API/block/pillar/BlockBuilderPillarRotatable.md", "diff": "+# BlockBuilderPillarRotatable\n+\n+A special Block Builder that allows you to create blocks that can be rotated in the same way as logs can. <p> This means that it has one texture for the top and bottom and one texture for the sides. By default these sides' locations are the block's name, followed by and either `_end` or `sides`. As with most things here, sample images are generated for you by default, though.\n+\n+This class was added by a mod with mod-id `contenttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+mods.contenttweaker.block.pillar.BlockBuilderPillarRotatable\n+```\n+\n+## Implemented Interfaces\n+BlockBuilderPillarRotatable implements the following interfaces. That means any method available to them can also be used on this class.\n+- [mods.contenttweaker.api.IIsBuilder](/mods/contenttweaker/API/api/IIsBuilder)\n+- [mods.contenttweaker.block.BlockTypeBuilder](/mods/contenttweaker/API/block/BlockTypeBuilder)\n+\n+## Methoden\n+### build\n+\n+Instructs CoT to actually build whatever this builder is supposed to be building.\n+\n+```zenscript\n+new BlockBuilder().withType<BlockBuilderPillarRotatable>().build(resourceLocation as String);\n+new BlockBuilder().withType<BlockBuilderPillarRotatable>().build(\"my_awesome_block\");\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| ---------------- | ------ | ------------------------------------ |\n+| resourceLocation | String | The resource path to give this block |\n+\n+\n+### withEndTexture\n+\n+Allows you to override the path of the texture that the end sides (top/bottom) should use. If that texture's namespace is in the namespace of CoT or any of its addons (that support it) then the image will be created by default.\n+\n+ Returns: `This builder, used for method chaining`\n+\n+Return type: [mods.contenttweaker.block.pillar.BlockBuilderPillarRotatable](/mods/contenttweaker/API/block/pillar/BlockBuilderPillarRotatable)\n+\n+```zenscript\n+new BlockBuilder().withType<BlockBuilderPillarRotatable>().withEndTexture(endTexture as crafttweaker.api.util.MCResourceLocation);\n+new BlockBuilder().withType<BlockBuilderPillarRotatable>().withEndTexture(<resource:contenttweaker:my_awesome_pillar_end>);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| ---------- | -------------------------------------------------------------------------------- | ----------------------------------------- |\n+| endTexture | [crafttweaker.api.util.MCResourceLocation](/vanilla/api/util/MCResourceLocation) | The texture to be used for the end sides. |\n+\n+\n+\n+Allows you to override the path of the texture that the end sides (top/bottom) should use. If that texture's namespace is in the namespace of CoT or any of its addons (that support it) then the image will be created by default. Uses a function that takes the block's name as input and returns the end texture for it.\n+\n+ Returns: `This builder, used for method chaining`\n+\n+Return type: [mods.contenttweaker.block.pillar.BlockBuilderPillarRotatable](/mods/contenttweaker/API/block/pillar/BlockBuilderPillarRotatable)\n+\n+```zenscript\n+new BlockBuilder().withType<BlockBuilderPillarRotatable>().withEndTexture(endTexture as function.Function<crafttweaker.api.util.MCResourceLocation, crafttweaker.api.util.MCResourceLocation>);\n+new BlockBuilder().withType<BlockBuilderPillarRotatable>().withEndTexture((blockName as MCResourceLocation) => new MCResourceLocation(blockName.namespace, blockName.path + \"_end\"));\n+```\n+\n+| Parameter | Type | Description |\n+| ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------- |\n+| endTexture | function.Function&lt;[crafttweaker.api.util.MCResourceLocation](/vanilla/api/util/MCResourceLocation), [crafttweaker.api.util.MCResourceLocation](/vanilla/api/util/MCResourceLocation)&gt; | The function to use |\n+\n+\n+### withSideTexture\n+\n+Allows you to override the path of the texture that the sides (everything but top/bottom) should use. If that texture's namespace is in the namespace of CoT or any of its addons (that support it) then the image will be created by default.\n+\n+ Returns: `This builder, used for method chaining`\n+\n+Return type: [mods.contenttweaker.block.pillar.BlockBuilderPillarRotatable](/mods/contenttweaker/API/block/pillar/BlockBuilderPillarRotatable)\n+\n+```zenscript\n+new BlockBuilder().withType<BlockBuilderPillarRotatable>().withSideTexture(sidesTexture as crafttweaker.api.util.MCResourceLocation);\n+new BlockBuilder().withType<BlockBuilderPillarRotatable>().withSideTexture(<resource:contenttweaker:my_awesome_pillar_side>);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| ------------ | -------------------------------------------------------------------------------- | ------------------------------------- |\n+| sidesTexture | [crafttweaker.api.util.MCResourceLocation](/vanilla/api/util/MCResourceLocation) | The texture to be used for the sides. |\n+\n+\n+\n+Allows you to override the path of the texture that the sides (everything but top/bottom) should use. If that texture's namespace is in the namespace of CoT or any of its addons (that support it) then the image will be created by default. Uses a function that takes the block's name as input and returns the end texture for it.\n+\n+ Returns: `This builder, used for method chaining`\n+\n+Return type: [mods.contenttweaker.block.pillar.BlockBuilderPillarRotatable](/mods/contenttweaker/API/block/pillar/BlockBuilderPillarRotatable)\n+\n+```zenscript\n+new BlockBuilder().withType<BlockBuilderPillarRotatable>().withSideTexture(sidesTexture as function.Function<crafttweaker.api.util.MCResourceLocation, crafttweaker.api.util.MCResourceLocation>);\n+new BlockBuilder().withType<BlockBuilderPillarRotatable>().withSideTexture((blockName as MCResourceLocation) => new MCResourceLocation(blockName.namespace, blockName.path + \"_sides\"));\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------- |\n+| sidesTexture | function.Function&lt;[crafttweaker.api.util.MCResourceLocation](/vanilla/api/util/MCResourceLocation), [crafttweaker.api.util.MCResourceLocation](/vanilla/api/util/MCResourceLocation)&gt; | The function to use |\n+\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations BlockBuilderPillarRotatable.md (German) [ci skip]
139,040
03.06.2020 23:29:44
-7,200
29736743621a7ab5cbae61ecede101bb31bedd91
New translations BlockBuilderStairs.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/mods/contenttweaker/API/block/stairs/BlockBuilderStairs.md", "diff": "+# BlockBuilderStairs\n+\n+A special Block Builder that allows you to create stairs. <p> Stairs will have not one but three textures that you will need to supply: One for the top, one for the bottom and one for the sides. By default these textures will use your blockname as name, suffixed by `_top`, `_bottom` or `_sides`. As with most things here, sample images are generated for you by default, though.\n+\n+This class was added by a mod with mod-id `contenttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+mods.contenttweaker.block.stairs.BlockBuilderStairs\n+```\n+\n+## Implemented Interfaces\n+BlockBuilderStairs implements the following interfaces. That means any method available to them can also be used on this class.\n+- [mods.contenttweaker.api.IIsBuilder](/mods/contenttweaker/API/api/IIsBuilder)\n+- [mods.contenttweaker.block.BlockTypeBuilder](/mods/contenttweaker/API/block/BlockTypeBuilder)\n+\n+## Methoden\n+### build\n+\n+Instructs CoT to actually build whatever this builder is supposed to be building.\n+\n+```zenscript\n+new BlockBuilder().withType<BlockBuilderStairs>().build(resourceLocation as String);\n+new BlockBuilder().withType<BlockBuilderStairs>().build(\"my_awesome_block\");\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| ---------------- | ------ | ------------------------------------ |\n+| resourceLocation | String | The resource path to give this block |\n+\n+\n+### withBottomTexture\n+\n+Allows you to override the path of the texture that the bottom side should use. If that texture's namespace is in the namespace of CoT or any of its addons (that support it) then the image will be created by default.\n+\n+ Returns: `This builder, used for method chaining`\n+\n+Return type: [mods.contenttweaker.block.stairs.BlockBuilderStairs](/mods/contenttweaker/API/block/stairs/BlockBuilderStairs)\n+\n+```zenscript\n+new BlockBuilder().withType<BlockBuilderStairs>().withBottomTexture(bottomTexture as crafttweaker.api.util.MCResourceLocation);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| ------------- | -------------------------------------------------------------------------------- | ------------------------------------------ |\n+| bottomTexture | [crafttweaker.api.util.MCResourceLocation](/vanilla/api/util/MCResourceLocation) | The texture to be used for the bottom side |\n+\n+\n+\n+Allows you to override the path of the texture that the bottom side should use. If that texture's namespace is in the namespace of CoT or any of its addons (that support it) then the image will be created by default. Uses a function that takes the block's name as input and returns the end texture for it.\n+\n+ Returns: `This builder, used for method chaining`\n+\n+Return type: [mods.contenttweaker.block.stairs.BlockBuilderStairs](/mods/contenttweaker/API/block/stairs/BlockBuilderStairs)\n+\n+```zenscript\n+new BlockBuilder().withType<BlockBuilderStairs>().withBottomTexture(bottomTexture as function.Function<crafttweaker.api.util.MCResourceLocation, crafttweaker.api.util.MCResourceLocation>);\n+new BlockBuilder().withType<BlockBuilderStairs>().withBottomTexture((blockName as MCResourceLocation) => new MCResourceLocation(blockName.namespace, blockName.path + \"_bottom\"));\n+```\n+\n+| Parameter | Type | Description |\n+| ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------- |\n+| bottomTexture | function.Function&lt;[crafttweaker.api.util.MCResourceLocation](/vanilla/api/util/MCResourceLocation), [crafttweaker.api.util.MCResourceLocation](/vanilla/api/util/MCResourceLocation)&gt; | The function to use |\n+\n+\n+### withSidesTexture\n+\n+Allows you to override the path of the texture that the sides should use. If that texture's namespace is in the namespace of CoT or any of its addons (that support it) then the image will be created by default.\n+\n+ Returns: `This builder, used for method chaining`\n+\n+Return type: [mods.contenttweaker.block.stairs.BlockBuilderStairs](/mods/contenttweaker/API/block/stairs/BlockBuilderStairs)\n+\n+```zenscript\n+new BlockBuilder().withType<BlockBuilderStairs>().withSidesTexture(sidesTexture as crafttweaker.api.util.MCResourceLocation);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| ------------ | -------------------------------------------------------------------------------- | ------------------------------------ |\n+| sidesTexture | [crafttweaker.api.util.MCResourceLocation](/vanilla/api/util/MCResourceLocation) | The texture to be used for the sides |\n+\n+\n+\n+Allows you to override the path of the texture that the sides should use. If that texture's namespace is in the namespace of CoT or any of its addons (that support it) then the image will be created by default. Uses a function that takes the block's name as input and returns the end texture for it.\n+\n+ Returns: `This builder, used for method chaining`\n+\n+Return type: [mods.contenttweaker.block.stairs.BlockBuilderStairs](/mods/contenttweaker/API/block/stairs/BlockBuilderStairs)\n+\n+```zenscript\n+new BlockBuilder().withType<BlockBuilderStairs>().withSidesTexture(sidesTexture as function.Function<crafttweaker.api.util.MCResourceLocation, crafttweaker.api.util.MCResourceLocation>);\n+new BlockBuilder().withType<BlockBuilderStairs>().withSidesTexture((blockName as MCResourceLocation) => new MCResourceLocation(blockName.namespace, blockName.path + \"_sides\"));\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------- |\n+| sidesTexture | function.Function&lt;[crafttweaker.api.util.MCResourceLocation](/vanilla/api/util/MCResourceLocation), [crafttweaker.api.util.MCResourceLocation](/vanilla/api/util/MCResourceLocation)&gt; | The function to use |\n+\n+\n+### withTopTexture\n+\n+Allows you to override the path of the texture that the top side should use. If that texture's namespace is in the namespace of CoT or any of its addons (that support it) then the image will be created by default.\n+\n+ Returns: `This builder, used for method chaining`\n+\n+Return type: [mods.contenttweaker.block.stairs.BlockBuilderStairs](/mods/contenttweaker/API/block/stairs/BlockBuilderStairs)\n+\n+```zenscript\n+new BlockBuilder().withType<BlockBuilderStairs>().withTopTexture(topTexture as crafttweaker.api.util.MCResourceLocation);\n+new BlockBuilder().withType<BlockBuilderStairs>().withTopTexture(<resource:contenttweaker:my_awesome_stairs_top>);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| ---------- | -------------------------------------------------------------------------------- | --------------------------------------- |\n+| topTexture | [crafttweaker.api.util.MCResourceLocation](/vanilla/api/util/MCResourceLocation) | The texture to be used for the top side |\n+\n+\n+\n+Allows you to override the path of the texture that the top side should use. If that texture's namespace is in the namespace of CoT or any of its addons (that support it) then the image will be created by default. Uses a function that takes the block's name as input and returns the end texture for it.\n+\n+ Returns: `This builder, used for method chaining`\n+\n+Return type: [mods.contenttweaker.block.stairs.BlockBuilderStairs](/mods/contenttweaker/API/block/stairs/BlockBuilderStairs)\n+\n+```zenscript\n+new BlockBuilder().withType<BlockBuilderStairs>().withTopTexture(topTexture as function.Function<crafttweaker.api.util.MCResourceLocation, crafttweaker.api.util.MCResourceLocation>);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------- |\n+| topTexture | function.Function&lt;[crafttweaker.api.util.MCResourceLocation](/vanilla/api/util/MCResourceLocation), [crafttweaker.api.util.MCResourceLocation](/vanilla/api/util/MCResourceLocation)&gt; | The function to use |\n+\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations BlockBuilderStairs.md (German) [ci skip]
139,040
03.06.2020 23:29:46
-7,200
92306ce36ce9e27a29b099dfb3964296dcfec079
New translations ItemBuilder.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/mods/contenttweaker/API/item/ItemBuilder.md", "diff": "+# ItemBuilder\n+\n+The item builder is to... build items (surprise!) <p> It allows you to set various properties that will change how the item behaves and what it can do. You can also use [mods.contenttweaker.item.ItemBuilder#withType](/mods/contenttweaker/API/item/ItemBuilder/#withtype) to switch to a more specialized builder, if there exist any. <p> To tell CoT that you want the item to appear ingame you need to call [mods.contenttweaker.item.ItemBuilder#build(String)](/mods/contenttweaker/API/item/ItemBuilder/#build) and specify a valid resource location path.\n+\n+This class was added by a mod with mod-id `contenttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+mods.contenttweaker.item.ItemBuilder\n+```\n+\n+## Implemented Interfaces\n+ItemBuilder implements the following interfaces. That means any method available to them can also be used on this class.\n+- [mods.contenttweaker.api.IIsBuilder](/mods/contenttweaker/API/api/IIsBuilder)\n+\n+## Constructors\n+Creates a new ItemBuilder. Remember that this will _not_ create a new block in the game, you need to call [mods.contenttweaker.item.ItemBuilder#build(String)](/mods/contenttweaker/API/item/ItemBuilder/#build) for that.\n+```zenscript\n+new mods.contenttweaker.item.ItemBuilder();\n+```\n+\n+## Methoden\n+### build\n+\n+Instructs CoT to actually build whatever this builder is supposed to be building.\n+\n+```zenscript\n+new ItemBuilder().build(resourceLocation as String);\n+new ItemBuilder().build(\"my_awesome_block\");\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| ---------------- | ------ | ------------------------------------ |\n+| resourceLocation | String | The resource path to give this block |\n+\n+\n+### withItemGroup\n+\n+Allows you to set the item group that this item will appear in. By default, items will land in `misc`\n+\n+ Returns: `This builder, used for method chaining`\n+\n+Return type: [mods.contenttweaker.item.ItemBuilder](/mods/contenttweaker/API/item/ItemBuilder)\n+\n+```zenscript\n+new ItemBuilder().withItemGroup(itemGroup as mods.contenttweaker.item.MCItemGroup);\n+new ItemBuilder().withItemGroup(<itemgroup:misc>);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | --------------------------------------------------------------------------------- | ----------------------------------------- |\n+| itemGroup | [mods.contenttweaker.item.MCItemGroup](/mods/contenttweaker/API/item/MCItemGroup) | The item group this item should appear in |\n+\n+\n+### withMaxDamage\n+\n+Allows you to set the maximum damage for this item.<br/> Be warned that this cannot be used in combination with [mods.contenttweaker.item.ItemBuilder#withMaxStackSize](/mods/contenttweaker/API/item/ItemBuilder/#withmaxstacksize)!\n+\n+ Returns: `This builder, used for method chaining`\n+\n+Return type: [mods.contenttweaker.item.ItemBuilder](/mods/contenttweaker/API/item/ItemBuilder)\n+\n+```zenscript\n+new ItemBuilder().withMaxDamage(maxDamage as int);\n+new ItemBuilder().withMaxDamage(250);\n+```\n+\n+| Parameter | Type | Description |\n+| --------- | ---- | ---------------------- |\n+| maxDamage | int | The maximum stack size |\n+\n+\n+### withMaxStackSize\n+\n+Allows you to set the maximum stack size for this item.<br/> Be warned that this cannot be used in combination with [mods.contenttweaker.item.ItemBuilder#withMaxDamage](/mods/contenttweaker/API/item/ItemBuilder/#withmaxdamage)!\n+\n+ Returns: `This builder, used for method chaining`\n+\n+Return type: [mods.contenttweaker.item.ItemBuilder](/mods/contenttweaker/API/item/ItemBuilder)\n+\n+```zenscript\n+new ItemBuilder().withMaxStackSize(maxStackSize as int);\n+new ItemBuilder().withMaxStackSize(16);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| ------------ | ---- | ---------------------- |\n+| maxStackSize | int | The maximum stack size |\n+\n+\n+### withNoRepair\n+\n+Sets that this item may not be repaired in an anvil Returns: `This builder, used for method chaining`\n+\n+Return type: [mods.contenttweaker.item.ItemBuilder](/mods/contenttweaker/API/item/ItemBuilder)\n+\n+```zenscript\n+new ItemBuilder().withNoRepair();\n+```\n+\n+### withRarity\n+\n+Allows you to set the item's rarity\n+\n+ Returns: `This builder, used for method chaining`\n+\n+Return type: [mods.contenttweaker.item.ItemBuilder](/mods/contenttweaker/API/item/ItemBuilder)\n+\n+```zenscript\n+new ItemBuilder().withRarity(rarity as String);\n+new ItemBuilder().withRarity(\"EPIC\");\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------ | ------------ |\n+| rarity | String | The rarity |\n+\n+\n+### withType\n+\n+Sets the specific type of this item. After this method is called the builder's context will switch to the more provided type builder. That means that the methods of this builder will no longer be available, so any properties you wish to set should be set before you call this method. Returns: `A builder with the given item.`\n+\n+Return type: T\n+\n+```zenscript\n+new ItemBuilder().withType<T>();\n+new ItemBuilder().withType<mods.contenttweaker.item.tool.ItemBuilderTool>();\n+```\n+\n+| ParameterName | Bounds |\n+| ------------- | ----------------------------------------------------------------------------------------- |\n+| T | [mods.contenttweaker.item.ItemTypeBuilder](/mods/contenttweaker/API/item/ItemTypeBuilder) |\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations ItemBuilder.md (German) [ci skip]
139,040
03.06.2020 23:29:49
-7,200
d6f65565fbd870ed94944bfd8c31124155feadcb
New translations MCItemGroup.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/mods/contenttweaker/API/item/MCItemGroup.md", "diff": "+# MCItemGroup\n+\n+An item Group (a.k.a. Creative Tab) is a grouping of items based on category.\n+\n+This class was added by a mod with mod-id `contenttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+mods.contenttweaker.item.MCItemGroup\n+```\n+\n+## Implemented Interfaces\n+MCItemGroup implements the following interfaces. That means any method available to them can also be used on this class.\n+- [crafttweaker.api.brackets.CommandStringDisplayable](/vanilla/api/brackets/CommandStringDisplayable)\n+\n+## Methoden\n+### getPath\n+\n+Gets the path of the item group. The path is what you use in the Bracket Expression after the `<itemgroup:` part.\n+\n+Return type: String\n+\n+```zenscript\n+<itemgroup:misc>.getPath();\n+```\n+\n+### setBackgroundImageName\n+\n+Sets the image name of the Background that is used for this tab in the creative menu Returns: `This object for chaining`\n+\n+Return type: [mods.contenttweaker.item.MCItemGroup](/mods/contenttweaker/API/item/MCItemGroup)\n+\n+```zenscript\n+<itemgroup:misc>.setBackgroundImageName(texture as String);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------ | ---------------------- |\n+| texture | String | The texture to be used |\n+\n+\n+### setNoScrollbar\n+\n+Removes the scrollbar of the item Group in the creative inventory\n+\n+ Returns: `This object for chaining`\n+\n+Return type: [mods.contenttweaker.item.MCItemGroup](/mods/contenttweaker/API/item/MCItemGroup)\n+\n+```zenscript\n+<itemgroup:misc>.setNoScrollbar();\n+```\n+\n+### setNoTitle\n+\n+Removes the title of the item Group in the creative inventory\n+\n+ Returns: `This object for chaining`\n+\n+Return type: [mods.contenttweaker.item.MCItemGroup](/mods/contenttweaker/API/item/MCItemGroup)\n+\n+```zenscript\n+<itemgroup:misc>.setNoTitle();\n+```\n+\n+\n+## Properties\n+\n+| Name | Type | Has Getter | Has Setter |\n+| ------------- | ------ | ---------- | ---------- |\n+| commandString | String | true | false |\n+| path | String | true | false |\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations MCItemGroup.md (German) [ci skip]
139,040
03.06.2020 23:29:52
-7,200
5fc94dccae1e42df34bf0961d4537c9b25d377f1
New translations MCToolType.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/mods/contenttweaker/API/item/MCToolType.md", "diff": "+# MCToolType\n+\n+A Tooltype is used to identify what kind of blocks a tool can mine, or inversely, what kind of tool is required to mine a given block.\n+\n+This class was added by a mod with mod-id `contenttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+mods.contenttweaker.item.MCToolType\n+```\n+\n+## Implemented Interfaces\n+MCToolType implements the following interfaces. That means any method available to them can also be used on this class.\n+- [crafttweaker.api.brackets.CommandStringDisplayable](/vanilla/api/brackets/CommandStringDisplayable)\n+\n+## Constructors\n+Constructs a ToolType object. If one with the given name already exists, they will internally point to the same toolType. Otherwise, a new one with the name is created (The same holds true for Brackets as well!)\n+```zenscript\n+new mods.contenttweaker.item.MCToolType(name as String);\n+new mods.contenttweaker.item.MCToolType(\"pickaxe\");\n+```\n+| Parameter | Type | Beschreibung |\n+| --------- | ------ | ------------------- |\n+| name | String | The name to be used |\n+\n+\n+\n+## Methoden\n+### getName\n+\n+Gets the name of this toolType. The name is what is used in the Bracket expression after the `<tooltype:`\n+\n+Return type: String\n+\n+```zenscript\n+<tooltype:pickaxe>.getName();\n+```\n+\n+### hashCode\n+\n+Returns the object's hash code\n+\n+Return type: int\n+\n+```zenscript\n+<tooltype:pickaxe>.hashCode();\n+```\n+\n+### toString\n+\n+Get the string representation of this type. Is different from commandString!\n+\n+Return type: String\n+\n+```zenscript\n+<tooltype:pickaxe>.toString();\n+```\n+\n+\n+## Properties\n+\n+| Name | Type | Has Getter | Has Setter |\n+| ------------- | ------ | ---------- | ---------- |\n+| commandString | String | true | false |\n+| name | String | true | false |\n+\n+## Operators\n+### EQUALS\n+\n+Compares if two given MCToolType objects are equal\n+\n+```zenscript\n+<tooltype:pickaxe> == o as Object\n+<tooltype:pickaxe> == new MCToolType(\"pickaxe\")\n+```\n+\n+| Parameter | Type | Description |\n+| --------- | ------ | ---------------- |\n+| o | Object | The other object |\n+\n+## Casters\n+\n+| Result type | Is Implicit |\n+| ----------- | ----------- |\n+| String | false |\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations MCToolType.md (German) [ci skip]
139,040
03.06.2020 23:29:54
-7,200
0f49d895fb6a81a341e12e7a8b251473360befab
New translations ItemBuilderBasic.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/mods/contenttweaker/API/item/basic/ItemBuilderBasic.md", "diff": "+# ItemBuilderBasic\n+\n+The basic builder for items, also called by [mods.contenttweaker.item.basic.ItemBuilderBasic#build](/mods/contenttweaker/API/item/basic/ItemBuilderBasic/#build). Does not have any special properties, it exists.\n+\n+This class was added by a mod with mod-id `contenttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+mods.contenttweaker.item.basic.ItemBuilderBasic\n+```\n+\n+## Implemented Interfaces\n+ItemBuilderBasic implements the following interfaces. That means any method available to them can also be used on this class.\n+- [mods.contenttweaker.api.IIsBuilder](/mods/contenttweaker/API/api/IIsBuilder)\n+- [mods.contenttweaker.item.ItemTypeBuilder](/mods/contenttweaker/API/item/ItemTypeBuilder)\n+\n+## Methoden\n+### build\n+\n+Instructs CoT to actually build whatever this builder is supposed to be building.\n+\n+```zenscript\n+new ItemBuilder().withType<ItemBuilderBasic>().build(resourceLocation as String);\n+new ItemBuilder().withType<ItemBuilderBasic>().build(\"my_awesome_block\");\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| ---------------- | ------ | ------------------------------------ |\n+| resourceLocation | String | The resource path to give this block |\n+\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations ItemBuilderBasic.md (German) [ci skip]
139,040
03.06.2020 23:29:55
-7,200
402b6cdc53bfcc02ef7e1fbafb13810ad8eea4d7
New translations ItemBuilderTool.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/mods/contenttweaker/API/item/tool/ItemBuilderTool.md", "diff": "+# ItemBuilderTool\n+\n+A special builder that allows you to create items that can be used as tools. You should have set the item's max damage before changing to this builder. <p> Has special methods that allow you to set the mining level for several tool types as well as the attack damage.\n+\n+This class was added by a mod with mod-id `contenttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+mods.contenttweaker.item.tool.ItemBuilderTool\n+```\n+\n+## Implemented Interfaces\n+ItemBuilderTool implements the following interfaces. That means any method available to them can also be used on this class.\n+- [mods.contenttweaker.api.IIsBuilder](/mods/contenttweaker/API/api/IIsBuilder)\n+- [mods.contenttweaker.item.ItemTypeBuilder](/mods/contenttweaker/API/item/ItemTypeBuilder)\n+\n+## Methoden\n+### build\n+\n+Instructs CoT to actually build whatever this builder is supposed to be building.\n+\n+```zenscript\n+new ItemBuilder().withMaxDamage(150).withType<ItemBuilderTool>().build(resourceLocation as String);\n+new ItemBuilder().withMaxDamage(150).withType<ItemBuilderTool>().build(\"my_awesome_block\");\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| ---------------- | ------ | ------------------------------------ |\n+| resourceLocation | String | The resource path to give this block |\n+\n+\n+### withAttackDamage\n+\n+Allows you to set the attack damage bonus that you get when holding this item\n+\n+ Returns: `This builder, used for method chaining`\n+\n+Return type: [mods.contenttweaker.item.tool.ItemBuilderTool](/mods/contenttweaker/API/item/tool/ItemBuilderTool)\n+\n+```zenscript\n+new ItemBuilder().withMaxDamage(150).withType<ItemBuilderTool>().withAttackDamage(attackDamage as float);\n+new ItemBuilder().withMaxDamage(150).withType<ItemBuilderTool>().withAttackDamage(2.0f);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| ------------ | ----- | ---------------------------- |\n+| attackDamage | float | The additional attack damage |\n+\n+\n+### withAttackSpeed\n+\n+Allows you to set the attack speed bonus that you get when holding this item.\n+\n+ Returns: `This builder, used for method chaining.`\n+\n+Return type: [mods.contenttweaker.item.tool.ItemBuilderTool](/mods/contenttweaker/API/item/tool/ItemBuilderTool)\n+\n+```zenscript\n+new ItemBuilder().withMaxDamage(150).withType<ItemBuilderTool>().withAttackSpeed(attackSpeed as double);\n+new ItemBuilder().withMaxDamage(150).withType<ItemBuilderTool>().withAttackSpeed(2.0d);\n+```\n+\n+| Parameter | Type | Description |\n+| ----------- | ------ | ---------------- |\n+| attackSpeed | double | The attack speed |\n+\n+\n+### withDurabilityCostAttack\n+\n+Allows you to set the amount of damage that this item will receive when hitting enemies. By default this is `0`\n+\n+ Returns: `This builder, used for method chaining`\n+\n+Return type: [mods.contenttweaker.item.tool.ItemBuilderTool](/mods/contenttweaker/API/item/tool/ItemBuilderTool)\n+\n+```zenscript\n+new ItemBuilder().withMaxDamage(150).withType<ItemBuilderTool>().withDurabilityCostAttack(durabilityCostAttack as int);\n+new ItemBuilder().withMaxDamage(150).withType<ItemBuilderTool>().withDurabilityCostAttack(5);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| -------------------- | ---- | ---------------------------------------- |\n+| durabilityCostAttack | int | The damage points this item will receive |\n+\n+\n+### withDurabilityCostMining\n+\n+Allows you to set the amount of damage that this item will receive when mining blocks. By default this is `0`\n+\n+ Returns: `This builder, used for method chaining`\n+\n+Return type: [mods.contenttweaker.item.tool.ItemBuilderTool](/mods/contenttweaker/API/item/tool/ItemBuilderTool)\n+\n+```zenscript\n+new ItemBuilder().withMaxDamage(150).withType<ItemBuilderTool>().withDurabilityCostMining(durabilityCostMining as int);\n+new ItemBuilder().withMaxDamage(150).withType<ItemBuilderTool>().withDurabilityCostMining(1);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| -------------------- | ---- | ---------------------------------------- |\n+| durabilityCostMining | int | The damage points this item will receive |\n+\n+\n+### withToolType\n+\n+Allows you to add a tool type to this tool. You can specify the type, the mining level and optionally the mining speed when this type is hit as well.\n+\n+ Returns: `This builder, used for method chaining`\n+\n+Return type: [mods.contenttweaker.item.tool.ItemBuilderTool](/mods/contenttweaker/API/item/tool/ItemBuilderTool)\n+\n+```zenscript\n+new ItemBuilder().withMaxDamage(150).withType<ItemBuilderTool>().withToolType(toolType as mods.contenttweaker.item.MCToolType, miningLevel as int, miningSpeed as float);\n+new ItemBuilder().withMaxDamage(150).withType<ItemBuilderTool>().withToolType(<tooltype:shovel>, 3);\n+new ItemBuilder().withMaxDamage(150).withType<ItemBuilderTool>().withToolType(<tooltype:shovel>, 3, 2.0f);\n+```\n+\n+| Parameter | Type | Beschreibung | IsOptional | Default Value |\n+| ----------- | ------------------------------------------------------------------------------- | ---------------------------------------------------- | ---------- | ------------- |\n+| toolType | [mods.contenttweaker.item.MCToolType](/mods/contenttweaker/API/item/MCToolType) | The type of the tool | false | `null` |\n+| miningLevel | int | The mining level for this tool type | false | `null` |\n+| miningSpeed | float | How fast this tool can mine blocks of the given type | true | `1.0` |\n+\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations ItemBuilderTool.md (German) [ci skip]
139,040
03.06.2020 23:30:17
-7,200
7353089ebdee37c8096b97977e7583af6ac38bfa
New translations ItemTypeBuilder.md (Spanish) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/es/docs/mods/contenttweaker/API/item/ItemTypeBuilder.md", "diff": "+# ItemTypeBuilder\n+\n+Denotes a special builder that is used for builing special item types. Used in [mods.contenttweaker.item.ItemTypeBuilder#withType](/mods/contenttweaker/API/item/ItemTypeBuilder/#withtype)\n+\n+This class was added by a mod with mod-id `contenttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Importar la clase\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+mods.contenttweaker.item.ItemTypeBuilder\n+```\n+\n+## Implemented Interfaces\n+ItemTypeBuilder implements the following interfaces. That means any method available to them can also be used on this class.\n+- [mods.contenttweaker.api.IIsBuilder](/mods/contenttweaker/API/api/IIsBuilder)\n+\n+## Methods\n+### build\n+\n+Instructs CoT to actually build whatever this builder is supposed to be building.\n+\n+```zenscript\n+new ItemBuilder().withType<ItemBuilderBasic>().build(resourceLocation as String);\n+new ItemBuilder().withType<ItemBuilderBasic>().build(\"my_awesome_block\");\n+```\n+\n+| Parameter | Type | Description |\n+| ---------------- | ------ | ------------------------------------ |\n+| resourceLocation | String | The resource path to give this block |\n+\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations ItemTypeBuilder.md (Spanish) [ci skip]
139,040
03.06.2020 23:31:01
-7,200
4f7dcd0ccf81c0f592f6501f8467ee4d2e1fdc23
New translations MCItemGroup.md (Spanish) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/es/docs/mods/contenttweaker/API/item/MCItemGroup.md", "diff": "+# MCItemGroup\n+\n+An item Group (a.k.a. Creative Tab) is a grouping of items based on category.\n+\n+This class was added by a mod with mod-id `contenttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Importar la clase\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+mods.contenttweaker.item.MCItemGroup\n+```\n+\n+## Implemented Interfaces\n+MCItemGroup implements the following interfaces. That means any method available to them can also be used on this class.\n+- [crafttweaker.api.brackets.CommandStringDisplayable](/vanilla/api/brackets/CommandStringDisplayable)\n+\n+## Methods\n+### getPath\n+\n+Gets the path of the item group. The path is what you use in the Bracket Expression after the `<itemgroup:` part.\n+\n+Return type: String\n+\n+```zenscript\n+<itemgroup:misc>.getPath();\n+```\n+\n+### setBackgroundImageName\n+\n+Sets the image name of the Background that is used for this tab in the creative menu Returns: `This object for chaining`\n+\n+Return type: [mods.contenttweaker.item.MCItemGroup](/mods/contenttweaker/API/item/MCItemGroup)\n+\n+```zenscript\n+<itemgroup:misc>.setBackgroundImageName(texture as String);\n+```\n+\n+| Parameter | Type | Description |\n+| --------- | ------ | ---------------------- |\n+| texture | String | The texture to be used |\n+\n+\n+### setNoScrollbar\n+\n+Removes the scrollbar of the item Group in the creative inventory\n+\n+ Returns: `This object for chaining`\n+\n+Return type: [mods.contenttweaker.item.MCItemGroup](/mods/contenttweaker/API/item/MCItemGroup)\n+\n+```zenscript\n+<itemgroup:misc>.setNoScrollbar();\n+```\n+\n+### setNoTitle\n+\n+Removes the title of the item Group in the creative inventory\n+\n+ Returns: `This object for chaining`\n+\n+Return type: [mods.contenttweaker.item.MCItemGroup](/mods/contenttweaker/API/item/MCItemGroup)\n+\n+```zenscript\n+<itemgroup:misc>.setNoTitle();\n+```\n+\n+\n+## Properties\n+\n+| Name | Type | Has Getter | Has Setter |\n+| ------------- | ------ | ---------- | ---------- |\n+| commandString | String | true | false |\n+| path | String | true | false |\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations MCItemGroup.md (Spanish) [ci skip]
139,040
03.06.2020 23:31:02
-7,200
954d3b03ee470dfb635dba52859acb7a5b4a83a6
New translations ItemBuilder.md (Spanish) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/es/docs/mods/contenttweaker/API/item/ItemBuilder.md", "diff": "+# ItemBuilder\n+\n+The item builder is to... build items (surprise!) <p> It allows you to set various properties that will change how the item behaves and what it can do. You can also use [mods.contenttweaker.item.ItemBuilder#withType](/mods/contenttweaker/API/item/ItemBuilder/#withtype) to switch to a more specialized builder, if there exist any. <p> To tell CoT that you want the item to appear ingame you need to call [mods.contenttweaker.item.ItemBuilder#build(String)](/mods/contenttweaker/API/item/ItemBuilder/#build) and specify a valid resource location path.\n+\n+This class was added by a mod with mod-id `contenttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Importar la clase\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+mods.contenttweaker.item.ItemBuilder\n+```\n+\n+## Implemented Interfaces\n+ItemBuilder implements the following interfaces. That means any method available to them can also be used on this class.\n+- [mods.contenttweaker.api.IIsBuilder](/mods/contenttweaker/API/api/IIsBuilder)\n+\n+## Constructors\n+Creates a new ItemBuilder. Remember that this will _not_ create a new block in the game, you need to call [mods.contenttweaker.item.ItemBuilder#build(String)](/mods/contenttweaker/API/item/ItemBuilder/#build) for that.\n+```zenscript\n+new mods.contenttweaker.item.ItemBuilder();\n+```\n+\n+## Methods\n+### build\n+\n+Instructs CoT to actually build whatever this builder is supposed to be building.\n+\n+```zenscript\n+new ItemBuilder().build(resourceLocation as String);\n+new ItemBuilder().build(\"my_awesome_block\");\n+```\n+\n+| Parameter | Type | Description |\n+| ---------------- | ------ | ------------------------------------ |\n+| resourceLocation | String | The resource path to give this block |\n+\n+\n+### withItemGroup\n+\n+Allows you to set the item group that this item will appear in. By default, items will land in `misc`\n+\n+ Returns: `This builder, used for method chaining`\n+\n+Return type: [mods.contenttweaker.item.ItemBuilder](/mods/contenttweaker/API/item/ItemBuilder)\n+\n+```zenscript\n+new ItemBuilder().withItemGroup(itemGroup as mods.contenttweaker.item.MCItemGroup);\n+new ItemBuilder().withItemGroup(<itemgroup:misc>);\n+```\n+\n+| Parameter | Type | Description |\n+| --------- | --------------------------------------------------------------------------------- | ----------------------------------------- |\n+| itemGroup | [mods.contenttweaker.item.MCItemGroup](/mods/contenttweaker/API/item/MCItemGroup) | The item group this item should appear in |\n+\n+\n+### withMaxDamage\n+\n+Allows you to set the maximum damage for this item.<br/> Be warned that this cannot be used in combination with [mods.contenttweaker.item.ItemBuilder#withMaxStackSize](/mods/contenttweaker/API/item/ItemBuilder/#withmaxstacksize)!\n+\n+ Returns: `This builder, used for method chaining`\n+\n+Return type: [mods.contenttweaker.item.ItemBuilder](/mods/contenttweaker/API/item/ItemBuilder)\n+\n+```zenscript\n+new ItemBuilder().withMaxDamage(maxDamage as int);\n+new ItemBuilder().withMaxDamage(250);\n+```\n+\n+| Parameter | Type | Description |\n+| --------- | ---- | ---------------------- |\n+| maxDamage | int | The maximum stack size |\n+\n+\n+### withMaxStackSize\n+\n+Allows you to set the maximum stack size for this item.<br/> Be warned that this cannot be used in combination with [mods.contenttweaker.item.ItemBuilder#withMaxDamage](/mods/contenttweaker/API/item/ItemBuilder/#withmaxdamage)!\n+\n+ Returns: `This builder, used for method chaining`\n+\n+Return type: [mods.contenttweaker.item.ItemBuilder](/mods/contenttweaker/API/item/ItemBuilder)\n+\n+```zenscript\n+new ItemBuilder().withMaxStackSize(maxStackSize as int);\n+new ItemBuilder().withMaxStackSize(16);\n+```\n+\n+| Parameter | Type | Description |\n+| ------------ | ---- | ---------------------- |\n+| maxStackSize | int | The maximum stack size |\n+\n+\n+### withNoRepair\n+\n+Sets that this item may not be repaired in an anvil Returns: `This builder, used for method chaining`\n+\n+Return type: [mods.contenttweaker.item.ItemBuilder](/mods/contenttweaker/API/item/ItemBuilder)\n+\n+```zenscript\n+new ItemBuilder().withNoRepair();\n+```\n+\n+### withRarity\n+\n+Allows you to set the item's rarity\n+\n+ Returns: `This builder, used for method chaining`\n+\n+Return type: [mods.contenttweaker.item.ItemBuilder](/mods/contenttweaker/API/item/ItemBuilder)\n+\n+```zenscript\n+new ItemBuilder().withRarity(rarity as String);\n+new ItemBuilder().withRarity(\"EPIC\");\n+```\n+\n+| Parameter | Type | Description |\n+| --------- | ------ | ----------- |\n+| rarity | String | The rarity |\n+\n+\n+### withType\n+\n+Sets the specific type of this item. After this method is called the builder's context will switch to the more provided type builder. That means that the methods of this builder will no longer be available, so any properties you wish to set should be set before you call this method. Returns: `A builder with the given item.`\n+\n+Return type: T\n+\n+```zenscript\n+new ItemBuilder().withType<T>();\n+new ItemBuilder().withType<mods.contenttweaker.item.tool.ItemBuilderTool>();\n+```\n+\n+| ParameterName | Bounds |\n+| ------------- | ----------------------------------------------------------------------------------------- |\n+| T | [mods.contenttweaker.item.ItemTypeBuilder](/mods/contenttweaker/API/item/ItemTypeBuilder) |\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations ItemBuilder.md (Spanish) [ci skip]
139,040
03.06.2020 23:31:49
-7,200
4ca58aa9887a5827a3f3c49a75eaefb6aeb1402a
New translations BlockBuilderStairs.md (Spanish) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/es/docs/mods/contenttweaker/API/block/stairs/BlockBuilderStairs.md", "diff": "+# BlockBuilderStairs\n+\n+A special Block Builder that allows you to create stairs. <p> Stairs will have not one but three textures that you will need to supply: One for the top, one for the bottom and one for the sides. By default these textures will use your blockname as name, suffixed by `_top`, `_bottom` or `_sides`. As with most things here, sample images are generated for you by default, though.\n+\n+This class was added by a mod with mod-id `contenttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Importar la clase\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+mods.contenttweaker.block.stairs.BlockBuilderStairs\n+```\n+\n+## Implemented Interfaces\n+BlockBuilderStairs implements the following interfaces. That means any method available to them can also be used on this class.\n+- [mods.contenttweaker.api.IIsBuilder](/mods/contenttweaker/API/api/IIsBuilder)\n+- [mods.contenttweaker.block.BlockTypeBuilder](/mods/contenttweaker/API/block/BlockTypeBuilder)\n+\n+## Methods\n+### build\n+\n+Instructs CoT to actually build whatever this builder is supposed to be building.\n+\n+```zenscript\n+new BlockBuilder().withType<BlockBuilderStairs>().build(resourceLocation as String);\n+new BlockBuilder().withType<BlockBuilderStairs>().build(\"my_awesome_block\");\n+```\n+\n+| Parameter | Type | Description |\n+| ---------------- | ------ | ------------------------------------ |\n+| resourceLocation | String | The resource path to give this block |\n+\n+\n+### withBottomTexture\n+\n+Allows you to override the path of the texture that the bottom side should use. If that texture's namespace is in the namespace of CoT or any of its addons (that support it) then the image will be created by default.\n+\n+ Returns: `This builder, used for method chaining`\n+\n+Return type: [mods.contenttweaker.block.stairs.BlockBuilderStairs](/mods/contenttweaker/API/block/stairs/BlockBuilderStairs)\n+\n+```zenscript\n+new BlockBuilder().withType<BlockBuilderStairs>().withBottomTexture(bottomTexture as crafttweaker.api.util.MCResourceLocation);\n+```\n+\n+| Parameter | Type | Description |\n+| ------------- | -------------------------------------------------------------------------------- | ------------------------------------------ |\n+| bottomTexture | [crafttweaker.api.util.MCResourceLocation](/vanilla/api/util/MCResourceLocation) | The texture to be used for the bottom side |\n+\n+\n+\n+Allows you to override the path of the texture that the bottom side should use. If that texture's namespace is in the namespace of CoT or any of its addons (that support it) then the image will be created by default. Uses a function that takes the block's name as input and returns the end texture for it.\n+\n+ Returns: `This builder, used for method chaining`\n+\n+Return type: [mods.contenttweaker.block.stairs.BlockBuilderStairs](/mods/contenttweaker/API/block/stairs/BlockBuilderStairs)\n+\n+```zenscript\n+new BlockBuilder().withType<BlockBuilderStairs>().withBottomTexture(bottomTexture as function.Function<crafttweaker.api.util.MCResourceLocation, crafttweaker.api.util.MCResourceLocation>);\n+new BlockBuilder().withType<BlockBuilderStairs>().withBottomTexture((blockName as MCResourceLocation) => new MCResourceLocation(blockName.namespace, blockName.path + \"_bottom\"));\n+```\n+\n+| Parameter | Type | Description |\n+| ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------- |\n+| bottomTexture | function.Function&lt;[crafttweaker.api.util.MCResourceLocation](/vanilla/api/util/MCResourceLocation), [crafttweaker.api.util.MCResourceLocation](/vanilla/api/util/MCResourceLocation)&gt; | The function to use |\n+\n+\n+### withSidesTexture\n+\n+Allows you to override the path of the texture that the sides should use. If that texture's namespace is in the namespace of CoT or any of its addons (that support it) then the image will be created by default.\n+\n+ Returns: `This builder, used for method chaining`\n+\n+Return type: [mods.contenttweaker.block.stairs.BlockBuilderStairs](/mods/contenttweaker/API/block/stairs/BlockBuilderStairs)\n+\n+```zenscript\n+new BlockBuilder().withType<BlockBuilderStairs>().withSidesTexture(sidesTexture as crafttweaker.api.util.MCResourceLocation);\n+```\n+\n+| Parameter | Type | Description |\n+| ------------ | -------------------------------------------------------------------------------- | ------------------------------------ |\n+| sidesTexture | [crafttweaker.api.util.MCResourceLocation](/vanilla/api/util/MCResourceLocation) | The texture to be used for the sides |\n+\n+\n+\n+Allows you to override the path of the texture that the sides should use. If that texture's namespace is in the namespace of CoT or any of its addons (that support it) then the image will be created by default. Uses a function that takes the block's name as input and returns the end texture for it.\n+\n+ Returns: `This builder, used for method chaining`\n+\n+Return type: [mods.contenttweaker.block.stairs.BlockBuilderStairs](/mods/contenttweaker/API/block/stairs/BlockBuilderStairs)\n+\n+```zenscript\n+new BlockBuilder().withType<BlockBuilderStairs>().withSidesTexture(sidesTexture as function.Function<crafttweaker.api.util.MCResourceLocation, crafttweaker.api.util.MCResourceLocation>);\n+new BlockBuilder().withType<BlockBuilderStairs>().withSidesTexture((blockName as MCResourceLocation) => new MCResourceLocation(blockName.namespace, blockName.path + \"_sides\"));\n+```\n+\n+| Parameter | Type | Description |\n+| ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------- |\n+| sidesTexture | function.Function&lt;[crafttweaker.api.util.MCResourceLocation](/vanilla/api/util/MCResourceLocation), [crafttweaker.api.util.MCResourceLocation](/vanilla/api/util/MCResourceLocation)&gt; | The function to use |\n+\n+\n+### withTopTexture\n+\n+Allows you to override the path of the texture that the top side should use. If that texture's namespace is in the namespace of CoT or any of its addons (that support it) then the image will be created by default.\n+\n+ Returns: `This builder, used for method chaining`\n+\n+Return type: [mods.contenttweaker.block.stairs.BlockBuilderStairs](/mods/contenttweaker/API/block/stairs/BlockBuilderStairs)\n+\n+```zenscript\n+new BlockBuilder().withType<BlockBuilderStairs>().withTopTexture(topTexture as crafttweaker.api.util.MCResourceLocation);\n+new BlockBuilder().withType<BlockBuilderStairs>().withTopTexture(<resource:contenttweaker:my_awesome_stairs_top>);\n+```\n+\n+| Parameter | Type | Description |\n+| ---------- | -------------------------------------------------------------------------------- | --------------------------------------- |\n+| topTexture | [crafttweaker.api.util.MCResourceLocation](/vanilla/api/util/MCResourceLocation) | The texture to be used for the top side |\n+\n+\n+\n+Allows you to override the path of the texture that the top side should use. If that texture's namespace is in the namespace of CoT or any of its addons (that support it) then the image will be created by default. Uses a function that takes the block's name as input and returns the end texture for it.\n+\n+ Returns: `This builder, used for method chaining`\n+\n+Return type: [mods.contenttweaker.block.stairs.BlockBuilderStairs](/mods/contenttweaker/API/block/stairs/BlockBuilderStairs)\n+\n+```zenscript\n+new BlockBuilder().withType<BlockBuilderStairs>().withTopTexture(topTexture as function.Function<crafttweaker.api.util.MCResourceLocation, crafttweaker.api.util.MCResourceLocation>);\n+```\n+\n+| Parameter | Type | Description |\n+| ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------- |\n+| topTexture | function.Function&lt;[crafttweaker.api.util.MCResourceLocation](/vanilla/api/util/MCResourceLocation), [crafttweaker.api.util.MCResourceLocation](/vanilla/api/util/MCResourceLocation)&gt; | The function to use |\n+\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations BlockBuilderStairs.md (Spanish) [ci skip]
139,040
03.06.2020 23:32:18
-7,200
9f51e703b79f5a5b3622c00e52325ee70833e1c7
New translations BracketHandlers.md (Spanish) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/es/docs/mods/contenttweaker/API/BracketHandlers.md", "diff": "+# BracketHandlers\n+\n+I advise against using the static methods in this class directly as they may be merged into CrT's BEP at any point. If you need to access the Bracket Expression Parser methods dynamically, you can use\n+ ```zencode\n+ var myName = \"misc\";\n+ <itemgroup:${myName}>\n+ ```\n+\n+This class was added by a mod with mod-id `contenttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Importar la clase\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+mods.contenttweaker.BracketHandlers\n+```\n+\n+## Metodos\n+### getItemGroup\n+\n+Gets the itemGroup. Will throw an error if the group could not be found\n+\n+ Returns: `The found MCItemGroup`\n+\n+Return type: [mods.contenttweaker.item.MCItemGroup](/mods/contenttweaker/API/item/MCItemGroup)\n+\n+```zenscript\n+<itemgroup:misc>\n+\n+mods.contenttweaker.BracketHandlers.getItemGroup(tokens as String);\n+mods.contenttweaker.BracketHandlers.getItemGroup(\"misc\");\n+```\n+\n+| Parameter | Type | Description |\n+| --------- | ------ | ------------------------------------------- |\n+| tokens | String | What you createDataCompound in the BEP call |\n+\n+\n+### getToolType\n+\n+Gets a [mods.contenttweaker.item.MCToolType](/mods/contenttweaker/API/item/MCToolType). Will create a new one if the given one does not exist.\n+\n+ Returns: `The [mods.contenttweaker.item.MCToolType](/mods/contenttweaker/API/item/MCToolType) if found, or a new MCToolType`\n+\n+Return type: [mods.contenttweaker.item.MCToolType](/mods/contenttweaker/API/item/MCToolType)\n+\n+```zenscript\n+<tooltype:shovel>\n+\n+mods.contenttweaker.BracketHandlers.getToolType(tokens as String);\n+mods.contenttweaker.BracketHandlers.getToolType(\"shovel\");\n+```\n+\n+| Parameter | Type | Description |\n+| --------- | ------ | ------------------------------------------------- |\n+| tokens | String | What you would createDataCompound in the BEP call |\n+\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations BracketHandlers.md (Spanish) [ci skip]
139,040
03.06.2020 23:32:19
-7,200
fbb5d16f1baadfed976cc5a994d2a817d6dc1579
New translations IIsBuilder.md (Spanish) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/es/docs/mods/contenttweaker/API/api/IIsBuilder.md", "diff": "+# IIsBuilder\n+\n+Denotes anything that is a builder. What did you expect?\n+\n+This class was added by a mod with mod-id `contenttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Importar la clase\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+mods.contenttweaker.api.IIsBuilder\n+```\n+\n+## Metodos\n+### build\n+\n+Instructs CoT to actually build whatever this builder is supposed to be building.\n+\n+```zenscript\n+myIIsBuilder.build(resourceLocation as String);\n+myIIsBuilder.build(\"my_awesome_block\");\n+```\n+\n+| Parameter | Type | Description |\n+| ---------------- | ------ | ------------------------------------ |\n+| resourceLocation | String | The resource path to give this block |\n+\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations IIsBuilder.md (Spanish) [ci skip]
139,040
03.06.2020 23:32:21
-7,200
38e10883f48239bba7895e9a0be4b5b77efe8d52
New translations BlockBuilder.md (Spanish) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/es/docs/mods/contenttweaker/API/block/BlockBuilder.md", "diff": "+# BlockBuilder\n+\n+The blockbuilder is used to... build blocks (you totally didn't see that one coming, right... right?).<br> Once you created it you can set various properties which will be outlined by the separate methods. <p> You can also change the block's type to create a more specialized form of block (e.g. stairs or Blocks that can be rotated in the same way logs can). To tell CoT that you want the block to appear ingame you need to call [mods.contenttweaker.block.BlockBuilder#build(String)](/mods/contenttweaker/API/block/BlockBuilder/#build) and specify a valid resource location path.\n+\n+This class was added by a mod with mod-id `contenttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Importar la clase\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+mods.contenttweaker.block.BlockBuilder\n+```\n+\n+## Implemented Interfaces\n+BlockBuilder implements the following interfaces. That means any method available to them can also be used on this class.\n+- [mods.contenttweaker.api.IIsBuilder](/mods/contenttweaker/API/api/IIsBuilder)\n+\n+## Constructors\n+Creates a new BlockBuilder. Remember that this will _not_ create a new block in the game, you need to call [mods.contenttweaker.block.BlockBuilder#build(String)](/mods/contenttweaker/API/block/BlockBuilder/#build) for that.\n+```zenscript\n+new mods.contenttweaker.block.BlockBuilder(material as crafttweaker.api.block.material.MCMaterial);\n+new mods.contenttweaker.block.BlockBuilder();\n+new mods.contenttweaker.block.BlockBuilder(<blockmaterial:earth>);\n+```\n+| Parameter | Type | Description | IsOptional | Default Value |\n+| --------- | ------------------------------------------------------------------------------------ | --------------------------------- | ---------- | ---------------------------- |\n+| material | [crafttweaker.api.block.material.MCMaterial](/vanilla/api/block/material/MCMaterial) | The material this block will have | true | `<blockmaterial:iron>` |\n+\n+\n+\n+## Methods\n+### build\n+\n+Instructs CoT to actually build whatever this builder is supposed to be building.\n+\n+```zenscript\n+myBlockBuilder.build(resourceLocation as String);\n+myBlockBuilder.build(\"my_awesome_block\");\n+```\n+\n+| Parameter | Type | Description |\n+| ---------------- | ------ | ------------------------------------ |\n+| resourceLocation | String | The resource path to give this block |\n+\n+\n+### withHardnessAndResistance\n+\n+Sets the block's hardness and resistance levels. Unlike the other method, this one only accepts one parameter and will use that value for both properties.\n+\n+ Returns: `This builder, used for method chaining`\n+\n+Return type: [mods.contenttweaker.block.BlockBuilder](/mods/contenttweaker/API/block/BlockBuilder)\n+\n+```zenscript\n+myBlockBuilder.withHardnessAndResistance(hardnessAndResistance as float);\n+myBlockBuilder.withHardnessAndResistance(0.5f);\n+```\n+\n+| Parameter | Type | Description |\n+| --------------------- | ----- | ------------------------------------------------- |\n+| hardnessAndResistance | float | The value to set for hardness and for resistance. |\n+\n+\n+\n+Sets the block's hardness and resistance levels. Unlike the other method, this one allows you to set each property one to a separate value.\n+\n+ Returns: `This builder, used for method chaining`\n+\n+Return type: [mods.contenttweaker.block.BlockBuilder](/mods/contenttweaker/API/block/BlockBuilder)\n+\n+```zenscript\n+myBlockBuilder.withHardnessAndResistance(hardnessIn as float, resistanceIn as float);\n+myBlockBuilder.withHardnessAndResistance(0.5f, 0.5f);\n+```\n+\n+| Parameter | Type | Description |\n+| ------------ | ----- | -------------------------------- |\n+| hardnessIn | float | The value to set for hardness |\n+| resistanceIn | float | The value to set for resistance. |\n+\n+\n+### withHarvestLevel\n+\n+Sets the mining level required to mine this block\n+\n+ Returns: `This builder, used for method chaining`\n+\n+Return type: [mods.contenttweaker.block.BlockBuilder](/mods/contenttweaker/API/block/BlockBuilder)\n+\n+```zenscript\n+myBlockBuilder.withHarvestLevel(harvestLevel as int);\n+myBlockBuilder.withHarvestLevel(3);\n+```\n+\n+| Parameter | Type | Description |\n+| ------------ | ---- | -------------------------- |\n+| harvestLevel | int | The harvest level requried |\n+\n+\n+### withHarvestTool\n+\n+Sets the tool required to harvest this block\n+\n+ Returns: `This builder, used for method chaining`\n+\n+Return type: [mods.contenttweaker.block.BlockBuilder](/mods/contenttweaker/API/block/BlockBuilder)\n+\n+```zenscript\n+myBlockBuilder.withHarvestTool(harvestTool as mods.contenttweaker.item.MCToolType);\n+myBlockBuilder.withHarvestTool(<tooltype:shovel>);\n+```\n+\n+| Parameter | Type | Description |\n+| ----------- | ------------------------------------------------------------------------------- | ------------- |\n+| harvestTool | [mods.contenttweaker.item.MCToolType](/mods/contenttweaker/API/item/MCToolType) | The tool type |\n+\n+\n+### withItemGroup\n+\n+Sets the item group in which this block will appear\n+\n+ Returns: `This builder, used for method chaining`\n+\n+Return type: [mods.contenttweaker.block.BlockBuilder](/mods/contenttweaker/API/block/BlockBuilder)\n+\n+```zenscript\n+myBlockBuilder.withItemGroup(group as mods.contenttweaker.item.MCItemGroup);\n+myBlockBuilder.withItemGroup(<itemgroup:building_blocks>);\n+```\n+\n+| Parameter | Type | Description |\n+| --------- | --------------------------------------------------------------------------------- | ---------------- |\n+| group | [mods.contenttweaker.item.MCItemGroup](/mods/contenttweaker/API/item/MCItemGroup) | The group to set |\n+\n+\n+### withLightValue\n+\n+Sets the block's light value.\n+\n+ Returns: `This builder, used for method chaining`\n+\n+Return type: [mods.contenttweaker.block.BlockBuilder](/mods/contenttweaker/API/block/BlockBuilder)\n+\n+```zenscript\n+myBlockBuilder.withLightValue(lightValueIn as int);\n+myBlockBuilder.withLightValue(15);\n+```\n+\n+| Parameter | Type | Description |\n+| ------------ | ---- | ---------------------- |\n+| lightValueIn | int | The light level to set |\n+\n+\n+### withLootFrom\n+\n+Will instruct CoT to override this block's loot table with the one of the block Provided. Currently this will still create a loot table entry, though it will be ignored by the game.\n+\n+ Returns: `This builder, used for method chaining`\n+\n+Return type: [mods.contenttweaker.block.BlockBuilder](/mods/contenttweaker/API/block/BlockBuilder)\n+\n+```zenscript\n+myBlockBuilder.withLootFrom(blockIn as crafttweaker.api.block.MCBlock);\n+myBlockBuilder.withLootFrom(<block:minecraft:diamond>);\n+```\n+\n+| Parameter | Type | Description |\n+| --------- | ------------------------------------------------------------- | -------------------------------------------- |\n+| blockIn | [crafttweaker.api.block.MCBlock](/vanilla/api/blocks/MCBlock) | The block whose loot table should be applied |\n+\n+\n+### withMaxStackSize\n+\n+Sets the maximum Stack size that this block can have when in your inventory. Will be 64 if unchanged.\n+\n+ Returns: `This builder, used for chaining`\n+\n+Return type: [mods.contenttweaker.block.BlockBuilder](/mods/contenttweaker/API/block/BlockBuilder)\n+\n+```zenscript\n+myBlockBuilder.withMaxStackSize(size as int);\n+myBlockBuilder.withMaxStackSize(16);\n+```\n+\n+| Parameter | Type | Description |\n+| --------- | ---- | ---------------- |\n+| size | int | The size to set. |\n+\n+\n+### withRarity\n+\n+Allows you to set the rarity of this block.\n+\n+ Returns: `This builder, used for method chaining`\n+\n+Return type: [mods.contenttweaker.block.BlockBuilder](/mods/contenttweaker/API/block/BlockBuilder)\n+\n+```zenscript\n+myBlockBuilder.withRarity(rarity as String);\n+myBlockBuilder.withRarity(\"UNCOMMON\");\n+```\n+\n+| Parameter | Type | Description |\n+| --------- | ------ | ----------- |\n+| rarity | String | The rarity |\n+\n+\n+### withSlipperiness\n+\n+Sets the slipperiness.\n+\n+ Returns: `This builder, used for method chaining`\n+\n+Return type: [mods.contenttweaker.block.BlockBuilder](/mods/contenttweaker/API/block/BlockBuilder)\n+\n+```zenscript\n+myBlockBuilder.withSlipperiness(slipperinessIn as float);\n+myBlockBuilder.withSlipperiness(0.5f);\n+```\n+\n+| Parameter | Type | Description |\n+| -------------- | ----- | ---------------- |\n+| slipperinessIn | float | The value to set |\n+\n+\n+### withType\n+\n+Sets the specific type of this block. After this method is called the builder's context will switch to the more provided type builder. That means that the methods of this builder will no longer be available, so any properties you wish to set should be set before you call this method.\n+\n+ Returns: `A builder with the given block.`\n+\n+Return type: T\n+\n+```zenscript\n+myBlockBuilder.withType<T>();\n+myBlockBuilder.withType<mods.contenttweaker.block.pillar.BlockBuilderPillarRotatable>();\n+```\n+\n+| ParameterName | Bounds |\n+| ------------- | --------------------------------------------------------------------------------------------- |\n+| T | [mods.contenttweaker.block.BlockTypeBuilder](/mods/contenttweaker/API/block/BlockTypeBuilder) |\n+\n+### withoutDrops\n+\n+Will instruct CoT that this block will not have any loot entries. Currently this will still create a loot table entry, though it will be ignored by the game.\n+\n+ Returns: `This builder, used for method chaining`\n+\n+Return type: [mods.contenttweaker.block.BlockBuilder](/mods/contenttweaker/API/block/BlockBuilder)\n+\n+```zenscript\n+myBlockBuilder.withoutDrops();\n+```\n+\n+### withoutMovementBlocking\n+\n+Instructs CoT that this block will does not block movement.\n+\n+ Returns: `This builder, used for chaining`\n+\n+Return type: [mods.contenttweaker.block.BlockBuilder](/mods/contenttweaker/API/block/BlockBuilder)\n+\n+```zenscript\n+myBlockBuilder.withoutMovementBlocking();\n+```\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations BlockBuilder.md (Spanish) [ci skip]
139,040
03.06.2020 23:32:23
-7,200
05f60ec327b1693f26fc3396bffbc2e166e3bffe
New translations BlockTypeBuilder.md (Spanish) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/es/docs/mods/contenttweaker/API/block/BlockTypeBuilder.md", "diff": "+# BlockTypeBuilder\n+\n+Denotes a special builder that is used for building special block types. Used in [mods.contenttweaker.block.BlockTypeBuilder#withType](/mods/contenttweaker/API/block/BlockTypeBuilder/#withtype)\n+\n+This class was added by a mod with mod-id `contenttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Importar la clase\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+mods.contenttweaker.block.BlockTypeBuilder\n+```\n+\n+## Implemented Interfaces\n+BlockTypeBuilder implements the following interfaces. That means any method available to them can also be used on this class.\n+- [mods.contenttweaker.api.IIsBuilder](/mods/contenttweaker/API/api/IIsBuilder)\n+\n+## Methods\n+### build\n+\n+Instructs CoT to actually build whatever this builder is supposed to be building.\n+\n+```zenscript\n+new BlockBuilder().withType<BlockBuilderBasic>().build(resourceLocation as String);\n+new BlockBuilder().withType<BlockBuilderBasic>().build(\"my_awesome_block\");\n+```\n+\n+| Parameter | Type | Description |\n+| ---------------- | ------ | ------------------------------------ |\n+| resourceLocation | String | The resource path to give this block |\n+\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations BlockTypeBuilder.md (Spanish) [ci skip]
139,040
03.06.2020 23:32:25
-7,200
ba130b8aa358bd8fe35557945d1a4bcbba4a16ae
New translations BlockBuilderBasic.md (Spanish) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/es/docs/mods/contenttweaker/API/block/basic/BlockBuilderBasic.md", "diff": "+# BlockBuilderBasic\n+\n+This builder builds the block type that is used by default in [mods.contenttweaker.block.basic.BlockBuilderBasic#build](/mods/contenttweaker/API/block/basic/BlockBuilderBasic/#build) This builder does not offer any special properties to set, you can only build it.\n+\n+This class was added by a mod with mod-id `contenttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Importar la clase\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+mods.contenttweaker.block.basic.BlockBuilderBasic\n+```\n+\n+## Implemented Interfaces\n+BlockBuilderBasic implements the following interfaces. That means any method available to them can also be used on this class.\n+- [mods.contenttweaker.api.IIsBuilder](/mods/contenttweaker/API/api/IIsBuilder)\n+- [mods.contenttweaker.block.BlockTypeBuilder](/mods/contenttweaker/API/block/BlockTypeBuilder)\n+\n+## Methods\n+### build\n+\n+Instructs CoT to actually build whatever this builder is supposed to be building.\n+\n+```zenscript\n+new BlockBuilder().withType<ItemBuilderBasic>().build(resourceLocation as String);\n+new BlockBuilder().withType<ItemBuilderBasic>().build(\"my_awesome_block\");\n+```\n+\n+| Parameter | Type | Description |\n+| ---------------- | ------ | ------------------------------------ |\n+| resourceLocation | String | The resource path to give this block |\n+\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations BlockBuilderBasic.md (Spanish) [ci skip]
139,040
03.06.2020 23:32:27
-7,200
10bf5fc253347a3f3f1724f9082fbebf426e104c
New translations BlockBuilderPillarRotatable.md (Spanish) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/es/docs/mods/contenttweaker/API/block/pillar/BlockBuilderPillarRotatable.md", "diff": "+# BlockBuilderPillarRotatable\n+\n+A special Block Builder that allows you to create blocks that can be rotated in the same way as logs can. <p> This means that it has one texture for the top and bottom and one texture for the sides. By default these sides' locations are the block's name, followed by and either `_end` or `sides`. As with most things here, sample images are generated for you by default, though.\n+\n+This class was added by a mod with mod-id `contenttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Importar la clase\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+mods.contenttweaker.block.pillar.BlockBuilderPillarRotatable\n+```\n+\n+## Implemented Interfaces\n+BlockBuilderPillarRotatable implements the following interfaces. That means any method available to them can also be used on this class.\n+- [mods.contenttweaker.api.IIsBuilder](/mods/contenttweaker/API/api/IIsBuilder)\n+- [mods.contenttweaker.block.BlockTypeBuilder](/mods/contenttweaker/API/block/BlockTypeBuilder)\n+\n+## Methods\n+### build\n+\n+Instructs CoT to actually build whatever this builder is supposed to be building.\n+\n+```zenscript\n+new BlockBuilder().withType<BlockBuilderPillarRotatable>().build(resourceLocation as String);\n+new BlockBuilder().withType<BlockBuilderPillarRotatable>().build(\"my_awesome_block\");\n+```\n+\n+| Parameter | Type | Description |\n+| ---------------- | ------ | ------------------------------------ |\n+| resourceLocation | String | The resource path to give this block |\n+\n+\n+### withEndTexture\n+\n+Allows you to override the path of the texture that the end sides (top/bottom) should use. If that texture's namespace is in the namespace of CoT or any of its addons (that support it) then the image will be created by default.\n+\n+ Returns: `This builder, used for method chaining`\n+\n+Return type: [mods.contenttweaker.block.pillar.BlockBuilderPillarRotatable](/mods/contenttweaker/API/block/pillar/BlockBuilderPillarRotatable)\n+\n+```zenscript\n+new BlockBuilder().withType<BlockBuilderPillarRotatable>().withEndTexture(endTexture as crafttweaker.api.util.MCResourceLocation);\n+new BlockBuilder().withType<BlockBuilderPillarRotatable>().withEndTexture(<resource:contenttweaker:my_awesome_pillar_end>);\n+```\n+\n+| Parameter | Type | Description |\n+| ---------- | -------------------------------------------------------------------------------- | ----------------------------------------- |\n+| endTexture | [crafttweaker.api.util.MCResourceLocation](/vanilla/api/util/MCResourceLocation) | The texture to be used for the end sides. |\n+\n+\n+\n+Allows you to override the path of the texture that the end sides (top/bottom) should use. If that texture's namespace is in the namespace of CoT or any of its addons (that support it) then the image will be created by default. Uses a function that takes the block's name as input and returns the end texture for it.\n+\n+ Returns: `This builder, used for method chaining`\n+\n+Return type: [mods.contenttweaker.block.pillar.BlockBuilderPillarRotatable](/mods/contenttweaker/API/block/pillar/BlockBuilderPillarRotatable)\n+\n+```zenscript\n+new BlockBuilder().withType<BlockBuilderPillarRotatable>().withEndTexture(endTexture as function.Function<crafttweaker.api.util.MCResourceLocation, crafttweaker.api.util.MCResourceLocation>);\n+new BlockBuilder().withType<BlockBuilderPillarRotatable>().withEndTexture((blockName as MCResourceLocation) => new MCResourceLocation(blockName.namespace, blockName.path + \"_end\"));\n+```\n+\n+| Parameter | Type | Description |\n+| ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------- |\n+| endTexture | function.Function&lt;[crafttweaker.api.util.MCResourceLocation](/vanilla/api/util/MCResourceLocation), [crafttweaker.api.util.MCResourceLocation](/vanilla/api/util/MCResourceLocation)&gt; | The function to use |\n+\n+\n+### withSideTexture\n+\n+Allows you to override the path of the texture that the sides (everything but top/bottom) should use. If that texture's namespace is in the namespace of CoT or any of its addons (that support it) then the image will be created by default.\n+\n+ Returns: `This builder, used for method chaining`\n+\n+Return type: [mods.contenttweaker.block.pillar.BlockBuilderPillarRotatable](/mods/contenttweaker/API/block/pillar/BlockBuilderPillarRotatable)\n+\n+```zenscript\n+new BlockBuilder().withType<BlockBuilderPillarRotatable>().withSideTexture(sidesTexture as crafttweaker.api.util.MCResourceLocation);\n+new BlockBuilder().withType<BlockBuilderPillarRotatable>().withSideTexture(<resource:contenttweaker:my_awesome_pillar_side>);\n+```\n+\n+| Parameter | Type | Description |\n+| ------------ | -------------------------------------------------------------------------------- | ------------------------------------- |\n+| sidesTexture | [crafttweaker.api.util.MCResourceLocation](/vanilla/api/util/MCResourceLocation) | The texture to be used for the sides. |\n+\n+\n+\n+Allows you to override the path of the texture that the sides (everything but top/bottom) should use. If that texture's namespace is in the namespace of CoT or any of its addons (that support it) then the image will be created by default. Uses a function that takes the block's name as input and returns the end texture for it.\n+\n+ Returns: `This builder, used for method chaining`\n+\n+Return type: [mods.contenttweaker.block.pillar.BlockBuilderPillarRotatable](/mods/contenttweaker/API/block/pillar/BlockBuilderPillarRotatable)\n+\n+```zenscript\n+new BlockBuilder().withType<BlockBuilderPillarRotatable>().withSideTexture(sidesTexture as function.Function<crafttweaker.api.util.MCResourceLocation, crafttweaker.api.util.MCResourceLocation>);\n+new BlockBuilder().withType<BlockBuilderPillarRotatable>().withSideTexture((blockName as MCResourceLocation) => new MCResourceLocation(blockName.namespace, blockName.path + \"_sides\"));\n+```\n+\n+| Parameter | Type | Description |\n+| ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------- |\n+| sidesTexture | function.Function&lt;[crafttweaker.api.util.MCResourceLocation](/vanilla/api/util/MCResourceLocation), [crafttweaker.api.util.MCResourceLocation](/vanilla/api/util/MCResourceLocation)&gt; | The function to use |\n+\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations BlockBuilderPillarRotatable.md (Spanish) [ci skip]
139,040
05.06.2020 23:46:48
-7,200
6631fb224cca941780a16aaa16073a9d9e5dac55
New translations DryingRackManager.md (Spanish) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/es/docs/mods/StoneAge/DryingRackManager.md", "diff": "+# Drying Rack\n+\n+## Package\n+`import mods.stone_age.DryingRackManager;`\n+\n+## Metodos\n+- **String name** Recipe name\n+- **[IItemStack](/Vanilla/Items/IItemStack/) output**\n+- **[IIngredient](/Vanilla/Variable_Types/IIngredient/) input**\n+- **int dryingTime** Drying time in ticks\n+- **String group** Recipe group\n+\n+## Addition\n+\n+```zenscript\n+<recipetype:stone_age:drying_rack>.addRecipe(String name, IItemStack output, IIngredient input, int dryingTime, @OptionalString String group)\n+\n+<recipetype:stone_age:drying_rack>.addRecipe(\"dried_meat\", <item:minecraft:cooked_mutton>, <item:minecraft:mutton>, 1200, \"foods\");\n+\n+DryingRackManager.INSTANCE.addRecipe(\"dried_meat\", <item:minecraft:cooked_mutton>, <item:minecraft:mutton>, 1200, \"foods\");\n+```\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations DryingRackManager.md (Spanish) [ci skip]
139,040
05.06.2020 23:46:49
-7,200
8c8b405f80112212f63479a6f3cf54dccfe1f508
New translations FlintWorkbenchManager.md (Spanish) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/es/docs/mods/StoneAge/FlintWorkbenchManager.md", "diff": "+# Flint Workbench\n+\n+## Package\n+`import mods.stone_age.FlintWorkbenchManager;`\n+\n+## Metodos\n+- **String name** Recipe name\n+- **[IItemStack](/Vanilla/Items/IItemStack/) output**\n+- **[IIngredient](/Vanilla/Variable_Types/IIngredient/)[] inputMatrix**\n+- **[IIngredient](/Vanilla/Variable_Types/IIngredient/) tool** Crafting tool\n+- **String group** Recipe group\n+\n+## Addition\n+\n+```zenscript\n+<recipetype:stone_age:flint_workbench>.addRecipe(String name, IItemStack output, IIngredient[][] inputMatrix, IIngredient tool, @OptionalString String group)\n+\n+<recipetype:stone_age:flint_workbench>.addRecipe(\"cobblestone\", <item:minecraft:cobblestone>, [[<item:minecraft:dirt>, <item:minecraft:dirt]], <item:minecraft:emerald>);\n+FlintWorkbenchManager.INSTANCE.addRecipe(\"cobblestone\", <item:minecraft:cobblestone>, [[<item:minecraft:dirt>, <item:minecraft:dirt]], <item:minecraft:emerald>);\n+```\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations FlintWorkbenchManager.md (Spanish) [ci skip]
139,040
05.06.2020 23:46:51
-7,200
78b932d987eeee30b20e30728eb708889a2ec6f0
New translations MillstoneManager.md (Spanish) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/es/docs/mods/StoneAge/MillstoneManager.md", "diff": "+# Millstone\n+\n+## Package\n+`import mods.stone_age.MillstoneManager;`\n+\n+## Metodos\n+- **String name** Recipe name\n+- **[IItemStack](/Vanilla/Items/IItemStack/) output**\n+- **[IIngredient](/Vanilla/Variable_Types/IIngredient/) input**\n+- **int activateCount** Activate millstone count\n+- **String group** Recipe group\n+\n+## Addition\n+\n+```zenscript\n+<recipetype:stone_age:millstone>.addRecipe(String name, IItemStack output, IIngredient input, int activateCount, @OptionalString String group)\n+\n+<recipetype:stone_age:millstone>.addRecipe(\"sugar\", <item:minecraft:sugar>, <item:minecraft:sugar_cane>, 2, \"foods\");\n+MillstoneManager.INSTANCE.addRecipe(\"sugar\", <item:minecraft:sugar>, <item:minecraft:sugar_cane>, 2, \"foods\");\n+```\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations MillstoneManager.md (Spanish) [ci skip]
139,040
05.06.2020 23:46:52
-7,200
5af04c680acaa5bae53ba272b877f606d7f48f58
New translations TanningRackManager.md (Spanish) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/es/docs/mods/StoneAge/TanningRackManager.md", "diff": "+# Tanning Rack\n+\n+## Package\n+`import mods.stone_age.TanningRackManager;`\n+\n+## Metodos\n+- **String name** Recipe name\n+- **[IItemStack](/Vanilla/Items/IItemStack/) output**\n+- **[IIngredient](/Vanilla/Variable_Types/IIngredient/) input**\n+- **[IIngredient](/Vanilla/Variable_Types/IIngredient/) tool**\n+- **String group** Recipe group\n+\n+## Addition\n+\n+```zenscript\n+<recipetype:stone_age:tanning_rack>.addRecipe(String name, IItemStack output, IIngredient input, IIngredient tool, @OptionalString String group)\n+\n+<recipetype:stone_age:tanning_rack>.addRecipe(\"leather\", <item:minecraft:leather>, <item:minecraft:rotten_flesh>, <item:minecraft:iron_sword>, \"leather\");\n+TanningRackManager.INSTANCE.addRecipe(\"leather\", <item:minecraft:leather>, <item:minecraft:rotten_flesh>, <item:minecraft:iron_sword>, \"leather\");\n+```\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations TanningRackManager.md (Spanish) [ci skip]
139,040
05.06.2020 23:46:54
-7,200
ee4d68631f62bae8a2b421c67dae14d0bbbf4a35
New translations TreeStumpManager.md (Spanish) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/es/docs/mods/StoneAge/TreeStumpManager.md", "diff": "+# Tree Stump\n+\n+## Package\n+`import mods.stone_age.TreeStumpManager;`\n+\n+## Metodos\n+- **String name** Recipe name\n+- **[IItemStack](/Vanilla/Items/IItemStack/) output**\n+- **[IIngredient](/Vanilla/Variable_Types/IIngredient/) tool**\n+- **[IIngredient](/Vanilla/Variable_Types/IIngredient/) input**\n+- **int chopTimes** Chop times\n+- **String group** Recipe group\n+\n+## Addition\n+\n+```zenscript\n+<recipetype:stone_age:tree_stump>.addRecipe(String name, IItemStack output, IIngredient tool, IIngredient input, int chopTimes, @OptionalString String group)\n+\n+<recipetype:stone_age:tree_stump>.addRecipe(\"oak_planks\", <item:minecraft:oak_planks>, <item:minecraft:iron_axe>, <item:minecraft:oak_log>, 2);\n+TreeStumpManager.INSTANCE.addRecipe(\"oak_planks\", <item:minecraft:oak_planks>, <item:minecraft:iron_axe>, <item:minecraft:oak_log>, 2);\n+```\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations TreeStumpManager.md (Spanish) [ci skip]
139,040
05.06.2020 23:46:58
-7,200
3bd621390908c2b7d8764ec28ab1782e85ab988f
New translations RecipeFunctionArray.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/recipe/RecipeFunctionArray.md", "diff": "+# RecipeFunctionArray\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.recipe.RecipeFunctionArray\n+```\n+\n+## Functional Interface\n+\n+This class is a functional interface. This means that you can use the lambda notation to create an instance of it. The lambda notation looks like:\n+```zenscript\n+(usualOut, inputs) => <item:minecraft:dirt>\n+```\n+## Methoden\n+### process\n+\n+Return type: [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack)\n+\n+```zenscript\n+myRecipeFunctionArray.process(usualOut as crafttweaker.api.item.IItemStack, inputs as crafttweaker.api.item.IItemStack[]);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------------------------------------------------------------------- | ----------------------- |\n+| usualOut | [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack) | No description provided |\n+| inputs | [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack)[] | No description provided |\n+\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations RecipeFunctionArray.md (German) [ci skip]
139,040
05.06.2020 23:47:10
-7,200
4ed730661167404be6bc3f0cb6ed557bb44b8bc7
New translations RecipeFilter.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/recipe/RecipeFilter.md", "diff": "+# RecipeFilter\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.recipe.RecipeFilter\n+```\n+\n+## Functional Interface\n+\n+This class is a functional interface. This means that you can use the lambda notation to create an instance of it. The lambda notation looks like:\n+```zenscript\n+(name) => false\n+```\n+## Methoden\n+### test\n+\n+Return type: boolean\n+\n+```zenscript\n+myRecipeFilter.test(name as String);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ------ | ----------------------- |\n+| name | String | No description provided |\n+\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations RecipeFilter.md (German) [ci skip]
139,040
05.06.2020 23:47:11
-7,200
2ef4f5e6598223b78c6486889fabc17387215d9c
New translations RecipeFunctionMatrix.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/recipe/RecipeFunctionMatrix.md", "diff": "+# RecipeFunctionMatrix\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.recipe.RecipeFunctionMatrix\n+```\n+\n+## Functional Interface\n+\n+This class is a functional interface. This means that you can use the lambda notation to create an instance of it. The lambda notation looks like:\n+```zenscript\n+(usualOut, inputs) => <item:minecraft:dirt>\n+```\n+## Methoden\n+### process\n+\n+Return type: [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack)\n+\n+```zenscript\n+myRecipeFunctionMatrix.process(usualOut as crafttweaker.api.item.IItemStack, inputs as crafttweaker.api.item.IItemStack[][]);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | --------------------------------------------------------------------- | ----------------------- |\n+| usualOut | [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack) | No description provided |\n+| inputs | [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack)[][] | No description provided |\n+\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations RecipeFunctionMatrix.md (German) [ci skip]
139,040
05.06.2020 23:47:25
-7,200
0bc6937db855a19560a1707b39ea164892172b60
New translations RecipeFunctionSingle.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/vanilla/api/recipe/RecipeFunctionSingle.md", "diff": "+# RecipeFunctionSingle\n+\n+This class was added by a mod with mod-id `crafttweaker`. So you need to have this mod installed if you want to use this feature.\n+\n+## Diese Klasse importieren\n+It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.\n+```zenscript\n+crafttweaker.api.recipe.RecipeFunctionSingle\n+```\n+\n+## Functional Interface\n+\n+This class is a functional interface. This means that you can use the lambda notation to create an instance of it. The lambda notation looks like:\n+```zenscript\n+(usualOut, inputs) => <item:minecraft:dirt>\n+```\n+## Methoden\n+### process\n+\n+Return type: [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack)\n+\n+```zenscript\n+myRecipeFunctionSingle.process(usualOut as crafttweaker.api.item.IItemStack, inputs as crafttweaker.api.item.IItemStack);\n+```\n+\n+| Parameter | Type | Beschreibung |\n+| --------- | ----------------------------------------------------------------- | ----------------------- |\n+| usualOut | [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack) | No description provided |\n+| inputs | [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack) | No description provided |\n+\n+\n+\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations RecipeFunctionSingle.md (German) [ci skip]
139,040
05.06.2020 23:47:28
-7,200
b744a0c541d0c1aa8d34d0082cd9ccdc0231a101
New translations DryingRackManager.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/mods/StoneAge/DryingRackManager.md", "diff": "+# Drying Rack\n+\n+## Package\n+`import mods.stone_age.DryingRackManager;`\n+\n+## Methoden\n+- **String name** Recipe name\n+- **[IItemStack](/Vanilla/Items/IItemStack/) output**\n+- **[IIngredient](/Vanilla/Variable_Types/IIngredient/) input**\n+- **int dryingTime** Drying time in ticks\n+- **String group** Recipe group\n+\n+## Addition\n+\n+```zenscript\n+<recipetype:stone_age:drying_rack>.addRecipe(String name, IItemStack output, IIngredient input, int dryingTime, @OptionalString String group)\n+\n+<recipetype:stone_age:drying_rack>.addRecipe(\"dried_meat\", <item:minecraft:cooked_mutton>, <item:minecraft:mutton>, 1200, \"foods\");\n+\n+DryingRackManager.INSTANCE.addRecipe(\"dried_meat\", <item:minecraft:cooked_mutton>, <item:minecraft:mutton>, 1200, \"foods\");\n+```\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations DryingRackManager.md (German) [ci skip]
139,040
05.06.2020 23:47:29
-7,200
683b79d9e4c814830660a59a61d9524a6251c743
New translations FlintWorkbenchManager.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/mods/StoneAge/FlintWorkbenchManager.md", "diff": "+# Flint Workbench\n+\n+## Package\n+`import mods.stone_age.FlintWorkbenchManager;`\n+\n+## Methoden\n+- **String name** Recipe name\n+- **[IItemStack](/Vanilla/Items/IItemStack/) output**\n+- **[IIngredient](/Vanilla/Variable_Types/IIngredient/)[] inputMatrix**\n+- **[IIngredient](/Vanilla/Variable_Types/IIngredient/) tool** Crafting tool\n+- **String group** Recipe group\n+\n+## Addition\n+\n+```zenscript\n+<recipetype:stone_age:flint_workbench>.addRecipe(String name, IItemStack output, IIngredient[][] inputMatrix, IIngredient tool, @OptionalString String group)\n+\n+<recipetype:stone_age:flint_workbench>.addRecipe(\"cobblestone\", <item:minecraft:cobblestone>, [[<item:minecraft:dirt>, <item:minecraft:dirt]], <item:minecraft:emerald>);\n+FlintWorkbenchManager.INSTANCE.addRecipe(\"cobblestone\", <item:minecraft:cobblestone>, [[<item:minecraft:dirt>, <item:minecraft:dirt]], <item:minecraft:emerald>);\n+```\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations FlintWorkbenchManager.md (German) [ci skip]
139,040
05.06.2020 23:47:31
-7,200
c6f96acc45ec441b06a0ec47712e3c2998ec25f0
New translations MillstoneManager.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/mods/StoneAge/MillstoneManager.md", "diff": "+# Millstone\n+\n+## Package\n+`import mods.stone_age.MillstoneManager;`\n+\n+## Methoden\n+- **String name** Recipe name\n+- **[IItemStack](/Vanilla/Items/IItemStack/) output**\n+- **[IIngredient](/Vanilla/Variable_Types/IIngredient/) input**\n+- **int activateCount** Activate millstone count\n+- **String group** Recipe group\n+\n+## Addition\n+\n+```zenscript\n+<recipetype:stone_age:millstone>.addRecipe(String name, IItemStack output, IIngredient input, int activateCount, @OptionalString String group)\n+\n+<recipetype:stone_age:millstone>.addRecipe(\"sugar\", <item:minecraft:sugar>, <item:minecraft:sugar_cane>, 2, \"foods\");\n+MillstoneManager.INSTANCE.addRecipe(\"sugar\", <item:minecraft:sugar>, <item:minecraft:sugar_cane>, 2, \"foods\");\n+```\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations MillstoneManager.md (German) [ci skip]
139,040
05.06.2020 23:47:32
-7,200
a6dfede77bcf5df1dfa4d869dc2948a7b6279a68
New translations TanningRackManager.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/mods/StoneAge/TanningRackManager.md", "diff": "+# Tanning Rack\n+\n+## Package\n+`import mods.stone_age.TanningRackManager;`\n+\n+## Methoden\n+- **String name** Recipe name\n+- **[IItemStack](/Vanilla/Items/IItemStack/) output**\n+- **[IIngredient](/Vanilla/Variable_Types/IIngredient/) input**\n+- **[IIngredient](/Vanilla/Variable_Types/IIngredient/) tool**\n+- **String group** Recipe group\n+\n+## Addition\n+\n+```zenscript\n+<recipetype:stone_age:tanning_rack>.addRecipe(String name, IItemStack output, IIngredient input, IIngredient tool, @OptionalString String group)\n+\n+<recipetype:stone_age:tanning_rack>.addRecipe(\"leather\", <item:minecraft:leather>, <item:minecraft:rotten_flesh>, <item:minecraft:iron_sword>, \"leather\");\n+TanningRackManager.INSTANCE.addRecipe(\"leather\", <item:minecraft:leather>, <item:minecraft:rotten_flesh>, <item:minecraft:iron_sword>, \"leather\");\n+```\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations TanningRackManager.md (German) [ci skip]
139,040
05.06.2020 23:47:34
-7,200
8c6245f03af2c557ccf6fe33c796f279d22e8943
New translations TreeStumpManager.md (German) [ci skip]
[ { "change_type": "ADD", "old_path": null, "new_path": "translations/de/docs/mods/StoneAge/TreeStumpManager.md", "diff": "+# Tree Stump\n+\n+## Package\n+`import mods.stone_age.TreeStumpManager;`\n+\n+## Methoden\n+- **String name** Recipe name\n+- **[IItemStack](/Vanilla/Items/IItemStack/) output**\n+- **[IIngredient](/Vanilla/Variable_Types/IIngredient/) tool**\n+- **[IIngredient](/Vanilla/Variable_Types/IIngredient/) input**\n+- **int chopTimes** Chop times\n+- **String group** Recipe group\n+\n+## Addition\n+\n+```zenscript\n+<recipetype:stone_age:tree_stump>.addRecipe(String name, IItemStack output, IIngredient tool, IIngredient input, int chopTimes, @OptionalString String group)\n+\n+<recipetype:stone_age:tree_stump>.addRecipe(\"oak_planks\", <item:minecraft:oak_planks>, <item:minecraft:iron_axe>, <item:minecraft:oak_log>, 2);\n+TreeStumpManager.INSTANCE.addRecipe(\"oak_planks\", <item:minecraft:oak_planks>, <item:minecraft:iron_axe>, <item:minecraft:oak_log>, 2);\n+```\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations TreeStumpManager.md (German) [ci skip]
139,040
07.07.2020 16:16:36
-7,200
a44b718d16ce3821e265581bda6d10f9170d1545
New translations MCPlayerEntity.md (Chinese Simplified) [ci skip]
[ { "change_type": "MODIFY", "old_path": "translations/zh/docs/vanilla/api/entity/player/MCPlayerEntity.md", "new_path": "translations/zh/docs/vanilla/api/entity/player/MCPlayerEntity.md", "diff": "@@ -495,6 +495,7 @@ Returns boolean\n```zenscript\nmyMCPlayerEntity.func_213365_e(itemstackIn as crafttweaker.api.item.IItemStack);\n+\n```\n| Parameter | Type | Description |\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
New translations MCPlayerEntity.md (Chinese Simplified) [ci skip]
139,040
17.09.2020 21:33:21
-7,200
73710373a4c882aef1a3cb7c84650da30695c8ca
Make mkdocs.yml files text again
[ { "change_type": "MODIFY", "old_path": "crowdin.yml", "new_path": "crowdin.yml", "diff": "@@ -15,8 +15,7 @@ files:\n- '*.css'\n- '*.sh'\n- /**/mkdocs.yml\n- translation: >-\n- /translations_exported/%two_letters_code%/%original_path%/%original_file_name%\n+ translation: /translations_exported/%two_letters_code%/%original_path%/%original_file_name%\n- source: /docs_exported/**/mkdocs.yml\n- translation: >-\n- /translations_exported/%two_letters_code%/%original_path%/%original_file_name%\n+ translation: /translations_exported/%two_letters_code%/%original_path%/%original_file_name%\n+ type: txt\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Make mkdocs.yml files text again
139,033
18.09.2020 15:00:49
-7,200
d0e2ec7a6aaff15f1306f4d1d81d4d8db7c4b633
CI Doc export for build 1.16-39 Matches git commit
[ { "change_type": "MODIFY", "old_path": "docs_exported/crafttweaker/docs/vanilla/api/tags/MCTag.md", "new_path": "docs_exported/crafttweaker/docs/vanilla/api/tags/MCTag.md", "diff": "@@ -49,13 +49,16 @@ myMCTag.addFluids(fluids as crafttweaker.api.fluid.MCFluid[]);\n### addItems\n+Adds items to this tag, will fail if this is not a tag that can hold items\n+\n```zenscript\nmyMCTag.addItems(items as crafttweaker.api.item.IItemStack[]);\n+myMCTag.addItems(<item:minecraft:dirt>);\n```\n| Parameter | Type | Description |\n|-----------|------|-------------|\n-| items | [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack)[] | No description provided |\n+| items | [crafttweaker.api.item.IItemStack](/vanilla/api/items/IItemStack)[] | Items to add to the tag |\n### anyDamage\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
CI Doc export for build 1.16-39 Matches git commit 6186f526e4a467b3bf78699cac9e8dbe2045c672
139,040
16.11.2020 11:23:12
-3,600
896cc7f8629ec95b0eba87262a5244ec8b2668d1
Re-added CoT walkthrough Sometimes you _can_ remote too much, apparently
[ { "change_type": "ADD", "old_path": null, "new_path": "docs/mods/contenttweaker/SimpleWalkthrough.md", "diff": "+# Simple Walkthrough\n+\n+Hey there, kindlich here.\n+So you're trying out ContentTweaker for 1.15, huh?\n+\n+Sometimes I'll usually abbreviate ContentTweaker with CoT to spare me a few letters (it's more an automatism from Discord already), so stay with me, okay?\n+Then, first I recommend you also install a resource manager mod, so that the blocks/items that you have a way of adding textures and models for blocks and items later on.\n+\n+ContentTweaker will try to create model files as well as a simple no-texture image in your resource folder, as long as it detects either the mod [The loader](https://www.curseforge.com/minecraft/mc-mods/the-loader) or [Open Loader](https://www.curseforge.com/minecraft/mc-mods/open-loader) installed. If neither of these is installed, it will only print a message to the log stating that it won't create textures for you. At some point it will also be possible to disable the generation of textures altogether, but not in the curren Alpha/Beta build.\n+\n+For the generated textures, CoT will not override files if they already exist, so you can simple replace the existing files with your own ones and CoT will not undo these changes.\n+\n+\n+Now, let's get to it, shall we?\n+I will give examples for some simple blocks and items. If you want to see everything these classes support, you can find the API export in the API folder right below this file in the navbar!\n+\n+## Loader ContentTweaker\n+Since CraftTweaker in 1.14+ will load while the server is up and running, we need a way to load scripts somewhere else.\n+That is what the `#loader contenttweaker` is for!\n+Simply put it somewhere in (preferable the top of) your file and you're set to go.\n+Remember **no crafttweaker scripts are allowed** in `#loader contenttweaker`as they run at different phases of the laod cycle!\n+\n+\n+## Blocks\n+\n+For creating blocks you need to create a [BlockBuilder](/mods/contenttweaker/API/block/BlockBuilder) object.\n+Once you have that you can set most simple properties in a builder pattern.\n+\n+You could then directly call `build(name)` on it and be done if you want to create a basic block.\n+Or you could specialize the builder using `withType` and provide a specialized builder class, for example [BuilderStairs](/mods/contenttweaker/API/block/stairs/BlockBuilderStairs) or [BlockBuilderPillarRotatable](/mods/contenttweaker/API/block/pillar/BlockBuilderPillarRotatable). Check their respective pages to see what additional features they offer. Be aware that once you do the withType call, there is no going back, so set all basic properties before that call.\n+\n+Remember, whatever you do, at the end of the chain you **need a `build(name)` call**, since otherwise nothing will happen!\n+\n+Enough spoken, you want a copy/paste example, do you?\n+\n+```zenscript\n+#loader contenttweaker\n+\n+import mods.contenttweaker.block.BlockBuilder;\n+import mods.contenttweaker.block.stairs.BlockBuilderStairs;\n+import mods.contenttweaker.block.basic.BlockBuilderBasic;\n+import mods.contenttweaker.block.pillar.BlockBuilderPillarRotatable;\n+\n+\n+//The simplest way, uses blockamterial IRON\n+new BlockBuilder()\n+ //Will delegate to the Basic Builder\n+ .build(\"generic_block\");\n+\n+\n+//Sets a different block material.\n+new BlockBuilder(<blockmaterial:earth>)\n+ .withType<BlockBuilderBasic>()\n+ .build(\"earth_like_block\");\n+\n+\n+//The Pillar Type is basically the same as logs, one texture on top/bottom and one for the sides.\n+//Can be rotated on all axes, just like logs.\n+//Texture names by default will be \"block_name\" + \"end\", \"_sides\"\n+new BlockBuilder()\n+ .withType<BlockBuilderPillarRotatable>()\n+ .build(\"preset_pillar_rotatable_noarg\");\n+\n+\n+//Stairs.\n+//Has 3 Textures, top, bottom, sides, by default they will be \"block_name\" + \"_top\", \"_bottom\", \"_sides\"\n+new BlockBuilder()\n+ .withType<BlockBuilderStairs>()\n+ .build(\"stairs_noarg\");\n+```\n+\n+\n+## Items\n+\n+For items you more or less do the same, but this time you need an [ItemBuilder](/mods/contenttweaker/API/item/ItemBuilder).\n+You can again, either use a `build(name)` directly, or switch to a specialized version using `withType`.\n+At the time of this writing there only exists [ItemBuilderTool](/mods/contenttweaker/API/item/tool/ItemBuilderTool), though.\n+\n+Remember, whatever you do, at the end of the chain you **need a `build(name)` call**, since otherwise nothing will happen!\n+\n+Enough spoken, you want a copy/paste example, do you?\n+```zenscript\n+#loader contenttweaker\n+\n+import mods.contenttweaker.item.ItemBuilder;\n+import mods.contenttweaker.item.tool.ItemBuilderTool;\n+\n+//The simplest way of creating items.\n+new ItemBuilder().build(\"generic_item\");\n+new ItemBuilder().build(\"generic_item_2\");\n+new ItemBuilder().build(\"generic_item_3\");\n+\n+\n+//With setting properties\n+new ItemBuilder()\n+ .withMaxStackSize(16) //MaxStackSize and MaxDamage contradict each other, so only use 1\n+ .build(\"other_item\");\n+\n+\n+//If you want tools you'll need to set the type.\n+//From the moment of setting the type you will switch contexts, so the other methods will no longer be available.\n+//That means, that you need to set durability and the like _before_ the withType call.\n+new ItemBuilder()\n+ .withMaxDamage(100)\n+ .withType<ItemBuilderTool>()\n+ .withToolType(<tooltype:axe>, 1) //Axe harvest level = 1\n+ .withToolType(<tooltype:shovel>, 3, 4.0F) //Shovel harvest level 3 and destroy speed 4.0\n+ .build(\"my_tool\");\n+\n+\n+\n+//If you want a tool that does damage, you can also use the tool type\n+new ItemBuilder()\n+ .withMaxDamage(100)\n+ .withType<ItemBuilderTool>()\n+ .withAttackDamage(10.0F)\n+ .withAttackSpeed(5.0F)\n+ .withDurabilityCostAttack(1) //By default: 2\n+ .build(\"my_mace\");\n+\n+```\n+\n+## Names\n+So, how would you go about giving items proper names?\n+For that, you need a lang file.\n+At the time of this writing CoT did not yet create that one for ya, so you will need to create it yourself.\n+In your resource pack, find the `assets/contenttweaker` folder.\n+In there, create a folder named `lang` if it does not yet exist, and create a file named `en_us.json` in there.\n+I recommend always starting with the en_us one, since that is what the game will fall back to if it cannot find the name for another language. Afterwards feel free to repeat this with other lang codes as well.\n+\n+In there you will have to create a Key-Value map for your entries. The keys, also called Translation keys, or in earlier versions unlocalized Name, are dependent on the name of the block/item you used, and they will look like\n+```\n+\"<block|item>.contenttweaker.<the_name_you_gave_them>\"\n+```\n+For the value, you can set how the item is named ingame in there.\n+If you are unsure about the syntax, check the example below, or try a JSON Validator if you got the syntax down.\n+\n+\n+TLDR: `<resoruce_pack>/assets/contenttweaker/lang/en_us.json`.\n+```\n+{\n+ \"block.contenttweaker.generic_block\": \"Generic Block\",\n+ \"item.contenttweaker.generic_item\": \"Generic Item\",\n+ \"item.contenttweaker.generic_item_2\": \"Generic Item the 2nd\",\n+ \"item.contenttweaker.generic_item_3\": \"Generic Item the charmed one\"\n+}\n+```\n\\ No newline at end of file\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Re-added CoT walkthrough Sometimes you _can_ remote too much, apparently
139,040
23.12.2020 16:28:49
-3,600
13967b53fc2a1671cc44aff724be661db4010c6e
After fixing static examples
[ { "change_type": "MODIFY", "old_path": "docs_exported/crafttweaker/docs/vanilla/api/BracketHandlers.md", "new_path": "docs_exported/crafttweaker/docs/vanilla/api/BracketHandlers.md", "diff": "@@ -23,8 +23,11 @@ Return Type: [MCBlock](/vanilla/api/blocks/MCBlock)\n<block:minecraft:dirt>\nBracketHandlers.getBlock(tokens as String) as MCBlock\n-BracketHandlers(\"minecraft:dirt\")\n+BracketHandlers.getBlock(\"minecraft:dirt\")\n```\n+| Parameter | Type | Description |\n+|-----------|------|-------------|\n+| tokens | String | What you would write in the BEP call. |\n### getBlockMaterial\nGets the given [MCMaterial](/vanilla/api/block/material/MCMaterial). Throws an Exception if not found.\n@@ -36,8 +39,11 @@ Return Type: [MCMaterial](/vanilla/api/block/material/MCMaterial)\n<blockmaterial:earth>\nBracketHandlers.getBlockMaterial(tokens as String) as MCMaterial\n-BracketHandlers(\"earth\")\n+BracketHandlers.getBlockMaterial(\"earth\")\n```\n+| Parameter | Type | Description |\n+|-----------|------|-------------|\n+| tokens | String | What you would write in the BEP call. |\n### getBlockState\nCreates a Blockstate based on the given inputs.\n@@ -51,9 +57,12 @@ Return Type: [MCBlockState](/vanilla/api/blocks/MCBlockState)\n<blockstate:minecraft:furnace:facing=north,lit=false>\nBracketHandlers.getBlockState(tokens as String) as MCBlockState\n-BracketHandlers(\"minecraft:acacia_planks\")\n-BracketHandlers(\"minecraft:furnace:facing=north,lit=false\")\n+BracketHandlers.getBlockState(\"minecraft:acacia_planks\")\n+BracketHandlers.getBlockState(\"minecraft:furnace:facing=north,lit=false\")\n```\n+| Parameter | Type | Description |\n+|-----------|------|-------------|\n+| tokens | String | The block's resource location and variants |\n### getDirectionAxis\nGets the direction Axis based on name. Throws an error if it can't find the direction Axis.\n@@ -65,8 +74,11 @@ Return Type: [DirectionAxis](/vanilla/api/util/DirectionAxis)\n<directionaxis:x>\nBracketHandlers.getDirectionAxis(tokens as String) as DirectionAxis\n-BracketHandlers(\"x\")\n+BracketHandlers.getDirectionAxis(\"x\")\n```\n+| Parameter | Type | Description |\n+|-----------|------|-------------|\n+| tokens | String | The direction Axis's resource location |\n### getEffect\nGets the effect based on registry name. Throws an error if it can't find the effect.\n@@ -78,8 +90,11 @@ Return Type: [MCPotionEffect](/vanilla/api/potion/MCPotionEffect)\n<effect:minecraft:haste>\nBracketHandlers.getEffect(tokens as String) as MCPotionEffect\n-BracketHandlers(\"minecraft:haste\")\n+BracketHandlers.getEffect(\"minecraft:haste\")\n```\n+| Parameter | Type | Description |\n+|-----------|------|-------------|\n+| tokens | String | The effect's resource location |\n### getEntityClassification\nGets the entityClassification based on registry name. Logs an error and returns `null` if it can't find the entityClassification.\n@@ -91,8 +106,11 @@ Return Type: [MCEntityClassification](/vanilla/api/entity/MCEntityClassification\n<entityclassification:monster>\nBracketHandlers.getEntityClassification(tokens as String) as MCEntityClassification\n-BracketHandlers(\"monster\")\n+BracketHandlers.getEntityClassification(\"monster\")\n```\n+| Parameter | Type | Description |\n+|-----------|------|-------------|\n+| tokens | String | The entityClassification's resource location |\n### getEntityType\nGets the entityType based on registry name. Logs an error and return `null` if it can't find the entityType.\n@@ -104,8 +122,11 @@ Return Type: [MCEntityType](/vanilla/api/entities/MCEntityType)\n<entitytype:minecraft:pig>\nBracketHandlers.getEntityType(tokens as String) as MCEntityType\n-BracketHandlers(\"minecraft:pig\")\n+BracketHandlers.getEntityType(\"minecraft:pig\")\n```\n+| Parameter | Type | Description |\n+|-----------|------|-------------|\n+| tokens | String | The entityType's resource location |\n### getFluidStack\nGets the fluid Stack based on registry name. Throws an error if it can't find the fluid.\n@@ -117,8 +138,11 @@ Return Type: [IFluidStack](/vanilla/api/fluid/IFluidStack)\n<fluid:minecraft:water>\nBracketHandlers.getFluidStack(tokens as String) as IFluidStack\n-BracketHandlers(\"minecraft:water\")\n+BracketHandlers.getFluidStack(\"minecraft:water\")\n```\n+| Parameter | Type | Description |\n+|-----------|------|-------------|\n+| tokens | String | The Fluid's resource location |\n### getItem\nGets the item based on registry name. Throws an error if it can't find the item.\n@@ -130,8 +154,11 @@ Return Type: [IItemStack](/vanilla/api/items/IItemStack)\n<item:minecraft:dirt>\nBracketHandlers.getItem(tokens as String) as IItemStack\n-BracketHandlers(\"minecraft:dirt\")\n+BracketHandlers.getItem(\"minecraft:dirt\")\n```\n+| Parameter | Type | Description |\n+|-----------|------|-------------|\n+| tokens | String | The item's resource location |\n### getPotion\nReturn Type: [MCPotion](/vanilla/api/potion/MCPotion)\n@@ -139,6 +166,9 @@ Return Type: [MCPotion](/vanilla/api/potion/MCPotion)\n```zenscript\nBracketHandlers.getPotion(tokens as String) as MCPotion\n```\n+| Parameter | Type | Description |\n+|-----------|------|-------------|\n+| tokens | String | No Description Provided |\n### getRecipeManager\nGets the recipeManager based on registry name. Throws an error if it can't find the recipeManager.\n@@ -153,8 +183,11 @@ Return Type: [IRecipeManager](/vanilla/api/managers/IRecipeManager)\n```zenscript\nBracketHandlers.getRecipeManager(tokens as String) as IRecipeManager\n-BracketHandlers(\"minecraft:crafting\")\n+BracketHandlers.getRecipeManager(\"minecraft:crafting\")\n```\n+| Parameter | Type | Description |\n+|-----------|------|-------------|\n+| tokens | String | The recipeManager's resource location |\n### getResourceLocation\nCreates a Resource location based on the tokens.\n@@ -167,8 +200,11 @@ Return Type: [MCResourceLocation](/vanilla/api/util/MCResourceLocation)\n<resource:minecraft:dirt>\nBracketHandlers.getResourceLocation(tokens as String) as MCResourceLocation\n-BracketHandlers(\"minecraft:dirt\")\n+BracketHandlers.getResourceLocation(\"minecraft:dirt\")\n```\n+| Parameter | Type | Description |\n+|-----------|------|-------------|\n+| tokens | String | The resource location |\n### getTextFormatting\nReturn Type: [TextFormatting](/vanilla/api/util/text/TextFormatting)\n@@ -176,3 +212,6 @@ Return Type: [TextFormatting](/vanilla/api/util/text/TextFormatting)\n```zenscript\nBracketHandlers.getTextFormatting(tokens as String) as TextFormatting\n```\n+| Parameter | Type | Description |\n+|-----------|------|-------------|\n+| tokens | String | No Description Provided |\n" }, { "change_type": "MODIFY", "old_path": "docs_exported/crafttweaker/docs/vanilla/api/commands/custom/CustomCommands.md", "new_path": "docs_exported/crafttweaker/docs/vanilla/api/commands/custom/CustomCommands.md", "diff": "@@ -19,6 +19,9 @@ Return Type: [MCRequiredArgumentBuilder](/vanilla/api/commands/custom/MCRequired\n```zenscript\nCustomCommands.argument(name as String) as MCRequiredArgumentBuilder\n```\n+| Parameter | Type | Description |\n+|-----------|------|-------------|\n+| name | String | No Description Provided |\n### literal\nReturn Type: [MCLiteralArgumentBuilder](/vanilla/api/commands/custom/MCLiteralArgumentBuilder)\n@@ -26,6 +29,9 @@ Return Type: [MCLiteralArgumentBuilder](/vanilla/api/commands/custom/MCLiteralAr\n```zenscript\nCustomCommands.literal(name as String) as MCLiteralArgumentBuilder\n```\n+| Parameter | Type | Description |\n+|-----------|------|-------------|\n+| name | String | No Description Provided |\n### registerCommand\nReturn Type: void\n@@ -33,3 +39,6 @@ Return Type: void\n```zenscript\nCustomCommands.registerCommand(builder as MCLiteralArgumentBuilder) as void\n```\n+| Parameter | Type | Description |\n+|-----------|------|-------------|\n+| builder | [MCLiteralArgumentBuilder](/vanilla/api/commands/custom/MCLiteralArgumentBuilder) | No Description Provided |\n" }, { "change_type": "MODIFY", "old_path": "docs_exported/crafttweaker/docs/vanilla/api/commands/custom/MCStringRange.md", "new_path": "docs_exported/crafttweaker/docs/vanilla/api/commands/custom/MCStringRange.md", "diff": "@@ -19,6 +19,9 @@ Return Type: [MCStringRange](/vanilla/api/commands/custom/MCStringRange)\n```zenscript\nMCStringRange.at(pos as int) as MCStringRange\n```\n+| Parameter | Type | Description |\n+|-----------|------|-------------|\n+| pos | int | No Description Provided |\n### between\nReturn Type: [MCStringRange](/vanilla/api/commands/custom/MCStringRange)\n@@ -26,6 +29,10 @@ Return Type: [MCStringRange](/vanilla/api/commands/custom/MCStringRange)\n```zenscript\nMCStringRange.between(start as int, end as int) as MCStringRange\n```\n+| Parameter | Type | Description |\n+|-----------|------|-------------|\n+| start | int | No Description Provided |\n+| end | int | No Description Provided |\n### encompassing\nReturn Type: [MCStringRange](/vanilla/api/commands/custom/MCStringRange)\n@@ -33,6 +40,10 @@ Return Type: [MCStringRange](/vanilla/api/commands/custom/MCStringRange)\n```zenscript\nMCStringRange.encompassing(a as MCStringRange, b as MCStringRange) as MCStringRange\n```\n+| Parameter | Type | Description |\n+|-----------|------|-------------|\n+| a | [MCStringRange](/vanilla/api/commands/custom/MCStringRange) | No Description Provided |\n+| b | [MCStringRange](/vanilla/api/commands/custom/MCStringRange) | No Description Provided |\n## Methods\n### equals\n" }, { "change_type": "MODIFY", "old_path": "docs_exported/crafttweaker/docs/vanilla/api/commands/custom/MCSuggestions.md", "new_path": "docs_exported/crafttweaker/docs/vanilla/api/commands/custom/MCSuggestions.md", "diff": "@@ -19,13 +19,17 @@ Return Type: [MCSuggestions](/vanilla/api/commands/custom/MCSuggestions)\n```zenscript\nMCSuggestions.create(command as String, suggestions as Collection) as MCSuggestions\n```\n+| Parameter | Type | Description |\n+|-----------|------|-------------|\n+| command | String | No Description Provided |\n+| suggestions | Collection | No Description Provided |\n### empty\nReturn Type: [MCSuggestions](/vanilla/api/commands/custom/MCSuggestions)\n```zenscript\nMCSuggestions.empty() as MCSuggestions\n-MCSuggestions()\n+MCSuggestions.empty()\n```\n### merge\n@@ -34,6 +38,10 @@ Return Type: [MCSuggestions](/vanilla/api/commands/custom/MCSuggestions)\n```zenscript\nMCSuggestions.merge(command as String, input as Collection) as MCSuggestions\n```\n+| Parameter | Type | Description |\n+|-----------|------|-------------|\n+| command | String | No Description Provided |\n+| input | Collection | No Description Provided |\n## Casters\n| Result type | Is Implicit |\n" }, { "change_type": "MODIFY", "old_path": "docs_exported/crafttweaker/docs/vanilla/api/util/text/MCTextComponent.md", "new_path": "docs_exported/crafttweaker/docs/vanilla/api/util/text/MCTextComponent.md", "diff": "@@ -19,6 +19,9 @@ Return Type: [MCTextComponent](/vanilla/api/util/text/MCTextComponent)\n```zenscript\nMCTextComponent.createStringTextComponent(text as String) as MCTextComponent\n```\n+| Parameter | Type | Description |\n+|-----------|------|-------------|\n+| text | String | No Description Provided |\n### createTranslationTextComponent\nReturn Type: [MCTextComponent](/vanilla/api/util/text/MCTextComponent)\n@@ -26,11 +29,18 @@ Return Type: [MCTextComponent](/vanilla/api/util/text/MCTextComponent)\n```zenscript\nMCTextComponent.createTranslationTextComponent(translationKey as String) as MCTextComponent\n```\n+| Parameter | Type | Description |\n+|-----------|------|-------------|\n+| translationKey | String | No Description Provided |\nReturn Type: [MCTextComponent](/vanilla/api/util/text/MCTextComponent)\n```zenscript\nMCTextComponent.createTranslationTextComponent(translationKey as String, args as Object[]) as MCTextComponent\n```\n+| Parameter | Type | Description |\n+|-----------|------|-------------|\n+| translationKey | String | No Description Provided |\n+| args | Object[] | No Description Provided |\n## Casters\n| Result type | Is Implicit |\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
After fixing static examples
139,040
23.12.2020 17:56:52
-3,600
afcd0c9bd23feeb96326d87a281420d9f1cbdcc1
Remove mkdocs.yml
[ { "change_type": "MODIFY", "old_path": "docs_exported/crafttweaker/docs.json", "new_path": "docs_exported/crafttweaker/docs.json", "diff": "{\n- \"nav\": {\n- \"Vanilla\": {\n- \"Api\": {\n- \"BracketHandlers\": \"vanilla/api/BracketHandlers.md\",\n- \"Block\": {\n- \"Material\": {\n+ \"vanilla\": {\n+ \"api\": {\n+ \"block\": {\n+ \"material\": {\n\"MCMaterial\": \"vanilla/api/block/material/MCMaterial.md\",\n\"MCMaterialColor\": \"vanilla/api/block/material/MCMaterialColor.md\"\n}\n},\n- \"Blocks\": {\n+ \"blocks\": {\n\"MCBlock\": \"vanilla/api/blocks/MCBlock.md\",\n\"MCBlockState\": \"vanilla/api/blocks/MCBlockState.md\"\n},\n- \"Brackets\": {\n+ \"brackets\": {\n\"CommandStringDisplayable\": \"vanilla/api/brackets/CommandStringDisplayable.md\"\n},\n- \"Commands\": {\n- \"Custom\": {\n+ \"commands\": {\n+ \"custom\": {\n\"CustomCommands\": \"vanilla/api/commands/custom/CustomCommands.md\",\n\"MCAmbiguityConsumer\": \"vanilla/api/commands/custom/MCAmbiguityConsumer.md\",\n\"MCArgumentBuilder\": \"vanilla/api/commands/custom/MCArgumentBuilder.md\",\n\"MCSuggestionsBuilder\": \"vanilla/api/commands/custom/MCSuggestionsBuilder.md\"\n}\n},\n- \"Data\": {\n+ \"data\": {\n+ \"BoolData\": \"vanilla/api/data/BoolData.md\",\n\"ByteArrayData\": \"vanilla/api/data/ByteArrayData.md\",\n\"ByteData\": \"vanilla/api/data/ByteData.md\",\n\"DoubleData\": \"vanilla/api/data/DoubleData.md\",\n\"ShortData\": \"vanilla/api/data/ShortData.md\",\n\"StringData\": \"vanilla/api/data/StringData.md\"\n},\n- \"Entities\": {\n- \"MCEntityClassification\": \"vanilla/api/entities/MCEntityClassification.md\",\n+ \"enchantment\": {\n+ \"MCEnchantment\": \"vanilla/api/enchantment/MCEnchantment.md\"\n+ },\n+ \"entities\": {\n\"MCEntityType\": \"vanilla/api/entities/MCEntityType.md\"\n},\n- \"Entity\": {\n- \"Player\": {\n- \"MCPlayerEntity\": \"vanilla/api/entity/player/MCPlayerEntity.md\"\n- }\n+ \"entity\": {\n+ \"MCEntity\": \"vanilla/api/entity/MCEntity.md\",\n+ \"MCEntityClassification\": \"vanilla/api/entity/MCEntityClassification.md\",\n+ \"MCLivingEntity\": \"vanilla/api/entity/MCLivingEntity.md\",\n+ \"MCPlayerEntity\": \"vanilla/api/entity/MCPlayerEntity.md\"\n},\n- \"Event\": {\n- \"IEvent\": \"vanilla/api/event/IEvent.md\"\n+ \"event\": {\n+ \"player\": {\n+ \"MCAnvilRepairEvent\": \"vanilla/api/event/player/MCAnvilRepairEvent.md\",\n+ \"MCPlayerEvent\": \"vanilla/api/event/player/MCPlayerEvent.md\"\n},\n- \"Fluid\": {\n+ \"IEvent\": \"vanilla/api/event/IEvent.md\",\n+ \"MCEntityEvent\": \"vanilla/api/event/MCEntityEvent.md\",\n+ \"MCEvent\": \"vanilla/api/event/MCEvent.md\",\n+ \"MCLivingEvent\": \"vanilla/api/event/MCLivingEvent.md\"\n+ },\n+ \"fluid\": {\n\"IFluidStack\": \"vanilla/api/fluid/IFluidStack.md\",\n\"MCFluid\": \"vanilla/api/fluid/MCFluid.md\"\n},\n- \"Food\": {\n+ \"food\": {\n\"MCFood\": \"vanilla/api/food/MCFood.md\"\n},\n- \"Game\": {\n+ \"game\": {\n\"MCGame\": \"vanilla/api/game/MCGame.md\"\n},\n- \"Items\": {\n+ \"item\": {\n+ \"Ingredient\": \"vanilla/api/item/Ingredient.md\",\n+ \"ItemStack\": \"vanilla/api/item/ItemStack.md\",\n+ \"MCItemDefinition\": \"vanilla/api/item/MCItemDefinition.md\"\n+ },\n+ \"items\": {\n+ \"/ExpandIIngredientTransformers\": \"vanilla/api/items/ExpandIIngredientTransformers.md\",\n\"IIngredient\": \"vanilla/api/items/IIngredient.md\",\n\"IIngredientTransformer\": \"vanilla/api/items/IIngredientTransformer.md\",\n- \"IIngredientTransformer\": \"vanilla/api/items/IIngredientTransformer.md\",\n\"IItemStack\": \"vanilla/api/items/IItemStack.md\",\n\"ITooltipFunction\": \"vanilla/api/items/ITooltipFunction.md\",\n\"IngredientList\": \"vanilla/api/items/IngredientList.md\",\n\"MCIngredientTransformed\": \"vanilla/api/items/MCIngredientTransformed.md\",\n\"MCWeightedItemStack\": \"vanilla/api/items/MCWeightedItemStack.md\"\n},\n- \"Logger\": {\n+ \"logger\": {\n\"ILogger\": \"vanilla/api/logger/ILogger.md\"\n},\n- \"Managers\": {\n+ \"managers\": {\n\"BlastFurnaceManager\": \"vanilla/api/managers/BlastFurnaceManager.md\",\n\"CampFireManager\": \"vanilla/api/managers/CampFireManager.md\",\n\"CraftingTableManager\": \"vanilla/api/managers/CraftingTableManager.md\",\n\"SmokerManager\": \"vanilla/api/managers/SmokerManager.md\",\n\"StoneCutterManager\": \"vanilla/api/managers/StoneCutterManager.md\"\n},\n- \"Mods\": {\n+ \"mods\": {\n\"ModInfo\": \"vanilla/api/mods/ModInfo.md\",\n\"Mods\": \"vanilla/api/mods/Mods.md\"\n},\n- \"Potions\": {\n- \"MCPotion\": \"vanilla/api/potions/MCPotion.md\",\n- \"MCPotionEffect\": \"vanilla/api/potions/MCPotionEffect.md\",\n- \"MCPotionEffectInstance\": \"vanilla/api/potions/MCPotionEffectInstance.md\"\n+ \"potion\": {\n+ \"MCPotion\": \"vanilla/api/potion/MCPotion.md\",\n+ \"MCPotionEffect\": \"vanilla/api/potion/MCPotionEffect.md\",\n+ \"MCPotionEffectInstance\": \"vanilla/api/potion/MCPotionEffectInstance.md\"\n},\n- \"Recipe\": {\n+ \"recipe\": {\n\"RecipeFilter\": \"vanilla/api/recipe/RecipeFilter.md\",\n\"RecipeFunctionArray\": \"vanilla/api/recipe/RecipeFunctionArray.md\",\n\"RecipeFunctionMatrix\": \"vanilla/api/recipe/RecipeFunctionMatrix.md\",\n\"RecipeFunctionSingle\": \"vanilla/api/recipe/RecipeFunctionSingle.md\",\n\"WrapperRecipe\": \"vanilla/api/recipe/WrapperRecipe.md\"\n},\n- \"Tags\": {\n- \"MCTag\": \"vanilla/api/tags/MCTag.md\"\n+ \"tags\": {\n+ \"MCTag\": \"vanilla/api/tags/MCTag.md\",\n+ \"TagManager\": \"vanilla/api/tags/TagManager.md\",\n+ \"TagManagerBlock\": \"vanilla/api/tags/TagManagerBlock.md\",\n+ \"TagManagerEntityType\": \"vanilla/api/tags/TagManagerEntityType.md\",\n+ \"TagManagerFluid\": \"vanilla/api/tags/TagManagerFluid.md\",\n+ \"TagManagerItem\": \"vanilla/api/tags/TagManagerItem.md\"\n},\n- \"Util\": {\n- \"BlockPos\": \"vanilla/api/util/BlockPos.md\",\n- \"Direction\": \"vanilla/api/util/Direction.md\",\n- \"DirectionAxis\": \"vanilla/api/util/DirectionAxis.md\",\n- \"MCResourceLocation\": \"vanilla/api/util/MCResourceLocation.md\",\n- \"Text\": {\n+ \"util\": {\n+ \"text\": {\n\"MCStyle\": \"vanilla/api/util/text/MCStyle.md\",\n\"MCTextComponent\": \"vanilla/api/util/text/MCTextComponent.md\",\n\"TextFormatting\": \"vanilla/api/util/text/TextFormatting.md\"\n- }\n},\n- \"World\": {\n+ \"BlockPos\": \"vanilla/api/util/BlockPos.md\",\n+ \"Direction\": \"vanilla/api/util/Direction.md\",\n+ \"DirectionAxis\": \"vanilla/api/util/DirectionAxis.md\",\n+ \"MCResourceLocation\": \"vanilla/api/util/MCResourceLocation.md\"\n+ },\n+ \"world\": {\n\"MCBiome\": \"vanilla/api/world/MCBiome.md\",\n\"MCWorld\": \"vanilla/api/world/MCWorld.md\"\n- }\n- }\n+ },\n+ \"BracketHandlers\": \"vanilla/api/BracketHandlers.md\"\n}\n}\n}\n\\ No newline at end of file\n" }, { "change_type": "MODIFY", "old_path": "docs_exported/crafttweaker/docs/vanilla/api/items/IIngredientTransformer.md", "new_path": "docs_exported/crafttweaker/docs/vanilla/api/items/IIngredientTransformer.md", "diff": "@@ -17,17 +17,17 @@ import crafttweaker.api.item.IIngredientTransformer;\nReturn Type: string\n```zenscript\n-IIngredientTransformer.getCommandString(ingredient as T) as string\n+IIngredientTransformer.getCommandString(transformedIngredient as T) as string\n```\n| Parameter | Type | Description |\n|-----------|------|-------------|\n-| ingredient | T | No Description Provided |\n-### matches\n+| transformedIngredient | T | No Description Provided |\n+### transform\n-Return Type: boolean\n+Return Type: [IItemStack](/vanilla/api/items/IItemStack)\n```zenscript\n-IIngredientTransformer.matches(stack as IItemStack) as boolean\n+IIngredientTransformer.transform(stack as IItemStack) as IItemStack\n```\n| Parameter | Type | Description |\n|-----------|------|-------------|\n" } ]
TypeScript
MIT License
crafttweaker/crafttweaker-documentation
Remove mkdocs.yml