你是否曾想过改变猫咪的颜色/品种?现在,只需使用命名牌即可实现!
生存模式
命名牌机制
在生存模式中,使用命名牌将猫重命名为以下变体名称之一(black、calico、jellie、orange、persian、ragdoll、shorthair、siamese、tabby、tuxedo 或 white)时,需在主手操作的同时,副手持有“报酬”物品(详情见下文)。如果副手中没有报酬物品,猫不会变更为新的变体。
进度锁限制
默认情况下,玩家必须先在世界中遇到该猫变体并至少喂食一次鲑鱼,才能通过进度系统解锁重新分配猫变体的功能。这迫使玩家探索世界或寻找特定猫变体,但一旦完成此流程,玩家便可方便地制作更多相同类型的猫。创造模式玩家和服务器管理员可以使用命令 /function cat_variant_changer:lockout/all_grant 授予玩家所有所需进度,从而覆盖此锁限制。
随机化特殊功能
你还可以通过重命名猫为 'random' 来随机化猫的变体类型——每隔几秒,它便会循环切换到你已解锁的所有变体类型(即你至少喂食过一次鲑鱼的类型,详见上文)。使用命令 /function assign_cat_variant:_set_random_cat_loop_length 可设置随机切换变体的间隔时间(默认为 2 秒)。
报酬
在生存模式中,更改猫变体的默认报酬是1 颗钻石;若选择随机变体,则需支付1 块下界合金锭。要更改报酬类型,请先获取服务器 OP 权限或切换到创造模式。手持报酬物品于副手中,输入命令 /function cat_payment:set/ 后接你想要设定报酬的猫变体名称(例如:/function cat_payment:set/jellie)。若副手为空,则该变体免费。此外,你还可以使用 /function cat_payment:set_all 为所有猫变体统一设定报酬。
无需允许作弊/命令即可设置报酬的选项即将推出。
创造模式快捷方式
对于创造模式玩家,你可以站在想要更改的猫旁边,然后输入命令 /function assign_cat_variant: 后接猫变体类型。输入该命令时会显示可用的变体列表;例如,使用 /function assign_cat_variant:jellie 可将附近的猫变为 jellie 变体。若区域内有多只猫,离玩家最近的那只会首先被转换为你选择的变体;重复使用该函数,可按顺序将半径 20 格内的每只猫逐一转换为新变体。
你可以使用命令 /function cat_variant_changer:lockout/all_grant 让自己获得所有用于随机化猫的猫变体访问权限,或使用 /function cat_variant_changer:lockout/all_reset 重置锁限制。
故障排除
- 报酬只能是一个单一物品。因此,如果你希望报酬多于 1 个绿宝石,可以将报酬设置为一个绿宝石块。若想禁止访问某个特定变体类型,可在设置该变体的报酬时使用一个在生存模式下无法获得的方块(如屏障方块)。
Have you ever wished you could change a cat's color/breed? Well now you can just by using a name tag!
Survival Mode
Name Tag Mechanics
For survival mode, hold the 'payment' in your off-hand (more on that later) while using a name tag to rename the cat with one of the following variant names: black, calico, jellie, orange, persian, ragdoll, shorthair, siamese, tabby, tuxedo, or white. If you don't have the payment in your off-hand, the cat will not change to the new variant.
Advancement Lockouts
By default, players are locked out through advancements from being able to reassign a cat variant until the player has encountered that cat variant in the world and fed it salmon at least once. This is a nice way to force the player to explore or work on finding specific cat variants but gives players a convenient way to make more of the same type of cat after they've gone through the process at least once. Creative players and server admins can override this lockout by giving players all needed advancements using the command /function cat_variant_changer:lockout/all_grant.
Special Randomize Feature
You can also randomize a cat's variant type - just rename a cat 'random' and every couple of seconds it will change variant type, cycling through all the variants you have advancements for (i.e., the types you've fed salmon to at least once, see above). Use command /function assign_cat_variant:_set_random_cat_loop_length to set the length of time before the random cat jumps to the next variant type as it cycles through variants (default is 2 secs).
Payment
The default payment for reassigning a cat variant in survival is 1 diamond; for a random variant, the cost is 1 netherite ingot. To change the payment type, first get server op status or switch to creative. While holding the payment item in your off-hand, type command /function cat_payment:set/ followed by the cat variant you want to set the payment for (example: /function cat_payment:set/jellie). If your off-hand is empty, then the payment is free. Also, you can use /function cat_payment:set_all to set the payment for all cat variants.
An option to set payments without needed to allow cheats/commands is coming soon.
Creative Mode Shortcuts
For creative mode players, you can change a cat's variant type by standing next to the cat you want to change, then type the command /function assign_cat_variant: followed by the cat variant type. You'll see the available variants when you type out this command; for example use /function assign_cat_variant:jellie to change the frag to the jellie variant. If you have multiple cats in the area, the one closest to the player will be converted to the variant you choose, and repeated use of the function will change each cat in the area one-by-one to the new variant out to a radius of 20 blocks.
You can give yourself access to all cat variants for the randomized cat using the command /function cat_variant_changer:lockout/all_grant or reset the lockout with /function cat_variant_changer:lockout/all_reset.
Troubleshooting
- The payment can only be a singular item, so if you want the payment to be more than say 1 emerald, you can make the payment an emerald block instead. If you want to block access to a specific variant type, just use a block that's impossible to get in survival like a barrier block when you set the payment type for that variant.
评论 0
登录后参与评分
还没有评论,来抢沙发吧