Rebar Ghost Block Holder
A wrapper over RebarEntityHolderBlock which allows for 'ghost blocks' (like those used to show how to build a multiblock) to be managed. Each ghost block has a relative position and can display vanilla blocks, rebar blocks, or both.
Due to some annoying technicalities, vanilla blocks need to be displayed as a BlockDisplay and Rebar items as an ItemDisplay. So we operate a somewhat cursed system where either a BlockDisplay, ItemDisplay, or both are spawned. In the case where both are spawned, one of the displays is hidden while the other is shown as all the possible states are cycled through.
You can access the individual displays with getVanillaGhostBlockDisplay and getRebarGhostBlockDisplay. Keep in mind that any given position may have none, one, or both displays.
Inheritors
Types
Functions
Returns false if any entity is unloaded or does not exist.
Returns false if the block holds no entity with the provided name, the entity is unloaded or does not physically exist.