Index
All Classes and Interfaces|All Packages
I
- icon(Material) - Method in class net.chen.legacyLand.gui.elements.DropdownElement
- icon(Material) - Method in class net.chen.legacyLand.gui.elements.NumberInputElement
- icon(Material) - Method in class net.chen.legacyLand.gui.elements.TextInputElement
- id() - Method in record class net.chen.legacyLand.nation.law.ActiveLaw
-
Returns the value of the
idrecord component. - id() - Method in record class net.chen.legacyLand.nation.politics.PoliticalSystem
-
Returns the value of the
idrecord component. - id() - Method in record class net.chen.legacyLand.nation.tech.TechNode
-
Returns the value of the
idrecord component. - id() - Method in record class net.chen.legacyLand.resource.pricing.LandPriceInquiry
-
Returns the value of the
idrecord component. - IDatabase - Interface in net.chen.legacyLand.database
-
数据库接口 定义所有数据库操作
- IMPORT_BAN - Enum constant in enum class net.chen.legacyLand.nation.law.LawType
- IMPURE_COPPER - Enum constant in enum class net.chen.legacyLand.resource.ResourceType
- IMPURE_GOLD - Enum constant in enum class net.chen.legacyLand.resource.ResourceType
- IMPURE_IRON - Enum constant in enum class net.chen.legacyLand.resource.ResourceType
- incompatiblePluginsChecker() - Static method in class net.chen.legacyLand.LegacyLand
-
Deprecated.
- increaseQuantity(int) - Method in class net.chen.legacyLand.organization.outpost.OutpostGoods
-
增加数量
- indexes - Variable in class net.chen.legacyLand.database.DatabaseMigration.TableDef
- IndustrialRefineListener - Class in net.chen.legacyLand.resource.listeners
-
工业精炼监听器 限制高纯度资源只能在国家熔炉精炼
- IndustrialRefineListener(LegacyLand, Economy) - Constructor for class net.chen.legacyLand.resource.listeners.IndustrialRefineListener
- IndustrialZone(String, Location, double, IndustrialZoneManager.ZoneType) - Constructor for class net.chen.legacyLand.resource.IndustrialZoneManager.IndustrialZone
- IndustrialZoneManager - Class in net.chen.legacyLand.resource
-
工业区域管理器 管理国家熔炉等特殊工业区域
- IndustrialZoneManager.IndustrialZone - Class in net.chen.legacyLand.resource
-
工业区域配置
- IndustrialZoneManager.ZoneType - Enum Class in net.chen.legacyLand.resource
-
区域类型
- init() - Static method in class net.chen.legacyLand.achievements.event.AchievementsEvents
- init() - Method in class net.chen.legacyLand.economy.tax.TaxManager
- init() - Method in class net.chen.legacyLand.economy.TreasuryManager
-
初始化
- init() - Static method in class net.chen.legacyLand.item.items.ModItems
-
触发所有物品的静态初始化(在插件 onEnable 中调用一次)
- init() - Method in class net.chen.legacyLand.resource.crafting.SmeltingRecipe
- init() - Method in class net.chen.legacyLand.resource.ResourceSystemManager
-
初始化资源系统
- init() - Method in class net.chen.legacyLand.util.LanguageManager
-
初始化语言系统
- init(Connection) - Method in class net.chen.legacyLand.market.MarketManager
- init(Connection) - Method in class net.chen.legacyLand.nation.law.LawManager
- init(Connection) - Method in class net.chen.legacyLand.nation.tech.TechManager
- init(Connection) - Method in class net.chen.legacyLand.organization.OrganizationManager
- init(LegacyLand) - Static method in class net.chen.legacyLand.resource.pricing.ChunkResourceManager
- init(LegacyLand) - Static method in class net.chen.legacyLand.resource.pricing.LandPriceManager
- init(Plugin) - Static method in class net.chen.legacyLand.resource.ResourceItemFactory
- initialize() - Method in class net.chen.legacyLand.gui.forms.DiplomacyActionForm
- initialize() - Method in class net.chen.legacyLand.gui.forms.DiplomacyOverviewForm
- initialize() - Method in class net.chen.legacyLand.gui.forms.NationOverviewForm
- initialize() - Method in class net.chen.legacyLand.gui.forms.PlayerMenuForm
- initialize() - Method in class net.chen.legacyLand.gui.GuiForm
-
初始化表单(子类实现) 用于添加元素和设置回调
- initialize() - Method in class net.chen.legacyLand.season.integration.CustomCropsIntegration
-
初始化集成模块 检测 CustomCrops 插件是否存在并注册 SeasonProvider
- initialize(JavaPlugin) - Static method in class net.chen.legacyLand.gui.GuiManager
-
初始化管理器,并启动超时清理任务(每 30 秒检查一次,超时 5 分钟)
- initItemsadderItems() - Static method in class net.chen.legacyLand.LegacyLand
- INJURY - Enum constant in enum class net.chen.legacyLand.player.PlayerStatus.StatusType
- InjuryStatus - Enum Class in net.chen.legacyLand.player.status
-
受伤状态(战场状态)
- instance - Static variable in class net.chen.legacyLand.nation.facility.FacilityManager
- INSUFFICIENT_FUNDS - Enum constant in enum class net.chen.legacyLand.market.MarketManager.PurchaseResult
- INSUFFICIENT_FUNDS - Enum constant in enum class net.chen.legacyLand.nation.transaction.NationTradeManager.TradeResult
- INSUFFICIENT_FUNDS - Enum constant in enum class net.chen.legacyLand.organization.OrganizationManager.OrganizationCreateResult
- INSUFFICIENT_FUNDS - Enum constant in enum class net.chen.legacyLand.organization.OrganizationManager.OutpostCreateResult
- INSUFFICIENT_POINTS - Enum constant in enum class net.chen.legacyLand.nation.tech.TechManager.ResearchResult
- insuranceFee() - Method in record class net.chen.legacyLand.resource.LogisticsCalculator.TransportCost
-
Returns the value of the
insuranceFeerecord component. - integerOnly(boolean) - Method in class net.chen.legacyLand.gui.elements.NumberInputElement
- integerOnly(boolean) - Method in class net.chen.legacyLand.gui.elements.SliderElement
- INVALID_PARAMS - Enum constant in enum class net.chen.legacyLand.nation.law.LawManager.EnactResult
- INVALID_PARAMS - Enum constant in enum class net.chen.legacyLand.nation.law.LawManager.ProposeResult
- INVALID_PARAMS - Enum constant in enum class net.chen.legacyLand.nation.transaction.NationTradeManager.TradeResult
- INVALID_PRICE - Enum constant in enum class net.chen.legacyLand.market.MarketManager.PriceSetResult
- INVENTORY_FULL - Enum constant in enum class net.chen.legacyLand.market.MarketManager.PurchaseResult
- inviteMember(Organization, Player, OrganizationRole) - Method in class net.chen.legacyLand.organization.OrganizationManager
-
邀请玩家加入
- involves(String) - Method in class net.chen.legacyLand.nation.diplomacy.DiplomacyRelation
-
检查是否涉及指定国家
- involves(String) - Method in class net.chen.legacyLand.nation.diplomacy.GuaranteeRelation
-
检查是否涉及指定国家
- IRON_COLLECTOR - Enum constant in enum class net.chen.legacyLand.achievements.Achievements
- isActive() - Method in class net.chen.legacyLand.market.MarketChest
- isAlliance() - Method in enum class net.chen.legacyLand.nation.diplomacy.RelationType
- isAllied(String, String) - Method in class net.chen.legacyLand.nation.diplomacy.DiplomacyManager
-
检查两国是否是盟友
- isAsyncProcessingEnabled() - Method in class net.chen.legacyLand.config.ConfigManager
- isAtWar(String, String) - Method in class net.chen.legacyLand.nation.diplomacy.DiplomacyManager
-
检查两国是否处于战争状态
- isAtWar(String, String) - Method in class net.chen.legacyLand.war.WarManager
-
检查两个国家是否在战争中
- isAutoPlaceCityCore() - Method in class net.chen.legacyLand.config.ConfigManager
- isBlueMap - Variable in class net.chen.legacyLand.LegacyLand
- isCivilWarAllowed() - Method in class net.chen.legacyLand.config.ConfigManager
- isClickable() - Method in class net.chen.legacyLand.gui.elements.NumberInputElement
- isClickable() - Method in class net.chen.legacyLand.gui.elements.TextInputElement
- isClickable() - Method in interface net.chen.legacyLand.gui.GuiElement
-
检查元素是否可点击
- isCompleted() - Method in class net.chen.legacyLand.war.flagwar.FlagWarData
-
检查是否已完成(计时器达到100%)
- isCurrency(ItemStack) - Static method in class net.chen.legacyLand.economy.CurrencyItem
-
Deprecated.检查是否为货币物品
- isCut() - Method in class net.chen.legacyLand.war.siege.SupplyLine
-
检查补给线是否被切断
- isDebugEnabled() - Method in class net.chen.legacyLand.config.ConfigManager
- isDev - Variable in class net.chen.legacyLand.LegacyLand
- isEmpty() - Method in class net.chen.legacyLand.war.siege.SupplyStation
-
检查是否为空
- isEnabled(Player) - Method in class net.chen.legacyLand.gui.elements.ButtonElement
- isEnabled(Player) - Method in class net.chen.legacyLand.gui.elements.LabelElement
- isEnabled(Player) - Method in class net.chen.legacyLand.gui.elements.SeparatorElement
- isEnabled(Player) - Method in interface net.chen.legacyLand.gui.GuiElement
-
检查元素是否可交互
- isEnded() - Method in enum class net.chen.legacyLand.war.flagwar.FlagWarStatus
-
检查是否已结束
- isEnded() - Method in enum class net.chen.legacyLand.war.WarStatus
- isEnemyInteractionAllowed() - Method in class net.chen.legacyLand.config.ConfigManager
- isExpired() - Method in record class net.chen.legacyLand.nation.law.ActiveLaw
- isExpired() - Method in class net.chen.legacyLand.nation.law.LawProposal
- isExpired() - Method in class net.chen.legacyLand.war.civilwar.CivilWarVote
- isFolia() - Static method in class net.chen.legacyLand.util.FoliaScheduler
- isForceDrawOnTimeout() - Method in class net.chen.legacyLand.config.ConfigManager
- isFriendly() - Method in enum class net.chen.legacyLand.nation.diplomacy.RelationType
- isFriendlyInteractionAllowed() - Method in class net.chen.legacyLand.config.ConfigManager
- isFrontlineSoldierOnly() - Method in class net.chen.legacyLand.config.ConfigManager
- isFull() - Method in class net.chen.legacyLand.war.siege.SupplyStation
-
检查是否已满
- isHighPurityResource(ItemStack) - Static method in class net.chen.legacyLand.resource.ResourceItemFactory
-
检查物品是否是高纯度资源
- isHostile() - Method in enum class net.chen.legacyLand.nation.diplomacy.RelationType
- isInFrontline(Location) - Method in class net.chen.legacyLand.war.siege.SiegeWar
-
检查位置是否在前线
- isInRange(Location) - Method in class net.chen.legacyLand.organization.outpost.Outpost
-
检查位置是否在据点范围内
- isInWarZone(Location) - Method in class net.chen.legacyLand.war.siege.SiegeWar
-
检查位置是否在战争区
- isLeader() - Method in enum class net.chen.legacyLand.nation.NationRole
- isLeader(UUID) - Method in class net.chen.legacyLand.organization.Organization
-
检查玩家是否是 Leader
- isLineLocked(String, String) - Method in class net.chen.legacyLand.nation.tech.TechManager
- isMarketChest(Location) - Method in class net.chen.legacyLand.market.MarketManager
- isMember(UUID) - Method in class net.chen.legacyLand.organization.Organization
-
检查玩家是否是成员
- isMember(Player, Town) - Method in class net.chen.legacyLand.resource.pricing.LandPriceManager
-
玩家是否为该 Town 的成员(含市长/国王)。
- isMet(int) - Method in record class net.chen.legacyLand.item.attribute.TechRequirement
-
检查国家已完成的节点中,指定科技线的最高 tier 是否满足需求
- isMintingBlock(Block) - Method in class net.chen.legacyLand.economy.minting.MintingBlock
- isMintingBlockItem(ItemStack) - Method in class net.chen.legacyLand.economy.minting.MintingBlock
- isMultipleAlliancesAllowed() - Method in class net.chen.legacyLand.config.ConfigManager
- isMysql() - Method in class net.chen.legacyLand.economy.EconomyDatabase
-
是否为 MySQL
- isNationalOrganization() - Method in class net.chen.legacyLand.organization.Organization
-
是否是国家组织
- isNationDeletionAllowed() - Method in class net.chen.legacyLand.config.ConfigManager
- isNeutralInteractionAllowed() - Method in class net.chen.legacyLand.config.ConfigManager
- isOnCooldown(String) - Method in class net.chen.legacyLand.nation.politics.PoliticalSystemManager
-
检查国家是否在切换冷却中
- isOpen() - Method in class net.chen.legacyLand.organization.outpost.Outpost
-
是否开放
- isOutpostReady() - Method in class net.chen.legacyLand.war.War
-
检查前哨战是否已维持1小时
- isOverOneHour() - Method in class net.chen.legacyLand.war.War
-
检查是否超过1小时
- isPassed(int) - Method in class net.chen.legacyLand.nation.law.LawProposal
- isPassed(int) - Method in class net.chen.legacyLand.war.civilwar.CivilWarVote
-
判断投票是否通过(赞成票超过城镇总居民数的一半)
- isPermanent() - Method in record class net.chen.legacyLand.nation.law.ActiveLaw
- isProtected(String) - Method in class net.chen.legacyLand.nation.diplomacy.GuaranteeManager
-
检查国家是否受保护
- isPubliclyShown(String) - Method in class net.chen.legacyLand.resource.pricing.LandPriceManager
- isReady() - Method in class net.chen.legacyLand.war.siege.Outpost
-
检查前哨战是否已维持1小时
- isReplied() - Method in record class net.chen.legacyLand.resource.pricing.LandPriceInquiry
- isResourceItem(ItemStack) - Static method in class net.chen.legacyLand.resource.ResourceItemFactory
-
检查物品是否是特殊资源
- isResourceItem(ItemStack) - Method in class net.chen.legacyLand.resource.ResourceSystemManager
-
检查物品是否是特殊资源
- isRestoreGameModeOnEnd() - Method in class net.chen.legacyLand.config.ConfigManager
- isRoleAllowed(NationRole) - Method in record class net.chen.legacyLand.nation.politics.PoliticalSystem
-
检查该政体下是否允许指定角色
- isSiegeEnabled() - Method in class net.chen.legacyLand.config.ConfigManager
- isSpectatorModeForNonParticipants() - Method in class net.chen.legacyLand.config.ConfigManager
- ISSUE_ARREST_WARRANT - Enum constant in enum class net.chen.legacyLand.nation.NationPermission
- ISSUE_SUPPLY_TRANSPORT - Enum constant in enum class net.chen.legacyLand.nation.NationPermission
- issueCurrency(String, double, String) - Method in class net.chen.legacyLand.economy.TreasuryManager
-
发行货币
- isSupplyLineCut() - Method in class net.chen.legacyLand.war.siege.SiegeWar
-
检查补给线是否被切断
- isSupported(Locale) - Method in class net.chen.legacyLand.util.LanguageManager
-
检查是否支持指定语言
- isTownNationCreationEnabled() - Method in class net.chen.legacyLand.config.ConfigManager
- isTreasurySeal(ItemStack) - Static method in class net.chen.legacyLand.economy.CurrencyItem
-
Deprecated.检查是否为国库印章
- isValid() - Method in class net.chen.legacyLand.war.siege.Outpost
-
检查是否有效(需要至少2人在附近)
- isValidSystem(String) - Method in class net.chen.legacyLand.nation.politics.PoliticalSystemManager
-
检查政体ID是否有效
- isVisible(Player) - Method in class net.chen.legacyLand.gui.elements.ButtonElement
- isVisible(Player) - Method in interface net.chen.legacyLand.gui.GuiElement
-
检查元素是否可见
- isWarEnabled() - Method in class net.chen.legacyLand.config.ConfigManager
- isWarProtectionEnabled() - Method in class net.chen.legacyLand.config.ConfigManager
- ITEM_ID_KEY - Static variable in interface net.chen.legacyLand.item.CustomItem
- ItemAttributes - Class in net.chen.legacyLand.item.attribute
-
物品属性数据类,使用 Builder 模式构建
- ItemAttributes.Builder - Class in net.chen.legacyLand.item.attribute
- ItemBuilder - Class in net.chen.legacyLand.item
- ItemBuilder(Material) - Constructor for class net.chen.legacyLand.item.ItemBuilder
- ItemClickEvent(ItemStack, Player, Date) - Constructor for class net.chen.legacyLand.item.event.ItemEvents.ItemClickEvent
- ItemEvents - Class in net.chen.legacyLand.item.event
- ItemEvents() - Constructor for class net.chen.legacyLand.item.event.ItemEvents
- ItemEvents.ItemClickEvent - Class in net.chen.legacyLand.item.event
- ItemsRegistry - Class in net.chen.legacyLand.item
-
物品注册中心,模仿 Fabric Registry 风格 用法: public static final CustomItem MERCURY_THERMOMETER = ItemsRegistry.register("mercury_thermometer", new ThermometerItem());
All Classes and Interfaces|All Packages