Examples of ChestInterface


Examples of com.sk89q.craftbook.access.ChestInterface

        if (w.getId(pos) == BlockType.CHEST) {
            BlockEntity complexBlock =
                    w.getBlockEntity(x, y, z);

            if (complexBlock instanceof ChestInterface) {
                ChestInterface chest = (ChestInterface) complexBlock;

                if (!chests.contains(chest)) chests.add((ChestInterface) complexBlock);
            }
        }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.