Skip to content

Item Models Have A New Transformation Property #76

@SpaceshipCaptain

Description

@SpaceshipCaptain

Mojang is changing some special models into block models and they added a new property.

  • 26.2 Snapshot 3 removed the beds special model
  • 26.2 Snapshot 7 removed the signs special model

so now the bed item model looks like this:

  "black_bed": {
    "model": {
      "type": "minecraft:composite",
      "models": [
        {
          "type": "minecraft:model",
          "model": "minecraft:block/black_bed_head"
        },
        {
          "type": "minecraft:model",
          "model": "minecraft:block/black_bed_foot",
          "transformation": {
            "left_rotation": [
              0.0,
              0.0,
              0.0,
              1.0
            ],
            "right_rotation": [
              0.0,
              0.0,
              0.0,
              1.0
            ],
            "scale": [
              1.0,
              1.0,
              1.0
            ],
            "translation": [
              0.0,
              0.0,
              1.0
            ]
          }
        }
      ]
    }
  },

Applying the transformations to the item models should be fine but they also added transformation properties to the special models in item_models, like banners and shulkers and I think those should be ignored.

I don't know if bed and sign special models should be removed because that would break all previous versions but if you keep them then the structure renderer seems to render the new block model versions correctly but then the old special model with broken textures on top of it.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions