-
Notifications
You must be signed in to change notification settings - Fork 9
Emitter block
Emitter is a Mappet block which emits redstone signal, when given condition evaluates to true
. It could be used to connect Mappet's conditions or expressions with redstone contraptions, for example:
- Open a redstone door upon completion of a specific quest
- Extend a platform (using a piston) for parkour when player holds a specific item
You can acquire an emitter block in Mappet's creative item tab.
To configure an emitter block, place it down somewhere, and right click it. You'll see following screen:
Expression field allows you to configure a checker that will determine whether a redstone signal will be emitted or not. If the given checker evaluates to false
, then the block won't emit any redstone signal. Otherwise (if it evaluates to true
) it will emit a redstone signal.
Radius field allows you to configure distance upon which it will execute its expression. If one ore more players are within the distance of the emitter block, then it will update its signal depending upon expression. If there are no players within its radius, then it won't update its redstone signal.
Update frequency allows you to fine tune how often (in ticks) an emitter block will check for the condition. 1
will check condition every tick, and 20
every second. The more complex the condition is, the more CPU resources it will take, so if you don't need the emitter block to check constantly, then keep the number bigger (like 10
or 20
). You can use it in conjunction with Radius field to avoid checking when there are no players around.
However, if you need the accuracy of calculations, so the signal will be emitted immediately when condition has changed, then input 1
.
If parts of the wiki don't make sense with Mappet's latest version, or you weren't able to recreate examples (i.e. outdated information), feel free to report the page and section that is out of date on community's Discord server (make sure to mention which Mappet’s version did you use).