Skip to content

ELEKTRIKITY#711

Draft
Seggan wants to merge 69 commits into
masterfrom
seggan/feature/elektrikity
Draft

ELEKTRIKITY#711
Seggan wants to merge 69 commits into
masterfrom
seggan/feature/elektrikity

Conversation

@Seggan
Copy link
Copy Markdown
Member

@Seggan Seggan commented Apr 23, 2026

The Rebar part is electricity is most done I think, so y'all can start reviewing it.

How it works:

Electric blocks and the electric system are completely disconnected. The only thing electric blocks are/do is hold "electric nodes" and the entities for them. The electric nodes are what the electric system actually operates on. Electric blocks just hold these nodes and interact with the electricity system by manipulating these nodes. There's 4 node types: producers, connectors, consumers, and acceptors. Producers make electricity, connectors connect nodes, consumers require a specific amount to work, and acceptors eat any surplus electricity that comes along. Electricity itself has 4 numbers: volts, amperes, joules, and watts, although the only ones that actually matter in practice are volts and watts. Amperes follow P=IV, and wires have current limits, so in order to push more watts through a wire, you need wither higher voltage or more wire capacity. Joules is just the static form of watts, ie watt = joule/tick. Machines have a specific voltage range they want, so you cant just run everything on the smallest wires at 15 megavolts or smth.

@Seggan Seggan requested a review from a team April 23, 2026 14:03
@Seggan Seggan marked this pull request as draft April 23, 2026 14:04
Seggan and others added 30 commits May 18, 2026 12:19
# Conflicts:
#	rebar/src/main/kotlin/io/github/pylonmc/rebar/block/base/RebarFluidBufferBlock.kt
#	rebar/src/main/kotlin/io/github/pylonmc/rebar/block/base/RebarSimpleMultiblock.kt
#	rebar/src/main/kotlin/io/github/pylonmc/rebar/block/base/RebarTickingBlock.kt
# Conflicts:
#	rebar/src/main/kotlin/io/github/pylonmc/rebar/Rebar.kt
# Conflicts:
#	nms/src/main/kotlin/io/github/pylonmc/rebar/nms/packet/PlayerPacketHandler.kt
#	rebar/src/main/kotlin/io/github/pylonmc/rebar/Rebar.kt
#	rebar/src/main/kotlin/io/github/pylonmc/rebar/block/RebarBlock.kt
#	rebar/src/main/kotlin/io/github/pylonmc/rebar/block/base/RebarGhostBlockHolder.kt
#	rebar/src/main/kotlin/io/github/pylonmc/rebar/block/base/RebarSimpleMultiblock.kt
#	rebar/src/main/kotlin/io/github/pylonmc/rebar/command/DualItemRegistryCommandArgument.kt
#	rebar/src/main/kotlin/io/github/pylonmc/rebar/guide/pages/research/ResearchItemsPage.kt
#	rebar/src/main/kotlin/io/github/pylonmc/rebar/item/ItemTypeWrapper.kt
#	rebar/src/main/kotlin/io/github/pylonmc/rebar/item/RebarItemSchema.kt
#	rebar/src/main/kotlin/io/github/pylonmc/rebar/util/position/BlockPosition.kt
This reverts commit 84df04e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants