184
edits
(bot removed too much) |
|||
(7 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{ModuleInfobox|name=Relocators|creator=BluePsychoRanger|type=Reliant|versions=1.14|complementary=[[ | {{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! | ||
==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 custom machine block. Whenever a relocator is placed, it will immediately return to the player's inventory unless placed on a machine block. | ||
===Crafting=== | ===Crafting=== | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 22: | Line 15: | ||
| Input = {{CraftingGrid | | Input = {{CraftingGrid | ||
| Diamond | Popped Chorus Fruit | Diamond | | Diamond | Popped Chorus Fruit | Diamond | ||
| Popped Chorus Fruit | Enchanted Book | Popped Chorus Fruit | | Popped Chorus Fruit | {{Stack|Enchanted Book|lore=&7Silk Touch}} | Popped Chorus Fruit | ||
| Diamond | Popped Chorus Fruit | Diamond | |||
}} | |||
| Output = {{CraftingCell | |||
| gm4:Relocator | |||
}} | |||
}} | |||
|- | |||
|Relocator (x1) | |||
|4x Diamond, 4x Popped Chorus Fruit, 1x Silk Touch Page | |||
|{{Crafting | |||
| Input = {{CraftingGrid | |||
| Diamond | Popped Chorus Fruit | Diamond | |||
| Popped Chorus Fruit | {{Stack|gm4:Enchanted Page|lore=&7Silk Touch}} | Popped Chorus Fruit | |||
| Diamond | Popped Chorus Fruit | Diamond | | Diamond | Popped Chorus Fruit | Diamond | ||
}} | }} | ||
| Output = {{CraftingCell | | Output = {{CraftingCell | ||
| Relocator | | gm4:Relocator | ||
}} | }} | ||
}} | }} | ||
|} | |} | ||
=== | === Picking Up a 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. | |||
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. | |||
=== 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. | |||
The following | ===Compatibility=== | ||
The relocator is capable of picking up compatible GM4 Machine Blocks. Any module can support relocation; custom pick up and place down functions are available so each module is able to be correctly compatible with relocators. | |||
The following modules have relocation support: | |||
*[[Block Compressors]] | |||
*[[Custom Crafters]] | |||
*[[Disassemblers]] | |||
*[[Enchantment Extractors]] | |||
*[[Ender Hoppers]] | |||
*[[Liquid Tanks]] | |||
*[[Master Crafting]] | |||
*[[Smelteries]] | |||
*[[Tinkering Compressors]] | |||
===Advancements=== | ===Advancements=== | ||
{| class="wikitable" | {| class="wikitable" | ||
|+ | |+ | ||
!Advancement | !Advancement | ||
!Requirement | !Requirement | ||
|- | |- | ||
|It's | |{{Advancement|gm4:Relocator|It's Moving Day!|Pick up a machine with the relocator}} | ||
|Pick up a machine with the relocator | |Place down a relocator that picks up a machine block | ||
|Place down a relocator | |||
|} | |} | ||
==Learn More and Download== | ==Learn More and Download== | ||
{{Download|url=https://gm4.co/modules/relocators}} | {{Download|url=https://gm4.co/modules/relocators}} | ||
==History== | ==History== | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 62: | Line 80: | ||
!Change | !Change | ||
|- | |- | ||
|1.14 | |||
|01 Dec 2019 | |01 Dec 2019 | ||
|Released Relocators | |Released Relocators | ||
|- | |||
| rowspan="3" |1.16 | |||
| rowspan="3" |29 Nov 2020 | |||
| Improved reliability of placing down a relocated machine | |||
|- | |||
| Relocated machines are now custom blocks instead of the block that makes up the machine block | |||
|- | |||
| Improved module compatibility; each machine block can run custom pick up and place down functions | |||
|} | |} | ||
==Previous Versions== | |||
=== MC 1.14-1.15 Versions === | |||
Prior to 1.16, Relocators were less reliable and less expandable. | |||
When picking up a block, the block that the machine block was made of (e.g. dropper/hopper) dropped as the relocated block, instead of a custom block item. Additionally, there was no hardcoded implementation for deciding whether a block should or shouldn't be picked up, leading to errors with some machine blocks (e.g. relocated smelteries were bugged until breaking and placing it down again). | |||
In these versions, the following technical details were present: | |||
* Sometimes the raytracing doesn't work properly and the items used to initially create the machine block will be spawned about five block in front of the player. This only happens if the raycasting does not find the correct block, due to the player moving too fast or a unique hitbox, such as the hopper. | |||
* The following data is stored for a machine block armor stand: Small, CustomName, ArmorItems, DisabledSlots, Invulnerable, Pose, Tags, Y-Position relative to the block | |||
* The following data is stored for a machine block: CustomName, Lock | |||
{{Modules List/Custom Crafters}} | |||
{{Modules List/Relocatable Machines}} | |||
[[Category:Reliant Modules]] | [[Category:Reliant Modules]] | ||
[[Category:All Modules]] | [[Category:All Modules]] |