How do I make a block able to be oriented (Minecraft 1.13)












1















I'm experimenting with making my own Resource Pack for an urban world in Minecraft 1.13.1
My first new block texture is a worn asphalt with a white stripe on the side - for use in creating roads and car parks. So you get plain surface on top if you click on a horizontal surface when placing, and the stripe when you click on a vertical surface.
I made it as a re-texture of pink_concrete (which I'm unlikely to use!), with json files in models/block/ to set the textures and blockstates/ to set the variants, in both cases working from one of the log blocks as an example.



{
"parent": "block/cube_column",
"textures": {
"end": "block/gray_concrete",
"side": "block/pink_concrete"
}


}



The textures work but I can still only place the block in top-up orientation.
When I apply the textures to Jungle wood instead, it works as intended. I had thought that setting the parent to cube_column and defining the axes would be sufficient to make it orientable, but clearly I have missed a step somewhere?



There aren't any "spare" orientable blocks that I'm willing to sacrifice - using Jungle Wood was just a test.



[Edited to explain more thoroughly]










share|improve this question

























  • I think it is because Pink Concrete is not orientable, but Jungle Wood is. Try with another block that is orientable and another that is not, if the result is the same, you likely have your answer!

    – Ckankonmange
    Oct 15 '18 at 13:59











  • You used the mods tag. Do you actually use mods and if yes, how is that relevant to the question?

    – Fabian Röling
    Oct 15 '18 at 21:22











  • Mods tag removed - I was using it in the general sense since this SE is not minecraft-specific. Didn't think there'd be a resource packs tag

    – Richard
    Oct 17 '18 at 0:06











  • @Ckankonmange - but my question is specifically what change it is that makes a block orientable. As per my edit, there aren't any orientable blocks that I'm willing to reskin.

    – Richard
    Oct 17 '18 at 0:08
















1















I'm experimenting with making my own Resource Pack for an urban world in Minecraft 1.13.1
My first new block texture is a worn asphalt with a white stripe on the side - for use in creating roads and car parks. So you get plain surface on top if you click on a horizontal surface when placing, and the stripe when you click on a vertical surface.
I made it as a re-texture of pink_concrete (which I'm unlikely to use!), with json files in models/block/ to set the textures and blockstates/ to set the variants, in both cases working from one of the log blocks as an example.



{
"parent": "block/cube_column",
"textures": {
"end": "block/gray_concrete",
"side": "block/pink_concrete"
}


}



The textures work but I can still only place the block in top-up orientation.
When I apply the textures to Jungle wood instead, it works as intended. I had thought that setting the parent to cube_column and defining the axes would be sufficient to make it orientable, but clearly I have missed a step somewhere?



There aren't any "spare" orientable blocks that I'm willing to sacrifice - using Jungle Wood was just a test.



[Edited to explain more thoroughly]










share|improve this question

























  • I think it is because Pink Concrete is not orientable, but Jungle Wood is. Try with another block that is orientable and another that is not, if the result is the same, you likely have your answer!

    – Ckankonmange
    Oct 15 '18 at 13:59











  • You used the mods tag. Do you actually use mods and if yes, how is that relevant to the question?

    – Fabian Röling
    Oct 15 '18 at 21:22











  • Mods tag removed - I was using it in the general sense since this SE is not minecraft-specific. Didn't think there'd be a resource packs tag

    – Richard
    Oct 17 '18 at 0:06











  • @Ckankonmange - but my question is specifically what change it is that makes a block orientable. As per my edit, there aren't any orientable blocks that I'm willing to reskin.

    – Richard
    Oct 17 '18 at 0:08














1












1








1








I'm experimenting with making my own Resource Pack for an urban world in Minecraft 1.13.1
My first new block texture is a worn asphalt with a white stripe on the side - for use in creating roads and car parks. So you get plain surface on top if you click on a horizontal surface when placing, and the stripe when you click on a vertical surface.
I made it as a re-texture of pink_concrete (which I'm unlikely to use!), with json files in models/block/ to set the textures and blockstates/ to set the variants, in both cases working from one of the log blocks as an example.



{
"parent": "block/cube_column",
"textures": {
"end": "block/gray_concrete",
"side": "block/pink_concrete"
}


}



The textures work but I can still only place the block in top-up orientation.
When I apply the textures to Jungle wood instead, it works as intended. I had thought that setting the parent to cube_column and defining the axes would be sufficient to make it orientable, but clearly I have missed a step somewhere?



There aren't any "spare" orientable blocks that I'm willing to sacrifice - using Jungle Wood was just a test.



[Edited to explain more thoroughly]










share|improve this question
















I'm experimenting with making my own Resource Pack for an urban world in Minecraft 1.13.1
My first new block texture is a worn asphalt with a white stripe on the side - for use in creating roads and car parks. So you get plain surface on top if you click on a horizontal surface when placing, and the stripe when you click on a vertical surface.
I made it as a re-texture of pink_concrete (which I'm unlikely to use!), with json files in models/block/ to set the textures and blockstates/ to set the variants, in both cases working from one of the log blocks as an example.



{
"parent": "block/cube_column",
"textures": {
"end": "block/gray_concrete",
"side": "block/pink_concrete"
}


}



The textures work but I can still only place the block in top-up orientation.
When I apply the textures to Jungle wood instead, it works as intended. I had thought that setting the parent to cube_column and defining the axes would be sufficient to make it orientable, but clearly I have missed a step somewhere?



There aren't any "spare" orientable blocks that I'm willing to sacrifice - using Jungle Wood was just a test.



[Edited to explain more thoroughly]







minecraft minecraft-resource-packs






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Oct 17 '18 at 0:09







Richard

















asked Oct 15 '18 at 10:31









RichardRichard

64




64













  • I think it is because Pink Concrete is not orientable, but Jungle Wood is. Try with another block that is orientable and another that is not, if the result is the same, you likely have your answer!

    – Ckankonmange
    Oct 15 '18 at 13:59











  • You used the mods tag. Do you actually use mods and if yes, how is that relevant to the question?

    – Fabian Röling
    Oct 15 '18 at 21:22











  • Mods tag removed - I was using it in the general sense since this SE is not minecraft-specific. Didn't think there'd be a resource packs tag

    – Richard
    Oct 17 '18 at 0:06











  • @Ckankonmange - but my question is specifically what change it is that makes a block orientable. As per my edit, there aren't any orientable blocks that I'm willing to reskin.

    – Richard
    Oct 17 '18 at 0:08



















  • I think it is because Pink Concrete is not orientable, but Jungle Wood is. Try with another block that is orientable and another that is not, if the result is the same, you likely have your answer!

    – Ckankonmange
    Oct 15 '18 at 13:59











  • You used the mods tag. Do you actually use mods and if yes, how is that relevant to the question?

    – Fabian Röling
    Oct 15 '18 at 21:22











  • Mods tag removed - I was using it in the general sense since this SE is not minecraft-specific. Didn't think there'd be a resource packs tag

    – Richard
    Oct 17 '18 at 0:06











  • @Ckankonmange - but my question is specifically what change it is that makes a block orientable. As per my edit, there aren't any orientable blocks that I'm willing to reskin.

    – Richard
    Oct 17 '18 at 0:08

















I think it is because Pink Concrete is not orientable, but Jungle Wood is. Try with another block that is orientable and another that is not, if the result is the same, you likely have your answer!

– Ckankonmange
Oct 15 '18 at 13:59





I think it is because Pink Concrete is not orientable, but Jungle Wood is. Try with another block that is orientable and another that is not, if the result is the same, you likely have your answer!

– Ckankonmange
Oct 15 '18 at 13:59













You used the mods tag. Do you actually use mods and if yes, how is that relevant to the question?

– Fabian Röling
Oct 15 '18 at 21:22





You used the mods tag. Do you actually use mods and if yes, how is that relevant to the question?

– Fabian Röling
Oct 15 '18 at 21:22













Mods tag removed - I was using it in the general sense since this SE is not minecraft-specific. Didn't think there'd be a resource packs tag

– Richard
Oct 17 '18 at 0:06





Mods tag removed - I was using it in the general sense since this SE is not minecraft-specific. Didn't think there'd be a resource packs tag

– Richard
Oct 17 '18 at 0:06













@Ckankonmange - but my question is specifically what change it is that makes a block orientable. As per my edit, there aren't any orientable blocks that I'm willing to reskin.

– Richard
Oct 17 '18 at 0:08





@Ckankonmange - but my question is specifically what change it is that makes a block orientable. As per my edit, there aren't any orientable blocks that I'm willing to reskin.

– Richard
Oct 17 '18 at 0:08










1 Answer
1






active

oldest

votes


















0














Okay, so I know this is old, but in case you still are wondering, I have a little bit of feedback. This is more like what needs to happen, not how to make it happen, as I am rather inexperienced with this kind of thing. I believe you need to define variants of the block in the blockstates json file (if there is one in resource packs, I only know about modding, but I assume there is one). The variant that exists by default is just "normal." However, you need 3 variants: axis=x, axis=y, and axis=z. There is also axis=none but I don't think that it is required. (I found this information on an old Minecraft Forums modding thread here)



Furthermore, you need a way to find which way the block is facing. There is a bit on how to do that in the thread above and can probably be found by investigating the code. Unfortunately, this is where I am not certain, but there is some info on blockstates in the Minecraft Wiki here.



As you can probably tell, I am not the most competent person to help, but I figured that even a little bit could help a bit and maybe you could figure out what you need to do. Hope this helps anyway!





share








New contributor




pastelnarwhal is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "41"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    noCode: true, onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgaming.stackexchange.com%2fquestions%2f339706%2fhow-do-i-make-a-block-able-to-be-oriented-minecraft-1-13%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    Okay, so I know this is old, but in case you still are wondering, I have a little bit of feedback. This is more like what needs to happen, not how to make it happen, as I am rather inexperienced with this kind of thing. I believe you need to define variants of the block in the blockstates json file (if there is one in resource packs, I only know about modding, but I assume there is one). The variant that exists by default is just "normal." However, you need 3 variants: axis=x, axis=y, and axis=z. There is also axis=none but I don't think that it is required. (I found this information on an old Minecraft Forums modding thread here)



    Furthermore, you need a way to find which way the block is facing. There is a bit on how to do that in the thread above and can probably be found by investigating the code. Unfortunately, this is where I am not certain, but there is some info on blockstates in the Minecraft Wiki here.



    As you can probably tell, I am not the most competent person to help, but I figured that even a little bit could help a bit and maybe you could figure out what you need to do. Hope this helps anyway!





    share








    New contributor




    pastelnarwhal is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.

























      0














      Okay, so I know this is old, but in case you still are wondering, I have a little bit of feedback. This is more like what needs to happen, not how to make it happen, as I am rather inexperienced with this kind of thing. I believe you need to define variants of the block in the blockstates json file (if there is one in resource packs, I only know about modding, but I assume there is one). The variant that exists by default is just "normal." However, you need 3 variants: axis=x, axis=y, and axis=z. There is also axis=none but I don't think that it is required. (I found this information on an old Minecraft Forums modding thread here)



      Furthermore, you need a way to find which way the block is facing. There is a bit on how to do that in the thread above and can probably be found by investigating the code. Unfortunately, this is where I am not certain, but there is some info on blockstates in the Minecraft Wiki here.



      As you can probably tell, I am not the most competent person to help, but I figured that even a little bit could help a bit and maybe you could figure out what you need to do. Hope this helps anyway!





      share








      New contributor




      pastelnarwhal is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.























        0












        0








        0







        Okay, so I know this is old, but in case you still are wondering, I have a little bit of feedback. This is more like what needs to happen, not how to make it happen, as I am rather inexperienced with this kind of thing. I believe you need to define variants of the block in the blockstates json file (if there is one in resource packs, I only know about modding, but I assume there is one). The variant that exists by default is just "normal." However, you need 3 variants: axis=x, axis=y, and axis=z. There is also axis=none but I don't think that it is required. (I found this information on an old Minecraft Forums modding thread here)



        Furthermore, you need a way to find which way the block is facing. There is a bit on how to do that in the thread above and can probably be found by investigating the code. Unfortunately, this is where I am not certain, but there is some info on blockstates in the Minecraft Wiki here.



        As you can probably tell, I am not the most competent person to help, but I figured that even a little bit could help a bit and maybe you could figure out what you need to do. Hope this helps anyway!





        share








        New contributor




        pastelnarwhal is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.










        Okay, so I know this is old, but in case you still are wondering, I have a little bit of feedback. This is more like what needs to happen, not how to make it happen, as I am rather inexperienced with this kind of thing. I believe you need to define variants of the block in the blockstates json file (if there is one in resource packs, I only know about modding, but I assume there is one). The variant that exists by default is just "normal." However, you need 3 variants: axis=x, axis=y, and axis=z. There is also axis=none but I don't think that it is required. (I found this information on an old Minecraft Forums modding thread here)



        Furthermore, you need a way to find which way the block is facing. There is a bit on how to do that in the thread above and can probably be found by investigating the code. Unfortunately, this is where I am not certain, but there is some info on blockstates in the Minecraft Wiki here.



        As you can probably tell, I am not the most competent person to help, but I figured that even a little bit could help a bit and maybe you could figure out what you need to do. Hope this helps anyway!






        share








        New contributor




        pastelnarwhal is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.








        share


        share






        New contributor




        pastelnarwhal is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        answered 8 mins ago









        pastelnarwhalpastelnarwhal

        1




        1




        New contributor




        pastelnarwhal is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.





        New contributor





        pastelnarwhal is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.






        pastelnarwhal is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Arqade!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgaming.stackexchange.com%2fquestions%2f339706%2fhow-do-i-make-a-block-able-to-be-oriented-minecraft-1-13%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Котор

            Потомский, Вадим Владимирович

            Бедствия войны