Certain New Materials wont turn on Lamps #4


  • New
  • Defect
Open
  • jackklink created this issue Mar 22, 2013

    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);

  • jackklink added the tags New Defect Mar 22, 2013
  • jackklink posted a comment Mar 22, 2013

    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.


    Edited Mar 26, 2013
  • jackklink posted a comment Mar 23, 2013

    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.

  • jackklink posted a comment Mar 23, 2013

    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)


    Edited Mar 24, 2013
  • jackklink posted a comment Jun 13, 2013

    Richie... Are you ever going to fix this?


To post a comment, please login or register a new account.