Jump to content

Recommended Posts

Posted

I have created a 3D model with mrcrayfishes model creator, it renders fine in the 1st person, but in the 3rd person it renders very buggy, it renders inside out, and if it is near the water so it is transparent thru the water.

Please help me quickly!!!

2017-09-05_17.00.14.png

2017-09-05_17.00.17.png

2017-09-05_17.00.20.png

Posted

You probably need to do something different in your code.

Try switching lines 33 and 37.

Spoiler

Or you could...I don't know...show us your code. I might be a wizard, but I'm not telepathic.

 

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.

Posted

Anything that's relevant.

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.

Posted

This isn't a chat room, so I don't particularly care how long it takes you to do whatever. I may not even be the person who fixes your problem.

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.

Posted (edited)
{
    "__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)",
    "textures": {
        "0": "blocks/glass",
        "1": "blocks/coal_block"
    },
    "elements": [
        {
            "name": "glass",
            "from": [ 4.0, 1.0, 4.0 ], 
            "to": [ 12.0, 10.0, 12.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 1.0, 3.0, 9.0, 12.0 ] },
                "east": { "texture": "#0", "uv": [ 2.0, 1.0, 10.0, 10.0 ] },
                "south": { "texture": "#0", "uv": [ 1.0, 4.0, 9.0, 13.0 ] },
                "west": { "texture": "#0", "uv": [ 1.0, 4.0, 9.0, 13.0 ] },
                "up": { "texture": "#0", "uv": [ 1.0, 6.0, 9.0, 14.0 ] },
                "down": { "texture": "#0", "uv": [ 1.0, 4.0, 9.0, 12.0 ] }
            }
        },
        {
            "name": "lid",
            "from": [ 5.0, 10.0, 5.0 ], 
            "to": [ 11.0, 11.0, 11.0 ], 
            "faces": {
                "north": { "texture": "#1", "uv": [ 0.0, 0.0, 6.0, 1.0 ] },
                "east": { "texture": "#1", "uv": [ 0.0, 0.0, 6.0, 1.0 ] },
                "south": { "texture": "#1", "uv": [ 0.0, 0.0, 6.0, 1.0 ] },
                "west": { "texture": "#1", "uv": [ 0.0, 0.0, 6.0, 1.0 ] },
                "up": { "texture": "#1", "uv": [ 0.0, 0.0, 6.0, 6.0 ] },
                "down": { "texture": "#1", "uv": [ 0.0, 0.0, 6.0, 6.0 ] }
            }
        },
        {
            "name": "base",
            "from": [ 4.0, 0.0, 4.0 ], 
            "to": [ 12.0, 1.0, 12.0 ], 
            "faces": {
                "north": { "texture": "#1", "uv": [ 0.0, 0.0, 8.0, 1.0 ] },
                "east": { "texture": "#1", "uv": [ 0.0, 0.0, 8.0, 1.0 ] },
                "south": { "texture": "#1", "uv": [ 0.0, 0.0, 8.0, 1.0 ] },
                "west": { "texture": "#1", "uv": [ 0.0, 0.0, 8.0, 1.0 ] },
                "up": { "texture": "#1", "uv": [ 0.0, 0.0, 8.0, 8.0 ] },
                "down": { "texture": "#1", "uv": [ 0.0, 0.0, 8.0, 8.0 ] }
            }
        }
    ]
}

model block

Edited by BENM888GAMING
Posted

java BlockJar()

public BlockJar(){

  super....(Material....);
  
  setunlocalizedname(...);
  setregistryname(...);
}

public static boolean isfullcube(){
     return false;
}

public static boolean is opquecube(){
  return false;
}

public static .... getblocklayer(){
  return ....TRANSLUSIAN;
}

 

Posted
{
    "parent": "btv:block/jar",
    "display": {
        "gui": {
            "rotation": [ 30, 30, 0 ],
            "translation": [ 0, 0, 0],
            "scale":[ 0.625, 0.625, 0.625 ]
        },
        "ground": {
            "rotation": [ 0, 0, 0 ],
            "translation": [ 0, 3, 0],
            "scale":[ 0.25, 0.25, 0.25 ]
        },
        "fixed": {
            "rotation": [ 0, 0, 0 ],
            "translation": [ 0, 0, 0],
            "scale":[ 0.5, 0.5, 0.5 ]
        },
        "thirdperson_righthand": {
            "rotation": [ 0, 0, 0 ],
            "translation": [ 0, 4, 0],
            "scale": [ 0.6, 0.6, 0.6 ]
        },
        "firstperson_righthand": {
            "rotation": [ 0, 0, 0 ],
            "translation": [ 0, 0, 0 ],
            "scale": [ 0.60, 0.60, 0.60 ]
        },
        "firstperson_lefthand": {
            "rotation": [ 0, 225, 0 ],
            "translation": [ 0, 0, 0 ],
            "scale": [ 0.60, 0.60, 0.60 ]
        }
    }
}

medel item

Posted (edited)

Drop everything inside the item model's "display" tag. You don't need any of that.

 

Also, don't PM me. I am not the only person on this forum who can help you.

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.

Posted

*Shrug*

Its possible that it's a bug you can't fix. Minecraft has a longstanding issue with rendering transparent things.

 

*Checks*  Yup. Ice blocks held in your hand render behind water.

 

I can't find a block that renders inside out in my hand, but one of my own blocks does have a z-fighting issue (only when rendered in 3rd person) and in achievement notifications, another block renders inside out (some vanilla ones do as well).

 

Ah, the slime block exhibits the same problem. It's a vanilla bug, you can't fix it.

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.

Posted

What part of "this is a bug and you can't fix it" did you not understand?

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.

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.