Details
-
Type:
Bug
-
Status: Resolved
-
Resolution: Fixed
-
Affects Version/s: 1.16.210.53 Beta, 1.16.210.51 Beta, 1.16.210.50 Beta, 1.16.201 Hotfix
-
Fix Version/s: 1.16.220.50 Beta
-
Labels:
-
Confirmation Status:Unconfirmed
-
Platform:Windows 10 - PC
Description
When creating a mob that can use melee attacks and uses the runtime-id 'minecraft:villager_v2', the variable 'attack_time' becomes unknown and attack animations won't work correctly.
Steps To Reproduce:
- Add ' "minecraft:runtime_id": "minecraft:villager_v2" ' to any custom hostile mob
- Any previously working attack animations will no longer work
- Several errors will begin appearing in the content log
Expected Behavior:
- The attack_time variable (along with other hidden variables) is universal and can be used by all mobs, regardless of runtime-id.
Actual Behavior:
- Adding the villager runtime id to a mob breaks the attack_time variable