bucketentity (task type)
Since v3.15.1
Capture specific entity in a bucket.
Options
Key | Description | Type | Required | Default | Notes |
---|---|---|---|---|---|
amount | The number of buckets to capture an entity in. | Integer | Yes | - | - |
item | The specific bucket to capture. | Material, or ItemStack | No | - | Accepts standard item definition. Please see this list (1.13+) or this list (1.8-1.12) for material names. |
data | The data code for the item. | Integer | No | 0 | This field is not used in Minecraft versions 1.13+, nor is it compatible with ItemStack definitions. |
exact-match | Whether the item should exactly match what is defined. | Boolean | No | true | - |
worlds | Worlds which should count towards the progress. | List of world names | No | - | - |
Examples
Capture 8 axolotls in buckets:
bucketentity:
type: "bucketentity"
bucket: AXOLOTL_BUCKET # (OPTIONAL) bucket to capture the entity
exact-match: false # (OPTIONAL) ignore the axolotl variation nbt
amount: 8 # amount of times to capture entity
worlds: # (OPTIONAL) restrict to certain worlds
- "world"