tr7zw / FirstPersonModel

Enables the third person Model in firstperson
MIT License
132 stars 25 forks source link

About Create #364

Open youfeng11 opened 1 year ago

youfeng11 commented 1 year ago

Sorry, I don't speak English. 我在装了这个Mod后,视线被放在饰品栏的Engineer's Goggles遮挡 S30630-18002713 S30630-17593455 S30630-17590100

tr7zw commented 1 year ago

Don't use the trinket slots, they are not supported(might work on Fabric, but not on forge).

akai-hana commented 1 year ago

Don't use the trinket slots, they are not supported(might work on Fabric, but not on forge).

@tr7zw the goggles interfering with view also happens with regular slots, so it's a bit annoying.

may I kindly ask for you to add a head rendering toggle on configuration, so we can disable the entire head being rendered, and thus remove this interference?

much thanks.

akai-hana commented 1 year ago

image a screenshot just to show it.

909oce commented 12 months ago

also waiting for a workaround/fix for this. maybe an option to just disable rendering of everything in trinket slots would be a bandaid?

tr7zw commented 12 months ago

Trinkets dont render the normal way, thats why it doesn't work in the first place. Currently no short-term plans to fix Trinket stuff since there are just too many trinket mods all over the place and between versions(currently just don't have the time/interest in looking into it).

909oce commented 12 months ago

okay no problem, ill tinker around with setting the goggles model to nothing with a resource pack or maybe some kind of mod like cosmetic armor to hide it

tr7zw commented 12 months ago

It will probably require hooking each possible trinket mod for forge, fabric, all their iterations, and forks to get this right. Since they don't seem to use the mod loaders API, don't attach the thing to the actual body part and ignore it when the body part is invisible. It's just a massive pain.

909oce commented 12 months ago

@youfeng11 @sombrae so the bandaid fix i found for create goggles specifically is to make a resourcepack (or just add to one), create these directories: "RESOURCE PACK\assets\create\models\block", and in this folder create goggles.json which contains:

{
    "credit": "Made with Blockbench",
    "parent": "block/block",
    "textures": {
        "0": "create:block/brass_casing",
        "1": "block/black_stained_glass",
        "2": "create:item/goggles_model",
        "particle": "create:block/brass_casing"
    },
    "elements": []
}

Downside is you won't see your goggles on your skin even in third-person, but atleast you can wear them without getting in the way.

akai-hana commented 12 months ago

@909oce man youre a lifesaver. i love you.

akai-hana commented 11 months ago

also @909oce sorry to necro, but can i ask the logic of that bandaid, or how did you do it? because I found another trinket that interferes with this first person mod (vinery's straw hat), and would like to be able to make my own bandaids too.