Relocators: Difference between revisions

Add new lib_machines features
(username removed)
(Updating the recipe for the relocator to the 1.19 version)
(Add new lib_machines features)
Line 1: Line 1:
{{ModuleInfobox|name=Relocators|creator=BluePsychoRanger|type=Reliant|versions=1.14+|complementary=[[Block Compressors]], [[Book Binders]], [[Disassemblers]], [[Enchantment Extractors]], [[Ender Hoppers]], [[Liquid Tanks]], [[Master Crafting]], [[Smelteries]], [[Tinkering Compressors]]|requires=[[Custom Crafters]]}}This module adds an item that can pick up Gamemode 4 machine blocks such as custom crafters, liquid tanks, and more!
{{ModuleInfobox|name=Relocators|creator=BluePsychoRanger|type=Reliant|versions=1.14+|complementary=[[Block Compressors]], [[Book Binders]], [[Disassemblers]], [[Enchantment Extractors]], [[Ender Hoppers]], [[Liquid Tanks]], [[Master Crafting]], [[Smelteries]], [[Tinkering Compressors]]|requires=[[Custom Crafters]]}}This module adds an item that can pick up and move containers and Gamemode 4 machines without having to take out the contents!
==Features==
==Features==
By placing down a relocator, the player is able to pick up and move a custom machine block. Whenever a relocator is placed, it will immediately return to the player's inventory unless placed on a machine block.
By placing down a relocator, the player is able to pick up and move a container or custom machine block. Whenever a relocator is placed, it will immediately return to the player's inventory unless placed on a container or machine block.
Containers containing shulker boxes can not be picked up.


===Crafting===
===Crafting===
Line 37: Line 38:
|}
|}


=== Picking Up a Machine Block ===
=== Picking Up a Container or Machine Block ===
The relocator will pick up the block it is placed on (this means a block cannot be picked up from the bottom because a skull cannot be placed on the bottom of a block). Relocators will not pick up blocks with items in them.  
The relocator will pick up the block it is placed on (this means a block cannot be picked up from the bottom because a skull cannot be placed on the bottom of a block), this could be a chest, a dropper, a [[Liquid Tanks|Liquid Tank]], a [[Custom Crafters|Custom Crafter]] or similar. Relocators can not pick up containers that have a Shulker Box inside.


Once a machine is picked up, the relocator will drop as a custom block. It will have a lore indicating that it is a Relocator.
Once a block is picked up, the relocator will drop as a custom block. It will have a lore indicating that it is a Relocator.


=== Placing Down a Machine Block ===
=== Placing Down a Machine Block ===
To get the machine block back, simply place down the custom block created when initially picking up a machine block. The original relocator item will drop once the block is created.
To get the block back, simply place down the custom block created when initially picking up a machine block. The original relocator item will drop once the block is created.


===Compatibility===
===Compatibility===
Line 59: Line 60:
*[[Smelteries]]
*[[Smelteries]]
*[[Tinkering Compressors]]
*[[Tinkering Compressors]]
All machine data (inventory items, liquid levels, ...) is preserved when moving a machine this way.


===Advancements===
===Advancements===
Line 91: Line 94:
|-
|-
| Improved module compatibility; each machine block can run custom pick up and place down functions
| Improved module compatibility; each machine block can run custom pick up and place down functions
|-
| rowspan="2" |1.18
| rowspan="2" |23 Apr 2022
| Redesigned relocators to preserve all machine properties and allowed relocators to pick up any container
|-
| Changed crafting recipe
|}
|}


Line 105: Line 114:


* The following data is stored for a machine block: CustomName, Lock
* The following data is stored for a machine block: CustomName, Lock
=== MC 1.15-1.17 Versions ===
Prior to 1.18, Relocators were solely used to pick up and move Gamemode 4 machines.
Pickup would only work for empty machines (no items in internal inventory) and data such as a [[Liquid Tanks|Liquid Tanks']] liquid would be lost.


{{Modules List/Custom Crafters}}
{{Modules List/Custom Crafters}}
Bureaucrats, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, translator
196

edits