Zip To It!
以优雅姿态跨越大地!
专为 ModFest Toybox 打造!
使用 Zippy Sticky Hand(弹性粘手)在墙壁间快速弹射并附着!附着到墙壁后,你可以跳跃以获得额外高度,潜行以直接掉落,或者再次弹射至另一面墙壁!
在弹射过程中潜行可以打破弹性粘手并取消弹射。这在卡住或希望向上弹射时获得额外高度非常有用。
默认情况下,Zippy Sticky Hand 最多可从当前位置弹射 48 格远。弹射会减少坠落伤害,但不会完全消除!
合成
Zippy Sticky Hands 可以通过组合以下物品合成:
根据你使用的荧光蛙灯颜色,你将获得相应颜色的 Zippy Sticky Hand。之后,你可以使用任意颜色的 Zippy Sticky Hand 和染料来改变其颜色。
游戏规则
allowZipcastDuringZipcast - 如果启用,玩家可以在正在向其他位置弹射时使用他们的 Zippy Sticky Hands。默认为 True(开启)。
自定义/支持的项目组件
原版操作指南
你可以通过 /give @s <item>[<component identifier>={"<field name>":<field value>}] 给予具有特定组件的物品。这基本上就是直接在物品中输入 NBT 或 JSON。
以下是冷却时间组件且整数值为 20 的示例。“seconds”字段是冷却时间组件独有的——你可以通过查找维基或查看其 Codec 代码来找到这些字段,因为它只是编解码器条目。
/give @s minecraft:ender_pearl[minecraft:use_cooldown={"seconds":20}]
注意:“seconds”字段实际上是浮点数,而非整数
你可以在前一个字段的值后面添加逗号来添加更多字段,并在前一个组件结尾的“}”括号后添加逗号来添加更多组件。
我假设大多数原版组件都要求每个字段都必须存在,粒子效果就是这样。
浮点数可以通过在数字后添加 f 或直接添加小数点来定义。
Vector3f(三维浮点向量)可以使用 [<0f-1f>, <0f-1f>, <0f,1f>] 来定义。
Zipcaster 项目组件
ziptoit:zipcaster 有几个用于自定义 Zippy Sticky Hand 的字段。所有字段都是可选的!
zip_range (int - 默认值: 48) - 决定 Zippy Sticky Hand 可以弹射的最大方块距离。
zip_speed (float - 默认值: 2.25f) - 决定玩家弹射的速度;此速度没有相对测量标准,除了数值越大意味着弹射越快。注意: 不支持过快的速度,如果过高会导致附着到墙壁时出现问题!
max_zips (int - 默认值: -1) - Zippy Sticky Hand 在不损坏的情况下最多可以进行的弹射次数。使用“-1”表示无限次。
zipcast_color (ZipcastColor) - Zippy Sticky Hand 使用的颜色。默认值是黄色 Zippy Sticky Hand 的颜色(尽管实际的 Zippy Sticky Hand 物品本身可能不同)
ZipcastColor 是一个自定义对象,包含 Zippy Sticky Hand 要使用的颜色。所有颜色字段都是必需的!
color (Vector3f 或 int) - 弹射到目标位置时看到的主要颜色。
altColor (Vector3f 或 int) - 弹射到目标位置时看到的替代颜色。用于在主弹射线上与“color”形成渐变,并作为各种彩色粒子(例如速度线)中较少出现的颜色。
brightColor (Vector3f 或 int) - 弹射到目标位置时弹射线的起始颜色(持续约 7 刻)。
previewColor (Vector3f 或 int) - 瞄准 Zippy Sticky Hand 时显示的颜色。
alternate (boolean) - 使主颜色和替代颜色沿弹射线交替出现,而不是形成渐变。
rainbow (boolean) - 如果启用,将覆盖弹射线上的主/替代颜色,并用彩虹动画覆盖预览颜色。明亮颜色(应该)仍然可用。
给予命令示例
你可以组合并更改每个示例的值——这些示例之间不应冲突。
最大弹射次数 & 冷却时间
最大弹射次数为 3(无冷却时间)
/give @s ziptoit:yellow_zippy_hand[ziptoit:zipcaster={"max_zips":3}]
冷却时间为 5 秒(无弹射次数限制)
/give @s ziptoit:yellow_zippy_hand[minecraft:use_cooldown={"seconds":5}]
“seconds”值为浮点数,以允许精确到刻的时间!
最大弹射次数为 3,冷却时间为 5 秒。
/give @s ziptoit:yellow_zippy_hand[ziptoit:zipcaster={"max_zips":3}, minecraft:use_cooldown={"seconds":5}]
弹射范围 & 速度
弹射范围为 16
/give @s ziptoit:yellow_zippy_hand[ziptoit:zipcaster={"zip_range":16}]
弹射速度为 5f
/give @s ziptoit:yellow_zippy_hand[ziptoit:zipcaster={"zip_speed":5f}]
速度值与任何形式的测量单位都没有关系,除了数值越高意味着速度越快。
弹射范围为 32,速度为 1f
/give @s ziptoit:yellow_zippy_hand[ziptoit:zipcaster={"zip_range":32, "zip_speed":1f}]
弹射颜色
自定义颜色示例,包含:
- 红色为主色
- 绿色为替代色
- 蓝色为亮色
- 白色为预览色
/give @s ziptoit:yellow_zippy_hand[ziptoit:zipcaster={"zipcast_color":{"color":[1f, 0f, 0f], "altColor":[0f, 1f, 0f], "brightColor":[0f, 0f, 1f], "previewColor":[1f, 1f, 1f]}}]
注意事项:
- 不要忘记字段值周围的额外“{}”括号!
- Vector3fs 或整数(理论上)可用于定义颜色。Vector3f 可以使用
[<0f-1f>, <0f-1f>, <0f,1f>] 来定义。
- 自定义颜色将显示在 Zippy Sticky Hand 的工具提示中!
实际的 Zippy Sticky Hand 物品不影响颜色,除非从创造模式库存中获取,否则它们都默认为黄色。
你可以在 GitHub README 中找到所有默认颜色的给予命令列表(列表非常长,位于底部,实际上不可能错过)。
Zip To It!
Zip across the lands in style!
Made for ModFest Toybox!
Use a Zippy Sticky Hand to zip and stick to walls! Upon sticking to a wall, you can jump for some extra height, sneak to simply drop, or zip again to another wall!
You can sneak while zipping to break the sticky hand and cancel the zip. This may be helpful if you get stuck, or want to get some extra height while zipping upwards.
By default, Zippy Sticky hands can zip up to 48 blocks away from your current position. Upon zipping, it reduces fall damage, but doesn't fully negate it!
Crafting
Zippy Sticky Hands can be crafted by combining:
- A slime ball
- A lead
- Any froglight
Depending on the froglight you use, you'll get a different color Zippy Sticky Hand. From there, you can use any colored Zippy Sticky Hand and a dye to change its color.
Gamerules
allowZipcastDuringZipcast - If enabled, players will be able to use their Zippy Sticky Hands while actively zipping to another location. True by default.
Custom/Supported Item Components
Vanilla How-To's
You can give items with specific components by /give @s <item>[<component identifier>={"<field name>":<field value>}]. It's basically just entering NBT or json straight into the item.
Example of the cooldown component with an integer of 20. The "seconds" field is unique to the cooldown component - you can find these by either finding a wiki, or viewing their Codec code, as it's just the codec entry.
/give @s minecraft:ender_pearl[minecraft:use_cooldown={"seconds":20}]
Note: The "seconds" field is actually float, not an integer
You can add more fields by adding a comma after the previous fields' value, and more components by adding a comma after the previous components' ending "}" bracket.
I'm assuming most Vanilla components have each field be required, as that's the case with particles.
Floats can be defined by adding an f after the number, or just by adding a decimal point.
Vector3f's can be defined using [<0f-1f>, <0f-1f>, <0f,1f>]
Zipcaster Item Component
ziptoit:zipcaster has a few fields for customizing a Zippy Sticky Hand. All the fields are optional!
zip_range (int - default: 48) - Determines the amount of blocks a Zippy Sticky Hand can zip from.
zip_speed (float - default: 2.25f) - Determines the speed which a player will zip with; there is no relative measurement for this speed, other than bigger number means faster zipcaster. **NOTE: ** Faster speeds are unsupported, and will cause issues sticking to walls if too high!
max_zips (int - default: -1) - The maximum amount of zips a Zippy Sticky Hand can make without breaking. Use "-1" for infinite.
zipcast_color (ZipcastColor) - The colors used for the Zippy Sticky Hand. Default is the Yellow Zippy Sticky Hand's colors(despite the actual Zippy Sticky Hand item)
ZipcastColor is a custom object which contains colors for the Zippy Sticky Hand to use. All color fields are required!
color (Vector3f or int) - The main color which will be seen when zipping to a location.
altColor (Vector3f or int) - The alternative color which will be seen when zipping to a location. Used for a gradient with the "color" on the main zipping line, and as a rarer color for various colored particles(e.g. the speed lines).
brightColor (Vector3f or int) - The starting color(for like, 7 ticks) of the zip line when zipping to a location.
previewColor (Vector3f or int) - The color shown when aiming a Zippy Sticky Hand.
alternate (boolean) - Makes the main color and alternative color alternate along the zip line instead of being a gradient.
rainbow (boolean) - If enabled, overrides the main/alternative colors on the zip line, and overrides the preview color with a rainbow animation. The bright color (should) still be usable.
Give Command Examples
You can combine and change the values for each example - none of these examples should conflict with each other.
Max Zip Uses & Cooldowns
Max zips of 3 (no cooldown)
/give @s ziptoit:yellow_zippy_hand[ziptoit:zipcaster={"max_zips":3}]
Cooldown of 5 seconds (no zip limit)
/give @s ziptoit:yellow_zippy_hand[minecraft:use_cooldown={"seconds":5}]
The "seconds" value is a float to allow for specific tick times!
Max zips of 3 with a cooldown of 5 seconds.
/give @s ziptoit:yellow_zippy_hand[ziptoit:zipcaster={"max_zips":3}, minecraft:use_cooldown={"seconds":5}]
Zip Range & Speed
Zip range of 16
/give @s ziptoit:yellow_zippy_hand[ziptoit:zipcaster={"zip_range":16}]
Zip speed of 5f
/give @s ziptoit:yellow_zippy_hand[ziptoit:zipcaster={"zip_speed":5f}]
The speed value has no relationship to any form of measurement, other than higher values means more speed.
Zip range of 32 and speed of 1f
/give @s ziptoit:yellow_zippy_hand[ziptoit:zipcaster={"zip_range":32, "zip_speed":1f}]
Zip Colors
Custom Colors Example with:
- Red as main color
- Green as alt color
- Blue as bright color
- White as preview color
/give @s ziptoit:yellow_zippy_hand[ziptoit:zipcaster={"zipcast_color":{"color":[1f, 0f, 0f], "altColor":[0f, 1f, 0f], "brightColor":[0f, 0f, 1f], "previewColor":[1f, 1f, 1f]}}]
Notes:
- Don't forget the extra "{}" brackets for the field value!
- Vector3fs or integers(in theory) can be used to define the colors. A Vector3f can be defined using
[<0f-1f>, <0f-1f>, <0f,1f>]
- Custom colors will be displayed in the Zippy Sticky Hand's tooltip!
The actual Zippy Sticky Hand item doesn't affect the colors, as they all default to yellow unless grabbed from the creative inventory.
You can find a list of give commands for all the default colors in the GitHub README (it's a very long list, towards the bottom, actually impossible to miss).
评论 0
登录后参与评分
还没有评论,来抢沙发吧