Index
All Classes and Interfaces|All Packages
R
- realType() - Method in class net.chen.legacyLand.economy.EconomyDatabase
-
数据库适配:浮点数类型
- recordFoodConsumption(Player, String) - Method in class net.chen.legacyLand.player.status.PlayerStatusManager
-
记录食物消费
- refresh() - Method in class net.chen.legacyLand.gui.GuiSession
-
刷新当前 GUI
- refreshLore(Player, ItemStack) - Method in interface net.chen.legacyLand.item.CustomItem
-
根据玩家国家科技动态更新 Lore 警告
- register(String, T) - Static method in class net.chen.legacyLand.item.ItemsRegistry
-
注册自定义物品
- register(Location) - Method in class net.chen.legacyLand.economy.minting.MintingBlock
- registerChest(Player, Location) - Method in class net.chen.legacyLand.market.MarketManager
-
注册销售箱(玩家在市场地块放置箱子时自动调用)
- registerEffect(String, PoliticalEffect) - Method in class net.chen.legacyLand.nation.politics.PoliticalSystemManager
-
为指定政体注册自定义效果
- registerEffectFactory(String, PoliticalEffectFactory) - Method in class net.chen.legacyLand.nation.politics.PoliticalSystemManager
-
注册效果工厂(用于从配置创建效果)
- registerForm(String, Class) - Method in class net.chen.legacyLand.gui.GuiManager
-
注册表单类
- registerIndustrialZone(String, Location, double, IndustrialZoneManager.ZoneType) - Method in class net.chen.legacyLand.resource.ResourceSystemManager
-
注册工业区域
- registerInventory(Inventory, GuiSession) - Method in class net.chen.legacyLand.gui.GuiManager
-
注册 Inventory 到会话的映射
- registerZone(String, IndustrialZoneManager.IndustrialZone) - Method in class net.chen.legacyLand.resource.IndustrialZoneManager
-
注册工业区域
- RelationType - Enum Class in net.chen.legacyLand.nation.diplomacy
-
外交关系类型
- reload() - Method in class net.chen.legacyLand.economy.tax.TaxManager
- reload() - Method in class net.chen.legacyLand.util.LanguageManager
-
重新加载所有语言文件
- reloadConfig() - Method in class net.chen.legacyLand.config.ConfigManager
-
重载配置
- reloadConfig() - Method in class net.chen.legacyLand.LegacyLand
- remove(UUID) - Method in class net.chen.legacyLand.economy.minting.MintingSessionManager
- removeAchievement(Achievements) - Method in class net.chen.legacyLand.player.PlayerData
- removeBossBar(PlotClaim) - Static method in class net.chen.legacyLand.nation.plot.PlotClaimTimerTask
-
移除占领进度条
- removeChest(String) - Method in class net.chen.legacyLand.market.Market
- removeChunkPriceMarker(String, int, int) - Method in class net.chen.legacyLand.resource.pricing.map.ChunkPriceMap
-
单点移除:从对应世界缓存里删除 markerId。
- removeElement(String) - Method in class net.chen.legacyLand.gui.GuiForm
-
移除元素
- removeFacility(String, FacilityType) - Method in class net.chen.legacyLand.nation.facility.FacilityManager
- removeFromPlayer(Player) - Method in class net.chen.legacyLand.nation.politics.effects.SpeedBoostEffect
-
移除玩家的速度效果(可在玩家离开国家事件中调用)
- removeGoods(String) - Method in class net.chen.legacyLand.organization.outpost.Outpost
-
移除货物
- removeGoods(Outpost, String) - Method in class net.chen.legacyLand.organization.OrganizationManager
-
删除货物
- removeGuarantee(String, String) - Method in class net.chen.legacyLand.nation.diplomacy.GuaranteeManager
-
取消保卫关系
- removeMarketPointFromMap(String, String) - Method in class net.chen.legacyLand.market.MarketManager
- removeMember(UUID) - Method in class net.chen.legacyLand.organization.Organization
-
移除成员
- removeNationData(String) - Method in class net.chen.legacyLand.nation.NationManager
-
移除国家扩展数据
- removeNationPriceMarker(Nation) - Method in class net.chen.legacyLand.resource.pricing.map.ChunkPriceMap
-
从所有世界的 MarkerSet 中移除指定国家的 POI(用于解散事件)。
- removeParticipant(UUID) - Method in class net.chen.legacyLand.war.WarManager
-
移除参与者
- removePermission(OrganizationPermission) - Method in class net.chen.legacyLand.organization.OrganizationMember
-
移除权限
- removePlayer(UUID) - Method in class net.chen.legacyLand.player.status.TemperatureManager
-
玩家退出时清理温度数据
- removePlayerData(UUID) - Method in class net.chen.legacyLand.player.PlayerManager
-
移除玩家数据
- removePlayerRole(String, UUID) - Method in class net.chen.legacyLand.database.DatabaseManager
-
Deprecated.
- removePlayerRole(String, UUID) - Method in interface net.chen.legacyLand.database.IDatabase
- removePlayerRole(String, UUID) - Method in class net.chen.legacyLand.database.MongoDatabase
-
Deprecated.
- removePlayerRole(String, UUID) - Method in class net.chen.legacyLand.database.MySQLDatabase
- removePlayerRole(String, UUID) - Method in class net.chen.legacyLand.database.SQLiteDatabase
- removeRelation(String, String) - Method in class net.chen.legacyLand.nation.diplomacy.DiplomacyManager
-
移除外交关系(恢复中立)
- removeReserve(String, double) - Method in class net.chen.legacyLand.economy.TreasuryManager
- removeSiegeWar(String) - Method in class net.chen.legacyLand.war.siege.SiegeWarManager
-
删除攻城战
- removeSupply() - Method in class net.chen.legacyLand.war.siege.SupplyStation
-
移除补给
- removeSupplyStation(Location) - Method in class net.chen.legacyLand.war.siege.SiegeWar
-
移除补给站
- render(GuiSession) - Method in class net.chen.legacyLand.gui.elements.ButtonElement
- render(GuiSession) - Method in class net.chen.legacyLand.gui.elements.DropdownElement
- render(GuiSession) - Method in class net.chen.legacyLand.gui.elements.LabelElement
- render(GuiSession) - Method in class net.chen.legacyLand.gui.elements.ListElement
- render(GuiSession) - Method in class net.chen.legacyLand.gui.elements.MultiSelectElement
- render(GuiSession) - Method in class net.chen.legacyLand.gui.elements.NumberInputElement
- render(GuiSession) - Method in class net.chen.legacyLand.gui.elements.SeparatorElement
- render(GuiSession) - Method in class net.chen.legacyLand.gui.elements.SliderElement
- render(GuiSession) - Method in class net.chen.legacyLand.gui.elements.TextInputElement
- render(GuiSession) - Method in class net.chen.legacyLand.gui.elements.ToggleElement
- render(GuiSession) - Method in interface net.chen.legacyLand.gui.GuiElement
-
渲染元素为物品堆
- render(Player, GuiSession) - Method in class net.chen.legacyLand.gui.GuiForm
-
渲染表单
- renderToInventory(Inventory) - Method in class net.chen.legacyLand.gui.elements.ListElement
-
将列表渲染到整个 Inventory(由 GuiForm 调用)
- renderToInventory(Inventory) - Method in class net.chen.legacyLand.gui.elements.MultiSelectElement
- renderToInventory(Inventory) - Method in class net.chen.legacyLand.gui.elements.SliderElement
-
渲染减号按钮(slot)、当前值(slot+1)、加号按钮(slot+2)到 Inventory
- repealAchievement(UUID, Achievements) - Method in class net.chen.legacyLand.achievements.AchievementManager
-
移除玩家成就
- repealLaw(Player, String, String) - Method in class net.chen.legacyLand.nation.law.LawManager
-
废除法令(需要 ENACT_LAW 权限)
- repliedAt() - Method in record class net.chen.legacyLand.resource.pricing.LandPriceInquiry
-
Returns the value of the
repliedAtrecord component. - repliedBy() - Method in record class net.chen.legacyLand.resource.pricing.LandPriceInquiry
-
Returns the value of the
repliedByrecord component. - repliedByName() - Method in record class net.chen.legacyLand.resource.pricing.LandPriceInquiry
-
Returns the value of the
repliedByNamerecord component. - replyInquiry(String, long, Player, double) - Method in class net.chen.legacyLand.resource.pricing.LandPriceManager
-
回复询问,返回是否成功(询问不存在或已回复返回 false)。
- REPORTER - Enum constant in enum class net.chen.legacyLand.player.Profession
- REPUBLIC - Enum constant in enum class net.chen.legacyLand.nation.GovernmentType
-
城市共和制
- requestedItem() - Method in record class net.chen.legacyLand.nation.TreasuryRequest
-
Returns the value of the
requestedItemrecord component. - requestId() - Method in record class net.chen.legacyLand.nation.TreasuryRequest
-
Returns the value of the
requestIdrecord component. - requestTime() - Method in record class net.chen.legacyLand.nation.TreasuryRequest
-
Returns the value of the
requestTimerecord component. - requestWithdraw(Player, ItemStack) - Method in class net.chen.legacyLand.nation.NationManager
-
申请从国库取物
- requiredTier() - Method in record class net.chen.legacyLand.item.attribute.TechRequirement
-
Returns the value of the
requiredTierrecord component. - research(String, String) - Method in class net.chen.legacyLand.nation.tech.TechManager
- RESEARCH_BOOST - Enum constant in enum class net.chen.legacyLand.nation.law.LawType
- resetProgress() - Method in class net.chen.legacyLand.war.siege.Outpost
-
重置进度
- ResourceBlockBreakListener - Class in net.chen.legacyLand.resource.pricing.listener
-
区块资源采集监听器(P2)。
- ResourceBlockBreakListener() - Constructor for class net.chen.legacyLand.resource.pricing.listener.ResourceBlockBreakListener
- ResourceCommand - Class in net.chen.legacyLand.resource.commands
-
资源系统命令 /resource
- ResourceCommand(ResourceSystemManager) - Constructor for class net.chen.legacyLand.resource.commands.ResourceCommand
- ResourceDrop(ResourceType, double) - Constructor for record class net.chen.legacyLand.resource.BiomeResourceConfig.ResourceDrop
-
Creates an instance of a
ResourceDroprecord class. - ResourceItemFactory - Class in net.chen.legacyLand.resource
-
资源物品工厂 创建和识别特殊资源物品
- ResourceItemFactory() - Constructor for class net.chen.legacyLand.resource.ResourceItemFactory
- ResourcePackExporter - Class in net.chen.legacyLand.item
-
资源包 overrides 导出工具 输出格式(可直接嵌入 minecraft/models/item/
.json 的 overrides 数组): { "glass_bottle": [ { "predicate": { "custom_model_data": 1001 }, "model": "legacyland:item/mercury_thermometer" } ] } - ResourcePricingConfig - Class in net.chen.legacyLand.resource.pricing
-
资源稀缺度定价系统的运行参数(P1:扫描参数与权重;P2 将复用同一份配置)。
- ResourcePricingConfig() - Constructor for class net.chen.legacyLand.resource.pricing.ResourcePricingConfig
- ResourceSystemManager - Class in net.chen.legacyLand.resource
-
资源系统管理器 统一管理资源产出、精炼、物流等功能
- resourceType() - Method in record class net.chen.legacyLand.resource.BiomeResourceConfig.ResourceDrop
-
Returns the value of the
resourceTyperecord component. - ResourceType - Enum Class in net.chen.legacyLand.resource
-
资源类型枚举 定义不同品质的资源
- restore() - Method in class net.chen.legacyLand.war.siege.SupplyLine
-
恢复补给线
- restoreHydration(int) - Method in class net.chen.legacyLand.player.PlayerData
-
恢复饮水值
- resumeClaim(UUID) - Method in class net.chen.legacyLand.nation.plot.PlotClaimManager
-
恢复占领
- returnMaterials(Player, MintingSession) - Method in class net.chen.legacyLand.economy.minting.MintingSessionManager
- revokeCurrency(String) - Method in class net.chen.legacyLand.economy.TreasuryManager
-
作废货币
- roleNames() - Method in record class net.chen.legacyLand.nation.politics.PoliticalSystem
-
Returns the value of the
roleNamesrecord component. - RUBBISH_BAGGER - Enum constant in enum class net.chen.legacyLand.achievements.Achievements
- run() - Method in class net.chen.legacyLand.nation.diplomacy.GuaranteeMaintenanceTask
- run() - Method in class net.chen.legacyLand.nation.facility.FacilityTimerTask
- run() - Method in class net.chen.legacyLand.nation.law.LawTimerTask
- run() - Method in class net.chen.legacyLand.nation.plot.PlotClaimTimerTask
- run() - Method in class net.chen.legacyLand.nation.tech.TechPointTask
- run() - Method in class net.chen.legacyLand.player.status.ActionBarUpdateTask
- run() - Method in class net.chen.legacyLand.player.status.StatusUpdateTask
- run() - Method in class net.chen.legacyLand.resource.pricing.ChunkResourceRecalcTask
- run() - Method in class net.chen.legacyLand.resource.pricing.ChunkScanTask
- run() - Method in class net.chen.legacyLand.war.civilwar.CivilWarTimerTask
- run() - Method in class net.chen.legacyLand.war.flagwar.FlagWarTimerTask
- run() - Method in class net.chen.legacyLand.war.siege.OutpostMonitorTask
- runAsyncOnce(Plugin, Runnable) - Static method in class net.chen.legacyLand.util.FoliaScheduler.FoliaSchedule
- runAsyncRepeating(Plugin, Runnable, long, long) - Static method in class net.chen.legacyLand.util.FoliaScheduler.FoliaSchedule
- runForPlayer(Plugin, Player, Runnable) - Static method in class net.chen.legacyLand.util.FoliaScheduler
-
在玩家所在区域调度器上运行单次任务
- runTaskAsync(Plugin, Runnable) - Static method in class net.chen.legacyLand.util.FoliaScheduler
-
在异步线程运行任务(用于 DB / IO 操作,避免阻塞主线程)
- runTaskGlobal(Plugin, Runnable) - Static method in class net.chen.legacyLand.util.FoliaScheduler
-
在全局调度器上运行单次任务
- runTaskTimerAtLocation(Plugin, Location, Runnable, long, long) - Static method in class net.chen.legacyLand.util.FoliaScheduler
-
在区域调度器上运行重复任务(适用于特定位置的任务)
- runTaskTimerGlobal(Plugin, Runnable, long, long) - Static method in class net.chen.legacyLand.util.FoliaScheduler
-
在全局调度器上运行重复任务(适用于不依赖特定区域的任务,如遍历所有玩家)
All Classes and Interfaces|All Packages