Skip to content
Space Walker edited this page Oct 19, 2024 · 2 revisions

A meter is a virtual block that keeps track of events occurring at the position it occupies. In the world, it appears as a colored, semi-transparent cube (the meter highlight). Meters do not interact with the world in any way, they merely observe what happens at their location. By default, meters are movable by pistons. That is to say, when the block a meter occupies is moved by a piston, the meter will move with the block.

A meter can be hidden. That is to say, it will still exist in the meter group, and it will keep logging events, but its logs will not appear in the timeline, and its highlight will also not be rendered.

Properties

A meter has several properties that can be configured. Some are purely aesthetic, while others are more functional in nature.

  • Pos: the meter's position, expressed in
    • x-, y- and z-coordinates
    • dimension
  • Name: this name is displayed in the meter list in the HUD
  • Color: the meter's color in RRGGBB format - it is used for
    • the meter's highlight in the world
    • events displayed in the timeline
  • Movable: whether the meter follows the block it occupies when it is moved by a piston - you can easily recognize a movable meter by the extra wire frame it renders on its highlight
  • Event Types: the types of events that this meter is currently logging - the following events are available
    • powered: keep track of whether this block is receiving redstone power
    • active: keep track of whether this block is emitting redstone power or otherwise 'active' (e.g. a piston is active when it is extended, a lamp is active when it is lit, a hopper is active when it is not on cooldown, etc.)
    • moved: keep track of when this block is moved by a piston
    • power_change: keep track of changes in the power level of this block
    • random_tick: keep track of random ticks performed by this block
    • scheduled_tick: keep track of scheduled ticks (block ticks and fluid ticks) scheduled and performed by this block
    • block_event: keep track of block events queued and performed by this block
    • entity_tick: keep track of entity ticks performed at this position
    • block_entity_tick: keep track of block entity ticks performed by this block
    • block_update: keep track of block updates dispatched to this block
    • comparator_update: keep track of comparator updates dispatched to this block
    • shape_update (1.13+): keep track of shape updates dispatched to this block
    • observer_update (1.12-): keep track of observer updates dispatched to this block
    • interact_block: keep track of players interacting with (holding the use key on) this block
Clone this wiki locally