[EXPERIMENTAL] Upcoming actor properties inconsistencies on permutations
Partner Rank: 3
Partner Team Reporting: Starfish Studios
Verification builds: 1.19.40.22_rc0, Win.(x64)
Summary:
I have been testing the new upcoming actor properties. And when implementing its features in my pack, I could notice some inconsistencies that I think is important to report as someone who is testing these experimental features for the first time.
Up to now, two inconsistencies was noticed:
1. Components active through "permutations" are not filterable using filter test "has_component". Therefore, such code { "test": "has_component", "value": "minecraft:can_climb" } will still return false when an entity has the "minecraft:can_climb" component being validated by a permutation object and not by "component_groups". Still got query.can_climb to work properly though!
2. For some unknown reason, the "minecraft:inventory" component failed being used in "permutations" for my entity. It just had no effect, so the component got not activated when my permutation condition matched.
This is my code:
"permutations": [
{
"condition": "q.property('vanillaex:cultivator_attachment')",
"components": {
"minecraft:can_power_jump": {}
}
},
{
"condition": "q.property('vanillaex:harvester_attachment')",
"components": {
"minecraft:item_hopper": {},
"minecraft:inventory": {
"container_type": "inventory",
"inventory_size": 27
}
}
},
{
"condition": "q.property('vanillaex:damage') > 0",
"components": {
"minecraft:timer": {
"time": [ 0.25, 0.75 ],
"time_down_event": {
"event": "vanillaex:tractor_regeneration",
"target": "self"
}
}
}
},
{
"condition": "q.property('vanillaex:fuel_level') > 0",
"components": {
"minecraft:input_ground_controlled": {}
}
}
],
All other components above of permutations are working properly.
3. UPDATE: the "minecraft:transformation" component also don't work inside permutations, component did not trigger when my property condition matched.
Impact:
These are some inconsistencies noticed regarding to the new super complete actor properties from Upcoming Creator Features, what is still under development and will be something used a lot on Marketplace once it get out of experimental. Something that is very important to have as few bugs as possible, and bugs should be reported from the first experiences with these features.
Repro Steps:
- Test an add-on pack using the new EXPERIMENTAL: Upcoming Creator Features and do test these features mentioned regarding to actor properties/permutations.
Repro Rate: 3/3