This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
The new redstone blocks (and some old) are all unable to power lamps.
Just need to update your list of redstone materials :)
this.redstone_materials.add(Material.DETECTOR_RAIL);this.redstone_materials.add(Material.REDSTONE_WIRE);this.redstone_materials.add(Material.REDSTONE_BLOCK);this.redstone_materials.add(Material.REDSTONE_TORCH_OFF);this.redstone_materials.add(Material.REDSTONE_TORCH_ON);this.redstone_materials.add(Material.DIODE_BLOCK_OFF);this.redstone_materials.add(Material.DIODE_BLOCK_ON);this.redstone_materials.add(Material.REDSTONE_COMPARATOR_OFF);this.redstone_materials.add(Material.REDSTONE_COMPARATOR_ON);this.redstone_materials.add(Material.DIODE_BLOCK_ON);this.redstone_materials.add(Material.LEVER);this.redstone_materials.add(Material.STONE_BUTTON);this.redstone_materials.add(Material.WOOD_BUTTON);this.redstone_materials.add(Material.STONE_PLATE);this.redstone_materials.add(Material.GOLD_PLATE);this.redstone_materials.add(Material.IRON_PLATE);
Turns out this still doesn't fix the Redstone Block on a piston moving towards a lamp.
I've looked into the BlockPistonEvent but can't figure out how to get that to work with the plugin.
Oh whoops Stone/wood Plate have config options and don't belong in this list. But the rest do. Especially wood button and redstone block.
Got it!! Just need to add
this.redstone_materials.add(Material.PISTON_MOVING_PIECE);
to the list as well. That is the item on the end of a piston. (Not the wooden part but the actual block that it is pushing. So in most cases this piece would be a redstone block)
Richie... Are you ever going to fix this?
To post a comment, please login or register a new account.