Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-144282

Datapacks: In the "fluids" folder, using the "water.json" tag on the value "minecraft:empty" makes air use water physics as intended, but it repeatedly switches back and forth between water physics and air physics.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Duplicate
    • Affects Version/s: Minecraft 1.13.2, Minecraft 19w07a
    • Fix Version/s: None
    • Labels:
      None
    • Confirmation Status:
      Unconfirmed
    • Category:
      (Unassigned)

      Description

      Simply put, I wanted to swim in the air, so I ran this inside the "water.json" file, located in datapack/(namespace)/data/minecraft/tags/fluids:

      { { "replace": "true", "values": [ "minecraft:empty" ] }

      When running the datapack, water turns into air physics and air turns into water physics as intended. I can hold the jump button to go up and the shift button to go down, flying through the air with the water fog and everything.

      However, when try to sprint-swim, it bugs out a bit, only allowing me to sprint-swim at spontaneous times.

      Also, I can't drowned in it. The bubbles that appear above the food bar flicker into existence and back out at spontaneous times.

      This only leads me to believe that there is an issue where it flickers back and forth between water physics and air physics.

      Using "minecraft:lava" and "minecraft:flowing_lava" in the "water.json" file works as intended, with sprint-swimming in lava completely untouched and drowning fully functional, so this only applies to air, or "minecraft:empty".

      (In the lava picture, I have Resistance V on, so I'm not taking damage.)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                yojojo3001 Joseph VanMiddelkoop
              • Votes:
                3 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: