Index
All Classes and Interfaces|All Packages
C
- calculateDissatisfaction(Nation, Town) - Method in class net.chen.legacyLand.war.civilwar.CivilWarManager
-
计算某国家对某城镇的不满值 压迫性法令各贡献 20 分;国家正在进行对外战争贡献 30 分
- calculateExchangeRate() - Method in class net.chen.legacyLand.economy.TreasuryManager.Treasury
- calculateExchangeRate(String) - Method in class net.chen.legacyLand.economy.TreasuryManager
-
计算汇率(相对于 SBC/金锭) 公式: ER = (SBC储备 / 流通货币) × 信用系数
- calculateSimpleCost(Location, Location, double) - Static method in class net.chen.legacyLand.resource.LogisticsCalculator
-
计算运输费用(简化版,只传入重量)
- calculateSimpleTransportCost(Location, Location, double) - Method in class net.chen.legacyLand.resource.ResourceSystemManager
-
计算简化运输成本
- calculateTransportCost(Location, Location, ItemStack...) - Static method in class net.chen.legacyLand.resource.LogisticsCalculator
-
计算两点之间的运输费用
- calculateTransportCost(Location, Location, ItemStack...) - Method in class net.chen.legacyLand.resource.ResourceSystemManager
-
计算运输成本
- cancel() - Method in interface net.chen.legacyLand.util.FoliaScheduler.TaskHandle
- cancel(GuiSession) - Method in class net.chen.legacyLand.gui.GuiForm
-
取消表单
- cancelClaim(UUID) - Method in class net.chen.legacyLand.nation.plot.PlotClaimManager
-
取消占领
- cancelFlagWar(FlagWarData) - Method in class net.chen.legacyLand.war.flagwar.FlagWarManager
-
取消 FlagWar
- CANCELLED - Enum constant in enum class net.chen.legacyLand.economy.minting.MintingSession.State
- CANCELLED - Enum constant in enum class net.chen.legacyLand.war.flagwar.FlagWarStatus
-
已取消
- canChooseSubProfession() - Method in class net.chen.legacyLand.player.PlayerData
-
检查是否可以选择副职业
- canDeclare(Player, Town, StringBuilder) - Method in class net.chen.legacyLand.war.civilwar.CivilWarManager
-
检查是否满足发起独立投票的条件
- canRefine(ResourceType) - Method in class net.chen.legacyLand.resource.IndustrialZoneManager.IndustrialZone
- canRefineAt(Location, ResourceType) - Method in class net.chen.legacyLand.resource.IndustrialZoneManager
-
检查是否可以在该位置精炼资源
- CARPENTER - Enum constant in enum class net.chen.legacyLand.player.Profession
- castVote(Player, String, boolean) - Method in class net.chen.legacyLand.nation.law.LawManager
-
投票(需要 VOTE_LAW 权限)
- CHANCELLOR - Enum constant in enum class net.chen.legacyLand.nation.NationRole
- Chat - Class in net.chen.legacyLand.util
- checkAndApplyBodyStatus(Player, PlayerData) - Method in class net.chen.legacyLand.player.status.PlayerStatusManager
-
检查并应用身体状态
- checkAndPayMaintenance() - Method in class net.chen.legacyLand.nation.diplomacy.GuaranteeManager
-
检查并支付所有保卫关系的维持费用
- checkExpiredLaws() - Method in class net.chen.legacyLand.nation.law.LawManager
- checkVoteDeadlines() - Method in class net.chen.legacyLand.nation.law.LawManager
- checkWarConditions(String, SiegeWar) - Method in class net.chen.legacyLand.war.WarManager
-
检查战争胜负
- CHEST_EMPTY - Enum constant in enum class net.chen.legacyLand.market.MarketManager.PurchaseResult
- CHEST_NOT_FOUND - Enum constant in enum class net.chen.legacyLand.market.MarketManager.PriceSetResult
- ChunkExhaustedEvent - Class in net.chen.legacyLand.resource.pricing.event
-
区块资源耗竭事件(P2)。
- ChunkExhaustedEvent(String, int, int, ChunkResourceData) - Constructor for class net.chen.legacyLand.resource.pricing.event.ChunkExhaustedEvent
- chunkKey() - Method in record class net.chen.legacyLand.resource.pricing.LandPriceInquiry
-
Returns the value of the
chunkKeyrecord component. - ChunkLoadResourceListener - Class in net.chen.legacyLand.resource.pricing.listener
-
区块加载监听器(P1)。
- ChunkLoadResourceListener() - Constructor for class net.chen.legacyLand.resource.pricing.listener.ChunkLoadResourceListener
- ChunkPriceMap - Class in net.chen.legacyLand.resource.pricing.map
-
BlueMap 地价标记管理(兼容 BlueMap-Towny 2.4.0 接入模式)。
- ChunkPriceMap() - Constructor for class net.chen.legacyLand.resource.pricing.map.ChunkPriceMap
- ChunkResourceData - Class in net.chen.legacyLand.resource.pricing
-
区块资源储量数据模型(P1)
- ChunkResourceData() - Constructor for class net.chen.legacyLand.resource.pricing.ChunkResourceData
- ChunkResourceManager - Class in net.chen.legacyLand.resource.pricing
-
区块资源稀缺度定价系统的核心管理器(P1:储量普查;P2:采集累加 + 定时衰减)。
- ChunkResourceRecalcTask - Class in net.chen.legacyLand.resource.pricing
-
资源区块衰减定时任务(P2)。
- ChunkResourceRecalcTask() - Constructor for class net.chen.legacyLand.resource.pricing.ChunkResourceRecalcTask
- ChunkScanTask - Class in net.chen.legacyLand.resource.pricing
-
区块储量扫描任务(P1)。
- ChunkScanTask(ChunkSnapshot, String, int, int, ResourcePricingConfig) - Constructor for class net.chen.legacyLand.resource.pricing.ChunkScanTask
- chunkX() - Method in record class net.chen.legacyLand.resource.pricing.LandPriceInquiry
-
Returns the value of the
chunkXrecord component. - chunkZ() - Method in record class net.chen.legacyLand.resource.pricing.LandPriceInquiry
-
Returns the value of the
chunkZrecord component. - CIRCLE - Enum constant in enum class net.chen.legacyLand.nation.politics.effects.ParticleEffect.ParticlePattern
- CITIZEN - Enum constant in enum class net.chen.legacyLand.nation.NationRole
- CIVIL - Enum constant in enum class net.chen.legacyLand.war.WarType
-
内战 - 叛军与镇压军
- CivilWarCommand - Class in net.chen.legacyLand.war.commands
-
内战命令处理器 /civil declare <新国名> - 市长发起独立投票 /civil vote yes|no - 居民投票 /civil status - 查看不满值 /civil info [战争ID] - 查看内战信息 /civil join <战争ID> <角色> - 加入内战 /civil surrender - 投降 /civil list - 列出所有内战
- CivilWarCommand() - Constructor for class net.chen.legacyLand.war.commands.CivilWarCommand
- CivilWarManager - Class in net.chen.legacyLand.war.civilwar
-
内战管理器 - 负责独立投票、首都占领计时、胜负处理
- CivilWarTimerTask - Class in net.chen.legacyLand.war.civilwar
-
内战定时器 - 每分钟(1200 ticks)执行一次 1.
- CivilWarTimerTask() - Constructor for class net.chen.legacyLand.war.civilwar.CivilWarTimerTask
- CivilWarVote - Class in net.chen.legacyLand.war.civilwar
-
独立投票数据
- CivilWarVote(String, String, String, UUID) - Constructor for class net.chen.legacyLand.war.civilwar.CivilWarVote
- cleanup() - Method in class net.chen.legacyLand.gui.GuiManager
-
清理所有会话
- cleanupExpired(long) - Method in class net.chen.legacyLand.resource.pricing.LandPriceManager
-
清理过期询问。
- clearNationGuarantees(String) - Method in class net.chen.legacyLand.nation.diplomacy.GuaranteeManager
-
清除国家的所有保卫关系
- clearNationRelations(String) - Method in class net.chen.legacyLand.nation.diplomacy.DiplomacyManager
-
清除国家的所有外交关系
- clearPendingPriceSet(UUID) - Method in class net.chen.legacyLand.market.MarketManager
- clearPlayerData(UUID) - Method in class net.chen.legacyLand.player.status.PlayerStatusManager
-
清理玩家数据
- clearPlayerData(UUID) - Method in class net.chen.legacyLand.player.status.TemperatureManager
-
清理玩家数据
- CLINIC - Enum constant in enum class net.chen.legacyLand.nation.facility.FacilityType
- close() - Method in class net.chen.legacyLand.gui.GuiSession
-
关闭会话
- close() - Method in class net.chen.legacyLand.organization.outpost.Outpost
-
关闭据点
- CLOSE_OUTPOST - Enum constant in enum class net.chen.legacyLand.organization.OrganizationPermission
- CLOSED - Enum constant in enum class net.chen.legacyLand.nation.law.LawManager.VoteResult
- CLOSED - Enum constant in enum class net.chen.legacyLand.organization.outpost.OutpostStatus
- closeSession(Player) - Method in class net.chen.legacyLand.gui.GuiManager
-
关闭玩家的会话
- COAL_MINER - Enum constant in enum class net.chen.legacyLand.achievements.Achievements
- coefficient(int) - Static method in enum class net.chen.legacyLand.nation.facility.FacilityType
-
第 n 个同类设施的效果系数,n >= 1
- collectPlotTax() - Method in class net.chen.legacyLand.economy.tax.TaxManager
- ColumnDef(String, String) - Constructor for record class net.chen.legacyLand.database.DatabaseMigration.ColumnDef
- ColumnDef(String, String, boolean, String) - Constructor for record class net.chen.legacyLand.database.DatabaseMigration.ColumnDef
-
Creates an instance of a
ColumnDefrecord class. - columns - Variable in class net.chen.legacyLand.database.DatabaseMigration.TableDef
- COMBAT - Enum constant in enum class net.chen.legacyLand.player.Profession.ProfessionType
- COMMERCE - Enum constant in enum class net.chen.legacyLand.player.Profession.ProfessionType
- completeClaim(PlotClaim) - Method in class net.chen.legacyLand.nation.plot.PlotClaimManager
-
完成占领
- COMPLETED - Enum constant in enum class net.chen.legacyLand.nation.tech.TechStatus
- component() - Method in class net.chen.legacyLand.util.Translatable
- component(Locale) - Method in class net.chen.legacyLand.util.Translatable
- CONCUSSION - Enum constant in enum class net.chen.legacyLand.player.PlayerStatus
- ConfigManager - Class in net.chen.legacyLand.config
-
配置管理器(未启用)
- ConfigManager(LegacyLand) - Constructor for class net.chen.legacyLand.config.ConfigManager
- connect() - Method in class net.chen.legacyLand.database.DatabaseManager
-
连接数据库 根据配置文件选择数据库类型
- connect() - Method in interface net.chen.legacyLand.database.IDatabase
-
连接数据库
- connect() - Method in class net.chen.legacyLand.database.MongoDatabase
-
Deprecated.
- connect() - Method in class net.chen.legacyLand.database.MySQLDatabase
- connect() - Method in class net.chen.legacyLand.database.SQLiteDatabase
- connect() - Method in class net.chen.legacyLand.economy.EconomyDatabase
-
独立 SQLite 连接(fallback)
- connect(DatabaseManager, String) - Method in class net.chen.legacyLand.economy.EconomyDatabase
-
使用主数据库连接(跟随 database.type 配置)
- CONSCRIPTION - Enum constant in enum class net.chen.legacyLand.nation.law.LawType
- CONSTITUTIONAL_MONARCHY - Enum constant in enum class net.chen.legacyLand.nation.GovernmentType
-
君主立宪制
- consumeHydration(int) - Method in class net.chen.legacyLand.player.PlayerData
-
消耗饮水值
- consumePlayerPlaced(String, int, int, int, int, int) - Method in class net.chen.legacyLand.resource.pricing.ChunkResourceManager
-
查询并移除玩家放置标记(一次性消耗)。
- consumeRemovalMark(Location) - Method in class net.chen.legacyLand.nation.facility.FacilityManager
-
检查并消费标记,返回 true 表示此次拆除由命令触发
- consumeSupply(int) - Method in class net.chen.legacyLand.war.WarParticipant
-
消耗补给
- contains(String) - Method in class net.chen.legacyLand.gui.FormResult
-
检查是否包含指定元素的数据
- contains(Location) - Method in class net.chen.legacyLand.market.Market
-
检查坐标是否在此市场地块内(chunk 级别)
- contains(Location) - Method in class net.chen.legacyLand.resource.IndustrialZoneManager.IndustrialZone
- cost() - Method in record class net.chen.legacyLand.nation.tech.TechNode
-
Returns the value of the
costrecord component. - CRAFTING - Enum constant in enum class net.chen.legacyLand.player.Profession.ProfessionType
- create(Nation, Map) - Method in interface net.chen.legacyLand.nation.politics.PoliticalEffectFactory
-
从配置创建效果实例
- create(UUID, String) - Method in class net.chen.legacyLand.economy.minting.MintingSessionManager
- CREATE_OUTPOST - Enum constant in enum class net.chen.legacyLand.organization.OrganizationPermission
- createCurrency(String, double, String) - Static method in class net.chen.legacyLand.economy.CurrencyItem
-
Deprecated.创建货币物品
- createdAt() - Method in record class net.chen.legacyLand.resource.pricing.LandPriceInquiry
-
Returns the value of the
createdAtrecord component. - createFlagWar(Player, Location, TownBlock) - Method in class net.chen.legacyLand.war.flagwar.FlagWarManager
-
创建新的 FlagWar
- createForm(String) - Method in class net.chen.legacyLand.gui.GuiManager
-
创建表单实例
- createItem() - Method in class net.chen.legacyLand.economy.minting.MintingBlock
- createItemStack() - Method in interface net.chen.legacyLand.item.CustomItem
-
生成 ItemStack,写入 CMD、PDC、隐藏 Flag,并应用属性
- createMarket(Player, String) - Method in class net.chen.legacyLand.market.MarketManager
-
在当前地块创建市场(需要城镇权限)
- createMarketPointOnMap(String, Player, double, double, double) - Method in class net.chen.legacyLand.market.MarketManager
- createOrganization(Player, String) - Method in class net.chen.legacyLand.organization.OrganizationManager
-
创建组织
- createOutpost(Player, Organization) - Method in class net.chen.legacyLand.organization.OrganizationManager
-
创建据点
- createPlayerData(UUID, String) - Method in class net.chen.legacyLand.player.PlayerManager
-
创建玩家数据
- createResourceItem(ResourceType, int) - Static method in class net.chen.legacyLand.resource.ResourceItemFactory
-
创建资源物品
- createResourceItem(ResourceType, int) - Method in class net.chen.legacyLand.resource.ResourceSystemManager
-
创建资源物品
- createSiegeWar(String, String, String) - Method in class net.chen.legacyLand.war.siege.SiegeWarManager
-
创建攻城战
- createSupplyLine(String, String, String) - Method in class net.chen.legacyLand.war.siege.SiegeWarManager
-
创建补给线
- createSupplyStation(String, SupplyStation) - Method in class net.chen.legacyLand.war.siege.SiegeWarManager
-
创建补给站
- createTables() - Method in interface net.chen.legacyLand.database.IDatabase
-
创建表结构
- createTables() - Method in class net.chen.legacyLand.database.MongoDatabase
-
Deprecated.
- createTables() - Method in class net.chen.legacyLand.database.MySQLDatabase
- createTables() - Method in class net.chen.legacyLand.database.SQLiteDatabase
- createTown(TownClaimEvent) - Method in class net.chen.legacyLand.nation.town.TownListener
- createTreasury(String, Location) - Method in class net.chen.legacyLand.economy.TreasuryManager
-
创建国库
- createTreasurySeal(String) - Static method in class net.chen.legacyLand.economy.CurrencyItem
-
Deprecated.创建国库印章(特殊物品,无法在生存模式获取)
- createWar(WarType, String, String, String, String, String) - Method in class net.chen.legacyLand.war.WarManager
-
创建战争
- CURFEW - Enum constant in enum class net.chen.legacyLand.nation.law.LawType
- CurrencyItem - Class in net.chen.legacyLand.economy
-
Deprecated.
- CurrencyItem() - Constructor for class net.chen.legacyLand.economy.CurrencyItem
-
Deprecated.
- CustomCropsIntegration - Class in net.chen.legacyLand.season.integration
-
CustomCrops 季节系统集成管理器 负责检测 CustomCrops 插件并通过 SeasonProvider 接口提供季节数据
- CustomCropsIntegration(JavaPlugin) - Constructor for class net.chen.legacyLand.season.integration.CustomCropsIntegration
- customEffects() - Method in record class net.chen.legacyLand.nation.politics.PoliticalSystem
-
Returns the value of the
customEffectsrecord component. - CustomItem - Interface in net.chen.legacyLand.item
-
自定义物品基础接口,模仿 Fabric API 注册风格
- cut() - Method in class net.chen.legacyLand.war.siege.SupplyLine
-
切断补给线
All Classes and Interfaces|All Packages