DonBruce64 / MinecraftTransportSimulator

A Minecraft mod that adds planes and automobiles with realistic physics!
Other
106 stars 59 forks source link

subParts don't disappear when a parent's visibility is turned off #1755

Closed DrprofLuigi closed 5 months ago

DrprofLuigi commented 6 months ago

The wheel slot is set to applyAfter the mount ($LowerBed). When the mount's visibility is disabled, the rim disappears, but the tire is still visible.

{
    "pos": [0.9375, -0.1875, 1.125],
    "rot": [0, 0, 115],
    "allowParentRemoval": true,
    "isSpare": true,
    "types": ["ground_wheel_budd"],
    "defaultPart": "unuparts:unuparts_part_unu_wheel_truck_budd",
    "minValue": 0.625,
    "maxValue": 1.25,
    "applyAfter": "$LowerBed"
}

2024-01-03_00 06 21 2024-01-03_00 08 31

DonBruce64 commented 6 months ago

Is this a subPart, or a part defined as applyAfter the other part? Cause a subPart is a part on a part, not something that you'd need applyAfter for.

DrprofLuigi commented 6 months ago

The rim is defined to applyAfter the mount, but the tire is a part on the rim. The rim disappears, but the tire does not.

DonBruce64 commented 5 months ago

Addressed in 22.13.0.