Bees do not take damage upon contact with water
Summary:
When a bee is in water, it does not take damage. In Java Edition, it takes damage, which is intentional (MC-167148).
Steps to Reproduce:
- Spawn a bee in water
Observed Results:
The bee does not take damage.
Expected Results:
The bee takes damage.
Fix:
In the bee.json file, there is the minecraft:hurt_on_condition component, where you can set how the entity should take damage in certain conditions. It only needs to add the in_water filter like this:
"minecraft:hurt_on_condition": { "damage_conditions": [ { "filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true }, "cause": "lava", "damage_per_tick": 4 }, { "filters": { "test": "in_water", "subject": "self", "operator": "==", "value": true }, "cause": "drowning", "damage_per_tick": 1 } ] }
Videos:
Bedrock:
Minecraft 2021-01-14 09-54-59.mp4
Java:
Minecraft 20w51a - Singleplayer 2021-01-04 16-00-51.mp4
Linked Issues
Created Issue:
Bees do not take damage upon contact with water
Summary:
When a bee is in water, it does not take damage. In Java Edition, it takes damage, which is intentional (MC-167148).Steps to Reproduce:
- Spawn a bee in water
Observed Results:
The bee does not take damage.Expected Results:
The bee takes damage.Videos:
Bedrock:
Minecraft 2021-01-14 09-54-59.mp4![]()
Java:
Minecraft 20w51a - Singleplayer 2021-01-04 16-00-51.mp4![]()
relates to
Summary:
When a bee is in water, it does not take damage. In Java Edition, it takes damage, which is intentional (MC-167148).Steps to Reproduce:
- Spawn a bee in water
Observed Results:
The bee does not take damage.Expected Results:
The bee takes damage.The Fix
In the bee.json file, there is minecraft:hurt_on_condition component, where you can set how the entity should take damage in a certain conditions. It only needs to add the in_water filters like this:"minecraft:hurt_on_condition": { "damage_conditions": [ { "filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true }, "cause": "lava", "damage_per_tick": 4 }, { "filters": { "test": "in_water", "subject": "self", "operator": "==", "value": true }, "cause": "drowning", "damage_per_tick": 1 } ] }Videos:
Bedrock:
Minecraft 2021-01-14 09-54-59.mp4![]()
Java:
Minecraft 20w51a - Singleplayer 2021-01-04 16-00-51.mp4![]()
Summary:
When a bee is in water, it does not take damage. In Java Edition, it takes damage, which is intentional (MC-167148).Steps to Reproduce:
- Spawn a bee in water
Observed Results:
The bee does not take damage.Expected Results:
The bee takes damage.
TheFix
In the bee.json file, there is minecraft:hurt_on_condition component, where you can set how the entity should take damage inacertain conditions. It only needs to add the in_water filterslike this:"minecraft:hurt_on_condition": { "damage_conditions": [ { "filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true }, "cause": "lava", "damage_per_tick": 4 }, { "filters": { "test": "in_water", "subject": "self", "operator": "==", "value": true }, "cause": "drowning", "damage_per_tick": 1 } ] }Videos:
Bedrock:
Minecraft 2021-01-14 09-54-59.mp4![]()
Java:
Minecraft 20w51a - Singleplayer 2021-01-04 16-00-51.mp4![]()
Summary:
When a bee is in water, it does not take damage. In Java Edition, it takes damage, which is intentional (MC-167148).Steps to Reproduce:
- Spawn a bee in water
Observed Results:
The bee does not take damage.Expected Results:
The bee takes damage.Fix:
In the bee.json file, there is the minecraft:hurt_on_condition component, where you can set how the entity should take damage in certain conditions. It only needs to add the in_water filter like this:"minecraft:hurt_on_condition": { "damage_conditions": [ { "filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true }, "cause": "lava", "damage_per_tick": 4 }, { "filters": { "test": "in_water", "subject": "self", "operator": "==", "value": true }, "cause": "drowning", "damage_per_tick": 1 } ] }Videos:
Bedrock:
Minecraft 2021-01-14 09-54-59.mp4![]()
Java:
Minecraft 20w51a - Singleplayer 2021-01-04 16-00-51.mp4![]()
Can confirm for 1.16.201.
Added the section on how to fix the issue and also attaching the JSON file, for those who want to take a look. bee.json
Affects 1.18.0.24
Can confirm in 1.20.62