Entity Documentation - minecraft:tameable
minecraft:tameable
defines the rules for an entity to be tamed by the player.
Parameters
Name | Default Value | Type | Description |
---|---|---|---|
probability | 1 | Decimal | The chance of taming the entity with each item use between 0.0 and 1.0, where 1.0 is 100% |
tame_event | not set | JSON Object | Event to initiate when the entity becomes tamed |
tame_items | not set | List | The list of items that can be used to tame the entity |
Example
"minecraft:tameable": {
"probability": 0.33,
"tame_items": "bone",
"tame_event": {
"event": "minecraft:on_tame",
"target": "self"
}
}
Vanilla entities examples
wolf
"minecraft:tameable": {
"probability": 0.33,
"tame_items": "bone",
"tame_event": {
"event": "minecraft:on_tame",
"target": "self"
}
}
Vanilla entities using minecraft:tameable
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示