Behavior Pack item filters do not evaluate custom entity spawn eggs
Partner Rank: 2
Partner Team Reporting: Noxcrew
Verification builds and Platforms:
1.16.200.02_rc2 Update 2 (minecraft_uwp_renderdragon_x64_win10_5080499_release)
Summary:
When using a filter inside the "minecraft:interact" component to evaluate what item is being used in the interaction, the filter does not properly evaluate the spawn eggs of custom entities.
Impact:
This is blocking an important feature for an upcoming Noxcrew map.
Repro Steps:
Note: To demonstrate this bug, I've set up a behavior (noxcrew:test.shelf_stair) which filters for one vanilla spawn egg and one custom spawn egg. If the filter successfully evaluates, it will add the entity of the spawn egg as a rider to the shelf entity.
- Get the "Custom Spawn Egg Filter Bug.mcworld" from @greggo on slack and download it, then open the world.
- Drop down to the ground somewhere
- /summon noxcrew:test.shelf_stair
- /give @s noxcrew:test.plant_small_spawn_egg
(Note: this spawn egg currently has no texture, but you will find it in your inventory) - /give @s chicken_spawn_egg
- While using the invisible "noxcrew:test.plant_small_spawn_egg" item, interact with the shelf entity. Notice nothing happens.
- Use the chicken spawn egg item to interact with the shelf entity. Notice the chicken is now riding the shelf.
Observed Results:
The vanilla spawn egg is properly filtered, but the custom spawn egg is not.
Expected Results:
Custom spawn eggs should be properly filtered for.
Screenshots/Videos attached:
None.