Class Market

java.lang.Object
net.chen.legacyLand.market.Market

public class Market extends Object
市场数据类 一个市场对应 Towny 中的一个地块(TownBlock)
  • Constructor Details

    • Market

      public Market(String id, String nationName, String worldName, int chunkX, int chunkZ, UUID approvedBy)
  • Method Details

    • contains

      public boolean contains(org.bukkit.Location location)
      检查坐标是否在此市场地块内(chunk 级别)
    • addChest

      public void addChest(MarketChest chest)
    • removeChest

      public void removeChest(String locationKey)
    • getChest

      public MarketChest getChest(String locationKey)
    • getAllChests

      public List<MarketChest> getAllChests()
    • toLocationKey

      public static String toLocationKey(org.bukkit.Location loc)