Package net.glowstone.entity.meta

Examples of net.glowstone.entity.meta.MetadataType


     */
    public static List<MetadataMap.Entry> readMetadata(ByteBuf buf) throws IOException {
        List<MetadataMap.Entry> entries = new ArrayList<>();
        byte item;
        while ((item = buf.readByte()) != 0x7F) {
            MetadataType type = MetadataType.byId(item >> 5);
            int id = item & 0x1f;
            MetadataIndex index = MetadataIndex.getIndex(id, type);

            switch (type) {
                case BYTE:
View Full Code Here

TOP

Related Classes of net.glowstone.entity.meta.MetadataType

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.