You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Too easy to conflate the things and make scripts that don't make sense.
INPUT unit::FROMaOUTPUT unit::TOb
This doesn't really make sense, so the types should remain separate, even if it means resource types with only one variant.
New blocks
SFM redstone buffer
A block that holds 0..=MAX_LONG redstone units.
This is a more specialized version of a generic "sfm buffer" which I want to add which would be able to hold all resource types within a single block, which is beyond the scope of the redstone proposal.
The sfm:redstone_buffer block emits a redstone signal equal to its contained sfm:redstone:minecraft:redstone amount, clamped to 14.
Alternative modes such as "emit percentage full scaled to 0..=14" would be desirable.
Proposed Demos
NAME "demo 1"
EVERY 20 TICKS DO
INPUT redstone:: FROM a -- where 'a' is a redstone block
OUTPUT 10 redstone:: TO b -- where 'b' is the proposed sfm:redstone_buffer block
END
Inputting redstone:: from a redstone dust, torch, or block creates redstone units equal to the signal strength without mutating the block
Outputting redstone:: to a redstone block voids the redstone units
NAME "demo 2 - decrementing redstone counter"
EVERY redstone:: CHANGE IN a DO -- where 'a' is the proposed sfm:redstone_buffer block
INPUT 1 redstone:: FROM a
OUTPUT 1 redstone:: TO void -- where 'void' is a labelled minecraft:redstone_block
END
Reactive programming, the sfm:redstone_buffer block would be able to trigger a manager program
Re-entry locks would be necessary to prevent infinite loops, configurable
"A manager can only tick ${config.max_ticks_per_tick} times per tick."
Time acceleration conflicts, we can probably differentiate between time-in-a-bottle vs SFM re-triggering itself
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
People want redstone support, and apparently comparators aren't enough to sate their appetites.
New resource types
sfm:redstone:minecraft:redstoneshortenable to
redstone::future opportunities:
sfm:redstone:red_power:blueidkPrecident:
sfm:forge_energy:forge:energyAlternative consideration
Unit type for numeric systems with no alternative variants?
There are many items, but only one type of minecraft redstone/botania mana, etc.
sfm:unit:minecraft:redstonesfm:unit:common:energysfm:unit:botania:manasfm:unit:ars:sourceOutcome: rejected.
Too easy to conflate the things and make scripts that don't make sense.
This doesn't really make sense, so the types should remain separate, even if it means resource types with only one variant.
New blocks
SFM redstone buffer
A block that holds
0..=MAX_LONGredstone units.This is a more specialized version of a generic "sfm buffer" which I want to add which would be able to hold all resource types within a single block, which is beyond the scope of the redstone proposal.
The
sfm:redstone_bufferblock emits a redstone signal equal to its containedsfm:redstone:minecraft:redstoneamount, clamped to 14.Alternative modes such as "emit percentage full scaled to 0..=14" would be desirable.
Proposed Demos
sfm:redstone_bufferblock would be able to trigger a manager programBeta Was this translation helpful? Give feedback.
All reactions