Index
All Classes and Interfaces|All Packages
G
- GENERAL_SECRETARY - Enum constant in enum class net.chen.legacyLand.nation.NationRole
- generate(String, String, int) - Static method in class net.legacyland.LicenseGenerator
-
为指定硬件指纹签发令牌。
- generateResearchPoints() - Method in class net.chen.legacyLand.nation.tech.TechManager
- get() - Static method in class net.chen.legacyLand.loader.PluginLoader
- get(String) - Method in class net.chen.legacyLand.gui.FormResult
-
获取表单数据
- get(String) - Static method in class net.chen.legacyLand.item.ItemsRegistry
-
通过 ID 获取 CustomItem 实例
- get(String, int, int) - Method in class net.chen.legacyLand.resource.pricing.ChunkResourceManager
-
查询区块储量数据;优先从缓存读取,缺失则懒加载一次。
- get(UUID) - Method in class net.chen.legacyLand.economy.minting.MintingSessionManager
- getAchievements() - Method in class net.chen.legacyLand.player.PlayerData
- getActiveAttackerCount() - Method in class net.chen.legacyLand.war.War
-
获取活跃的攻击方人数
- getActiveCivilWars() - Method in class net.chen.legacyLand.war.civilwar.CivilWarManager
- getActiveClaims() - Method in class net.chen.legacyLand.nation.plot.PlotClaimManager
-
获取所有活跃的占领
- getActiveDefenderCount() - Method in class net.chen.legacyLand.war.War
-
获取活跃的防守方人数
- getActiveFlagWars() - Method in class net.chen.legacyLand.war.flagwar.FlagWarManager
-
获取所有活跃的 FlagWar
- getActiveGuarantees() - Method in class net.chen.legacyLand.nation.diplomacy.GuaranteeManager
-
获取所有激活的保卫关系
- getActiveLaws(String) - Method in class net.chen.legacyLand.nation.law.LawManager
- getActiveVotes() - Method in class net.chen.legacyLand.war.civilwar.CivilWarManager
- getActiveWars() - Method in class net.chen.legacyLand.war.WarManager
-
获取所有进行中的战争
- getAdjacentDistance() - Method in class net.chen.legacyLand.config.ConfigManager
- getAll() - Static method in class net.chen.legacyLand.item.ItemsRegistry
- getAllChests() - Method in class net.chen.legacyLand.market.Market
- getAllGoods() - Method in class net.chen.legacyLand.organization.outpost.Outpost
-
获取所有货物
- getAllianceCooldown() - Method in class net.chen.legacyLand.config.ConfigManager
- getAllies(String) - Method in class net.chen.legacyLand.nation.diplomacy.DiplomacyManager
-
获取国家的所有盟友
- getAllMembers() - Method in class net.chen.legacyLand.organization.Organization
-
获取所有成员列表
- getAllOrganizations() - Method in class net.chen.legacyLand.organization.OrganizationManager
- getAllowedRoles() - Method in record class net.chen.legacyLand.nation.politics.PoliticalSystem
-
获取该政体下允许的 NationRole 列表
- getAllPlayerData() - Method in class net.chen.legacyLand.player.PlayerManager
-
获取所有在线玩家数据
- getAllSiegeWars() - Method in class net.chen.legacyLand.war.siege.SiegeWarManager
-
获取所有攻城战
- getAllTreasuries() - Method in class net.chen.legacyLand.economy.TreasuryManager
-
获取所有国库
- getAllWars() - Method in class net.chen.legacyLand.war.WarManager
-
获取所有战争
- getApproveCount() - Method in class net.chen.legacyLand.nation.law.LawProposal
- getAttributes() - Method in interface net.chen.legacyLand.item.CustomItem
-
物品属性,无属性返回 null
- getAttributes() - Method in class net.chen.legacyLand.item.items.BleedSpear
- getAuthor() - Method in class net.chen.legacyLand.placeholder.LegacyLandPlaceholder
- getBaseMaterial() - Method in interface net.chen.legacyLand.item.CustomItem
-
基础材质
- getBaseMaterial() - Method in class net.chen.legacyLand.item.items.BleedSpear
- getBoolean(String) - Method in class net.chen.legacyLand.gui.FormResult
-
获取布尔类型的数据
- getCacheHit() - Method in class net.chen.legacyLand.resource.pricing.ChunkResourceManager
- getCacheSize() - Method in class net.chen.legacyLand.resource.pricing.ChunkResourceManager
- getChest(String) - Method in class net.chen.legacyLand.market.Market
- getChestAt(Location) - Method in class net.chen.legacyLand.market.MarketManager
- getClaimAtCoord(String) - Method in class net.chen.legacyLand.nation.plot.PlotClaimManager
-
获取指定坐标的占领
- getClaimByPlayer(UUID) - Method in class net.chen.legacyLand.nation.plot.PlotClaimManager
-
获取玩家的占领
- getCmd() - Method in interface net.chen.legacyLand.item.CustomItem
-
CustomModelData 值
- getCmd() - Method in class net.chen.legacyLand.item.items.BleedSpear
- getCompletedNodes() - Method in class net.chen.legacyLand.nation.tech.NationTechState
- getConfig() - Method in class net.chen.legacyLand.LegacyLand
- getConnection() - Method in class net.chen.legacyLand.database.DatabaseManager
-
获取底层 JDBC 连接(供组织/市场等扩展模块直接使用)
- getConnection() - Method in interface net.chen.legacyLand.database.IDatabase
-
获取底层 JDBC 连接(用于扩展模块直接操作,仅 SQL 类型数据库支持)
- getConnection() - Method in class net.chen.legacyLand.database.MySQLDatabase
- getConnection() - Method in class net.chen.legacyLand.database.SQLiteDatabase
- getConnection() - Method in class net.chen.legacyLand.economy.EconomyDatabase
-
获取数据库连接 共享模式:从 DatabaseManager 获取(连接池) 独立模式:返回自己的 SQLite 连接
- getCoreBaseMaterial() - Method in class net.chen.legacyLand.config.ConfigManager
- getCoreBaseSize() - Method in class net.chen.legacyLand.config.ConfigManager
- getCurrentStepIndex() - Method in class net.chen.legacyLand.gui.FormWizard
- getData(String) - Method in class net.chen.legacyLand.gui.GuiSession
-
获取会话数据
- getDatabaseFilename() - Method in class net.chen.legacyLand.config.ConfigManager
- getDatabaseType() - Method in class net.chen.legacyLand.config.ConfigManager
- getDataFolder() - Method in class net.chen.legacyLand.LegacyLand
- getDbType() - Method in class net.chen.legacyLand.economy.EconomyDatabase
-
获取数据库类型
- getDeathSupplyCost() - Method in class net.chen.legacyLand.config.ConfigManager
- getDefaultDrop(Material) - Static method in class net.chen.legacyLand.resource.BiomeResourceConfig
-
获取默认掉落(杂质资源)
- getDefaultPermissions(OrganizationRole) - Static method in enum class net.chen.legacyLand.organization.OrganizationPermission
-
获取角色的默认权限
- getDefaultSystem() - Method in class net.chen.legacyLand.nation.politics.PoliticalSystemManager
-
获取默认政体(配置中的第一个)
- getDefaultTaxRate(String) - Method in class net.chen.legacyLand.config.ConfigManager
- getDenomination(ItemStack) - Static method in class net.chen.legacyLand.economy.CurrencyItem
-
Deprecated.获取货币面值
- getDescription() - Method in class net.chen.legacyLand.nation.politics.effects.ParticleEffect
- getDescription() - Method in class net.chen.legacyLand.nation.politics.effects.SpeedBoostEffect
- getDescription() - Method in interface net.chen.legacyLand.nation.politics.PoliticalEffect
-
获取效果的描述
- getDetailedInfo() - Method in record class net.chen.legacyLand.resource.LogisticsCalculator.TransportCost
- getDisplayName() - Method in class net.chen.legacyLand.gui.elements.ButtonElement
-
获取元素的显示名称
- getDisplayName() - Method in class net.chen.legacyLand.gui.elements.DropdownElement
- getDisplayName() - Method in class net.chen.legacyLand.gui.elements.LabelElement
- getDisplayName() - Method in class net.chen.legacyLand.gui.elements.ListElement
- getDisplayName() - Method in class net.chen.legacyLand.gui.elements.MultiSelectElement
- getDisplayName() - Method in class net.chen.legacyLand.gui.elements.SeparatorElement
- getDisplayName() - Method in class net.chen.legacyLand.gui.elements.SliderElement
- getDisplayName() - Method in interface net.chen.legacyLand.gui.GuiElement
-
获取元素的显示名称
- getDisplayName() - Method in enum class net.chen.legacyLand.organization.OrganizationRole
- getDisplayName() - Method in enum class net.chen.legacyLand.organization.outpost.OutpostStatus
- getDisplayName() - Method in enum class net.chen.legacyLand.resource.IndustrialZoneManager.ZoneType
- getDissatisfactionLabel(int) - Method in class net.chen.legacyLand.war.civilwar.CivilWarManager
-
获取不满值描述
- getDouble(String) - Method in class net.chen.legacyLand.gui.FormResult
-
获取双精度浮点数类型的数据
- getDuration() - Method in class net.chen.legacyLand.war.flagwar.FlagWarData
-
获取战争持续时间(秒)
- getDuration() - Method in class net.chen.legacyLand.war.War
-
获取战争持续时间(毫秒)
- getEffect(String) - Method in record class net.chen.legacyLand.nation.tech.TechNode
-
获取效果值,不存在返回 0
- getEffect(String, double) - Method in record class net.chen.legacyLand.nation.politics.PoliticalSystem
-
获取指定效果值
- getEffectiveAttackDamage(Player, ItemAttributes) - Static method in class net.chen.legacyLand.item.attribute.AttributeEvaluator
-
计算物品在当前玩家国家科技下的实际攻击力
- getEffectivePlotTaxRate(String) - Method in class net.chen.legacyLand.economy.tax.TaxManager
- getEffectiveTradeTaxRate(String) - Method in class net.chen.legacyLand.economy.tax.TaxManager
- getEfficiencyRatio(Player, ItemAttributes) - Static method in class net.chen.legacyLand.item.attribute.AttributeEvaluator
-
获取效能比例(0.0 ~ 1.0) 满足科技需求返回 1.0,不足则按比例降低
- getElement(String) - Method in class net.chen.legacyLand.gui.GuiForm
-
通过 ID 获取元素
- getEnemies(String) - Method in class net.chen.legacyLand.nation.diplomacy.DiplomacyManager
-
获取国家的所有敌人
- getExhaustedEventCount() - Method in class net.chen.legacyLand.resource.pricing.ChunkResourceManager
- getFacilityCount(String, FacilityType) - Method in class net.chen.legacyLand.nation.facility.FacilityManager
- getFlagWarAtLocation(Location) - Method in class net.chen.legacyLand.war.flagwar.FlagWarManager
-
获取指定位置的 FlagWar
- getGoods(String) - Method in class net.chen.legacyLand.organization.outpost.Outpost
-
获取货物
- getGovernmentType(String) - Method in class net.chen.legacyLand.nation.NationManager
-
获取国家政体
- getGuarantee(String, String) - Method in class net.chen.legacyLand.nation.diplomacy.GuaranteeManager
-
获取保卫关系
- getGuaranteedNations(String) - Method in class net.chen.legacyLand.nation.diplomacy.GuaranteeManager
-
获取保卫国保卫的所有国家
- getGuarantors(String) - Method in class net.chen.legacyLand.nation.diplomacy.GuaranteeManager
-
获取保护某个国家的所有保卫国
- getHandlerList() - Static method in class net.chen.legacyLand.achievements.event.AchievementsEvents.PlayerBrewPotion
- getHandlerList() - Static method in class net.chen.legacyLand.achievements.event.AchievementsEvents.PlayerCatchFish
- getHandlerList() - Static method in class net.chen.legacyLand.achievements.event.AchievementsEvents.PlayerChopLog
- getHandlerList() - Static method in class net.chen.legacyLand.achievements.event.AchievementsEvents.PlayerCollectLoot
- getHandlerList() - Static method in class net.chen.legacyLand.achievements.event.AchievementsEvents.PlayerEnchantItem
- getHandlerList() - Static method in class net.chen.legacyLand.achievements.event.AchievementsEvents.PlayerEnterDimension
- getHandlerList() - Static method in class net.chen.legacyLand.achievements.event.AchievementsEvents.PlayerHarvestCrop
- getHandlerList() - Static method in class net.chen.legacyLand.achievements.event.AchievementsEvents.PlayerKillMonster
- getHandlerList() - Static method in class net.chen.legacyLand.achievements.event.AchievementsEvents.PlayerMineCoal
- getHandlerList() - Static method in class net.chen.legacyLand.achievements.event.AchievementsEvents.PlayerMineStone
- getHandlerList() - Static method in class net.chen.legacyLand.achievements.event.AchievementsEvents.PlayerObtainBranches
- getHandlerList() - Static method in class net.chen.legacyLand.achievements.event.AchievementsEvents.PlayerObtainRareOre
- getHandlerList() - Static method in class net.chen.legacyLand.achievements.event.AchievementsEvents.PlayerObtainSeedFirstly
- getHandlerList() - Static method in class net.chen.legacyLand.achievements.event.AchievementsEvents.PlayerPlaceBlocks
- getHandlerList() - Static method in class net.chen.legacyLand.achievements.event.AchievementsEvents.PlayerPlantCrop
- getHandlerList() - Static method in class net.chen.legacyLand.achievements.event.AchievementsEvents.PlayerRepairItem
- getHandlerList() - Static method in class net.chen.legacyLand.achievements.event.AchievementsEvents.PlayerTameAnimal
- getHandlerList() - Static method in class net.chen.legacyLand.achievements.event.AchievementsEvents.PlayerVisitBiome
- getHandlerList() - Static method in class net.chen.legacyLand.events.OutpostCompletedEvent
- getHandlerList() - Static method in class net.chen.legacyLand.events.OutpostDiscoveredEvent
- getHandlerList() - Static method in class net.chen.legacyLand.events.OutpostEstablishedEvent
- getHandlerList() - Static method in class net.chen.legacyLand.events.WarEndEvent
- getHandlerList() - Static method in class net.chen.legacyLand.events.WarStartEvent
- getHandlerList() - Static method in class net.chen.legacyLand.resource.pricing.event.ChunkExhaustedEvent
- getHandlers() - Method in class net.chen.legacyLand.achievements.event.AchievementsEvents.PlayerBrewPotion
- getHandlers() - Method in class net.chen.legacyLand.achievements.event.AchievementsEvents.PlayerCatchFish
- getHandlers() - Method in class net.chen.legacyLand.achievements.event.AchievementsEvents.PlayerChopLog
- getHandlers() - Method in class net.chen.legacyLand.achievements.event.AchievementsEvents.PlayerCollectLoot
- getHandlers() - Method in class net.chen.legacyLand.achievements.event.AchievementsEvents.PlayerEnchantItem
- getHandlers() - Method in class net.chen.legacyLand.achievements.event.AchievementsEvents.PlayerEnterDimension
- getHandlers() - Method in class net.chen.legacyLand.achievements.event.AchievementsEvents.PlayerHarvestCrop
- getHandlers() - Method in class net.chen.legacyLand.achievements.event.AchievementsEvents.PlayerKillMonster
- getHandlers() - Method in class net.chen.legacyLand.achievements.event.AchievementsEvents.PlayerMineCoal
- getHandlers() - Method in class net.chen.legacyLand.achievements.event.AchievementsEvents.PlayerMineStone
- getHandlers() - Method in class net.chen.legacyLand.achievements.event.AchievementsEvents.PlayerObtainBranches
- getHandlers() - Method in class net.chen.legacyLand.achievements.event.AchievementsEvents.PlayerObtainRareOre
- getHandlers() - Method in class net.chen.legacyLand.achievements.event.AchievementsEvents.PlayerObtainSeedFirstly
- getHandlers() - Method in class net.chen.legacyLand.achievements.event.AchievementsEvents.PlayerPlaceBlocks
- getHandlers() - Method in class net.chen.legacyLand.achievements.event.AchievementsEvents.PlayerPlantCrop
- getHandlers() - Method in class net.chen.legacyLand.achievements.event.AchievementsEvents.PlayerRepairItem
- getHandlers() - Method in class net.chen.legacyLand.achievements.event.AchievementsEvents.PlayerTameAnimal
- getHandlers() - Method in class net.chen.legacyLand.achievements.event.AchievementsEvents.PlayerVisitBiome
- getHandlers() - Method in class net.chen.legacyLand.events.OutpostCompletedEvent
- getHandlers() - Method in class net.chen.legacyLand.events.OutpostDiscoveredEvent
- getHandlers() - Method in class net.chen.legacyLand.events.OutpostEstablishedEvent
- getHandlers() - Method in class net.chen.legacyLand.events.PlayerObtainsRoleEvent
- getHandlers() - Method in class net.chen.legacyLand.events.WarEndEvent
- getHandlers() - Method in class net.chen.legacyLand.events.WarStartEvent
- getHandlers() - Method in class net.chen.legacyLand.item.event.ItemEvents.ItemClickEvent
- getHandlers() - Method in class net.chen.legacyLand.nation.law.event.LawEnactEvent
- getHandlers() - Method in class net.chen.legacyLand.resource.pricing.event.ChunkExhaustedEvent
- getHardwareHash() - Static method in class net.legacyland.Auth
-
采集本机硬件指纹并返回其 SHA-256 十六进制摘要。
- getId() - Method in class net.chen.legacyLand.gui.elements.ButtonElement
- getId() - Method in class net.chen.legacyLand.gui.elements.DropdownElement
- getId() - Method in class net.chen.legacyLand.gui.elements.LabelElement
- getId() - Method in class net.chen.legacyLand.gui.elements.ListElement
- getId() - Method in class net.chen.legacyLand.gui.elements.MultiSelectElement
- getId() - Method in class net.chen.legacyLand.gui.elements.SeparatorElement
- getId() - Method in class net.chen.legacyLand.gui.elements.SliderElement
- getId() - Method in interface net.chen.legacyLand.gui.GuiElement
-
获取元素的唯一标识符
- getId() - Method in interface net.chen.legacyLand.item.CustomItem
-
物品唯一 ID,如 "bleed_spear"
- getId() - Method in class net.chen.legacyLand.item.items.BleedSpear
- getId() - Method in class net.chen.legacyLand.nation.politics.effects.ParticleEffect
- getId() - Method in class net.chen.legacyLand.nation.politics.effects.SpeedBoostEffect
- getId() - Method in interface net.chen.legacyLand.nation.politics.PoliticalEffect
-
获取效果的唯一标识
- getIdentifier() - Method in class net.chen.legacyLand.placeholder.LegacyLandPlaceholder
- getInitialSupplies() - Method in class net.chen.legacyLand.config.ConfigManager
- getInquiryChunkCount() - Method in class net.chen.legacyLand.resource.pricing.LandPriceManager
- getInstance() - Static method in class net.chen.legacyLand.api.LegacyLandApi
- getInstance() - Static method in class net.chen.legacyLand.economy.EconomyDatabase
- getInstance() - Static method in class net.chen.legacyLand.economy.minting.MintingBlock
- getInstance() - Static method in class net.chen.legacyLand.economy.minting.MintingSessionManager
- getInstance() - Static method in class net.chen.legacyLand.market.MarketManager
- getInstance() - Static method in class net.chen.legacyLand.nation.diplomacy.DiplomacyManager
- getInstance() - Static method in class net.chen.legacyLand.nation.diplomacy.GuaranteeManager
- getInstance() - Static method in class net.chen.legacyLand.nation.facility.FacilityManager
- getInstance() - Static method in class net.chen.legacyLand.nation.NationManager
- getInstance() - Static method in class net.chen.legacyLand.nation.plot.PlotClaimManager
- getInstance() - Static method in class net.chen.legacyLand.nation.politics.PoliticalSystemManager
- getInstance() - Static method in class net.chen.legacyLand.nation.tech.TechManager
-
获取已初始化的实例(不创建新实例)
- getInstance() - Static method in class net.chen.legacyLand.player.PlayerManager
- getInstance() - Static method in class net.chen.legacyLand.player.status.PlayerStatusManager
- getInstance() - Static method in class net.chen.legacyLand.player.status.TemperatureManager
- getInstance() - Static method in class net.chen.legacyLand.resource.IndustrialZoneManager
- getInstance() - Static method in class net.chen.legacyLand.war.civilwar.CivilWarManager
- getInstance() - Static method in class net.chen.legacyLand.war.flagwar.FlagWarManager
- getInstance() - Static method in class net.chen.legacyLand.war.siege.SiegeWarManager
- getInstance() - Static method in class net.chen.legacyLand.war.WarManager
- getInstance(LegacyLand) - Static method in class net.chen.legacyLand.economy.EconomyDatabase
- getInstance(LegacyLand) - Static method in class net.chen.legacyLand.economy.tax.TaxManager
- getInstance(LegacyLand) - Static method in class net.chen.legacyLand.economy.TreasuryManager
- getInstance(LegacyLand) - Static method in class net.chen.legacyLand.market.MarketManager
- getInstance(LegacyLand) - Static method in class net.chen.legacyLand.nation.law.LawManager
- getInstance(LegacyLand) - Static method in class net.chen.legacyLand.nation.tech.TechManager
- getInstance(LegacyLand) - Static method in class net.chen.legacyLand.organization.OrganizationManager
- getInstance(LegacyLand) - Static method in class net.chen.legacyLand.util.LanguageManager
- getInstance(LegacyLand, Economy) - Static method in class net.chen.legacyLand.resource.ResourceSystemManager
- getInt(String) - Method in class net.chen.legacyLand.gui.FormResult
-
获取整数类型的数据
- getIntData(String) - Method in class net.chen.legacyLand.gui.GuiSession
-
获取整数类型的会话数据
- getIssuedAt(ItemStack) - Static method in class net.chen.legacyLand.economy.CurrencyItem
-
Deprecated.获取发行时间
- getItemId(ItemStack) - Static method in class net.chen.legacyLand.item.ItemsRegistry
-
从 ItemStack 的 PDC 中读取 item_id
- getItemMeta() - Method in class net.chen.legacyLand.item.ItemBuilder
- getLanguage() - Method in class net.chen.legacyLand.config.ConfigManager
- getLanguages() - Method in class net.chen.legacyLand.util.LanguageManager
-
获取所有支持的语言
- getLawParamDouble(String, LawType, String, double) - Method in class net.chen.legacyLand.nation.law.LawManager
- getLawParamString(String, LawType, String, String) - Method in class net.chen.legacyLand.nation.law.LawManager
- getLeaderRole() - Method in record class net.chen.legacyLand.nation.politics.PoliticalSystem
-
获取该政体的领袖角色
- getLegacyLand() - Method in class net.chen.legacyLand.api.LegacyLandApi
- getLength() - Method in class net.chen.legacyLand.war.siege.SupplyLine
-
获取补给线长度(区块数)
- getLineNodes() - Method in class net.chen.legacyLand.nation.tech.TechManager
- getLocationKey() - Method in class net.chen.legacyLand.market.MarketChest
- getLogger() - Method in interface net.chen.legacyLand.database.IDatabase
- getManagers() - Method in class net.chen.legacyLand.api.LegacyLandApi
-
get all managers loaded in the plugins.
- getMarketAt(Location) - Method in class net.chen.legacyLand.market.MarketManager
- getMarketTaxDiscount(String) - Method in class net.chen.legacyLand.nation.facility.FacilityManager
-
返回该国所有城镇集市提供的交易税减免(绝对值,如 0.034 = 3.4%)
- getMaxAllianceModifier() - Method in record class net.chen.legacyLand.nation.politics.PoliticalSystem
-
获取最大同盟数量修正
- getMaxAlliances() - Method in class net.chen.legacyLand.config.ConfigManager
- getMaxSupplyStations() - Method in class net.chen.legacyLand.config.ConfigManager
- getMaxTaxRate() - Method in class net.chen.legacyLand.config.ConfigManager
- getMaxTownModifier() - Method in record class net.chen.legacyLand.nation.politics.PoliticalSystem
-
获取城镇最大数量修正
- getMember(UUID) - Method in class net.chen.legacyLand.organization.Organization
-
获取成员
- getMessagePrefix() - Method in class net.chen.legacyLand.config.ConfigManager
- getMilitaryStrength() - Method in record class net.chen.legacyLand.nation.politics.PoliticalSystem
-
获取军事力量倍率
- getMinTaxRate() - Method in class net.chen.legacyLand.config.ConfigManager
- getNation(ItemStack) - Static method in class net.chen.legacyLand.economy.CurrencyItem
-
Deprecated.获取货币国家
- getNationalTotalPrice(Nation) - Method in class net.chen.legacyLand.resource.pricing.map.ChunkPriceMap
-
计算国家所有领土区块的地价总和。
- getNationCreationCost() - Method in class net.chen.legacyLand.config.ConfigManager
- getNationGoldCost() - Method in class net.chen.legacyLand.config.ConfigManager
- getNationInitialTreasury() - Method in class net.chen.legacyLand.config.ConfigManager
- getNationName() - Method in class net.chen.legacyLand.nation.tech.NationTechState
- getNationName() - Method in class net.chen.legacyLand.resource.IndustrialZoneManager.IndustrialZone
- getNationNameMaxLength() - Method in class net.chen.legacyLand.config.ConfigManager
- getNationNameMinLength() - Method in class net.chen.legacyLand.config.ConfigManager
- getNationRelations(String) - Method in class net.chen.legacyLand.nation.diplomacy.DiplomacyManager
-
获取国家的所有外交关系
- getNationTierForLine(Player, String) - Static method in class net.chen.legacyLand.item.attribute.AttributeEvaluator
-
获取玩家所属国家在指定科技线上已达到的最高 tier
- getNationWars(String) - Method in class net.chen.legacyLand.war.WarManager
-
获取国家参与的战争
- getNoCount() - Method in class net.chen.legacyLand.war.civilwar.CivilWarVote
- getNodeDefinitions() - Method in class net.chen.legacyLand.nation.tech.TechManager
- getNodeStatus(String, String) - Method in class net.chen.legacyLand.nation.tech.TechManager
- getOccupationMinutes(String) - Method in class net.chen.legacyLand.war.civilwar.CivilWarManager
- getOpenProposals(String) - Method in class net.chen.legacyLand.nation.law.LawManager
- getOrganizationById(String) - Method in class net.chen.legacyLand.organization.OrganizationManager
- getOrganizationByName(String) - Method in class net.chen.legacyLand.organization.OrganizationManager
- getOrganizationOutposts(String) - Method in class net.chen.legacyLand.organization.OrganizationManager
- getOtherNation(String) - Method in class net.chen.legacyLand.nation.diplomacy.DiplomacyRelation
-
获取另一个国家的名称
- getOutpostAt(Location) - Method in class net.chen.legacyLand.organization.OrganizationManager
-
检查玩家是否在某个组织的据点范围内
- getOutpostById(String) - Method in class net.chen.legacyLand.organization.OrganizationManager
- getOutpostCheckInterval() - Method in class net.chen.legacyLand.config.ConfigManager
- getOutpostDuration() - Method in class net.chen.legacyLand.config.ConfigManager
- getOutpostMinPlayers() - Method in class net.chen.legacyLand.config.ConfigManager
- getOutpostRespawnCost() - Method in class net.chen.legacyLand.config.ConfigManager
- getPendingChestKey(UUID) - Method in class net.chen.legacyLand.market.MarketManager
- getPendingDecrementCount() - Method in class net.chen.legacyLand.resource.pricing.ChunkResourceManager
- getPlayerData(UUID) - Method in class net.chen.legacyLand.player.PlayerManager
-
获取玩家数据
- getPlayerData(Player) - Method in class net.chen.legacyLand.player.PlayerManager
-
获取玩家数据
- getPlayerFlagWar(UUID) - Method in class net.chen.legacyLand.war.flagwar.FlagWarManager
-
获取玩家的 FlagWar
- getPlayerInventoryWeight(Player) - Method in class net.chen.legacyLand.resource.ResourceSystemManager
-
获取玩家背包中的资源总重量
- getPlayerNation(Player) - Method in class net.chen.legacyLand.nation.NationManager
-
获取玩家所在国家
- getPlayerOrganization(UUID) - Method in class net.chen.legacyLand.organization.OrganizationManager
- getPlayerRole(String, UUID) - Method in class net.chen.legacyLand.nation.NationManager
-
获取玩家角色
- getPlayerWar(UUID) - Method in class net.chen.legacyLand.war.WarManager
-
获取玩家参与的战争
- getPlayerWar(Player) - Method in class net.chen.legacyLand.war.WarManager
-
获取玩家参与的战争
- getPlugin() - Method in class net.chen.legacyLand.resource.pricing.ChunkResourceManager
- getPlugin() - Method in class net.chen.legacyLand.resource.pricing.LandPriceManager
- getPoliticalSystem(String) - Method in class net.chen.legacyLand.nation.NationManager
-
获取国家政治体制对象
- getPoliticalSystemId(String) - Method in class net.chen.legacyLand.nation.NationManager
-
获取国家政治体制ID
- getProposalById(String) - Method in class net.chen.legacyLand.nation.law.LawManager
- getPublicChunkCount() - Method in class net.chen.legacyLand.resource.pricing.LandPriceManager
- getRejectCount() - Method in class net.chen.legacyLand.nation.law.LawProposal
- getRelation(String, String) - Method in class net.chen.legacyLand.nation.diplomacy.DiplomacyManager
-
获取两国之间的关系
- getRemainingCooldown(String) - Method in class net.chen.legacyLand.nation.politics.PoliticalSystemManager
-
获取剩余冷却时间(秒)
- getRemainingSeconds() - Method in class net.chen.legacyLand.war.civilwar.CivilWarVote
- getRequests(String) - Method in class net.chen.legacyLand.nation.NationManager
-
获取国家待审批的国库申请列表
- getResearchPoints() - Method in class net.chen.legacyLand.nation.tech.NationTechState
- getResource(String) - Method in class net.chen.legacyLand.LegacyLand
- getResourceDrop(Biome, Material) - Static method in class net.chen.legacyLand.resource.BiomeResourceConfig
-
获取生物群落的资源掉落配置
- getResourceType(ItemStack) - Static method in class net.chen.legacyLand.resource.ResourceItemFactory
-
获取物品的资源类型
- getResourceType(ItemStack) - Method in class net.chen.legacyLand.resource.ResourceSystemManager
-
获取物品的资源类型
- getRestoreGameMode() - Method in class net.chen.legacyLand.config.ConfigManager
- getScanCount() - Method in class net.chen.legacyLand.resource.pricing.ChunkResourceManager
- getSeasonInfo() - Method in class net.chen.legacyLand.season.SeasonManager
-
获取当前季节信息
- getSeasonProgress() - Method in class net.chen.legacyLand.season.SeasonManager
-
获取季节进度百分比
- getSerialNumber(ItemStack) - Static method in class net.chen.legacyLand.economy.CurrencyItem
-
Deprecated.获取序列号
- getServer() - Method in class net.chen.legacyLand.LegacyLand
- getSession(Player) - Method in class net.chen.legacyLand.gui.GuiManager
-
获取玩家的活跃会话
- getSessionByInventory(Inventory) - Method in class net.chen.legacyLand.gui.GuiManager
-
通过 Inventory 获取会话
- getSiegeWar(String) - Method in class net.chen.legacyLand.war.siege.SiegeWarManager
-
获取攻城战
- getSiegeWarByWarId(String) - Method in class net.chen.legacyLand.war.siege.SiegeWarManager
-
通过战争ID获取攻城战
- getSlot() - Method in class net.chen.legacyLand.gui.elements.ButtonElement
- getSlot() - Method in class net.chen.legacyLand.gui.elements.DropdownElement
- getSlot() - Method in class net.chen.legacyLand.gui.elements.LabelElement
- getSlot() - Method in class net.chen.legacyLand.gui.elements.ListElement
- getSlot() - Method in class net.chen.legacyLand.gui.elements.MultiSelectElement
- getSlot() - Method in class net.chen.legacyLand.gui.elements.NumberInputElement
- getSlot() - Method in class net.chen.legacyLand.gui.elements.SeparatorElement
- getSlot() - Method in class net.chen.legacyLand.gui.elements.SliderElement
- getSlot() - Method in class net.chen.legacyLand.gui.elements.TextInputElement
- getSlot() - Method in interface net.chen.legacyLand.gui.GuiElement
-
获取元素的槽位位置
- getState(String) - Method in class net.chen.legacyLand.nation.tech.TechManager
- getString(String) - Method in class net.chen.legacyLand.gui.FormResult
-
获取字符串类型的数据
- getStringData(String) - Method in class net.chen.legacyLand.gui.GuiSession
-
获取字符串类型的会话数据
- getSupplyCount() - Method in class net.chen.legacyLand.war.siege.SupplyStation
-
获取补给数量
- getSupplyLineCheckInterval() - Method in class net.chen.legacyLand.config.ConfigManager
- getSupplyStationCapacity() - Method in class net.chen.legacyLand.config.ConfigManager
- getSupplyStationCost() - Method in class net.chen.legacyLand.config.ConfigManager
- getSupplyStationCount(String) - Method in class net.chen.legacyLand.war.siege.SiegeWar
-
获取补给站数量
- getSystem(String) - Method in class net.chen.legacyLand.nation.politics.PoliticalSystemManager
-
获取指定政体
- getSystemIds() - Method in class net.chen.legacyLand.nation.politics.PoliticalSystemManager
-
获取所有政体ID
- getTaxEfficiency() - Method in record class net.chen.legacyLand.nation.politics.PoliticalSystem
-
获取税收效率倍率
- getTemperatureColor(double) - Method in class net.chen.legacyLand.player.status.TemperatureManager
-
获取温度显示颜色
- getTemperatureDescription(double) - Method in class net.chen.legacyLand.player.status.TemperatureManager
-
获取温度描述
- getTexturePath() - Method in interface net.chen.legacyLand.item.CustomItem
-
材质贴图路径,如 "legacyland:item/bleed_spear"
- getTexturePath() - Method in class net.chen.legacyLand.item.items.BleedSpear
- getTimerWoolColor() - Method in class net.chen.legacyLand.war.flagwar.FlagWarData
-
获取当前计时器应该显示的羊毛颜色
- getTotalDecremented() - Method in class net.chen.legacyLand.resource.pricing.ChunkResourceManager
- getTotalEffect(String, String) - Method in class net.chen.legacyLand.nation.tech.TechManager
-
累加所有已完成节点对指定效果键的贡献
- getTotalSteps() - Method in class net.chen.legacyLand.gui.FormWizard
- getTotalValue(ItemStack) - Static method in class net.chen.legacyLand.economy.CurrencyItem
-
Deprecated.计算物品堆中的总货币价值
- getTownFacilities(String) - Method in class net.chen.legacyLand.nation.facility.FacilityManager
- getTownGoldCost() - Method in class net.chen.legacyLand.config.ConfigManager
- getTownWars(String) - Method in class net.chen.legacyLand.war.WarManager
-
获取城镇参与的战争
- getTreasury(String) - Method in class net.chen.legacyLand.economy.TreasuryManager
-
获取国库(内存未命中时自动从 DB 补全,防止 loadAllTreasuries 启动失败导致 map 为空)
- getTreasuryChest(String) - Method in class net.chen.legacyLand.nation.NationManager
-
获取国家国库箱子
- getTreasuryIncome() - Method in record class net.chen.legacyLand.nation.politics.PoliticalSystem
-
获取国库收入倍率
- getType() - Method in class net.chen.legacyLand.resource.IndustrialZoneManager.IndustrialZone
- getValidator() - Method in class net.chen.legacyLand.gui.elements.ButtonElement
- getValidator() - Method in class net.chen.legacyLand.gui.elements.DropdownElement
- getValidator() - Method in class net.chen.legacyLand.gui.elements.ListElement
- getValidator() - Method in class net.chen.legacyLand.gui.elements.MultiSelectElement
- getValidator() - Method in class net.chen.legacyLand.gui.elements.SeparatorElement
- getValidator() - Method in class net.chen.legacyLand.gui.elements.SliderElement
- getValidator() - Method in class net.chen.legacyLand.gui.elements.ToggleElement
- getValidator() - Method in interface net.chen.legacyLand.gui.GuiElement
-
获取元素的验证器
- getValue() - Method in class net.chen.legacyLand.gui.elements.ButtonElement
- getValue() - Method in class net.chen.legacyLand.gui.elements.DropdownElement
- getValue() - Method in class net.chen.legacyLand.gui.elements.LabelElement
- getValue() - Method in class net.chen.legacyLand.gui.elements.ListElement
- getValue() - Method in class net.chen.legacyLand.gui.elements.MultiSelectElement
- getValue() - Method in class net.chen.legacyLand.gui.elements.SeparatorElement
- getValue() - Method in class net.chen.legacyLand.gui.elements.SliderElement
- getValue() - Method in class net.chen.legacyLand.gui.elements.ToggleElement
- getValue() - Method in interface net.chen.legacyLand.gui.GuiElement
-
获取元素的当前值
- getVersion() - Method in class net.chen.legacyLand.placeholder.LegacyLandPlaceholder
- getVoteForPlayer(Player) - Method in class net.chen.legacyLand.war.civilwar.CivilWarManager
-
获取玩家所在城镇的当前投票(如果有)
- getWar(String) - Method in class net.chen.legacyLand.war.WarManager
-
获取战争
- getWarConditionCheckInterval() - Method in class net.chen.legacyLand.config.ConfigManager
- getWarCooldown() - Method in class net.chen.legacyLand.config.ConfigManager
- getWarCooldownModifier() - Method in record class net.chen.legacyLand.nation.politics.PoliticalSystem
-
获取战争冷却时间倍率
- getWarMaxDuration() - Method in class net.chen.legacyLand.config.ConfigManager
- getWizardData(String) - Method in class net.chen.legacyLand.gui.FormWizard
-
获取跨步骤数据
- getWizardId() - Method in class net.chen.legacyLand.gui.FormWizard
- getYesCount() - Method in class net.chen.legacyLand.war.civilwar.CivilWarVote
- getZoneAt(Location) - Method in class net.chen.legacyLand.resource.IndustrialZoneManager
-
检查位置是否在工业区域内
- getZoneAt(Location) - Method in class net.chen.legacyLand.resource.ResourceSystemManager
-
检查位置是否在工业区域内
- giveResourceToPlayer(Player, ResourceType, int) - Method in class net.chen.legacyLand.resource.ResourceSystemManager
-
给玩家发放资源物品
- GlobalItemListener - Class in net.chen.legacyLand.item
-
全局物品事件分发器 + 负重系统
- GlobalItemListener() - Constructor for class net.chen.legacyLand.item.GlobalItemListener
- GOLD_RUSH - Enum constant in enum class net.chen.legacyLand.achievements.Achievements
- GovernmentType - Enum Class in net.chen.legacyLand.nation
-
政体类型
- GOVERNOR - Enum constant in enum class net.chen.legacyLand.nation.NationRole
- grantAchievement(UUID, Achievements) - Method in class net.chen.legacyLand.achievements.AchievementManager
-
授予玩家成就
- GREEN_THUMB - Enum constant in enum class net.chen.legacyLand.achievements.Achievements
- GuaranteeCommand - Class in net.chen.legacyLand.nation.commands
-
外交保卫命令处理器
- GuaranteeCommand() - Constructor for class net.chen.legacyLand.nation.commands.GuaranteeCommand
- GuaranteeListener - Class in net.chen.legacyLand.nation.listeners
-
外交保卫事件监听器
- GuaranteeListener() - Constructor for class net.chen.legacyLand.nation.listeners.GuaranteeListener
- GuaranteeMaintenanceTask - Class in net.chen.legacyLand.nation.diplomacy
-
外交保卫维持费用定时任务 每小时检查并支付所有保卫关系的维持费用
- GuaranteeMaintenanceTask() - Constructor for class net.chen.legacyLand.nation.diplomacy.GuaranteeMaintenanceTask
- GuaranteeManager - Class in net.chen.legacyLand.nation.diplomacy
-
外交保卫管理器
- GuaranteeRelation - Class in net.chen.legacyLand.nation.diplomacy
-
外交保卫关系
- GuaranteeRelation(String, String) - Constructor for class net.chen.legacyLand.nation.diplomacy.GuaranteeRelation
- GuaranteeRelation(String, String, long, long, boolean) - Constructor for class net.chen.legacyLand.nation.diplomacy.GuaranteeRelation
-
用于从数据库加载的构造函数
- GuiElement - Interface in net.chen.legacyLand.gui
-
GUI 元素接口 所有 GUI 元素的基础接口,定义了元素的核心行为
- GuiForm - Class in net.chen.legacyLand.gui
-
GUI 表单抽象基类 所有表单的基础类,提供通用的表单管理功能
- GuiForm(String, String) - Constructor for class net.chen.legacyLand.gui.GuiForm
-
构造函数
- GuiForm(String, String, int) - Constructor for class net.chen.legacyLand.gui.GuiForm
-
构造函数(默认 6 行)
- GuiListener - Class in net.chen.legacyLand.gui
-
GUI 事件监听器 统一处理所有 GUI 相关的事件
- GuiListener() - Constructor for class net.chen.legacyLand.gui.GuiListener
- GuiManager - Class in net.chen.legacyLand.gui
-
GUI 管理器(单例) 管理所有 GUI 会话和表单
- GuiSession - Class in net.chen.legacyLand.gui
-
GUI 会话管理类 管理单个玩家的 GUI 交互会话
- GuiSession(Player, GuiForm) - Constructor for class net.chen.legacyLand.gui.GuiSession
-
构造函数
- GUNPOWDER_EXPERT - Enum constant in enum class net.chen.legacyLand.achievements.Achievements
All Classes and Interfaces|All Packages