Como testamos

Toda máquina no Contraptify roda em um simulador que segue as regras de redstone da própria Java Edition 26.3, com as configurações padrão do jogo: ordem de atualização de blocos, ticks agendados com prioridades, tempo dos pistões, quase-conectividade e queima de tochas. Sua IA escreve um teste para cada máquina a partir do que você pediu: o que o jogador faz e quando, e o que deve acontecer em seguida. O simulador roda o teste tick a tick e informa o que vale e o que não vale, e a IA corrige o projeto até tudo valer.

675 testes de referência

Cada teste monta um circuito pequeno e compara o simulador com o comportamento conhecido do jogo. Todos passam a cada mudança antes de ela ir ao ar.

Os nomes dos testes estão em inglês.

Dust strength 5

  • dust next to a lever is 15
  • loses one level per block
  • 16th dust is 0
  • dust has no delay (same tick)
  • turns off at once

Weak and strong power 3

  • dust does not pass through a block it powers
  • a weakly powered block lights a lamp next to it
  • a strongly powered block powers dust next to it

Timing 6

  • repeater delay 1 turns on after 2 game ticks
  • repeater delay 2 turns on after 4 game ticks
  • repeater delay 3 turns on after 6 game ticks
  • repeater delay 4 turns on after 8 game ticks
  • a torch starts lit
  • a torch turns off 2 game ticks after its block is powered

Repeater locking 2

  • a locked repeater ignores its input
  • it catches up once unlocked

Transparent blocks 5

  • power climbs onto glass
  • but does not come down off glass
  • glass does not pass power to a lamp beside it
  • a solid block above the lower dust cuts the step up
  • glass above the lower dust doesn't cut it

Torch burnout 4

  • a fast torch clock burns out
  • and stays off while burnt out
  • with no block update it stays out (its own update took the place of the 160-tick recovery tick)
  • a block update relights it once its toggles are more than 60 ticks old

Pistons 17

  • a piston fires in the same tick it is powered
  • the pushed block is moving for 2 ticks
  • then lands
  • 13 blocks are too many to push
  • 12 blocks can be pushed
  • obsidian can't be pushed
  • blocks with inventories (dispensers) can't be pushed
  • dust in the way is broken
  • slime drags the blocks stuck to it
  • slime and honey don't stick to each other
  • piston leaves the block
  • sticky_piston pulls the block back
  • a lever on top of a sideways piston pops off when it extends
  • so does a torch on its side
  • a standing torch on top of it stays (it needs only the middle of the face)
  • a lever on its back stays while it retracts
  • and after it has retracted

Quasi-connectivity 4

  • BUD: the piston stays retracted after the lever is switched on
  • and extends as soon as it gets a block update
  • dispensers are quasi-connected too: no shot without an update
  • one shot after an update

Observers 3

  • an observer pulses for 2 ticks, starting 2 ticks after the change
  • an observer moved by a piston pulses once after landing
  • a sticky piston given a 2-tick observer pulse leaves its block behind

Zero-tick pulses 12

  • the piston pushes the powered block away in the tick it is powered
  • a lamp gets the 0-tick pulse: lit at once, dark 4 ticks later
  • a sticky piston given a 0-tick pulse drops its block at once (and retracts)
  • a repeater turns a 0-tick pulse into one of its delay (the lamp after it lights for 2 ticks, then 4 to go dark)
  • an observer sees the lamp change
  • a regular piston given a 0-tick pulse retracts at once, and the block it pushed still arrives
  • a lamp beside the stone lights for 4 ticks
  • a copper bulb toggles on the rising edge and stays lit
  • a sticky piston ignores a 0-tick pulse between ticks (its extension is dropped)
  • a repeater turns it into a pulse of its delay (the lamp after it: 2 ticks, then 4 to go dark)
  • a comparator ignores it
  • an observer watching the lever fires once

Update suppression 3

  • a chain past the update limit is flagged as update suppression at that tick
  • the rest of the chain is skipped (the dust line stays partly unpowered)
  • with the game's limit the same line runs normally

Flying machine 1

  • it flies and stays in one piece

Comparators reading containers 11

  • an empty chest reads 0
  • one item in a chest reads 1
  • a chest with 2 full stacks reads 2
  • a full chest reads 15
  • a full barrel reads 15
  • a trapped chest with 14 stacks reads 8
  • a hopper with 1 full stack reads 3
  • a dropper with 9 eggs reads 1
  • 16 eggs count as a full stack (a dropper with 2 stacks of eggs reads 4)
  • one sword fills a hopper slot (reads 3)
  • a comparator reads a chest through a solid block

Hoppers 12

  • a hopper pulls at once, then items move one hopper every 8 ticks
  • all three items arrive
  • items cross three hoppers in 8-tick steps
  • a hopper pushes from its first filled slot into the first slot with room
  • then into the next slot with room
  • a hopper does not push into a full container
  • a powered hopper is locked and moves nothing
  • unlocked, it pulls on the next tick
  • and pushes 8 ticks later
  • locked again, it holds
  • dust stays on a hopper and carries power
  • the dust on top locks the hopper

Dispenser items 10

  • a comparator reads the dispenser's items (2 TNT: 1, 64 stone: 2)
  • TNT is lit in front, 4 ticks after the edge, and explodes 79 ticks after that
  • a snowball is shot (a shot, like an egg)
  • each dispenses one item: TNT 1 left, snowballs 15, stone 63 (dropped); bone meal stays 5 (nothing to grow)
  • a hopper feeds a dispenser
  • which then shoots the egg
  • the checks: eggs or items, not both
  • water buckets aren't dispensed
  • TNT in a dispenser with a pressure plate is refused
  • eggs in a dispenser with a target are refused

Droppers 8

  • a dropper moves one item 4 ticks after it is powered
  • a comparator reads the chest it filled
  • one item per press, and nothing once it is empty
  • a comparator reads 1 from a dropper with one item
  • the dropper throws its last item and the comparator turns off
  • the hopper passes a dropped item on 7 ticks after it arrives
  • a hopper next to a strongly powered block stays locked while the button is down
  • it unlocks when the button pops up

Trapped chests 2

  • dust connects to a trapped chest
  • a closed trapped chest gives no power (the lamp beyond stays off)

Pressure plates 14

  • stone_pressure_plate: a player on it gives 15 at once
  • stone_pressure_plate: it strongly powers the block under it
  • stone_pressure_plate: it checks every 20 ticks, so it lets go 15 ticks after the player steps off
  • stone_pressure_plate: the dust and the lamp turn off
  • wooden_pressure_plate: a player on it gives 15 at once
  • wooden_pressure_plate: it strongly powers the block under it
  • wooden_pressure_plate: it checks every 20 ticks, so it lets go 15 ticks after the player steps off
  • wooden_pressure_plate: the dust and the lamp turn off
  • light_weighted_pressure_plate: one player gives power 1
  • light_weighted_pressure_plate: it checks every 10 ticks
  • heavy_weighted_pressure_plate: one player gives power 1
  • heavy_weighted_pressure_plate: it checks every 10 ticks
  • a player moving to another plate presses it at once
  • the first plate lets go at its next check

Target blocks 8

  • dust points into a target block
  • powered dust powers a target block like a solid block (the lamp beside it lights)
  • a thrown snowball has not hit yet
  • a snowball in the middle of a face gives 15 on the next tick
  • it is still on 7 ticks after the first hit
  • it turns off 8 ticks after the first hit, even after a second hit
  • the hit target gives 15
  • pushed by a piston, it lands without power

Lightning rods 26

  • dust points into a lightning rod
  • the bolt has not struck yet
  • struck in the next tick: the rod is powered and dust beside it gets 15
  • it strongly powers the block it stands on (dust beside that block gets 15)
  • it doesn't power the block on top of it
  • the observer has not fired yet a tick after the strike
  • the observer fires 2 ticks after the strike
  • still powered 8 ticks after the strike
  • off in the 9th tick (8 ticks after the strike), the dust with it
  • the observer fires again 2 ticks after the rod turns off
  • a rod on a wall strongly powers the block it is on (dust on top of it gets 15)
  • a rod in the air is struck too
  • struck again 4 ticks later, it is still powered at tick 8
  • and still turns off at tick 9
  • pushed by a piston, the rod lands powered
  • still powered 7 ticks after it lands
  • off 8 ticks after it lands
  • moved by a piston, a powered rod updates the blocks around its old block
  • taken away, a powered rod updates the blocks around its block
  • the pushed rod lands powered
  • sculk sensors hear a strike with the travel time and power measured on a real server
  • a comparator reads 14 from a sensor that heard the strike
  • validation: a lightning rod needs nothing under it
  • validation: a lightning rod's facing must be a direction
  • a design's test can strike a lightning rod (the lamp beside its block lights for 8 ticks)
  • strike needs a lightning rod

