Stellar API 是一个面向与天体相关的模组的通用 API。
这将是 Stellar Sky、Stellarium 和 Photoptics 的基础 API。
1.12.2 最新版本提供了可配置的昼夜长度和月份长度。你只能通过 Stellar API 来更改它们。
功能
Celestial API
由于这是一个关于天体的 API,因此存在 Celestial API 以实现更好的兼容性。
光学系统
目前存在一个由天体构成的光学系统。
- 默认:提供默认的望远镜,可通过右键点击使用放大功能。
- Photoptics 是增强 Stellar API 此部分的模组。
覆盖系统 (HUD)
- 目前 Stellar API 中已包含一个覆盖系统,提供易于配置的 HUD 元素。
- 可通过按 'U' 键显示的 HUD 进行操控。你也可以在此处禁用部分 HUD。
- 默认值:HUD 右上角显示日期描述信息。(位置可调)
唤醒条件配置
存在唤醒配置,可用于设置唤醒条件和时间。
按维度资源
目前提供按维度资源(纹理)命令,用于替换特定维度的资源。(/perdimres list/available/set/remove)
运行命令后,资源包将直接应用。
- /perdimres 可用:查看可用于替换的各维度资源 ID 列表。
- /perdimres list:查看当前已替换的维度专属资源。
- /perdimres set <PerDimResID> <resource location>:使用以下语法替换维度专属资源
- 资源位置在原版中为 '(assets 中的路径)',在模组中为 '(modid):(模组内资源路径)'。
- /perdimres remove <PerDimResID>:可以使用以下命令移除维度专属资源的替换
新功能 - WorldSets(世界集)
- WorldSets 用于确定应用天体设置的世界。
- 命名后的 WorldSets 可以通过世界名称进行配置。
新功能 - 可调整的天/月时长(无需 Stellar Sky)
- 现在可以调整天长度和月长度 - 请参见配置文件中的“World Settings”部分。
- 可以为每个 WorldSet 单独配置。若要更改自定义维度的天长度,请创建一个以该维度名称命名的 WorldSet 并进行配置。
- 还支持天/月偏移量和最低天空亮度 - 详细信息请参阅注释说明。
- 需要启用 Stellar API 调整选项 - 该选项同样位于世界设置中。
- 还有一个“强制配置”标志。开启时,配置文件的更改将应用于你打开的任何世界;关闭时,曾经至少加载过一次 Stellar API 的世界将不受影响。
截图
这些是使用默认望远镜拍摄的截图。
上述纹理错误已在最新版本中修复。
计划更新
Stellar API 目前正处于全面重写阶段,因此它将很好地作为天体和光学系统的 API 发挥作用。
- 将支持多种波长(伽马射线/X射线/紫外线/红外线/无线电波),以及自定义信号类型。(例如引力波)
- 提供 Celestial Entries(天体条目)来表达星系、行星系统以及恒星/行星。
- 允许对天体进行可配置的程序化生成,并支持预置系统。
当此次重写成功完成后,Stellarium 的开发工作将变得简单。
事物会发生变化;逐渐的变化将会发生。
Stellar API is general API for mods related with celestial objects.
This will be basis API for Stellar Sky, Stellarium, and Photoptics.
Latest version on 1.12.2 presents configurable day length and month length. You can change them only with Stellar API.
Features
Celestial API
Since this is API about celstial objects, there is celestial API which allows better compatibility.
Optical System
Currently there is optical system which is celestial objects.
- DEFAULT: There are default telescopes which provides magnification can be used using right-click.
- Photoptics is the mod enhancing this part of Stellar API.
Overlay System (HUD)
- Currently there is overlay system in Stellar API, which is easily configurable HUD elements.
- It can be manipulated by the HUD which can be displayed by pressing key 'U'. You can also disable some HUDs here.
- DEFAULT: Day Descriptor Information on the TopRight side of the HUD. (Which is positionable)
Wake Condition Configurations
There is wake configurations which can used to configure wake condition and time.
Per-Dimension Resources
Currently there is per-dimension resource(textrue) commands to replace resources per-dimension. (/perdimres list/available/set/remove)
The resources will be applied directly after the command is run.
- /perdimres available: View the list of per-dimension resource IDs available to replace.
- /perdimres list: View currently replaced per-dimension resources.
- /perdimres set <PerDimResID> <resource location>: Replace per-dimension resources using
- The resource location is '(location in assets)' in vanilla and '(modid):(location in per-mod resource location)'.
- /perdimres remove <PerDimResID>: Can remove per-dimension resource replacement using
New Feature - WorldSets
- WorldSets are for determining the world to apply celestial settings.
- Named WorldSets can be configured with world names.
New Feature - Adjustable Day/Month length (without Stellar Sky)
- Now day length and month length is adjustable - See World Settings in config for this.
- It can be configured for each WorldSet. To change day length of a custom dimension, create named WorldSet with the name of the dimension and configure it.
- Day/Month offset and minimum sky brightness are also available - check the details in the comments.
- Stellar API tweak should be enabled - it is in the world settings as well.
- There's also Force Configuration flag. When it's on, changes in configuration is applied to any world you open. When it's off, world which has been loaded at least once with Stellar API won't be affected.
Screenshots
These are screenshots using the default telescopes.
The texture error above is removed on the latest version.
Planned Updates
Stellar API is currently in total rewrite stage, so it would serve its role well as API for Celestial Objects and Optics.
- Several wavelengths (Gamma/X/UV/IR/Radiowave) will be supported, along with custom signal types. (Like gravitational waves)
- Celestial Entries to express Galaxies, Planetary Systems, and Stars/Planets.
- Allows Configurable Procedural Generation of Celestial Objects along with PreExisting Systems.
Development of Stellarium should be trivial when this rewrite is successfully finished.
Things are subjected to change; Gradual change will occur.
下载 Stellar API
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Stellar API
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Stellar API
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Stellar API
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Stellar API
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Stellar API
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Stellar API
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Stellar API
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Stellar API
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Stellar API
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
- 修复了 Smath 计算问题。关键性修复...
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
评论 0
登录后参与评分
还没有评论,来抢沙发吧