Table of Contents

minecraft:use_bucket

The minecraft:use_bucket action uses a bucket at the specified position as defined by the minecraft:bucket item component. This action is unsuccessful if the item stack from the context does not have the minecraft:bucket item component or if the bucket was not successfully used.

Fields

Name Description Type Default Value
position The position to target. An action context parameter

Example

{
  "type": "minecraft:use_bucket",
  "position": "target"
}