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

Some model parts of horse armor do not have a visible 0.1F cube deformation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.21.1
    • Confirmed
    • Rendering, Textures and models

      Horse armor's body, neck and ears (and possible other sections) are not offset from the horse entity itself. Other horse armor parts like head, mane, legs, etc. are not affected and are offset properly.

      This is because the horse renderer's body, neck and ears override any provided dilation (0.1F).

      Screenshots:



      Code Analysis:

      There is a 0.1F cube deformation added to the horse armor model layer, which can be see on the head and legs of the horse model. However, this deformation does not apply or is not obviously visible on the body, neck, and ears of a horse.

      package net.minecraft.client.model.geom.ModelLayers
      
      public static Map<ModelLayerLocation, LayerDefinition> createRoots() {
         Builder var0 = ImmutableMap.builder();
      . . .
         var0.put(ModelLayers.HORSE_ARMOR, LayerDefinition.create(AbstractEquineModel.createBodyMesh(new CubeDeformation(0.1F)), 64, 64));
      . . .
       }
      

        1. 2024-08-16_02.06.06-1.png
          2024-08-16_02.06.06-1.png
          2.00 MB
        2. 2024-08-17_13.46.25.png
          2024-08-17_13.46.25.png
          408 kB
        3. 2024-08-17_13.46.31.png
          2024-08-17_13.46.31.png
          285 kB
        4. 2024-08-17_13.46.39.png
          2024-08-17_13.46.39.png
          285 kB

            Unassigned Unassigned
            samkim1729 Sam
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              CHK: