___
Valkyrien Skies 2 的数据包交互:提供更强控制与乐趣的工具集

这款简易模组添加了多种命令和物品,旨在提升你的船只使用体验(QoL),这里指的可不是同人小说。我还加入了一些杂项兼容性漏洞修复。
制作此模组的终极理念是允许我通过命令方块和数据包来与船只进行交互。这包括生成整艘战舰等功能,但也可以轻松用于更多创意用途。“ship”子命令添加到 /data 命令后,船只的位置、旋转、线速度和角速度数据几乎无缝地与原版融合。
此外,它还包含其他 VS 扩展模组在 1.18.2 和 1.20.1 版本中添加但在 1.19.2 中缺失的实用功能。
? 信息
本模组添加的功能远不止命令!
? 命令
所有命令均通过 /vsutil 访问!完整的命令详解请参见 模组 Wiki。
shipify: 在指定位置创建一艘新船,包括其名称/标识符、是否为静态船、是否与其他船只发生碰撞以及其缩放比例
resize: 更改船只的缩放比例
getid: 根据船只的标识符获取其数字 ID
getslug: 根据船只的数字 ID 获取其标识符
disableCollisions: 如果不提供其他参数,则禁用该船的所有船间碰撞;否则禁用两艘指定船只之间的碰撞。
enableCollisions: 如果不提供其他参数,则启用该船的所有船间碰撞;否则启用两艘指定船只之间的碰撞。
interact: 如果未安装 Clockwork,则无效。远程激活指定位置的物理轴承、襟翼或螺旋桨轴承。
renameCurrent: 重命名执行命令时所处的船只。对于命令方块,位置即为命令方块本身;对于玩家,则是脚下方块的位置。
本模组还修改了原版的 /data 命令!
/data <argument> ship 现已存在,允许原版函数与数据包及 VS2 之间深度互动。有关 NBT 数据信息的详情,请查阅 模组 Wiki。
? 方块与物品
- 无碰撞魔杖:供那些希望手动切换两艘船只之间碰撞状态的玩家使用。
- 大/小螺旋桨
- 基于 VS: Tournament 中的对应螺旋桨进行修改;现在右键点击它们可以配置螺旋桨的属性
- 可以通过菜单锁定对螺旋桨的进一步更改。
- 包含一个配置文件,用于设置每个螺旋桨允许的最大属性值
? 修复
- 杂项兼容性修复(感谢 Endal!)
- 修复了 Create: Big Cannons 自动加农炮(及其衍生武器)在船上无法发出音效的问题。
- 修复了 Create: Big Cannons 投射物的物理效果和伤害计算
? 开发中特性
- 反重力魔杖 + 相关命令
- 自定义魔杖模型 + 音效
? 致谢与鸣谢
本项目使用了从 Kotlin 重写为 Java 的、源自 VS: Tournament 的稍作修改的代码,用于实现
螺旋桨方块。所有取自 Tournament 的代码均位于 vsutil.tournament 包下,并在 Apache-2.0 许可协议下使用。
艺术资源同样在相同许可协议下使用,并位于模组资源包下的 vs_tournament 命名空间中。原始许可证可在 此处 找到,软件副本中的许可证可在 此处 找到。
其他受版权保护的作品包括来自 Tank Tussle 社区的 Endal 提供的 Create: Big Cannons 兼容性漏洞修复及碰撞保存数据。
另外,还要感谢 Kaupenjoe 的教程 lol(如果没有他给我的起步帮助,我现在可能就不会在这里了)
___
Datapack interaction with Valkyrien Skies 2. Utilities for greater control & fun!

This simple mod adds various commands and items that improve your ship QoL, and I'm not talking about fanfiction. I also threw in some miscellaneous compatibility bug fixes.
The ultimate idea behind making this mod was to allow me to use command blocks and datapacks to interact with ships. This included stuff like spawning entire warships, but can easily be used for much more creative things. The ship position, rotation, velocity, and angular velocity data blends almost seamlessly with vanilla in the "ship" subcommand addition to the /data command.
It also includes other useful things that other VS addons have added for 1.18.2 and 1.20.1, but not for 1.19.2.
? Information
This mod adds more than just commands!
? Commands
Commands are accessed through /vsutil! A full breakdown of the commands is on the mod's wiki.
shipify: create a new ship at a position, including its name/slug, whether it's static, whether it has collisions with other ships, and its scale
resize: changes the scale of a ship
getid: Get a ship's numeric ID from its slug
getslug: Get a ship's slug from its numeric ID
disableCollisions: Disable ALL ship-to-ship collisions for a ship if no other arguments are given, otherwise disables collisions between two ships.
enableCollisions: Enable all ship-to-ship collisions for a ship if no other arguments are given, otherwise enables collisions between two ships.
interact: Does nothing if Clockwork is not installed. Activate a phys/flap/propeller bearing at a position remotely.
renameCurrent: renames the ship the command is executed on. For command blocks, the position is the command block itself. For players, the position of the block underneath.
This mod has also changed the vanilla /data command!
/data <argument> ship now exists, allowing deep interplay between vanilla functions & datapacks and VS2. Check the mod's wiki for NBT data info.
? Blocks & Items
- No Collision Wand for those who want to toggle collisions between two ships by hand.
- Big/Small Propeller
- Modified from their VS: Tournament counterparts; right-clicking them now allows configuration of the propeller's stats
- Further changes to a propeller can be locked from the menu.
- Includes a config for setting the maximum allowable stats for each propeller
? Fixes
- Misc. compatibility fixes (Credit to Endal!)
- Fixed sounds of Create: Big Cannons autocannons (and its siblings) not working on ships.
- Fixed Create: Big Cannons projectile physics and damage
? In-Development Features
- Antigravity wands + commands
- Custom wand models + sounds
? Credits & Thanks
This project uses slightly modified code rewritten from Kotlin into Java from VS: Tournament for
the propeller block. All code taken from Tournament is in the package vsutil.tournament and used under the Apache-2.0 license.
Artistic assets are likewise used under the same license and are located under the vs_tournament namespace in the mod's
resource pack. The original license may be found here, and a copy included in this software may be found here.
Other copyrighted work includes Create: Big Cannons compatibility bug fixes and collision save data by Endal from the Tank Tussle community.
Also, shoutout to Kaupenjoe for his tutorials lol (wouldn't be here now if not for the start he gave me)
评论 0
登录后参与评分
还没有评论,来抢沙发吧