你是否讨厌必须记住你正在寻找的是某个随机模组提供的 torch(例如 somemod:torch)而不是原版 Minecraft 的 minecraft:torch,并且无法使用 /give 命令的自动补全功能来给自己发放该物品?
是啊……我也一样;试试一个更好的 /give 命令吧。
本模组添加了两个命令,其中一个只是另一个的简短别名:
/bettergive <玩家目标> <物品> [<数量>]
/bgive <玩家目标> <物品> [<数量>]
/bgive 的用法与 /give 相同,唯一的区别在于:其标签补全功能更加智能,它会基于对所有已注册物品的完整字符串搜索来提供建议。
因此,如果你开始输入例如:
/bgive @s sword
系统将显示一个建议列表,其中包含资源位置中包含子字符串“sword”的任何物品。这可能是 minecraft:iron_sword、minecraft:stone_sword,或者在我们的示例中,可能是 coolswords:wool_sword 或 coolswords:slime_sword(假设安装了包含这些物品的模组)。
无需再事先知道目标物品所在模组的模组 ID;也无需再手动输入模组 ID 才能开始查看所有匹配搜索结果的物品。
新增!你是否曾搜索压力板,却发现想要特定木材类型的?现在你可以使用不规则字符进行“多部分”搜索。例如:
/bgives @s press*aca
这将向你展示名称中同时包含 “press” 和 “aca” 的所有内容。
Don't you hate having to remember you are looking for somerandommod:torch instead of minecraft:torch and can't use the auto-complete of /give to give yourself that thing?
Yeah... me too; try a better give instead.
This mod adds two commands, one just a shorter alias for the other:
/bettergive <playertargets> <item> [<count>]
/bgive <playertargets> <item> [<count>]
/bgive operates just like /give, with one exception; the suggested items for tab completion work more intelligently, providing suggestions based on a full string search of all registered items.
So if you start typing e.g.:
/bgive @s sword
You will be presented with a suggestion list of any item whose resource location includes the substring 'sword'. This could be 'minecraft:iron_sword', 'minecraft:stone_sword', or, for our example, 'coolswords:wool_sword' or 'coolswords:slime_sword' (assuming such a mod with such items was installed).
No more having to know beforehand the modid of the mod with the item you want; no more having to type in the modid manually before you can start seeing all of the items matching your search.
New! Did you start searching for a pressure plate and then realized you wanted a particular type of wood? You can now use irregular characters to do a "multi-part" search. For example:
/bgive @s press*aca
This will present to you anything with both "press" and "aca" in the name.
评论 0
登录后参与评分
还没有评论,来抢沙发吧