Jump to content

[1.13.2] json blockstate


Erfurt

Recommended Posts

Hey guys, so I'm currently in the process of updating a modding project, and I'm having some trouble with my blockstate files. It's something that was working in 1.12.2, and isn't anymore. I know that some textures have changed names, and that the vanilla way has been updated between 1.12.2 and 1.13.2, however I had been using the forge method, and they don't seems to work now. So my question is do I need to implement the changes from vanilla in the forge method?

 

Here's a couple of my files that is no longer working, these are taken from my 1.12.2 mod. So that's way the textures names are wrong.

Spoiler

{
    "forge_marker": 1,
    "defaults": {
        "textures": {
            "wall": "blocks/stonebrick"
        }
    },
    "variants": {
        "up"        : {
            "true"  : { "submodel": { "wall_up"    : { "model": "wall_post"                           }}},
            "false" : {}
        },
        "north"     : {
            "true"  : { "submodel": { "wall_north" : { "model": "wall_side", "uvlock": true           }}},
            "false" : {}
        },
        "east"      : {
            "true"  : { "submodel": { "wall_east"  : { "model": "wall_side", "uvlock": true, "y":  90 }}},
            "false" : {}
        },
        "south"     : {
            "true"  : { "submodel": { "wall_south" : { "model": "wall_side", "uvlock": true, "y": 180 }}},
            "false" : {}
        },
        "west"      : {
            "true"  : { "submodel": { "wall_west"  : { "model": "wall_side", "uvlock": true, "y": 270 }}},
            "false" : {}
        }
    }
}

 

 

{
    "forge_marker": 1,
    "defaults": {
        "textures": {
            "all": "eadore:blocks/block_amethyst"
        }
    },
    "variants": {
        "normal": { "model": "cube_all", "uvlock": true }
    }
}

My other question is do I need to make item models for all the blocks now aswell or does the forge method still not need them, for certain types of blocks?

 

So just to be clear nothing have really changed in my own naming scheme. So if nothing have changed with the method I'm using, then I must have done something wrong elsewhere. But if someone could just give me an example for a normal block, then I should be able to figure out how make it work with something like the wall blockstate.

Link to comment
Share on other sites

Your log should tell you more about why it isn't loading the blockstate json.

 

I just used vanilla format without the forge_marker, so i can't comment on that one.

(Might have heard somewhere it's not implemented yet,but don't quote me on that.)

 

As for changes, one change is that the "normal" variant is now just an empty string "".

And the blocks and items folders now should be named block and item.

 

If you use your block as an item as well you will need an json model for it,

also you normally just use your block model as a parent and that's it.

 

For an example just look at the vanilla files.

Link to comment
Share on other sites

8 hours ago, Keitaro said:

Your log should tell you more about why it isn't loading the blockstate json.

 

I just used vanilla format without the forge_marker, so i can't comment on that one.

(Might have heard somewhere it's not implemented yet,but don't quote me on that.)

 

As for changes, one change is that the "normal" variant is now just an empty string "".

And the blocks and items folders now should be named block and item.

 

If you use your block as an item as well you will need an json model for it,

also you normally just use your block model as a parent and that's it.

 

For an example just look at the vanilla files.

This is the main "error" that I get

Spoiler

[12:10:13.155] [Client thread/WARN] [minecraft/ModelBlock]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[12:10:13.155] [Client thread/WARN] [minecraft/ModelBlock]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[12:10:13.155] [Client thread/WARN] [minecraft/ModelBlock]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[12:10:13.155] [Client thread/WARN] [minecraft/ModelBlock]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[12:10:13.155] [Client thread/WARN] [minecraft/ModelBlock]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[12:10:13.155] [Client thread/WARN] [minecraft/ModelBlock]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[12:10:13.155] [Client thread/WARN] [minecraft/ModelBlock]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[12:10:13.189] [Client thread/WARN] [minecraft/ModelBakery]: Unable to resolve texture reference: #down in minecraft:block/cube_all
[12:10:13.189] [Client thread/WARN] [minecraft/ModelBakery]: Unable to resolve texture reference: #up in minecraft:block/cube_all
[12:10:13.189] [Client thread/WARN] [minecraft/ModelBakery]: Unable to resolve texture reference: #north in minecraft:block/cube_all
[12:10:13.189] [Client thread/WARN] [minecraft/ModelBakery]: Unable to resolve texture reference: #south in minecraft:block/cube_all
[12:10:13.189] [Client thread/WARN] [minecraft/ModelBakery]: Unable to resolve texture reference: #west in minecraft:block/cube_all
[12:10:13.189] [Client thread/WARN] [minecraft/ModelBakery]: Unable to resolve texture reference: #east in minecraft:block/cube_all
[12:10:13.193] [Client thread/INFO] [minecraft/TextureMap]: Max texture size: 16384
[12:10:14.721] [Client thread/INFO] [minecraft/TextureMap]: Created: 512x512 textures-atlas
[12:10:14.873] [Client thread/WARN] [minecraft/ModelBlock]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[12:10:14.874] [Client thread/WARN] [minecraft/ModelBlock]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[12:10:14.874] [Client thread/WARN] [minecraft/ModelBlock]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[12:10:14.874] [Client thread/WARN] [minecraft/ModelBlock]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[12:10:14.874] [Client thread/WARN] [minecraft/ModelBlock]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[12:10:14.874] [Client thread/WARN] [minecraft/ModelBlock]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[12:10:14.874] [Client thread/WARN] [minecraft/ModelBlock]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all

The thing is that I have about a hundred blocks, and if I have to redo all of my blockstates and have them be "vanillafied", making new files for blocks and blockitems, that's going to take me about a week to do, as I have very limited time to work on this. So if I could use my old files, by updating a few things here and there, then that would be great.

 

Also can anyone confirm or deny if it's implemented or not at this stage? I'm using the 1.13.2 - 25.0.90 version. No point in trying to make it work if it's not implemented. :)

Link to comment
Share on other sites

I don't think it's high on the list, since the vanilla way works just fine.

 

The 100 item models you will need either way.

 

Since the changes should be fairly similar in all your files,

you could look into regular expressions and a way to automate the conversion.

Link to comment
Share on other sites

6 minutes ago, Keitaro said:

I don't think it's high on the list, since the vanilla way works just fine.

 

The 100 item models you will need either way.

 

Since the changes should be fairly similar in all your files,

you could look into regular expressions and a way to automate the conversion.

Well... It's not just the item models I need to make, I also need to make block models, and redo all the blockstates. And when many of my blocks use multiple different models, then it quickly adds up. I understand that it might not be high on the list, however it seems that they are working on it, so I can wait till it's done.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Slot depo 5k merupakan situs slot depo 5k yang menyediakan slot minimal deposit 5rb atau 5k via dana yang super gacor, dimana para pemain hanya butuh modal depo sebesar 5k untuk bisa bermain di link slot gacor thailand terbaru tahun 2024 yang gampang menang ini.   DAFTAR & LOGIN AKUN PRO SLOT DEPO 5K ⭐⭐⭐ KLIK DISINI ⭐⭐⭐  
    • Slot deposit 3000 adalah situs slot deposit 3000 via dana yang super gacor dimana para pemain dijamin garansi wd hari ini juga hanya dengan modal receh berupa deposit sebesar 3000 baik via dana, ovo, gopay maupun linkaja untuk para pemain pengguna e-wallet di seluruh Indonesia.   DAFTAR & LOGIN AKUN PRO SLOT DEPOSIT 3000 ⭐⭐⭐ KLIK DISINI ⭐⭐⭐  
    • OLXTOTO: Menikmati Sensasi Bermain Togel dan Slot dengan Aman dan Mengasyikkan Dunia perjudian daring terus berkembang dengan cepat, dan salah satu situs yang telah menonjol dalam pasar adalah OLXTOTO. Sebagai platform resmi untuk permainan togel dan slot, OLXTOTO telah memenangkan kepercayaan banyak pemain dengan menyediakan pengalaman bermain yang aman, adil, dan mengasyikkan. DAFTAR OLXTOTO DISINI <a href="https://imgbb.com/"><img src="https://i.ibb.co/GnjSVpx/daftar1-480x480.webp" alt="daftar1-480x480" border="0" /></a> Keamanan Sebagai Prioritas Utama Salah satu aspek utama yang membuat OLXTOTO begitu menonjol adalah komitmennya terhadap keamanan pemain. Dengan menggunakan teknologi enkripsi terkini, situs ini memastikan bahwa semua informasi pribadi dan keuangan para pemain tetap aman dan terlindungi dari akses yang tidak sah. Beragam Permainan yang Menarik Di OLXTOTO, pemain dapat menemukan beragam permainan yang menarik untuk dinikmati. Mulai dari permainan klasik seperti togel hingga slot modern dengan fitur-fitur inovatif, ada sesuatu untuk setiap selera dan preferensi. Grafik yang memukau dan efek suara yang mengagumkan menambah keseruan setiap putaran. Peluang Menang yang Tinggi Salah satu hal yang paling menarik bagi para pemain adalah peluang menang yang tinggi yang ditawarkan oleh OLXTOTO. Dengan pembayaran yang adil dan peluang yang setara bagi semua pemain, setiap taruhan memberikan kesempatan nyata untuk memenangkan hadiah besar. Layanan Pelanggan yang Responsif Tim layanan pelanggan OLXTOTO siap membantu para pemain dengan setiap pertanyaan atau masalah yang mereka hadapi. Dengan layanan yang ramah dan responsif, pemain dapat yakin bahwa mereka akan mendapatkan bantuan yang mereka butuhkan dengan cepat dan efisien. Kesimpulan OLXTOTO telah membuktikan dirinya sebagai salah satu situs terbaik untuk penggemar togel dan slot online. Dengan fokus pada keamanan, beragam permainan yang menarik, peluang menang yang tinggi, dan layanan pelanggan yang luar biasa, tidak mengherankan bahwa situs ini telah menjadi pilihan utama bagi banyak pemain. Jadi, jika Anda mencari pengalaman bermain yang aman, adil, dan mengasyikkan, jangan ragu untuk bergabung dengan OLXTOTO hari ini dan rasakan sensasi kemenangan!
    • Slot deposit dana adalah situs slot deposit dana yang juga menerima dari e-wallet lain seperti deposit via dana, ovo, gopay & linkaja terlengkap saat ini, sehingga para pemain yang tidak memiliki rekening bank lokal bisa tetap bermain slot dan terbantu dengan adanya fitur tersebut.   DAFTAR & LOGIN AKUN PRO SLOT DEPOSIT DANA ⭐⭐⭐ KLIK DISINI ⭐⭐⭐  
    • Slot deposit dana adalah situs slot deposit dana minimal 5000 yang dijamin garansi super gacor dan gampang menang, dimana para pemain yang tidak memiliki rekening bank lokal tetap dalam bermain slot dengan melakukan deposit dana serta e-wallet lainnya seperti ovo, gopay maupun linkaja lengkap. Agar para pecinta slot di seluruh Indonesia tetap dapat menikmati permainan tanpa halangan apapun khususnya metode deposit, dimana ketersediaan cara deposit saat ini yang lebih beragam tentunya sangat membantu para pecinta slot.   DAFTAR & LOGIN AKUN PRO SLOT DEPOSIT DANA ⭐⭐⭐ KLIK DISINI ⭐⭐⭐  
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.