Skip to content

Aeronaut Goggles model doesn't render on Armor Stands or other players. #321

@Stepanyaa

Description

@Stepanyaa

Aeronaut points from the VS Clockwork mod are not displayed on players or armor stand. If you put the glasses in the head slot, they are displayed. When you put glasses in a frame, everything is fine.

To reproduce the bug, you need to:
Put the glasses on the armor stand, and you should see that they are not there, but if you put on other glasses, they will be visible.

Here is a video example: https://youtu.be/rmHOBEOyPoA

[Update]
I found a solution, in the AeronautArmorLayer.kt file, located in the common/src/main/kotlin/org/valkyrienskies/clockwork/content/curiosities/aeronaut/AeronautArmorLayer.kt directory. Line 78, "if (player.wearingAeronautInSlot(EquipmentSlot.HEAD)) {", contains the code that disables the Aeronaut goggles. According to ChatGPT, I should replace the old line with "if (entity.getItemBySlot(EquipmentSlot.HEAD).item is AeronautGogglesItem) {" And, frankly, it worked.

Version: [1.20.1]
Mod Version: [clockwork-0.5.5.2 and valkyrienskies-120-2.4.10]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions