mojira.dev
MC-280152

Cactus flower items are deleted when colliding with cacti

Summery:

With the addition of Cactus Flowers, I try to harvest them but they get destoryed by cacti. This is an annoying thing that makes most of Cactus Flowers unobtainable except if we break the cactus first.

Also this bahvior makes farming Cactus Flowers hard because you can't obtain them easily trough hoppers and store them. 

Steps To Reproduce:

1. Find a desert with generated Cactus Flowers.

2. Break them in survival mode.

3. Observe the result.

Expected Result:

The Cactus flower should not be destroyed by the cactus.

Observed Result:

The Cactus Flower gets destoryed by the cactus.

Linked issues

Comments 3

Would this be fixable by introducing a default defined item component for cactus flower items for what damage types the item is resistant to? I believe this system is used for netherite items and nether stars.

No, actually there are no items resistant from the cacti. Netherite is fire resistant and Nether Star is explosion resistant.

flow_santohyj123

As Connor Steppie suggested, adding a damage_resistant component with a custom damage type tag containing the minecraft:cactus damage type to the cactus flower item prevents the item from deletion, so introducing a default component will probably fix the issue. (Not so sure if this a feature request)

MiladMoro88

(Unassigned)

1377004

Confirmed

Expansion A

Entities

cactus, cactus_flower

25w06a, 25w08a

Retrieved