View Code? Open in Web Editor
NEW
Originally this was to be a collection of programs I wrote during my own survival playthroughs. But at this point, it's mutated into a collection of programs I've written for PeculiarPineTree's A Thinking Pack 2 let's play. However, many of the programs should be useful to any CC using MineCrafter.
License: MIT License
cc-survival-programs's Issues
local ItemPipes = require (" lupus590.item_pipes" )
local pipe = itemPipes .new ()
pipe .addSource (" minecraft:chest_1" ).setFilter (... ).setPriority (... )
pipe .addDestination (" minecraft:chest_2" ).setFilter (... ).setPriority (... )
local builtPipe = pipe .build ()
use peripheral.call
, it may be good to wrap stuff in pcall
so that errors can be nicer
if pushing doesn't work then try pulling, if pulling also doesn't work then error
maybe we could have an intermediary chest that can bridge these?
do we need to? I think peripherals can have multiple types now
local ItemPipes = require (" lupus590.item_pipes" )
local pipe = itemPipes .new (... )
pipe .addDestination (... ).setPriority (... )
pipe .addDestination (... ).setPriority (... )
pipe .addDestination (... ).setPriority (... )
pipe .setPriorityLowestFirst () -- pipe.setPriorityHighestFirst() -- lowest is default
local builtPipe = pipe .build ()
Maybe with a static website and illuaminate?