Bedrock Snippets

Custom Fluid

View Source

custom_fluids > rp > models > blocks > fluid.geo.json

{
  "format_version": "1.12.0",
  "minecraft:geometry": [
    {
      "description": {
        "identifier": "geometry.fluid.1",
        "texture_width": 16,
        "texture_height": 16,
        "visible_bounds_width": 2,
        "visible_bounds_height": 2.5,
        "visible_bounds_offset": [0, 0.75, 0]
      },
      "bones": [
        {
          "name": "fluid",
          "pivot": [0, 0, 0],
          "cubes": [
            {
              "origin": [-8, 0, -8],
              "size": [16, 2, 16],
              "uv": {
                "north": { "uv": [0, 0], "uv_size": [16, 2] },
                "east": { "uv": [0, 0], "uv_size": [16, 2] },
                "south": { "uv": [0, 0], "uv_size": [16, 2] },
                "west": { "uv": [0, 0], "uv_size": [16, 2] },
                "up": { "uv": [16, 16], "uv_size": [-16, -16] },
                "down": { "uv": [16, 16], "uv_size": [-16, -16] }
              }
            }
          ]
        }
      ]
    },
    {
      "description": {
        "identifier": "geometry.fluid.2",
        "texture_width": 16,
        "texture_height": 16,
        "visible_bounds_width": 2,
        "visible_bounds_height": 2.5,
        "visible_bounds_offset": [0, 0.75, 0]
      },
      "bones": [
        {
          "name": "fluid",
          "pivot": [0, 0, 0],
          "cubes": [
            {
              "origin": [-8, 0, -8],
              "size": [16, 6, 16],
              "uv": {
                "north": { "uv": [0, 0], "uv_size": [16, 6] },
                "east": { "uv": [0, 0], "uv_size": [16, 6] },
                "south": { "uv": [0, 0], "uv_size": [16, 6] },
                "west": { "uv": [0, 0], "uv_size": [16, 6] },
                "up": { "uv": [16, 16], "uv_size": [-16, -16] },
                "down": { "uv": [16, 16], "uv_size": [-16, -16] }
              }
            }
          ]
        }
      ]
    },
    {
      "description": {
        "identifier": "geometry.fluid.3",
        "texture_width": 16,
        "texture_height": 16,
        "visible_bounds_width": 2,
        "visible_bounds_height": 2.5,
        "visible_bounds_offset": [0, 0.75, 0]
      },
      "bones": [
        {
          "name": "fluid",
          "pivot": [0, 0, 0],
          "cubes": [
            {
              "origin": [-8, 0, -8],
              "size": [16, 10, 16],
              "uv": {
                "north": { "uv": [0, 0], "uv_size": [16, 10] },
                "east": { "uv": [0, 0], "uv_size": [16, 10] },
                "south": { "uv": [0, 0], "uv_size": [16, 10] },
                "west": { "uv": [0, 0], "uv_size": [16, 10] },
                "up": { "uv": [16, 16], "uv_size": [-16, -16] },
                "down": { "uv": [16, 16], "uv_size": [-16, -16] }
              }
            }
          ]
        }
      ]
    },
    {
      "description": {
        "identifier": "geometry.fluid.4",
        "texture_width": 16,
        "texture_height": 16,
        "visible_bounds_width": 2,
        "visible_bounds_height": 2.5,
        "visible_bounds_offset": [0, 0.75, 0]
      },
      "bones": [
        {
          "name": "fluid",
          "pivot": [0, 0, 0],
          "cubes": [
            {
              "origin": [-8, 0, -8],
              "size": [16, 14, 16],
              "uv": {
                "north": { "uv": [0, 0], "uv_size": [16, 14] },
                "east": { "uv": [0, 0], "uv_size": [16, 14] },
                "south": { "uv": [0, 0], "uv_size": [16, 14] },
                "west": { "uv": [0, 0], "uv_size": [16, 14] },
                "up": { "uv": [16, 16], "uv_size": [-16, -16] },
                "down": { "uv": [16, 16], "uv_size": [-16, -16] }
              }
            }
          ]
        }
      ]
    },
    {
      "description": {
        "identifier": "geometry.fluid.5",
        "texture_width": 16,
        "texture_height": 16,
        "visible_bounds_width": 2,
        "visible_bounds_height": 2.5,
        "visible_bounds_offset": [0, 0.75, 0]
      },
      "bones": [
        {
          "name": "fluid",
          "pivot": [0, 0, 0],
          "cubes": [
            {
              "origin": [-8, 0, -8],
              "size": [16, 16, 16],
              "uv": {
                "north": { "uv": [0, 0], "uv_size": [16, 16] },
                "east": { "uv": [0, 0], "uv_size": [16, 16] },
                "south": { "uv": [0, 0], "uv_size": [16, 16] },
                "west": { "uv": [0, 0], "uv_size": [16, 16] },
                "up": { "uv": [16, 16], "uv_size": [-16, -16] },
                "down": { "uv": [16, 16], "uv_size": [-16, -16] }
              }
            }
          ]
        }
      ]
    }
  ]
}
Copied to Clipboard