Minecraft(MC 我的世界) 1.18方块/物品ID对应表 查找方法:先在.minecraft\assets\index\1.18.json中查找minecraft/lang/zh_cn.json,然后根据hash在.minecraft\assets\objects里面找对应的文件。 比如这里是9fabbc798786c7b7364902b31bdb37c2c037e9b8,那么它就在9f文件夹中。找到后用文本编辑器打开,里面都是unicode编...
getEntity(id: string): Entity | undefinedReturns an entity based on the provided id.Parametersid: string The id of the entity.Returns Entity | undefined - The requested entity object.Notes:This function can throw errors. Throws if the given entity id is invalid....
# 复制并粘贴默认的服务器选择器菜单并编辑文件。 # 使用文件名作为动作 ID。 #--- # 内置插件占位符: # # %player% - 返回玩家名称 # %location% - 返回玩家位置 # %online% - 返回在线玩家数量 # %online_max% - 返回最大玩家数量 # # *** 使用 PlaceholderAPI 获取更多占位符 *** # (https:/...
)、/kill、/list、/op、/say、/setblock、/setfixedinvslot、/setworldspawn、/spawnpoint、/summon、/tell(及其别名/msg和/w)、/testforblock、/testforblocks、/time、/toggledownfall、/tp(及其别名/teleport)、/weather、/wsserver和/xp命令。 大部分命令的功能与Java版1.10相同。差别在于:不支持数据标签、/...
The ItemStack to be placed in the slot. Notes: This function can't be called in read-only mode. This function can throw errors. ThrowsInvalidContainerSlotError setLore setLore(loreList?: string[]): void Sets the lore value - a secondary display string - for an ItemStack. ...
import{ world, DimensionLocation }from"@minecraft/server";functionsendPlayerMessages(targetLocation: DimensionLocation){for(constplayer of world.getAllPlayers()) {// Displays "First or Second"constrawMessage = { translate:"accessibility.list.or.two",with: ["First","Second"] }; player.sendMessage...
Inventory: Each compound tag in this list is an item in the villager's inventory, up to a maximum of 8 slots. Items in two or more slots that can be stacked together are automatically condensed into one slot. If there are more than 8 slots, the last slot is removed until the total ...
The example above would add 1 diamond sword in the first slot and 64 light blue wool in the second slot of the chest. See list of Minecraft id and data/damage values. /summon /data Strength number (The strength of the trader llama which is a number from 1 to 5. The higher the numb...
【整合教程】IDRe..整合最大的问题,众所周知,就是ID冲突了。所以IDResolver对于喜欢装很多Mod的人来说,绝对是一个神器。因为它会自动将未使用的ID分配给有冲突的方块或者物品,所以理论上只要所以Mod包含的物品
import{ Player }from"@minecraft/server";functionsendPlayerMessages(player: Player){// Displays "First or Second"constrawMessage = { translate:'accessibility.list.or.two',with: ['First','Second'] }; player.sendMessage(rawMessage);// Displays "Hello, world!"player.sendMessage('Hello, world!'...