Double chests 20

  • a hopper above the left half fills the right half's first slot
  • whole: the double chest's 54 slots
  • the halves share one block entity (right half p, left half p2)
  • the halves are left and right (the block states of the export)
  • a comparator behind either half reads all 54 slots (27 full stacks in the left half: 8)
  • a conductor on top of one half: both comparators read 0
  • a comparator reads 0 from a single chest with a conductor on top
  • a hopper under the left half takes the right half's items first
  • a player opening one half of a double trapped chest powers both halves
  • and closing it turns both off
  • a conductor on the other half keeps it shut
  • two chests side by side are a double chest
  • three in a row are refused (the game joins the middle one by placing order)
  • putting items in fills the stack of that item first, then the next empty slot, and a comparator sees it
  • a full dropper takes no more, and a nearly full one only what fits
  • eggs go in stacks of 16 and swords one to a slot
  • a chest takes 27 stacks, a hopper 5 and a barrel 27
  • a double chest takes 54, through either half, filling the right half first
  • a crafter, an unknown item, and a water bucket or an ender pearl for a dispenser go in nowhere (a chest takes the bucket)
  • a count is rounded down: a fraction under 1 and 0 put nothing in

Sugar cane and bamboo 15

  • a piston destroys sugar cane: its item drops in the same tick, the block above breaks 1 tick later
  • the sugar cane items move as measured (pushed along by the piston, the upper one a tick later)
  • a piston destroys bamboo: its item drops in the same tick, the block above breaks 1 tick later
  • the bamboo items move as measured (pushed along by the piston, the upper one a tick later)
  • sugar cane grows a block on its top, up to 3 tall
  • bamboo grows until the block above its top isn't air
  • an observer farm: the grown block fires the observer (2 ticks), whose piston breaks it in that tick (an item drops)
  • a dispenser's bone meal grows bamboo a block (the game: 1 or 2, noted) and uses it
  • bone meal doesn't grow sugar cane: the dispenser keeps it (measured)
  • sugar cane needs sand or mud with water beside it
  • bamboo needs bamboo, sand, gravel or mud
  • an observer watching a plant is refused (its random ticks)
  • grown sugar cane left in front of an observer is noted (its random ticks would fire it)
  • sugar cane grown to its full 3 blocks in front of an observer is not noted (its random ticks do nothing then)
  • a test's grow input grows the plant, and the notes say how often it grows in the game

Minecarts pushed and off the rails 4

  • off the rails a minecart slides (its speed halves on the ground), drops off a track's end, and falls with drag 0.95, as measured
  • pistons push minecarts half a block a tick (along a rail, sideways, up), and a moved slime block flings one at 1 a tick, as measured
  • minecarts meeting push each other apart (head on, into one at rest, two at rest a block apart), as measured
  • minecarts are solid to each other (one dropped onto another lands on it), and soul sand and honey slow them, as measured

Primed TNT 4

  • primed TNT falls with gravity 0.04 and drag 0.98, slides to a stop on the ground and sinks in still water, as measured
  • pistons push primed TNT half a block a tick (along the floor, up), and a moved slime block flings it at 1 a tick, as measured
  • primed TNT landing on slime is flagged (the game bounces it)
  • primed TNT in a wooden pressure plate is flagged (the game presses it)

