Features: Block User - arlojay/immersive-cables-wiki GitHub Wiki

Block User

The Block User is capable of interacting with blocks just like a player. It can also trigger a laser emitter to fire.

A block user facing into a laser emitter, with a powered switch behind it, causing it to fire

When the Block User is powered, by Cable, Switch, or other means, it will interact with the block in front of it. Indicated by a small plug. The Block User cannot be powered from this side, but is able to be powered from any other copper inlet. The arrows on the side of the block point towards the front.

Crafting the Block User

The Block User is crafted with three Insulation, two rubber balls, a Machine Box, and an aluminum shovel. Any color of insulation can be used, and the recipe can be flipped horizontally.

Machine box in center, two rubber balls on top and bottom, three insulation on the left, and an aluminum shovel on the center right

Technicals

The Block User runs the onInteract event for the block in front of it. Laser Emitters do not listen for the onInteract event in its block events, and is instead hardcoded in its block entity, so a block entity signal (shootProjectile) is also run, specifically for this use case.