Custom Crafters (Library): Difference between revisions

From Official Gamemode 4 Wiki
Jump to navigation Jump to search
m (I'll... get around to updating this sooner rather than later, now that I've started.)
mNo edit summary
Line 10: Line 10:
This module allows players to craft custom items using a special crafting table. Recipes are added by other Gamemode 4 Modules. This module cannot be downloaded separately; any GM4 modules that require the custom crafter automatically bundles this base module when downloaded.
This module allows players to craft custom items using a special crafting table. Recipes are added by other Gamemode 4 Modules. This module cannot be downloaded separately; any GM4 modules that require the custom crafter automatically bundles this base module when downloaded.
==Features==
==Features==
[[Custom Crafters (Library)|Custom Crafters]] enables other Gamemode 4 modules to add custom recipes, and supports multi-crafting and item nbt - unlike Minecraft's recipe system. It can be used to add new items to the game without having to replace an existing one.


=== General ===
An example of a module adding recipes is [[Standard Crafting]] which adds recipes for horse armor and cobwebs, among other items. Another example is the [[Heart Canisters]] module, which adds a custom item that increases player health. The canisters themselves are textured player heads, which requires specific item nbt. See the [[Custom Crafters#Expansion Packs & Reliant Modules|Expansions]] section below for more modules that add recipes.  
A Custom Crafter enables other Gamemode 4 modules to add custom recipes, and supports multi-crafting and item nbt - unlike Minecraft's recipe system. 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 for horse armor and cobwebs, among other items. Another example is the [[Heart Canisters]] module, which adds a custom item that increases player health. The canisters themselves are textured player heads, which requires specific item nbt. See the [[Custom Crafters#Expansion Packs & Reliant Modules|Expansions]] section below for more modules that add 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 and the resulting output does not exceed one stack.
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 and the resulting output does not exceed one stack.
Line 60: Line 58:
| gm4:Custom Crafter
| gm4:Custom Crafter
}}
}}
|Name=Custom Crafter}}
|Name = Custom Crafter}}
|}
|}


Line 66: Line 64:
Custom Crafters can be moved with [[Relocators]].  
Custom Crafters can be moved with [[Relocators]].  


===Technical Details===
=== Technical Details ===
Recipes in the Custom Crafter are processed every 0.8 seconds, 16 game ticks, or 8 redstone ticks.   
Recipes in the Custom Crafter are processed every 0.8 seconds, 16 game ticks, or 8 redstone ticks.   


Line 83: Line 81:
|}
|}


==Expansion Packs & Reliant Modules==
== Expansion Packs & Reliant Modules ==
The Custom Crafters module doesn't do anything on its own, so other modules bundle the module when needed. Expansion packs for this module add custom crafting recipes to the game. Some reliant modules depend on this module in order to properly function, for example to craft some items.
The Custom Crafters module doesn't do anything on its own, so other modules bundle the module when needed. Expansion packs for this module add custom crafting recipes to the game. Some reliant modules depend on this module in order to properly function, for example to craft some items.


=== Expansion Packs ===
=== Expansion Packs ===
* [[Custom Crafters/Master Crafting|Master Crafting]]
* [[Custom Crafters/Record Crafting|Record Crafting]]
* [[Custom Crafters/Standard Crafting|Standard Crafting]]


=== Reliant Modules ===
* [[Block Compressors]]
* [[Block Compressors]]
* [[Boots of Ostara]]
* [[Boots of Ostara]]
* [[Disassemblers]]
* [[Disassemblers]]
* [[Forming Press]]
* [[Heart Canisters]]
* [[Heart Canisters]]
* [[Lightning Rods]]
* [[Lightning in a Bottle]]
* [[Orb of Ankou]]
* [[Orb of Ankou]]
* [[Record Crafting]]
* [[Relocators]]
* [[Relocators]]
* [[SCUBA Gear]]
* [[SCUBA Gear]]
* [[Smelteries]]
* [[Smelteries]]
* [[Soul Probes]]
* [[Standard Crafting]]
* [[Teleportation Anchors]]
* [[Teleportation Anchors]]
* [[TNT Landmines]]
* [[TNT Landmines]]
Line 107: Line 103:
* [[Tunnel Bores]]
* [[Tunnel Bores]]


