+ fan_block

+ redstone_powered_fan_block
This commit is contained in:
Glitchlabs
2026-08-04 16:11:55 +02:00
parent 15a251ed9c
commit 4590a7a203
2 changed files with 3 additions and 1 deletions
@@ -14,6 +14,7 @@ import java.util.Deque;
import java.util.HashSet;
import java.util.Set;
public class RedstonePowerdFanBlock extends Block {
public static final BooleanProperty ON = BooleanProperty.create("on");
@@ -50,6 +51,7 @@ public class RedstonePowerdFanBlock extends Block {
}
}
private void toggleNetwork(Level level, BlockPos origin, boolean newState) {
Set<BlockPos> visited = new HashSet<>();
Deque<BlockPos> queue = new ArrayDeque<>();
@@ -3,7 +3,7 @@
"category": "building",
"ingredients": [
{
"item": "ornamentum:fan_block"
"item": "minecraft:redstone_torch"
},
{
"item": "ornamentum:fan_block"