Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Format Block Forge 1.12


Ragnar
 Share

Recommended Posts

  • Replies 67
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

You give it a different model. You can start by looking at the anvil.json files (the blockstate and model files).

Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support.

 

1.12 -> 1.13 primer by williewillus.

 

1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support.

 

http://www.howoldisminecraft1710.today/

Link to comment
Share on other sites

for exemple

"__comment": "Anvil base",
            "from": [ 2, 0, 2 ],
            "to": [ 14, 4, 14 ],
            "faces": {
                "down":  { "uv": [ 2,  2, 14, 14 ], "texture": "#body", "rotation": 180, "cullface": "down" },
                "up":    { "uv": [ 2,  2, 14, 14 ], "texture": "#body", "rotation": 180 },
                "north": { "uv": [ 2, 12, 14, 16 ], "texture": "#body" },
                "south": { "uv": [ 2, 12, 14, 16 ], "texture": "#body" },
                "west":  { "uv": [ 0,  2,  4, 14 ], "texture": "#body", "rotation":  90 },
                "east":  { "uv": [ 4,  2,  0, 14 ], "texture": "#body", "rotation": 270 }

 

in "from" and "to" 3 arguments (of numbers) what each one is? in "down" what does each argument in "uv" mean?

Link to comment
Share on other sites

39 minutes ago, Ragnar said:

in "from" and "to" 3 arguments (of numbers) what each one is? in "down" what does each argument in "uv" mean?

From xStart, yStart, zStart

To xEnd, yEnd, zEnd,

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Link to comment
Share on other sites

Same goes for the UV coordinates (almost: they're actually start and size), measured from the top left corner IIRC

Edited by Draco18s

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

14 minutes ago, Ragnar said:

and how many x does a block have? and z and y?

16 and you can use decimals.

 

12 minutes ago, Ragnar said:

but it has 4 numbers, would it be x, y, z and the other?

No its xStart yStart, send, yEnd because it is just coordinates on a texture.

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Link to comment
Share on other sites

26 minutes ago, Animefan8888 said:

16 and you can use decimals.

goes from 0 to 16? or is it from -16 to 16?

27 minutes ago, Animefan8888 said:

No its xStart yStart, send, yEnd because it is just coordinates on a texture.

ah ai is the texture of the respective sides as "down", "north". 
And is xStart, yStart, send, and in that order? and what would the "send"?

 

Sorry for the thousand questions, but you're really helping me a lot, thank you.

 

 Is there any way I can reciprocate?

Link to comment
Share on other sites

33 minutes ago, Ragnar said:

goes from 0 to 16?

This one.

33 minutes ago, Ragnar said:

what would the "send"?

Typo, I meant xEnd.

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Link to comment
Share on other sites

and its not xEnd, yEnd, its xWidth and yHeight.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

Its an issue with z-sorting. But without giving us the model and block classes we literally can't help you.

 

Also:

z-sort.png

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

   

do not bother with the textures, I'm first doing the model, and then put the texture


"elements": [
        {   "__comment": "Pedestal under",
            "from": [ 1, 0, 1 ],
            "to": [ 15, 2, 15 ],
            "faces": {
                "down":  { "uv": [ 1,  16, 1, 16], "texture": "0"},
                "up":    { "uv": [ 16,  1, 16, 1], "texture": "0"},
                "north": { "uv": [ 1,  16, 1, 16], "texture": "0"},
                "south": { "uv": [ 16,  1, 16, 1], "texture": "0"},
                "west":  { "uv": [ 1,  16, 1, 16], "texture": "0"},
                "east":  { "uv": [ 16,  1, 16, 1], "texture": "0"}
            }
        },
        {   "__comment": "Pedestal middle",
            "from": [ 3, 2, 3 ],
            "to": [ 13, 12, 13 ],
            "faces": {
                "down":  { "uv": [ 1,  16, 1, 16], "texture": "0"},
                "up":    { "uv": [ 16,  1, 16, 1], "texture": "0"},
                "north": { "uv": [ 1,  16, 1, 16], "texture": "0"},
                "south": { "uv": [ 16,  1, 16, 1], "texture": "0"},
                "west":  { "uv": [ 1,  16, 1, 16], "texture": "0"},
                "east":  { "uv": [ 16,  1, 16, 1], "texture": "0"}
            }
        },
        {   "__comment": "Pedestal top",
            "from": [ 1, 12, 1 ],
            "to": [ 15, 14, 15 ],
            "faces": {
                "down":  { "uv": [ 1,  16, 1, 16], "texture": "0"},
                "up":    { "uv": [ 16,  1, 16, 1], "texture": "0"},
                "north": { "uv": [ 1,  16, 1, 16], "texture": "0"},
                "south": { "uv": [ 16,  1, 16, 1], "texture": "0"},
                "west":  { "uv": [ 1,  16, 1, 16], "texture": "0"},
                "east":  { "uv": [ 16,  1, 16, 1], "texture": "0"}
            }
        },
        {   "__comment": "Pedestal candles 1",
            "from": [ 3, 14, 3 ],
            "to": [ 5, 16, 5 ],
            "faces": {
                "down":  { "uv": [ 1,  16, 1, 16], "texture": "0"},
                "up":    { "uv": [ 16,  1, 16, 1], "texture": "0"},
                "north": { "uv": [ 1,  16, 1, 16], "texture": "0"},
                "south": { "uv": [ 16,  1, 16, 1], "texture": "0"},
                "west":  { "uv": [ 1,  16, 1, 16], "texture": "0"},
                "east":  { "uv": [ 16,  1, 16, 1], "texture": "0"}
            }
        },
        {   "__comment": "Pedestal candles 2",
            "from": [ 11, 14, 3 ],
            "to": [ 13, 16, 5 ],
            "faces": {
                "down":  { "uv": [ 1,  16, 1, 16], "texture": "0"},
                "up":    { "uv": [ 16,  1, 16, 1], "texture": "0"},
                "north": { "uv": [ 1,  16, 1, 16], "texture": "0"},
                "south": { "uv": [ 16,  1, 16, 1], "texture": "0"},
                "west":  { "uv": [ 1,  16, 1, 16], "texture": "0"},
                "east":  { "uv": [ 16,  1, 16, 1], "texture": "0"}
            }
        },        
        {   "__comment": "Pedestal candles 3",
            "from": [ 3, 14, 11 ],
            "to": [ 5, 16, 13 ],
            "faces": {
                "down":  { "uv": [ 1,  16, 1, 16], "texture": "0"},
                "up":    { "uv": [ 16,  1, 16, 1], "texture": "0"},
                "north": { "uv": [ 1,  16, 1, 16], "texture": "0"},
                "south": { "uv": [ 16,  1, 16, 1], "texture": "0"},
                "west":  { "uv": [ 1,  16, 1, 16], "texture": "0"},
                "east":  { "uv": [ 16,  1, 16, 1], "texture": "0"}
            }
        },
        {   "__comment": "Pedestal candles 4",
            "from": [ 11, 14, 11 ],
            "to": [ 13, 16, 13 ],
            "faces": {
                "down":  { "uv": [ 1,  16, 1, 16], "texture": "0"},
                "up":    { "uv": [ 16,  1, 16, 1], "texture": "0"},
                "north": { "uv": [ 1,  16, 1, 16], "texture": "0"},
                "south": { "uv": [ 16,  1, 16, 1], "texture": "0"},
                "west":  { "uv": [ 1,  16, 1, 16], "texture": "0"},
                "east":  { "uv": [ 16,  1, 16, 1], "texture": "0"}
            }
        },
        {   "__comment": "Pedestal candles 5",
            "from": [ 7, 14, 7 ],
            "to": [ 9, 16, 9 ],
            "faces": {
                "down":  { "uv": [ 1,  16, 1, 16], "texture": "0"},
                "up":    { "uv": [ 16,  1, 16, 1], "texture": "0"},
                "north": { "uv": [ 1,  16, 1, 16], "texture": "0"},
                "south": { "uv": [ 16,  1, 16, 1], "texture": "0"},
                "west":  { "uv": [ 1,  16, 1, 16], "texture": "0"},
                "east":  { "uv": [ 16,  1, 16, 1], "texture": "0"}
            }
        }
    ]

Link to comment
Share on other sites

Can I recommend BlockBench? (blockbench.net)

It’s a tool that allows you to graphically create your model without having to deal with the intricacies & specifics of the process.

An example of one of these intricacies is that in the UV mapping system V goes down, not up (Theres a good story here).

AD59E1E5-89FF-43FC-822F-D01AB6B56612.png.ff78c811c92cf42ffca5b29052593991.pngAA71979E-4931-4274-AB9B-815EC2180ED5.thumb.png.3d55fce09f0fd5f275190019f035b814.png

You should also read https://mcforge.readthedocs.io/en/latest/models/introduction/ and http://greyminecraftcoder.blogspot.com/2015/03/troubleshooting-block-and-item-rendering.html

Edited by Cadiboo

About Me

Spoiler

My Discord - Cadiboo#8887

My WebsiteCadiboo.github.io

My ModsCadiboo.github.io/projects

My TutorialsCadiboo.github.io/tutorials

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Link to comment
Share on other sites

6 minutes ago, Ragnar said:

 

I know there are several programs to do more easily, but I want to do it this way, not wanting to be inelegant

Sorry, I accidentally hit submit right after I started writing, look at my edited post

About Me

Spoiler

My Discord - Cadiboo#8887

My WebsiteCadiboo.github.io

My ModsCadiboo.github.io/projects

My TutorialsCadiboo.github.io/tutorials

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Link to comment
Share on other sites

Or the block class...

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

49 minutes ago, Draco18s said:

Its an issue with z-sorting. But without giving us the model and block classes we literally can't help you.

^^^

14 minutes ago, Ragnar said:

so the bug you're giving and because of the texture and not the template?

That’s not what I said, I gave an example of why using a tool rather than writing it out yourself is less prone to mistakes.

29 minutes ago, Cadiboo said:

An example of one of these intricacies is that in the UV mapping system V goes down, not up

 

2 minutes ago, Ragnar said:

Is it possible for me to put particles a little above the block? if so how could I do this?

In the onRandomDisplayTick method in your block class. Look at BlockFurnace. Also please post your block class.

About Me

Spoiler

My Discord - Cadiboo#8887

My WebsiteCadiboo.github.io

My ModsCadiboo.github.io/projects

My TutorialsCadiboo.github.io/tutorials

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Link to comment
Share on other sites

5 minutes ago, Ragnar said:

it was this, I was using TRANSLUCENT and not CUTOUT

Is your texture going to be transparent?

No?

Use opaque.

5 minutes ago, Ragnar said:

Is it possible for me to put particles a little above the block? if so how could I do this?

Look at where vanilla makes particles.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

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
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.

 Share




×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.