public class PoiDataWraps a poi/*.mca chunk's raw NBT
Constructors
public PoiData(NbtCompound root)| Parameters | ||
|---|---|---|
root | NbtCompound | |
Methods
PoiRecord addRecord(int, int, int, int, String, int)Adds a new POI record to the given section y, creating that section
(with Valid=true) if it doesn't exist in this chunk.NbtCompound raw()List<PoiRecord> records()All POI records across every section in this chunk.List<PoiRecord> records(int)POI records within just one section Y, or an empty list if that section has nonepublic PoiRecord addRecord(int sectionY, int x, int y, int z, String type, int freeTickets)public NbtCompound raw()| Returns | ||
|---|---|---|
NbtCompound | ||
public List<PoiRecord> records()public List<PoiRecord> records(int sectionY)Used by
Methods of other types that accept or return PoiData.