Package net.lightstone.util.nbt

Examples of net.lightstone.util.nbt.ByteArrayTag


        }
      }
    }

    Map<String, Tag> levelTags = new HashMap<String, Tag>();
    levelTags.put("Blocks", new ByteArrayTag("Blocks", tileData));
    levelTags.put("Data", new ByteArrayTag("Data", metaData));
    levelTags.put("SkyLight", new ByteArrayTag("SkyLight", skyLightData));
    levelTags.put("BlockLight", new ByteArrayTag("BlockLight", blockLightData));
    // TODO: Heightmap, entities, tileentities, lastupdate
    levelTags.put("HeightMap", new ByteArrayTag("HeightMap", heightMapData));
    levelTags.put("Entities", chunkEntitiesToTag(chunk));
    levelTags.put("TileEntities", chunkTileEntitiesToTag(chunk));
    levelTags.put("LastUpdate", new LongTag("LastUpdate", 0));

    levelTags.put("xPos", new IntTag("xPos", chunk.getX()));
View Full Code Here

TOP

Related Classes of net.lightstone.util.nbt.ByteArrayTag

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.