useOnEntity
Interact with a specific Minecraft entity by using the held item, enabling precise control for inventory management and gameplay actions through remote server commands.
Instructions
Use held item on a specific entity
Input Schema
Name | Required | Description | Default |
---|---|---|---|
entityId | Yes | ID of the entity to use item on |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"entityId": {
"description": "ID of the entity to use item on",
"type": "number"
}
},
"required": [
"entityId"
],
"type": "object"
}