The "set_actor_id"-function is not working correctly in trading tables
Partner Rank: 3
Partner Team Reporting: Spark Squared
Verification builds and Platforms: Dev 1.12.0.28 (Win10)
Summary: The "set_actor_id"-function is not working correctly in trading tables.
Impact: You cannot demand spawneggs with the "set_actor_id" function via trading tables.
Repro Steps:
1. Create a behaviorpack with one custom trading table wich includes this code:
{{}}
{
"tiers": [{
"trades": [{
"wants": [{"quantity": 1, "item": "minecraft:emerald"}],
"gives": [{"functions": [{"function": "set_actor_id"}], "quantity": 1, "item": "minecraft:spawn_egg"}]
}]
}]
}
{{}}2. Test your trading table with a custom entity. Everything should work this far.
3. Switch the "wants" with the "gives" content and vice versa.
4. Test your trading table with a custom entity again. A spawnegg should now be wanted, but it has no data value, this is noticeable by the fact that the spawnegg is not named by the specified entity.
Observed Results: A spawnegg is wanted by the trading entity, but it has no data value, this is noticeable by the fact that the spawnegg is not named by the specified entity.
Expected Results: A spawnegg with the correct data value should be wanted by the trading entity.
Screenshots/Videos attached: No
Regression Builds: Unknown
2019-08-29, 09:55 PM
2019-11-07, 07:09 PM
2019-11-07, 07:09 PM
0
0
-