Relocators

From Official Gamemode 4 Wiki
Jump to navigation Jump to search
Relocators

Module TypeReliant
Created byBluePsychoRanger
Required ModulesCustom Crafters
Complementary ModulesCustom Crafters, Liquid Tanks, Block Compressors
Compatible MC Versions1.14

This module adds an item that can pick up Gamemode 4 machine blocks such as custom crafters, liquid tanks, and more!

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.

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. Relocating a liquid tank will empty it of its contents.

Once a machine is picked up, the relocator will drop as the block type it was placed on (e.g. dropper for custom crafter or hopper for liquid tank). This item will have an enchanted glint and be named according to the custom name of the block, and will have the first line of lore set to “Relocator” (yellow and italic).

Placing Down a Machine Block

To get the machine block back, simply place down the item created when picking up a machine block. The original relocator item will drop once the block is created.

Crafting

Item Ingredients Recipe (Custom Crafter)
Relocator (x1) 4x Diamond, 4x Popped Chorus Fruit, 1x Silk Touch Book

Technical Summary

Scores of the armor stands are not stored, so liquid tanks will not retain their liquid type or fill amount.

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

Compatibility

The relocator is capable of picking up almost any machine block by Gamemode 4. There is no hard-coded list, but if the machine block has an armor stand, it is likely that it can be picked up.

Advancements

Advancement Description Requirement
It's moving day! Pick up a machine with the relocator Place down a relocator which picks up a machine block

Learn More and Download

Download

History

Version Date Change
1.14 01 Dec 2019 Released Relocators