mojira.dev
MC-96027

piston_extended_sticky.json not supported (1.8/1.9)

piston_extended_sticky.json is not supported or not added.

when a sticky piston is extended it must use the textures of a non-sticky piston. It should be able to use separate textures from the normal piston.
The sticky piston can use separate textures when it's not extended already.

[IE: for use with custom texture packs]
i'm looking for distinct (but simple) differences between sticky and normal pistons in all positions/faces. this was the only one i could not accomplish with textures/models. (.png and .json)
If this is already fixed/possible. please advise.
Thank you.

[[started my texture pack using the default 1.9 resource pack downloaded from planetminecraft, and been modifying textures, and a few jsons so i was expecting everything to be there]]

Attachments

Comments 7

Please do not mark unreleased versions as affected.
You don't have access to them yet.

--- I am a robot. This action was performed automatically.

please attach the file you made instead of the default piston_extended_sticky.json

there is no default piston_extended_sticky.json

copied the 'normal' one and renamed. hoping it would work.

PS. is there a live-chat or forum i can get support for these kinds of things?

renamed copy of piston_extended_normal.json [with different texture names referenced]

The default resource pack has no need of a separate model or textures for an extended sticky piston body, and thus does not define one. However, you may specify one by including a modified blockstate file (assets\minecraft\blockstates\sticky_piston.json) in your resource pack.

Here's the default

{
    "variants": {
        "extended=false,facing=down": { "model": "sticky_piston", "x": 90 },
        "extended=false,facing=up": { "model": "sticky_piston", "x": 270 },
        "extended=false,facing=north": { "model": "sticky_piston" },
        "extended=false,facing=south": { "model": "sticky_piston", "y": 180 },
        "extended=false,facing=west": { "model": "sticky_piston", "y": 270 },
        "extended=false,facing=east": { "model": "sticky_piston", "y": 90 },
        "extended=true,facing=down": { "model": "piston_extended_normal", "x": 90 },
        "extended=true,facing=up": { "model": "piston_extended_normal", "x": 270 },
        "extended=true,facing=north": { "model": "piston_extended_normal" },
        "extended=true,facing=south": { "model": "piston_extended_normal", "y": 180 },
        "extended=true,facing=west": { "model": "piston_extended_normal", "y": 270 },
        "extended=true,facing=east": { "model": "piston_extended_normal", "y": 90 }
    }
}

Here's what you want

{
    "variants": {
        "extended=false,facing=down": { "model": "sticky_piston", "x": 90 },
        "extended=false,facing=up": { "model": "sticky_piston", "x": 270 },
        "extended=false,facing=north": { "model": "sticky_piston" },
        "extended=false,facing=south": { "model": "sticky_piston", "y": 180 },
        "extended=false,facing=west": { "model": "sticky_piston", "y": 270 },
        "extended=false,facing=east": { "model": "sticky_piston", "y": 90 },
        "extended=true,facing=down": { "model": "piston_extended_sticky", "x": 90 },
        "extended=true,facing=up": { "model": "piston_extended_sticky", "x": 270 },
        "extended=true,facing=north": { "model": "piston_extended_sticky" },
        "extended=true,facing=south": { "model": "piston_extended_sticky", "y": 180 },
        "extended=true,facing=west": { "model": "piston_extended_sticky", "y": 270 },
        "extended=true,facing=east": { "model": "piston_extended_sticky", "y": 90 }
    }
}

You'll need to supply the model and texture, but if you just want to tweak the normal piston body, you can just copy piston_extended_normal.json, modify it, and name it appropriately.

Thanks for your help @Torabi , i was unaware of the blockstates files or what they did. i will look in there if i encounter a similar issue again.

Still wondering if there is a livechat or forum for help with these kinds of issues, thanks.

There are lots of help resources for Minecraft, since it has such a large and creative community. There's the Minecraft forums, /r/Minecraft, or for live chat, there are IRC channels like #minecraft and #minecrafthelp on EsperNet.

leasoncre

(Unassigned)

Unconfirmed

Minecraft 1.8.9, Minecraft 16w03a

Retrieved