Mojira Archive
MCM-1287

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.

  1. Get the "Custom Spawn Egg Filter Bug.mcworld" from @greggo on slack and download it, then open the world.
  2. Drop down to the ground somewhere
  3. /summon noxcrew:test.shelf_stair
  4. /give @s noxcrew:test.plant_small_spawn_egg
    (Note: this spawn egg currently has no texture, but you will find it in your inventory)
  5. /give @s chicken_spawn_egg
  6. While using the invisible "noxcrew:test.plant_small_spawn_egg" item, interact with the shelf entity. Notice nothing happens.
  7. 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.

Unresolved

[Noxcrew] Joe Arsenault

2021-01-18, 08:55 PM

2021-01-20, 01:11 AM

1

0

Future Release

-