==Learn More and Download==
== Learn More ==
{{YouTube|url=https://youtu.be/_GekIoefncg}}
{{YouTube|url=https://youtu.be/_GekIoefncg}}


==History==
== History ==
{| class="wikitable"
{| class="wikitable"
|+
|+
Line 117: Line 113:
!Change
!Change
|-
|-
| rowspan="2" | 1.8
| rowspan="5" | 1.18
| 05 Feb 2015
| rowspan="5" | 23 Apr 2022
|Released Custom Crafters
|[[Custom Crafters (Library)|Custom Crafters]] is now a library and cannot be downloaded separately; modules requiring the module automatically bundle the library
|-
| 12 Feb 2015
|Fixed Custom Crafter workbench dropping
|-
| rowspan="3" | 1.9
|21 May 2016
|Fixed crafting table bug
|-
| rowspan="2" | 05 Jun 2016
|Fixed bug where crafting table item is not deleted upon creation
|-
|Added "Clever Crafting" achievement<ref group="note">now advancements</ref>
|-
| 1.13
| 19 Nov 2018
|Added multi-crafting and empty slot check
|-
|1.16
|29 Nov 2020
|Custom Crafters drop a custom block when moved with [[Relocators]]
|-
| rowspan="5" |1.18
| rowspan="5" |23 Apr 2022
|[[Custom Crafters]] is now a library and cannot be downloaded separately; modules requiring the module automatically bundle the library
|-
|-
| Creation process changed to right clicking with a crafting table instead of dropping the item
| Creation process changed to right clicking with a crafting table instead of dropping the item
Line 155: Line 127:


== Previous Versions ==
== Previous Versions ==
 
: ''See [[Custom Crafters (Module)]]''
=== MC 1.8 Versions ===
The MC 1.8 Versions a Custom Crafter would only drop the crafting table upon breaking it; the 7 Cobblestone and 1 Redstone Dust used to craft it would be lost.
 
=== MC 1.9-1.12 Versions ===
Prior to 1.13, items in slots that should be empty would be ignored, causing the possibility of losing items. Additionally, Multi-Crafting was not available, so items could only be crafted in sets of 1.
 
=== MC 1.8-1.17 Versions ===
Prior to 1.18, the crafting recipe used to be
{{Crafting
| Name = Dropper
| Input = {{CraftingGrid
| Cobblestone | Cobblestone | Cobblestone
| Cobblestone | | Cobblestone
| Cobblestone | Redstone Dust | Cobblestone
}}
| Catalyst = Crafting Table
| Output=[[File:custom_crafter_block.png|96px]]
| Type = Standard
}}
and the crafting table was thrown on top the dropper instead of right-clicked. Additionally, custom crafters could not be crafted as an item and destroying a custom crafter dropped the items used to craft it instead of a custom item.
 
{{Notes}}
 


{{Modules List/Custom Crafters}}
{{Modules List/Custom Crafters}}
{{Modules List/Relocatable Machines}}
{{Modules List/Relocatable Machines}}

Revision as of 08:07, 2 March 2024

Custom Crafters

Module TypeLibrary
Created bySparks
Last Updated byBloo, Sparks, SpecialBuilder32 and BluePsychoRanger
Complementary ModulesRelocators
Compatible MC Versions1.18+

This module allows players to craft custom items using a special crafting table. Recipes are added by other Gamemode 4 Modules. This module cannot be downloaded separately; any GM4 modules that require the custom crafter automatically bundles this base module when downloaded.

Features

Custom Crafters enables other Gamemode 4 modules to add custom recipes, and supports multi-crafting and item nbt - unlike Minecraft's recipe system. 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 Standard Crafting which adds recipes for horse armor and cobwebs, among other items. Another example is the Heart Canisters module, which adds a custom item that increases player health. The canisters themselves are textured player heads, which requires specific item nbt. See the Expansions section below for more modules that add 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 and the resulting output does not exceed one stack.

A Custom Crafter can be disabled by powering the dropper with redstone.

Creation

To create a Custom Crafter, put the following recipe inside a dropper, then right click the dropper with a crafting table. The dropper will be converted into a Custom Crafter

Dropper


Crafting

Once the first Custom Crafter is created, additional crafters can be crafted inside the custom crafter. This crafts an item that can be used to place the custom crafter similar to any other block.

Item Ingredients Recipe (Custom Crafter)
Custom Crafter Iron Ingot +

Light Blue Dye +

Cobblestone +

Crafting Table +

Dropper

Custom Crafter

Compatibility

Custom Crafters can be moved with Relocators.

Technical Details

Recipes in the Custom Crafter are processed every 0.8 seconds, 16 game ticks, or 8 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; leaving a Crafter empty is an excellent way to help reduce strain on the server.

Advancements

Advancement Requirement
Clever Crafting
Construct a Custom Crafter from a Dropper
Be within 4 blocks of a Custom Crafter being created

Expansion Packs & Reliant Modules

The Custom Crafters module doesn't do anything on its own, so other modules bundle the module when needed. Expansion packs for this module add custom crafting recipes to the game. Some reliant modules depend on this module in order to properly function, for example to craft some items.

Expansion Packs

Learn More

Watch on YouTube

History

Version Date Change
1.18 23 Apr 2022 Custom Crafters is now a library and cannot be downloaded separately; modules requiring the module automatically bundle the library
Creation process changed to right clicking with a crafting table instead of dropping the item
Custom Crafters can now be crafted as items along with upgrading from droppers
Updated crafting recipe
Custom Crafters will drop as an item when broken instead of the crafting components

Previous Versions

See Custom Crafters (Module)