Package pneumaticCraft.common.tileentity

Examples of pneumaticCraft.common.tileentity.TileEntityOmnidirectionalHopper.sendDescriptionPacket()


                world.setBlockMetadataWithNotify(x, y, z, newMeta, 3);
            } else {
                int newRotation = (teOh.getDirection().ordinal() + 1) % 6;
                if(newRotation == world.getBlockMetadata(x, y, z)) newRotation = (newRotation + 1) % 6;
                teOh.setDirection(ForgeDirection.getOrientation(newRotation));
                teOh.sendDescriptionPacket();
            }
            return true;
        }
        return false;
    }
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.