-
Bug
-
Resolution: Incomplete
-
None
-
1.14.0.2 Beta, 1.14.0.1 Beta, 1.12.0.4 Beta
-
None
-
Unconfirmed
-
Windows
The documentation for the entity component "minecraft:interact" is incorrect.
Vanilla_Behavior_Pack_Beta_1.12.0.4 from https://aka.ms/MinecraftBetaBehaviors contains a Documentation_Entities.html file. This file contains the following description of the "on_interact" parameter for the "minecraft:interact" component:
Name: on_interact
Type: String
Default Value: <blank>
Description: Event to fire when the interaction occurs.
However, this does not match up with examples in the same behavior pack.
Example: Vanilla_Behavior_Pack_Beta_1.12.0.4/entities/llama.json
This file contains the following inside of the "component_groups" section:
"minecraft:llama_unchested": { "minecraft:interact": [ { "play_sounds": "armor.equip_generic", "on_interact": { "filters": { "all_of": [ \{ "test" : "is_family", "subject" : "other", "value" : "player"}, \{ "test" : "has_equipment", "domain": "hand","subject" : "other", "value" : "chest"} ] }, "event": "minecraft:on_chest", "target": "self" }, "use_item": true, "interact_text": "action.interact.attachchest" } ] }
The value for "on_interact is obviously not a string value. Additionally, the actual format of the "on_interact" value is not documented.
Expected:
- Documentation should contain correct description of the "on_interact" parameter value
- Documentation should match the code examples