Skip to content

Points, Groups & Sides

Applies to item, fluid, and energy points (including World Item/Fluid Cards and Hub Channels).

Method / Property Item & Fluid Energy (keyless) Description
P.count() int int Total stock in attached block + input buffer, adjusted for planned moves in this scan.
P.count(key) int Forbidden Matching stock for an ID or #tag.
P.contents() dict[str, int] Forbidden Map of concrete ID strings to summed amounts (variants with the same ID are summed).
P.available(key) int P.available() Extractable stock capped by remaining per-scan take allowance. Accepts ID or #tag on keyed kinds.
P.space(key) int P.space() Insertable room in the attached block only (excludes input buffer), capped by remaining put allowance. Requires a concrete ID on keyed kinds—tags are forbidden.
P.buffer Buffer Buffer Read-only handle to the Interface’s input buffer. Cannot be passed to move().
Method Item & Fluid Energy Description
P.buffer.count() int int Total amount in the input buffer, adjusted for planned departures.
P.buffer.count(key) int Forbidden Matching amount (ID or #tag) in the input buffer.
P.buffer.contents() dict[str, int] Forbidden Dict of concrete IDs to amounts in the input buffer.

Side views (.up, .down, .north, .south, .east, .west)

Section titled “Side views (.up, .down, .north, .south, .east, .west)”

Every Point exposes six directional properties (not function calls):

P.up # +Y (top of attached block)
P.down # -Y (bottom of attached block)
P.north # -Z
P.south # +Z
P.east # +X
P.west # -X
  • Tier requirement:
    • Tier 2 & Tier 3 Interfaces (bound to a Tier 2+ PLC) can access all six sides.
    • Tier 1 Interfaces may only access the exact side the Interface physically touches; using any other side faults at first use (not when accessing the attribute).
  • Input buffer excluded: Reading or moving via an explicit side view never sees or draws from the card’s input buffer—even when naming the touched side.
  • Shared transfer allowances: All side views on a point share that point’s per-scan take and put caps, while keeping independent reservation plans.
  • No chaining / no .buffer: Do not chain sides (P.up.down) or access .buffer on a side view.
  • Not supported on Hub Channels or Redstone outputs (Redstone outputs refuse both reads and writes through side views).
  • On World Cards: Side views select which world face of the target block is clicked (S.up.use(...)) or placed against (move(SRC, W.up, ...)). Box (x, y, z) coordinates stay relative to the Interface.

A Group represents zero or more bound Points matching a wildcard pattern.

Operation Behavior
len(G) Number of matched bound points in this scan.
for p in G: Iterates individual Points in natural name order (bin_2 before bin_10).
G.count(...), G.contents(), G.available(...), G.space(...) Summed across all members (not deduplicated if two interfaces touch the same chest).
move(G, dst, n, ...) Takes from source members in order; n caps the entire call, not each member.
move(src, G, n, ...) Fills destination members in order; n caps the entire call.
G.set(level) (redstone) Sets all members to level; faults if any member is configured as an input.
Empty group (len(G) == 0) count() returns 0, contents() returns {}, move() plans 0. Does not fault. (A disconnected bound interface triggers Waiting, not an empty group.)

To use side views or per-machine stock caps on a group, iterate with for p in G:.


  • Planned departures and arrivals update subsequent count() and contents() calls on that target within the same scan.
  • No same-scan forwarding: Stock arriving at B during a scan cannot be extracted from B until the next scan.
  • Per-point reservations: Reservations are tracked per Point target, not per underlying world inventory. If two separate Interfaces touch the same chest, both can promise the same items and the later commit will deliver short.

Not an official Minecraft website. Not approved by or associated with Mojang or Microsoft.