Explosions 4

  • an explosion pushes primed TNT by (1 - distance / 8) x the part of it the blast sees (a block shades it), and destroys a minecart near it, as measured
  • a TNT cannon: 4 charges in water (which keeps the blast from breaking blocks) fling the TNT beside them 13 blocks; glass shades TNT behind it, as measured
  • an explosion of TNT lit by a block that pushes something notes that the game's result can differ
  • an explosion beside a sculk sensor is flagged (the game's sensor hears it)

Several players 11

  • a trapped chest gives the number of players with it open (1, 2, 3, then 2, 1, 0)
  • a player opening another chest closes the trapped chest
  • the first opener is a vibration (the sensor 6 blocks away is active 6 ticks later)
  • a second opener and a player closing while another has it open make no vibration
  • the last player closing is a vibration
  • a light weighted plate counts the players on it; a second one is noticed at the plate's next check
  • a heavy weighted plate gives 1 for two players
  • a stone plate stays pressed while one of two players is still on it
  • string stays tripped while one of two players is still in it
  • a design's test can have two players open a trapped chest
  • player must be 1 to 4

Daylight detectors 6

  • a daylight detector waits for the game time to reach a multiple of 20
  • then it gives the sky's power (15 at time 4300)
  • at time 3020 it gives 13
  • a right-click inverts it and it checks at once (0 by day)
  • inverted, it gives 11 at midnight
  • at dusk (13680) it gives 0

Tripwire 9

  • hooks facing each other with string between are attached
  • a player in the string powers both hooks at once
  • a powered hook strongly powers the block it hangs on (the lamps light)
  • the hooks stay on while the player stays
  • the string checks every 10 ticks, so the hooks turn off 5 ticks after the player leaves
  • a stone block in the line: nothing is attached
  • so the string doesn't power the hooks
  • string broken by a piston powers the hooks
  • 10 ticks later they are off and no longer attached

Chests 8

  • a closed trapped chest gives nothing
  • opening it gives power 1 at once
  • it strongly powers the block under it (the lamp lights)
  • the chest reports open
  • closing it takes the power away
  • the lamp goes dark 4 ticks later
  • a trapped chest with a conductor on top doesn't open
  • a sculk sensor hears a chest open

Comparators reading fixed levels 13

  • a cauldron with water level 2 reads 2
  • an empty cauldron reads 0
  • a lava cauldron reads 3
  • a composter at level 5 reads 5
  • a full composter reads 8
  • a respawn anchor with 1 charge reads 3
  • a respawn anchor with 3 charges reads 11
  • a respawn anchor with 4 charges reads 15
  • an end portal frame with an eye reads 15
  • an end portal frame without an eye reads 0
  • a comparator reads a cauldron through a solid block
  • a piston pushes a composter, which keeps its level
  • a piston can't push a respawn anchor

Lecterns 7

  • a comparator reads page 1 of 5 as 1
  • turning the page powers the lectern at once
  • it strongly powers the block under it (the lamp lights)
  • the pulse lasts 2 ticks
  • page 2 of 5 reads 4
  • the last page reads 15
  • past the last page nothing happens

Sculk sensors 40

  • a vibration travels 1 block per tick: not yet after 2 ticks
  • it arrives after 3 ticks: the sensor is active with power 10 (15 - floor(15 / 8 x 3))
  • a comparator reads the frequency: 10 for a lever turned on
  • it stays active for 30 ticks
  • then it cools down with power 0
  • the comparator reads 0 while it cools down
  • and is inactive again 10 ticks later
  • a lever turned off has frequency 9
  • 9 blocks away is out of range
  • 8 blocks away is heard, with power 1
  • of two vibrations in the same tick, the nearer one wins
  • a vibration on its way blocks later ones
  • the far lever's vibration arrives after 8 ticks, power 1
  • a lever out of range is not heard
  • a piston breaking a block gives a vibration there (block_destroy, nearer than the piston)
  • its frequency is 12
  • a piston retracting gives frequency 9 at the piston (power 8)
  • wool between a lever and a sensor blocks the vibration
  • wool next to the line does not
  • two wool blocks that meet at the line's corner block it
  • one of them does not
  • the near sensor hears the lever (power 2)
  • a sensor activating gives no vibration
  • a piston can't push a sculk sensor
  • an active sensor lights a lamp above it and one beside it
  • it strongly powers the block it stands on (a lamp beside that block lights)
  • the dust behind it is at 9
  • it doesn't hear a button pressed (frequency 10)
  • it hears the button pop up (frequency 9), with power 14 (range 16)
  • a calibrated sensor stays active for 10 ticks
  • then cools down
  • it hears up to 16 blocks: 12 blocks gives power 4
  • it powers its sides, front and top
  • but not the block behind it
  • and strongly powers the block it stands on
  • a snowball landing on a target 3 blocks up: frequency 2, heard 3 ticks after the hit
  • switching a daylight detector: frequency 11
  • a player stepping on a pressure plate: frequency 10
  • tripwire: not yet after 4 ticks
  • the hooks 5 blocks away are heard (power 6)

Doors 14

  • the design's door is two blocks: a lower and an upper half
  • a lever opens both halves at once (no delay)
  • and closes them at once
  • an iron door doesn't open by hand
  • power beside the upper half opens the door
  • a player opens a wooden door
  • power on an open door: it stays open and is powered
  • a player closes the powered door (clicking the upper half)
  • power off: it stays closed
  • power on again opens it
  • dust ending beside a door powers it
  • an observer facing the upper half sees the door open
  • a piston breaks a door, both halves
  • a door powers nothing: only the door beside the lever opens

Trapdoors 11

  • dust stays on a closed top trapdoor
  • a lever opens a trapdoor at once
  • the dust on it drops off
  • it closes when the power goes
  • an iron trapdoor doesn't open by hand
  • a lever under a bottom trapdoor opens it, drops off, and the trapdoor closes again at once
  • a player opens a wooden trapdoor
  • and closes it while powered
  • the lever opens the trapdoor
  • pushed away from the lever it lands unpowered and closes
  • pulled back beside the lever it opens again

Fence gates 17

  • a lever opens a fence gate at once
  • and closes it
  • a player looking south opens a north gate away from them: it turns to face south
  • closing keeps the facing
  • looking across it doesn't turn it
  • a piston pushes a fence gate
  • a door opening 3 blocks away is heard: frequency 10
  • a door closing: frequency 9
  • a trapdoor opening 3 blocks away is heard: frequency 10
  • a trapdoor closing: frequency 9
  • a fence gate opening 3 blocks away is heard: frequency 10
  • a fence gate closing: frequency 9
  • a player opening a trapdoor: frequency 10
  • validation: a door needs the block above it free
  • validation: a door needs a full top face below
  • validation: a lever on a door is refused
  • validation: a door with a full block under it passes

Copper bulbs 8

  • power turns a copper bulb on at once
  • a comparator reads a lit bulb as 15
  • power off: it stays lit
  • the next power turns it off
  • and the comparator reads 0
  • a copper bulb is not a conductor: a repeater into it doesn't light the lamp beside it
  • a bulb can start lit
  • pushed next to a redstone block, it toggles off when it lands

Bells 9

  • power rings the bell and powers it
  • the ring is a vibration of frequency 11
  • power going off doesn't ring it
  • a player rings it by hand
  • a standing bell breaks without the block under it
  • a pushed block breaks the bell
  • a hanging bell holds on the block above
  • the checks need attach down or up
  • and a block to stand on or hang from

Redstone ore 7

  • standing on it lights it
  • an observer sees it light
  • a player's use lights it too
  • it stays lit (going dark at random isn't simulated)
  • it conducts power: a lever on it lights the lamp beside it
  • the checks refuse it together with falling blocks
  • a test can stand on it

Item frames 10

  • a frame turned 2 steps reads 3
  • a player turns it one step: the comparator updates 2 ticks later
  • and reads 4
  • after 8 it goes back to 0, which reads 1
  • an empty frame reads 0 and doesn't turn
  • a frame right behind the comparator isn't read
  • frames show in the snapshot
  • the checks: a frame needs a full face to hang on
  • and refuse frames with pistons
  • a test can turn a frame and check its rotation

Cakes 6

  • a cake with one slice eaten reads 12
  • eating a slice: bites 2, reads 10
  • eating is a vibration of frequency 8
  • one slice left reads 2
  • the last slice takes the cake away
  • the checks: a cake stands on a full top face, bites 0 to 6

Jukeboxes 10

  • a playing jukebox powers dust beside it at once
  • one holding a disc that doesn't play gives no power
  • a comparator reads the disc's number (11: 11, 5: 15)
  • the power lasts 1440 ticks for disc 11 (its 71 s + 20 ticks)
  • and goes in the next tick; the comparator still reads 11
  • a jukebox holding disc 5 reads 15 and gives no power
  • a player takes the disc out: no disc, the comparator reads 0
  • taking out a playing disc stops the power at once
  • the checks: a known disc, and playing needs one
  • hoppers feeding a jukebox are refused

Note blocks 11

  • power plays the note once
  • power off plays nothing
  • a player's click raises the note and plays it
  • after 24 it goes back to 0
  • high notes: 23, one click to 24, power plays 24
  • a note block is a conductor: a repeater into it lights the lamp beside it
  • with a block on top it plays nothing
  • a note played 3 blocks from a sensor is heard: frequency 10
  • a note block with a block on top plays no note: the sensor hears nothing
  • a copper bulb switching makes no vibration
  • an observer sees a note block's note change

TNT 12

  • unpowered TNT stays
  • power lights TNT at once: the block is gone
  • the lamp beside it stays dark (lit TNT powers nothing)
  • TNT on its way is not lit yet
  • TNT pushed next to power lights when it lands
  • lit by a lever pull it explodes 80 ticks later
  • lit through dust from a lever, also 80
  • lit by a repeater during a tick it explodes 79 ticks later
  • lit by a torch turning on, 79
  • lit by an observer, 79
  • lit by a piston landing it (after the entity phase), 80
  • a test checks up to an explosion that may break blocks (lit in tick 12, explodes in 91 beside stone)

Crafters 16

  • a comparator reads a crafter's filled slots: 1
  • power sets it triggered at once
  • nothing crafted after 3 ticks
  • 4 ticks later it crafts one log into 4 planks, into the chest
  • it shows crafting for 5 ticks
  • then stops
  • the next pulse crafts the last log; the comparator then reads 0
  • a crafter is a conductor: a repeater into it lights the lamp beside it
  • no quasi-connectivity: power beside the block above it doesn't trigger it
  • each recipe crafts its result into the chest (no recipe: nothing; a disabled slot counts as empty)
  • validation: a hopper feeding a crafter is refused
  • validation: a torch on a fence post passes
  • validation: stairs with pistons are refused
  • validation: TNT and a pressure plate are refused together
  • validation: TNT and a sculk sensor are refused together
  • validation: a disabled slot can't hold an item

Building blocks 13

  • before the levers no lamp is lit
  • packed ice, soul sand and mud conduct; glowstone, sea lanterns, leaves, fences, walls and stairs don't
  • what stays on stairs facing north
  • what stays on stairs (top) facing east
  • what stays on fence
  • what stays on leaves
  • what stays on glowstone
  • what stays on soul_sand
  • a repeater can stand on a hopper
  • dust steps up past glowstone above it, but not past packed ice
  • validation: a dispenser with eggs and a sculk sensor are refused together
  • validation: a dropper dropping into the world and a sculk sensor are refused together
  • validation: a calibrated sensor needs a facing

Rails 35

  • no rail is powered before the levers
  • a powered rail line carries power 9 rails, in the same tick
  • an activator rail line does the same
  • a rail of the other kind stops the power
  • the whole line turns off at once
  • power climbs a slope
  • power runs down a slope
  • power from the lower rails doesn't reach a rail one block up
  • power from the upper rails stops at the step
  • a rail turned across the line stops the power
  • dust pointing into a powered rail powers it (and the next one)
  • the pistons have quasi-connected power but haven't moved
  • a powered rail turning on updates the blocks next to the block below it
  • a sloped one also updates those next to the block above it
  • the opened trapdoors leave the rails in place
  • a neighbour update breaks them
  • only the broken powered rail updates the blocks around the block below it
  • rails need a full top face below them (a hopper counts)
  • a sloped rail also needs a full top face on the block it rises toward
  • dust links to a detector rail only
  • validation: a straight rail line passes
  • validation: a rail needs a shape
  • validation: only plain rails curve
  • validation: a rail whose shape the game would change is refused
  • validation: a corner of plain rails passes
  • validation: a junction of plain rails passes (it switches with power)
  • validation: rails with pistons pass
  • validation: a slope needs a block to rise against
  • a pushed rail lands as the curve its new neighbours give it
  • the rails next to it turn to link to it
  • a pushed powered rail turns straight to its neighbour and is powered where it lands
  • a rail pushed over air breaks
  • a rail riding on a slime block lands on it
  • and comes back with it
  • the checks accept rails and minecarts with pistons

Falling blocks 15

  • sand and gravel start to fall 2 ticks after the block below goes
  • they land after 8, 11, 16, 22 and 32 ticks for drops of 1, 2, 4, 8 and 16 blocks
  • a falling block lands on full tops, top slabs, stairs, fences, walls, leaves, hoppers, top trapdoors and sand
  • it breaks on bottom slabs, dust, torches, levers, rails, repeaters, soul sand, chests, honey and bottom trapdoors
  • the broken ones are logged
  • sand stays on a torch
  • a stack leaves from the bottom, 2 ticks apart
  • the stack lands as three blocks
  • the pushed sand falls 2 ticks after it lands and becomes a block on the floor
  • the observer sees the sand land
  • sand landing on a piston head that finished moving is followed
  • sand meeting a block the piston is still moving is flagged
  • validation: sand with a pressure plate passes (falling blocks and their items are followed)
  • validation: sand with tripwire is refused
  • validation: sand with a sculk sensor is refused

Minecarts 27

  • a minecart on a powered rail that is off stays put
  • the powered rail pushes it away from the block, east
  • it rolls about 7 blocks and slows to a crawl
  • the minecart goes down the slope and stops on the unpowered powered rail
  • nothing is flagged
  • it stops against the block (its side 0.49 from its middle)
  • the minecart goes round both curves and up the boosted slope
  • it stops against the block at the top
  • the launched minecart reaches full speed
  • it goes through the curve and the dip and turns both detector rails on
  • the detector rail turns on as the minecart reaches it and lights the lamp beside it
  • it stays on while the cart is on it and turns off at a 20-tick check after
  • the comparator behind it reads 0 from a plain minecart
  • a placed minecart turns the detector rail on in the next tick
  • dust beside it lights a lamp
  • a T-junction keeps its placed shape until a signal source next to it changes
  • powered it curves north, unpowered south again
  • the minecart takes the curve north
  • a 4-way crossing doesn't switch
  • a T-junction with a powered rail as its third rail switches
  • a minecart leaving the rails rolls on along the ground and stops
  • validation: a minecart on a rail passes
  • validation: a minecart off a rail is refused
  • validation: minecarts with pressure plates are refused
  • a design's test can place a minecart on a rail (a detector rail then lights a lamp)
  • place_cart needs a rail
  • validation: rails on soul sand with minecarts are refused

Item entities 40

  • in flight: x 0.995 and y 0.62055 after 2 ticks, speed 0.2401 east
  • it lands after 11 ticks at x 2.99086, then slides with 0.6 * 0.98 friction
  • slow on the ground it moves only every 4th tick (ticks 20 and 24)
  • nothing is flagged or noted for the summoned item
  • nothing is thrown before the dropper's 4-tick delay
  • then one stone is thrown and has moved once: x 1.45, y 0.50375
  • the dropper keeps the other stone
  • where it lands depends on the game's random throw: noted in spread
  • it comes to rest on the floor about 3 blocks out
  • the hopper below takes the thrown stone in the tick it is thrown
  • its landing doesn't depend on the throw
  • the hopper passes it on to the chest 8 ticks later
  • a hopper takes an item in its area (up to 2 blocks above it) in its first tick
  • while it waits 8 ticks the other item stays
  • then it takes the whole stack of 3
  • a hopper with a full block on top takes no item resting on the block
  • all plates are off while the items fall
  • they land in tick 4: the wooden plate 15, the light weighted one 1 (one item checked), the heavy one 1
  • the light plate counts all 3 at its check 10 ticks later
  • the 3 stones merge into one stack at age 40, and the plate gives 1 at its next check (tick 44)
  • the stone plate never notices the item
  • not merged before age 40
  • at age 40 the 2 go into the stack of 5
  • items of another kind don't merge
  • an item lies there for 5999 ticks
  • and is gone at age 6000
  • the plate goes off at its next check
  • sand that breaks on a torch drops a sand item at the torch's floor
  • it moves sideways at random in the game: noted in spread
  • in the next tick it moves up
  • sand falling onto a wooden plate presses it, and the sand item keeps it pressed
  • a dispenser throws a redstone item out of its face
  • an item on soul sand lands on its top (14/16) and slides less far than on stone
  • an item thrown at a wall stops against it
  • items rest on a repeater (2/16), a bottom slab (8/16) and a chest (14/16)
  • no item met a shape the simulator doesn't model
  • a crafter with nothing in front throws the 4 planks it crafts as one stack
  • validation: a dispenser dropping items next to a pressure plate passes
  • validation: a dispenser shooting eggs next to a pressure plate is still refused
  • validation: sand with a hopper passes

Hopper minecarts 36

  • under a chest: one item a tick, slot 0 first, then slot 3
  • under a barrel: one a tick
  • under a hopper facing down: it pulls and the hopper pushes (2 in the first tick), then dirt from the hopper's last slot
  • under a dropper: one a tick
  • an item lying on glass or stone over the cart is taken whole in the first tick
  • nothing is flagged under the blocks
  • the hopper below takes dirt in the first tick and again 8 ticks later, passing the first on to the chest
  • then stone from the cart's slot 2
  • a hopper beside the rail pushes into the cart every 8 ticks
  • a dropper powered by a lever puts one item into the cart 4 ticks later
  • glass between the cart and the hopper: no transfer
  • an item 0.85 beside it is taken, one 0.87 beside it isn't
  • also along the rail: 0.855
  • a full cart takes nothing
  • with an empty chest above, it takes an item beside it
  • it pulls until the activator rail is powered at tick 5, then holds
  • unpowered at tick 15, it pulls again in that tick
  • the rolling cart is locked on the activator rail and stays locked under the chests
  • nothing is flagged on the activator rails
  • it takes stone from both chests as it passes under them
  • the hopper under the track takes from it
  • it picks up the dirt lying on the rails
  • a slower friction than a plain cart: it rolls on past x 20
  • nothing is flagged along the track
  • 10 stone: the comparator gives 1 from tick 3
  • the filling cart: 0 until the check at tick 21 (1 from tick 23), 2 from tick 43
  • a cart starting on a powered activator rail is locked from its first tick: it takes nothing from the chest above
  • a hopper below empties the locked cart all the same, in its first tick and every 8 ticks
  • after 3 transfers the locked cart is empty and the chest below has the dirt
  • the rolling cart is locked on the powered activator rail and unlocked on the unpowered one
  • unlocked, it takes stone from the chest above it
  • nothing is flagged
  • validation: a hopper minecart takes items, at most 5 slots
  • validation: a plain rail takes no items
  • validation: a hopper minecart is refused with a crafter (it would take from one above it)
  • validation: a hopper minecart is refused with pressure plates too

Items on slime and honey and pushed by pistons 37

  • dropped from 1 block it bounces in tick 7 at 0.2258108 a tick
  • it rises again at its next move and keeps bouncing, lower each time
  • dropped from 4 blocks it bounces in tick 15 at 0.4162153
  • sliding across slime it keeps 0.4 x 0.8 x 0.98 of its speed a tick (0.3 to 0.09408)
  • lying on slime it keeps slowing down, also in ticks it doesn't move (0.93333 at tick 8)
  • nothing about the items on slime is flagged
  • an item dropped onto honey lands on its top (15/16) in tick 7
  • sliding across honey it keeps 0.4 x 0.6 x 0.98 of its speed a tick (0.3 to 0.07056)
  • an item falling along a honey block's side slides from tick 7 at 0.1248520 a tick
  • one 0.2 out from the side falls freely
  • nothing about the items on honey is flagged
  • a piston head pushes an item to its face plus 0.01: 1.635, then 2.135
  • a pushed block pushes an item the same way: 2.635, then 3.135
  • a moved slime block flings the item at 1 a tick: it is at 3.635 a tick later, 5.04 at tick 12
  • a honey block moved sideways carries the item on it: 2, then 2.5
  • slime pushed up launches the item on it at 1 a tick (8.03 at tick 10)
  • stone pushed up lifts the item on it: 2.51, then 3.01, then it rests on the block at 3
  • an item on a block moved sideways stays where it was and falls when the block has gone (onto the head's arm, 10/16)
  • an item pushed onto a wooden plate presses it at once (in tick 4)
  • nothing about the pushed items is flagged
  • a sticky piston pulling honey carries the item on it back: 2, then 1.5
  • a honey block stuck to a pushed honey block carries its item too: 2, then 2.5
  • a block stuck to slime pushed up lifts the item on it: 2.51, then 3.01
  • a hopper takes the item a piston pushed over it in the next tick
  • nothing is flagged
  • dropped 4 blocks onto slime in the open, it rises 1.75 blocks, and nothing is noted
  • dropped onto a wooden plate on slime, the ticks the plate sees it depend on the phase: noted in spread
  • an item pushed while falling beside honey slides from the tick of the push (-0.1274, then 0.1248520 a tick)
  • an item whose support a sticky piston pulls away over a hopper: noted in spread as its support taken away
  • an item falling along honey's side with sideways speed slides at 0.1248520, its sideways speed scaled to 0.0183563
  • below the honey it falls freely and keeps its sideways speed (0.5828915 at tick 12, on the floor at 13)
  • an item on a block a sticky piston pulls down waits for its next move (tick 8 in the engine's phase), then falls onto the block
  • an item on honey pushed up is lifted with it: 2.4475, 2.9475, then it lies on the honey at 2.9375
  • nothing is flagged or noted
  • an item hanging over a moved honey block's edge is flagged
  • an item a piston pushes down onto slime is flagged
  • an item pushed against a wall stops at it (2.875) and, inside the moved block, is flagged

Water 42

  • a source spreads one block every 5 ticks
  • flowing water is level 1 next to the source and one more each block, up to 7
  • it spreads as a diamond: level = blocks from the source
  • the source stays a source
  • without its source the water dries up
  • water flows off every side of the pillar
  • in the same tick it flows down as falling water (level 8)
  • falling water goes one block down every 5 ticks
  • where it lands it spreads again from level 1
  • flowing water doesn't spread sideways off a place it falls from
  • water near a hole flows only toward it
  • it falls into the hole
  • the gap between two sources becomes a source
  • a source taken from it fills again
  • the lamps are lit by the torch and the repeater
  • water washes the torch away when it reaches it, and the lamp above goes dark 4 ticks later
  • the repeater and the dust go too, and the repeater's lamp goes dark
  • a lever that is on lights the lamp beside it
  • water washes away levers, buttons, comparators and string
  • the lamp the washed-away lever lit goes dark
  • pressure plates, rails and daylight detectors stop flowing water
  • flowing water doesn't see a drop behind waterloggable blocks or glass
  • the water reaches the piston
  • the piston head pushes into the water and removes it
  • after it pulls back the water flows in again
  • the pool reaches the pushed block
  • a pushed block replaces the water it moves into
  • an observer sees water arrive (at tick 10), and its pulse lights a lamp 2 ticks later
  • sand above water falls into it, flagged as not simulated
  • a stream carries an item along (it is 1.27 blocks on after 10 ticks)
  • the hopper under the stream takes the item
  • nothing in the stream is flagged
  • the item carried to the end of the stream presses the plate
  • the item thrown into the stream reaches the hopper
  • falling water carries the item down into the hopper
  • nothing in the falling water is flagged
  • an item in still water sinks to the floor
  • and floats up again (0.39 in 200 ticks)
  • an item in falling water beside a slab is flagged
  • flowing water doesn't pass a rail
  • a source that would waterlog a rail is flagged
  • the checks take water with a level from 0 to 8

Lever on a sticky piston 2

  • a lever on the back of a sticky piston survives repeated toggles
  • a retracting piston base is drawn in place

Ainda não simulado

Passos e itens voando, blocos destruídos por explosões de TNT, carrinhos de mina que batem em algo que não seja um bloco inteiro ou que estão na água e mobs. As máquinas que precisam disso ainda não podem ser testadas. Todo teste de referência que um jogador pode construir também roda em um servidor 26.3 de verdade, que precisa concordar em cada bloco e cada contêiner a cada tick depois que a máquina é construída.