altervasup.blogg.se

Minecraft 1.8.8 item ids
Minecraft 1.8.8 item ids




replaceitem can now be used on item frames. replaceitem entity slot.hotbar 8 sapling 4 1.To replace the items in the rightmost hotbar slot of the nearest player with four spruce saplings:.replaceitem block ~ ~2 ~ ntainer 26 sapling 4 1.To replace the items in the bottom-right slot of a single chest two block above with four spruce saplings:.The number of entities whose items are successfully replaced Replaces the items in the specified slot with the specified items (previous items in that slot are lost). Specified item cannot be place into the specified slot of its(for example, place a stone into armor.chest of a player)Īn item occupies the specified slot in keep mode.It doesn't have the specified slot (for example, zombies don't have horse.armor).or target: target fails to resolve to one or more entities (named players must be online)Īll selected entities meets one or more of the following conditions: The specified block does not have the specified slot The arguments are not specified correctly keep - Does not replace items if an item occupies that slot. OldItemHandling: ReplaceMode Must be one of:ĭestroy - Directly replaces items ignoring the original items in the specified slot. Like data tags but supports only minecraft:can_place_on, minecraft:can_destroy, minecraft:item_lock, and minecraft:keep_on_death functions (see Commands/give#Examples) Must be a JSON Object. It must be between -21474836483647 (inclusive).Ĭomponents: json: Json::Value Specifies the item components. Values which are invalid for the specified item id will default to 0. And it must be between 1 and 64 (inclusive).ĭata: int: int Specifies the item data for the item(s) to be placed in the block or entity's inventory slot. : int Specifies the number of items to be placed in the block or entity's inventory slot. : CommandItem Specifies the item to be placed in the block or entity's inventory slot. Horses and llamas only or itemName: Item must be a type of horse armor (if a horse) or a carpet (if a llama) Horses, donkeys, and mules only or itemName: Item must be a saddle A furnace's slots are numbered 0 for the input slot, 1 for the fuel slot, and 2 for the output slot.įor entities, must be one of the following, where slot number or slot id is replaced with a number specifying the slot: SlotĪrmor stands, mobs, and players only (though not all mobs will show or make use of the items).A brewing stand's bottom slots are numbered 0 to 2 from left to right, its top slot is 3 and the fuel slot is 4.Double chests and double trapped chests are treated as two single container blocks. Chests, dispensers, droppers, hoppers, and trapped chests are numbered 0 for the top-left slot and then increase first horizontally, then vertically (so, for example, a chest's top row slots are numbered 0 to 8 from left to right).For blocks, must be ntainer where or is replaced with a number specifying the slot. slotId: int must be a 32-bit integer number. Valid values depend on whether a block or an entity is being modified. SlotType: EntityEquipmentSlot, ntainer and : int Specifies the inventory slot to be modified. Must be a player name or a target selector. : CommandSelector Specifies one or more entities to modify. It must be a three-dimensional coordinates composed of, and, each of which must be a floating-point number or tilde and caret notation. : CommandPosition Specifies the position of the block to be modified. Syntax replaceitem block ntainer replaceitem entity replaceitem block ntainer replaceitem entity Arguments






Minecraft 1.8.8 item ids