Custom Crafters: Difference between revisions

Jump to navigation Jump to search
m (Reverted edits by ToffeeMax (talk) to last revision by 81.106.174.5)
Tag: Rollback
(Additions to technical details)
Line 7: Line 7:
A Custom Crafter enables other Gamemode 4 modules to add custom recipes, and supports multi-crafting and item nbt - unlike Minecraft's recipe system which does not. Alone, this module adds no recipes. It can be used to add new items to the game without having to replace an existing one.
A Custom Crafter enables other Gamemode 4 modules to add custom recipes, and supports multi-crafting and item nbt - unlike Minecraft's recipe system which does not. Alone, this module adds no recipes. It can be used to add new items to the game without having to replace an existing one.


An example of a module adding recipes is [[Custom Crafters/Standard Crafting|Standard Crafting]] which adds recipes horse armor and cobwebs, among other items. [[Heart Canisters]] adds a custom item that increases player health. The canisters themselves are textured player heads, which requires specific item nbt. See the Expansions section of the page below for more modules that add other recipes.  
An example of a module adding recipes is [[Custom Crafters/Standard Crafting|Standard Crafting]] which adds recipes for horse armor and cobwebs, among other items. [[Heart Canisters]] adds a custom item that increases player health. The canisters themselves are textured player heads, which requires specific item nbt. See the Expansions section of the page below for more modules that add other recipes.  


Multi-crafting is also supported by Custom Crafters, allowing multiple items to be crafted at the same time. This works as long as each non-empty slot has the same number of items.
Multi-crafting is also supported by Custom Crafters, allowing multiple items to be crafted at the same time. This works as long as each non-empty slot has the same number of items.
A Custom Crafter can be disabled by powering the dropper with redstone.


=== Creation ===
=== Creation ===
Line 15: Line 17:
[[File:Custom Crafting Creation.png|none|thumb|649x649px|alt=|Three step creation of a custom crafter]]
[[File:Custom Crafting Creation.png|none|thumb|649x649px|alt=|Three step creation of a custom crafter]]
===Technical Details===
===Technical Details===
Recipes in the Custom Crafter are processed every 0.8 seconds. If the stack size for crafting multiple items would result in an output with more than the resulting item stack would allow, the crafting recipe will not initiate. e.g. if a stone recipe would yield over 64 stone (due to multi-crafting), the recipe would not work. Another example is if a snowball recipe would yield over 16 snowballs.  
Recipes in the Custom Crafter are processed every 0.8 seconds, 16 game ticks, or 4 redstone ticks.
 
If the stack size for crafting multiple items would result in an output with more than the resulting item stack would allow, the crafting recipe will not initiate. e.g. if a stone recipe would yield over 64 stone (due to multi-crafting), the recipe would not work. Another example is if a snowball recipe would yield over 16 snowballs.
 
Custom Crafters do not process recipes when empty or powered, meaning that leaving your Crafter empty when not in use is an excellent way to help reduce strain on the server.  


=== Advancements ===
=== Advancements ===