![]() When one or more item stacks are got, return the number of entities that do not meet any of the following conditions: The total number of item stacks successfully allocated to each entity The number of item stacks successfully distributed to the container The total number of item stacks successfully allocated to each player The plus the id is bigger than the number of all slots in the specified container The number of item stacks got from loot plus the id is bigger than the number of all slots in the specified container The block does not have the specified slot The block at or position: x y z is not a container or player: target fails to resolve to one or more online players slotId: int(or ) plus count: int(or ) exceeds the size of the greatest valid slot number with the specified slot type this entity has.This entity dosen't have the specified slot.When one or more item stacks are got, all the targeted entities meet one or more of the following conditions: or entity: target fails to resolve to one or more entities (named player must be online) The loot_table: string is not a valid loot table or entity: target fails to resolve to a single entity (named player must be online) or position: x y z is unloaded or out of the world ![]() The arguments are not specified correctly Must be a string notation that refer to certain slots in the inventory, which consists of "slot type" and optional "slot number", in the format of or. In Java Edition, it must be between 483647 (inclusive).īE: slotType: EntityEquipmentSlot: enum, ntainer and slotId: int: int Specifies the inventory slot to be modified. īE: count: int: int Specifies the number of consecutive slots to be filled. Must be a player name, a target selector or a UUID. Accepts tilde and caret notations.īE: entity: target: CommandSelector Specifies one or more entities to modify. Must be a three-dimensional coordinates with floating-point number elements. ![]() Accepts tilde and caret notations.īE: position: x y z: CommandPositionFloat (in spawn mode) In Bedrock Edition: must be a three-dimensional coordinates with floating-point number elements. In Java Edition: must be a block position composed of, and, each of which must be an integer or a tilde and caret notation. JE: : block_pos and : block_pos (in replace block and insert mode)īE: position: x y z: CommandPositionFloat (in replace block and insert mode) And the target selector must /should be of player type. And the target selector must be in single type.īE: player: target: CommandSelector Specifies one or more players to give. Must be a player name, a target selector or a UUID. Specifies one entity to kill simulatively. Can be mainhand and offhand, otherwise it represents an item id.īE: entity: target: CommandSelector (in kill source) And it must be a single word that has no space or a quoted string. It must be in the format of item_id(accepts item and block tags), in which data tags can be omitted when they are not needed.īE: "|mainhand|offhand": string: string Specifies a tool to be used to kill or loot. JE: : item_stack Specifies a tool to mine or fish. And it refers to a loot table with the path of "loot_tables/ loot_table: string.json". In Java Edition, must be a resource location which will be resolved during command execution into unregistered content or client-side content. Kill loot īE: loot_table: string: basic_string Specifies which loot table to use. replace entity Distributes items to entities. replace block ntainer Distributes items to a container block. spawn Spawns item entities, ignoring empty item stacks. insert Distributes items to a container block, ignoring empty item stacks. Give Gives items to players, ignoring empty item stacks. replace block Distributes items to a container block. insert Distributes items to a container block.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |