传送垫
传送垫(Warp Pads)是一个数据包,允许玩家创建并在世界中的传送垫之间进行传送。它旨在为生存模式的 Minecraft 保持平衡,同时对所有游戏模式的玩家都有益。
传送垫遵循 Minecraft 数据包的 官方约定 和风格 以及 Smithed 约定,以确保与其他认证数据包的兼容性。
警告:
传送垫会强制加载其所在的区块。这在大尺度下可能导致性能开销,并可能被玩家用于非预期用途。如果您是服务器所有者或高级玩家,请在安装前考虑此行为。一个不错的选择是 Waystones。
关于
功能
- 支持多人游戏
- 无需额外的资源包(支持可选纹理)
- 无限传送距离
- 可配置
- 物品、层级、效果、数值
- 需要使用 Trident 重新编译
- 每个游戏阶段都有平衡的层级
- 传送垫自定义
- 低性能影响
- 自定义进度
- 自定义维度支持
- 无恒定冷却时间或长动画
- 较低层级的快速传送将触发冷却时间,以鼓励使用更高层级
- 传送流频率以实现额外组织
- 与玩家绑定的私人传送垫
- 传送乘客系统
使用方法
要传送,请站在传送垫上,注视目标传送垫的指示器,然后潜行(默认为左 Shift)。任何位于传送垫上的生物或玩家也将被传送。
合成
可以在合成台中按以下方式合成传送垫:
制作(替代方法,带有精美动画)
每个传送垫需要一个主要物品和四个次要物品,将其放置在基础方块上。各层级的说明如下:
- 第一层 - 在金块上放置一颗末影珍珠和四片紫水晶碎片。最大半径为 1000 格。
- 第二层 - 在紫水晶块上放置一个末影之眼和四块下界石英。最大半径为 25000 格。
- 第三层 - 在钻石块上放置一颗下界之星和四颗爆裂紫颂果。无最大距离限制。
传送垫之间至少需要间隔 2 格。
标记
- 要为传送垫标记,请在放置之前命名合成的传送垫。
- 要在放置后重新标记传送垫,请将一张已命名的纸扔在传送垫上。
破坏
要销毁任何传送垫,请使用适当的工具像平常一样破坏该方块。将会掉落物品以及传送垫所附带的任何修改物品。主物品将保留标签(如果适用)。
其他
请注意,只有放置传送垫的玩家才能修改它。
- 要更改传送垫图标的颜色,请将相应的染料扔在传送垫上。
- 要增加传送流频率,请将红石粉尘扔在传送垫上。
- 要使传送垫变为私人专用,请将钻石扔在传送垫上。
- 要切换到保留频率,请将萤石粉扔在传送垫上。
下界中的传送垫距离限制为原初世界的 1/8。
支持
测试支持 Minecraft:Java 版 1.17-1.20.4。
卸载
要卸载,请运行 /function warppad:uninstall。然后从世界中禁用或删除该数据包。
配置
我设计这个重写版本以便于定制,但仍需自行编译打包以进行修改。我已在 随源代码提供的 readme 文件 中概述了流程。
资源包
资源包可以使用自定义模型数据值 02900XX 来定义传送垫物品的自定义纹理或模型,其中 XX 为零填充的层级,从 00 开始。
已知实现这些纹理的资源包(针对默认配方)将在可用时链接如下:
致谢
我使用了 TheDestruc7ion 的进度生成器 来创建原始进度。
使用 创建。()
其余部分由 @SmoochyPit 用心制作
Warp Pads
Warp Pads is a data pack enabling players to create and teleport between Warp Pads in the world. It is designed to be balanced for survival Minecraft, but beneficial for players in all game modes.
Warp Pads follows the Minecraft Datapacks Official Conventions and Style as well as Smithed Conventions to ensure compatibility with other certified data packs.
Warning:
Warp Pads force-load the chunk they are in. This can cause overhead at large scales and can be used by players for unintended purposes. If you are a server owner or an advanced player, please consider this behavior before installing. A good alternative is Waystones.
About
Features
- Multiplayer friendly
- No additional resource packs required (optional textures supported)
- Infinite warp distances
- Configurable
- Items, tiers, effects, values
- Requires recompilation with Trident
- Balanced tiers for each game stage
- Warp Pad customization
- Warp Pad labeling
- Warp Pad indicator colors
- Warp Pad decoration
- Low performance impact
- Custom advancements
- Custom dimension support
- Requires recompilation with Trident
- No constant cooldowns or long animations
- Rapid warping on lower tiers will trigger a cooldown to encourage higher tiers
- Warp stream frequencies for extra organization
- New "Reserved Streams" for player-specific networks
- Private Warp Pads linked to players
- Warping passenger system
Usage
To warp, stand on a Warp Pad, look at the indicator for the desired Warp Pad and sneak (Left-Shift by default). Any mobs or players on top of the Warp Pad will be warped, too.
Crafting
Warp Pads can be crafted in a Crafting Table like so:
Creation (Alternate Method w/ a Fancy Animation)
Each Warp Pad requires a primary item and four secondary items to be dropped on top of a base block. Instructions for each tier are as follows:
- Tier 1 - Throw an Ender Pearl and 4 Amethyst Shards on top of a Gold Block. Has a maximum radius of 1000 blocks.
- Tier 2 - Throw a Eye of Ender and 4 Nether Quartz on top of an Amethyst Block. Has a maximum radius of 25000 blocks.
- Tier 3 - Throw a Nether Star and 4 Popped Chorus Fruit on top of a Diamond Block. Has no maximum distance.
Warp Pads must be at least 2 blocks apart from one another.
Labeling
- To label a Warp Pad, name the crafted Warp Pad prior to placing it.
- To relabel a Warp Pad, throw a named piece of Paper on top of the Warp Pad after it has been placed.
Destruction
To destroy any Warp Pad, break the block as you normally would with the proper tool. An item will be dropped along with any modifier items the Warp Pad had. The main item will retain the label, if applicable.
Other
Please note that only the player who placed the Warp Pad will be able to modify it.
- To change the color of the Warp Pad icon, throw the corresponding Dye on top of the Warp Pad.
- To increment the Warp Stream Frequency, throw a Redstone Dust on top of a Warp Pad.
- To make a Warp Pad private, throw a Diamond on top of the Warp Pad.
- To switch to Reserved Frequencies, throw a Glowstone Dust on top of the Warp Pad.
Warp Pads in the Nether are limited to 1/8th the distance of those in the Overworld.
Support
Tested to support Minecraft: Java Edition 1.17-1.20.4.
Uninstalling
To uninstall, run /function warppad:uninstall. Then disable or remove the data pack from the world.
Configuration
I designed this rewrite to be easily customizable, but you'll still need to compile the pack yourself to make changes. I've outlined the process in the readme available with the source code.
Resource Packs
Resource Packs can define custom textures or models for Warp Pad items by using the Custom Model Data value 02900XX, with XX being the zero-padded tier, starting with 00.
Known Resource Packs implementing these textures (for default recipes) will be linked below if/when available:
Credits
I used TheDestruc7ion's advancements generator for creating the original advancements.
Created with . ()
The rest is made with love by @SmoochyPit
评论 0
登录后参与评分
还没有评论,来抢沙发吧