Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-30319

minecraft:floats_in_liquid component doesn't work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • None
    • 1.4.4.0, 1.2.9.1, 1.2.10.2, 1.2.13.5, 1.2.11.4, 1.2.14.3, 1.2.13.60, 1.2.16.3, 1.5.0.0, 1.4.3.0, 1.5.0.10, 1.4.2.0, 1.7.1, 1.7.0
    • Confirmed
    • Phone - Android - HTC Other (Specify in description)
    • 112804

      Device: HTC 10

      The add-on component "minecraft:floats_in_liquid" doesn't work. I attached an add-on that attempts to use it on Cows without modifying any of their existing components, with the only addition of this dysfunctional component.

      The component is supposed to make the entity type float in liquids (unsure about which liquid this component refers to, I don't think it refers to lava so I suppose it is water), but when the entity (in this case Cows) are placed in water, they don't float.

      (With floating the component refers to kind of replicating Boats, however, if the entity doesn't have a minecraft:behavior.float, they'll sink in the water and drown.)

      Also, please remember that minecraft:behavior.float is aimed at having entities float in water to prevent themselves from drowning, while minecraft:floats_in_liquid is supposed to replicate the Boat floating effect. They're not the same thing.

            joepaleto JoePaleto
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: