Elias Åström
d06e025e89
Only drop far away redstone events in multiplayer
2024-11-20 02:31:45 +00:00
Elias Åström
59b474df51
Add mcl_util.queue and use in mods
2024-11-20 02:31:45 +00:00
Elias Åström
e632fcb632
Do not reduce power level through opaque nodes
2024-11-20 02:31:45 +00:00
Elias Åström
2e59a975a4
Move wire overrides to logic.lua
2024-11-20 02:31:45 +00:00
Elias Åström
b6926f0683
Add comment explaining oldnode parameter
2024-11-20 02:31:45 +00:00
Elias Åström
02fd1553f5
Add comments for get_node_power functions
2024-11-20 02:31:45 +00:00
Elias Åström
f7b4927044
Add comments about wireflags
2024-11-20 02:31:45 +00:00
Elias Åström
b734074129
Removed duplicate eventqueue clearing
2024-11-20 02:31:45 +00:00
Elias Åström
dec3f191e0
Revert opaque autogroup change
2024-11-20 02:31:45 +00:00
Elias Åström
b3f2e18109
Do not delay updating redstone in callbacks
2024-11-20 02:31:45 +00:00
Elias Åström
c2d92f0fc5
Another locked repeater fix
2024-11-20 02:31:45 +00:00
Elias Åström
3f8b8ccff0
Fix wires not connected to locked repeater
2024-11-20 02:31:45 +00:00
Elias Åström
d5268a5e39
Fixed locked repeater not giving power in all dirs
2024-11-20 02:31:45 +00:00
Elias Åström
35ead589bd
Make mcl_redstone.schedule_update part of the API
...
Use it for comparators.
2024-11-20 02:31:45 +00:00
Jürgen Rühle
1231accd37
WIP: implement comparator inventory measurement
...
Detect container at the back side of the comparator. The container may be
separated from the comparator by an opaque block.
If an inventory is detected the power state depends on the fullness of the
container from 0 (all slots empty) to 15 (all slots contain a full stack).
Chest inventory actions will trigger an update of comparators in range.
2024-11-20 02:31:45 +00:00
goblin_mode
0a260d84c6
document redstone tick API
2024-11-20 02:31:45 +00:00
goblin_mode
62a54f67e4
add reset
subcommand to tick
2024-11-20 02:31:45 +00:00
goblin_mode
7a39136183
make debug return miliseconds instead of seconds
2024-11-20 02:31:45 +00:00
goblin_mode
1734d4995a
implement tick
command
2024-11-20 02:31:45 +00:00
Jürgen Rühle
a9c99ee6d8
Fix trapped chest redstone update
2024-11-20 02:31:45 +00:00
Jürgen Rühle
a9dbfbe2c2
Adapt pressure plates in villages to redstone rewrite
2024-11-20 02:31:45 +00:00
Jürgen Rühle
9fdb22636a
Fix wood pressure plate aliases
2024-11-20 02:31:45 +00:00
Elias Åström
5656a87700
Fix crash when moving observer with piston
2024-11-20 02:31:45 +00:00
Jürgen Rühle
7357f2ac7f
Fix wall lever aliases
2024-11-20 02:31:45 +00:00
Jürgen Rühle
76d3900555
Fix repeater aliases
2024-11-20 02:31:45 +00:00
Jürgen Rühle
16771cd6ea
Fix button burntime
2024-11-20 02:31:45 +00:00
Elias Åström
b171a11932
Add aliases and fix some incorrect item names
2024-11-20 02:31:45 +00:00
Elias Åström
cce4b54f08
Fix dropper turning into dispenser when placed up
2024-11-20 02:31:45 +00:00
Elias Åström
c4853ffee5
Fix mistake when rebasing
2024-11-20 02:31:45 +00:00
Elias Åström
40569401e6
Make comparator node names same as main
2024-11-20 02:31:45 +00:00
Elias Åström
f9cf605d2d
Fix outdated item namespace for mcl_pressureplates
2024-11-20 02:31:45 +00:00
Elias Åström
6c92873314
Only update nodes that has not changed
2024-11-20 02:31:45 +00:00
Elias Åström
b1d19019a6
Move texture files to their respective mods
2024-11-20 02:31:45 +00:00
Elias Åström
e419b35c20
Make observers tick based
2024-11-20 02:31:45 +00:00
Elias Åström
d73c6159b2
Use swap_node instead of set_node in more places
2024-11-20 02:31:45 +00:00
Elias Åström
6eca814955
Fix bug in wire connect
2024-11-20 02:31:45 +00:00
Elias Åström
84fd3c46f6
Add minimum time budget
...
Otherwise extremely low redstone tick intervals like 0 will not
function.
2024-11-20 02:31:45 +00:00
Elias Åström
e32d8fee1b
Fix performance mistake in wire propagation
2024-11-20 02:31:45 +00:00
Elias Åström
6ca3a71c10
Remove mapcache
2024-11-20 02:31:45 +00:00
Elias Åström
74c804ad09
Update connections after updating opaque node
2024-11-20 02:31:45 +00:00
Elias Åström
6482e894ae
Use table for wire and opaque in wire.lua
2024-11-20 02:31:45 +00:00
Elias Åström
e7f6df1390
Fix placing opaque blocks not updating wire power
2024-11-20 02:31:45 +00:00
Elias Åström
1827404ec9
Fix luacheck warnings
2024-11-20 02:31:45 +00:00
Elias Åström
97994d6711
Do not connect wires over non-opaque/solid nodes
2024-11-20 02:31:45 +00:00
Elias Åström
e4fed2461e
Propagate wires in all directions
2024-11-20 02:31:45 +00:00
Elias Åström
410ef5dc28
Make wires not power nodes on the sides
2024-11-20 02:31:45 +00:00
Elias Åström
4cc2e5c2a9
Do not move player in air when pushed by piston
2024-11-20 02:31:45 +00:00
Elias Åström
718512462f
Limit objects pushed by piston stack
2024-11-20 02:31:45 +00:00
Elias Åström
10e4df20ce
Fix propagation bug with looping circuits
2024-11-20 02:31:45 +00:00
Elias Åström
3ccbdb5407
Remove unused var
2024-11-20 02:31:45 +00:00