Package org.spout.vanilla.component.block.material.chest

Examples of org.spout.vanilla.component.block.material.chest.AbstractChest


    return getDirectRedstonePower(block, direction, powerMode) > 0;
  }

  @Override
  public short getRedstonePowerStrength(BlockSnapshot state) {
    AbstractChest chest = state.getBlock().get(AbstractChest.class);
    int viewers = chest.getViewers().size();
    if (viewers > 15) {
      viewers = 15;
    }
    return (short) viewers;
  }
View Full Code Here

TOP

Related Classes of org.spout.vanilla.component.block.material.chest.AbstractChest

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.