Jump to content

Recommended Posts

Posted

Anyone knows how I can make an item that in the gui seems like a normal item (whit a 2d texture) but when you select it has a 3d model, I have the 3d model but I don´t know how I can render in the gui like a normal item.

{
    "textures": {
        "0": "minecraft:blocks/log_oak"
    },
    "display": {
        "gui": {
            "rotation": [ 43, 157, 309 ],
            "translation": [ 0, 0, 0 ],
            "scale": [ 1, 1, 1 ]
        },
        "ground": {
            "rotation": [ 72, 0, 0 ],
            "translation": [ 0, 2, 0 ],
            "scale": [ 1, 1, 1 ]
        },
        "fixed": {
            "rotation": [ 90, 172, 270 ],
            "translation": [ 0, 0, 0 ],
            "scale": [ 1, 1, 1 ]
        },
        "head": {
            "rotation": [ 0, 180, 0 ],
            "translation": [ 0, 13, 7 ],
            "scale": [ 0, 0, 0 ]
        },
        "firstperson_righthand": {
            "rotation": [ 86, 0, 10 ],
            "translation": [ 1.13, 3.2, 1.13 ],
            "scale": [ 0.68, 0.68, 0.68 ]
        },
        "thirdperson_righthand": {
            "rotation": [ 270, 0, 0 ],
            "translation": [ 0, -2, -1 ],
            "scale": [ 1, 1, 1 ]
        }
    },
    "elements": [
        {
            "name": "log_1",
            "from": [ 5.5, 0, 5.5 ], 
            "to": [ 10.5, 8, 10.5 ], 
            "shade": false,
            "faces": {
                "north": { "texture": "#0", "uv": [ 0, 0, 5, 8 ] },
                "east": { "texture": "#0", "uv": [ 0, 0, 5, 8 ] },
                "south": { "texture": "#0", "uv": [ 0, 0, 5, 8 ] },
                "west": { "texture": "#0", "uv": [ 0, 0, 5, 8 ] },
                "up": { "texture": "#0", "uv": [ 0, 0, 5, 5 ] },
                "down": { "texture": "#0", "uv": [ 0, 0, 5, 5 ] }
            }
        }
    ]
}

 

Posted
  On 2/23/2019 at 4:29 PM, Roiniti said:

"display": { "gui": { "rotation": [ 43, 157, 309 ], "translation": [ 0, 0, 0 ], "scale": [ 1, 1, 1 ] },

Expand  

What’s your problem?

About Me

  Reveal hidden contents

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)

Posted
  On 2/24/2019 at 12:48 AM, Cadiboo said:

What’s your problem?

Expand  

 

  On 2/23/2019 at 11:05 PM, fcelon said:

You have to rotate it in the gui in such a way, that it will look 2D. The model itself is always the same.

Expand  

In this case that can work but if you need to put a texture in 2d like an slimeball or other texture and when you select it shows in 3d in the hand, how can I make it?, that is my question

Posted

GUI display and first person hand displays are seperate. You can change them

About Me

  Reveal hidden contents

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)

Posted
  On 2/23/2019 at 4:29 PM, Roiniti said:

"display": { "gui": { "rotation": [ 43, 157, 309 ], "translation": [ 0, 0, 0 ], "scale": [ 1, 1, 1 ] }, "ground": { "rotation": [ 72, 0, 0 ], "translation": [ 0, 2, 0 ], "scale": [ 1, 1, 1 ] }, "fixed": { "rotation": [ 90, 172, 270 ], "translation": [ 0, 0, 0 ], "scale": [ 1, 1, 1 ] }, "head": { "rotation": [ 0, 180, 0 ], "translation": [ 0, 13, 7 ], "scale": [ 0, 0, 0 ] }, "firstperson_righthand": { "rotation": [ 86, 0, 10 ], "translation": [ 1.13, 3.2, 1.13 ], "scale": [ 0.68, 0.68, 0.68 ] }, "thirdperson_righthand": { "rotation": [ 270, 0, 0 ], "translation": [ 0, -2, -1 ], "scale": [ 1, 1, 1 ] } },

Expand  

 

About Me

  Reveal hidden contents

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)

Posted

Rotate so it’s not 3d? The model stays the same unless you use a custom baked model or TEISR implementation 

About Me

  Reveal hidden contents

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)

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



×
×
  • Create New...

Important Information

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