(CommandSender sender, Command command, String label, String[] args) { if (command.getName().equalsIgnoreCase("clearground")) { // 执行清除地面物品的命令 clearGroundItems(); return true; } return false; } @EventHandler public void onItemSpawn(ItemSpawnEvent event) { // 物品生成事件处理 ...
"/clear" command can be used to clear all items from your inventory. to customize mobs, you can use the "/summon", "/replaceitem" and "/effect" commands. furthermore, you can control the time within the game using the "/time set" command. finally, those looking for a challenge can ...
Players can now hear each other equipping items in armor slots 玩家现在可以听到盔甲槽中互相装备的...
Players can switch to and from Spectator using the Settings Menu and the \'/gamemode spectator\' command, if cheats are enabled. Player inventory, health, held items etc are unchanged when switching into spectator mode and then out again 如果启用了作弊的话,玩家可以在设置里面或者“/gamemode spec...
clearAll(): void Clears all inventory items in the container. Notes: This function can't be called in read-only mode. This function can throw errors. Throws if the container is invalid. getItem getItem(slot: number): ItemStack | undefined ...
The list of block types this item can be placed on in Adventure mode. This is only applicable to block items. The block names are displayed in the item's tooltip. Setting the value to undefined will clear the list. Parameters blockIdentifiers?:string[] =null ...
Fixed players going through Cobwebs taking fall damage before hitting the ground (MCPE-121550) 修复了玩家即使穿过蜘蛛网掉在地面也会受到摔落伤害的问题 (MCPE-121550) Descending through Powder Snow with touch controls now uses the same button as descending through Scaffolding ...
· default_background:若为true,则渲染时使用默认的背景颜色(与聊天栏相同)。默认为false。 · shadow:文本是否显示阴影。默认为false。 · see_through:文本是否可以穿透方块显示。默认为false。 · alignment:文字对齐方向。 · 可用值:center(默认)、left和right。 · · 交互实体 · 一种新的实体,会记录...
The list of block types this item can be placed on in Adventure mode. This is only applicable to block items. The block names are displayed in the item's tooltip. Setting the value to undefined will clear the list. Parameters blockIdentifiers?:string[] =null ...
This decides the distance between the items and exp orbs to be merged, reducing the amount of items ticking on the ground. Setting this too high will lead to the illusion of items or exp orbs disappearing as they merge together. Setting this too high will break some farms, as well as al...