Package mods.railcraft.common.blocks

Examples of mods.railcraft.common.blocks.RailcraftTileEntity


        if (Game.isNotHost(world))
            return false;
        TileEntity t = world.getTileEntity(x, y, z);
        boolean returnValue = false;
        if (t instanceof RailcraftTileEntity) {
            RailcraftTileEntity tile = (RailcraftTileEntity) t;
            ChatPlugin.sendLocalizedChat(player, "railcraft.gui.mag.glass.placedby", tile.getName(), PlayerPlugin.getUsername(world, tile.getOwner()));
            returnValue = true;
        }
        if (t instanceof TileMultiBlock) {
            TileMultiBlock tile = (TileMultiBlock) t;
            if (tile.isStructureValid())
                ChatPlugin.sendLocalizedChat(player, "railcraft.multiblock.state.valid");
            else
                for (MultiBlockStateReturn returnState : EnumSet.complementOf(EnumSet.of(MultiBlockStateReturn.VALID))) {
                    List<Integer> pats = tile.patternStates.get(returnState);
                    if (!pats.isEmpty())
View Full Code Here

TOP

Related Classes of mods.railcraft.common.blocks.RailcraftTileEntity

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.