Package com.sk89q.craftbook.access

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

Related Classes of com.sk89q.craftbook.access.ChestInterface

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.