2

3D model code

arKanSMC's Avatar arKanSMC7/20/19 2:51 am history
2 emeralds 265 8
7/20/2019 9:35 am
arKanSMC's Avatar arKanSMC
i wanna make a redstone texture with 3d model
so i make model texture and coding
but when im loaded it just vanilla textures or not get readed
this code list

folderclimb
folderclimb
(my resourcepack)
->assets
-->minecraft
--->models
---->block
----->redstone_block.json
----->redstone_dust_dot.json
----->redstone_dust_line0.json
----->redstone_dust_line1.json
--->textures
---->block
----->redstone_dust
------>redstone_dust_dot.png
------>redstone_dust_line0.png
------>redstone_dust_line1.png
------>redstone_dust_overlay.png
----->redstone_lamp
------>redstone_lamp_up.png
------>redstone_lamp_sided.png
------>redstone_lamp_down.png
----->redstone_block.png
----->redstone_block.png.mcmeta
----->redstone_torch.png
----->redstone_torch_off.png
->pack.mcmeta

redstone_block.png.mcmeta
{
"animation": {
"frametime": 30,
"interpolate": true,
"frames": [
0,
1,
2,
3,
4,
5,
6,
7,
6,
5,
4,
3,
2,
1
]
}
}

redstone_block.json
{
"textures": {
"redstone_block": "minecraft:block/redstone_block"
},
"display": {
"gui": {
"rotation": [ 30, 45, 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, 180, 0 ],
"translation": [ 0, 0, 0 ],
"scale": [ 1, 1, 1 ]
},
"head": {
"rotation": [ 0, 180, 0 ],
"translation": [ 0, 0, 0 ],
"scale": [ 1, 1, 1 ]
},
"firstperson_righthand": {
"rotation": [ 0, 315, 0 ],
"translation": [ 0, 2.5, 0 ],
"scale": [ 0.4, 0.4, 0.4 ]
},
"thirdperson_righthand": {
"rotation": [ 75, 315, 0 ],
"translation": [ 0, 2.5, 0 ],
"scale": [ 0.375, 0.375, 0.375 ]
}
},
"elements": [
{
"name": "Cube",
"from": [ 0, 0, 0 ],
"to": [ 16, 16, 16 ],
"faces": {
"north": { "texture": "#redstone_block", "uv": [ 0, 0, 16, 16 ] },
"east": { "texture": "#redstone_block", "uv": [ 0, 0, 16, 16 ] },
"south": { "texture": "#redstone_block", "uv": [ 0, 0, 16, 16 ] },
"west": { "texture": "#redstone_block", "uv": [ 0, 0, 16, 16 ] },
"up": { "texture": "#redstone_block", "uv": [ 0, 0, 16, 16 ] },
"down": { "texture": "#redstone_block", "uv": [ 0, 0, 16, 16 ] }
}
}
]
}

redstone_dust_dot.json
{
"textures": {
"redstone_dust_dot": "minecraft:block/redstone_dust/redstone_dust_dot"
},
"display": {
"gui": {
"rotation": [ 30, 45, 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, 180, 0 ],
"translation": [ 0, 0, 0 ],
"scale": [ 1, 1, 1 ]
},
"head": {
"rotation": [ 0, 180, 0 ],
"translation": [ 0, 0, 0 ],
"scale": [ 1, 1, 1 ]
},
"firstperson_righthand": {
"rotation": [ 0, 315, 0 ],
"translation": [ 0, 2.5, 0 ],
"scale": [ 0.4, 0.4, 0.4 ]
},
"thirdperson_righthand": {
"rotation": [ 75, 315, 0 ],
"translation": [ 0, 2.5, 0 ],
"scale": [ 0.375, 0.375, 0.375 ]
}
},
"elements": [
{
"name": "Cube",
"from": [ 4, 0, 4 ],
"to": [ 12, 0.8, 5 ],
"faces": {
"north": { "texture": "#redstone_dust_dot", "uv": [ 4, 4, 12, 4.8 ] },
"east": { "texture": "#redstone_dust_dot", "uv": [ 10, 11, 11, 11.8 ] },
"south": { "texture": "#redstone_dust_dot", "uv": [ 4, 4, 12, 4.8 ] },
"west": { "texture": "#redstone_dust_dot", "uv": [ 5, 4, 6, 4.8 ] },
"up": { "texture": "#redstone_dust_dot", "uv": [ 4, 4, 12, 5 ] },
"down": { "texture": "#redstone_dust_dot", "uv": [ 4, 4, 12, 5 ] }
}
},
{
"name": "Cube",
"from": [ 4, 0, 5 ],
"to": [ 5, 0.8, 12 ],
"faces": {
"east": { "texture": "#redstone_dust_dot", "uv": [ 5, 4, 12, 4.8 ] },
"south": { "texture": "#redstone_dust_dot", "uv": [ 4, 11, 5, 11.8 ] },
"west": { "texture": "#redstone_dust_dot", "uv": [ 5, 4, 12, 4.8 ] },
"up": { "texture": "#redstone_dust_dot", "uv": [ 4, 5, 5, 12 ] },
"down": { "texture": "#redstone_dust_dot", "uv": [ 4, 5, 5, 12 ] }
}
},
{
"name": "Cube",
"from": [ 11, 0, 5 ],
"to": [ 12, 0.8, 12 ],
"faces": {
"east": { "texture": "#redstone_dust_dot", "uv": [ 5, 11, 12, 11.8 ] },
"south": { "texture": "#redstone_dust_dot", "uv": [ 11, 10, 12, 10.8 ] },
"west": { "texture": "#redstone_dust_dot", "uv": [ 5, 11, 12, 11.8 ] },
"up": { "texture": "#redstone_dust_dot", "uv": [ 11, 5, 12, 12 ] },
"down": { "texture": "#redstone_dust_dot", "uv": [ 11, 5, 12, 12 ] }
}
},
{
"name": "Cube",
"from": [ 5, 0, 11 ],
"to": [ 11, 0.8, 12 ],
"faces": {
"north": { "texture": "#redstone_dust_dot", "uv": [ 4, 11, 10, 11.8 ] },
"south": { "texture": "#redstone_dust_dot", "uv": [ 4, 11, 10, 11.8 ] },
"up": { "texture": "#redstone_dust_dot", "uv": [ 5, 11, 11, 12 ] },
"down": { "texture": "#redstone_dust_dot", "uv": [ 5, 11, 11, 12 ] }
}
},
{
"name": "Cube",
"from": [ 5, 0, 5 ],
"to": [ 11, 0.6, 11 ],
"faces": {
"up": { "texture": "#redstone_dust_dot", "uv": [ 5, 5, 11, 11 ] },
"down": { "texture": "#redstone_dust_dot", "uv": [ 5, 5, 11, 11 ] }
}
}
]
}

redstone_dust_line0.json
{
"textures": {
"redstone_dust_line0": "minecraft:block/redstone_dust/redstone_dust_line0"
},
"display": {
"gui": {
"rotation": [ 30, 45, 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, 180, 0 ],
"translation": [ 0, 0, 0 ],
"scale": [ 1, 1, 1 ]
},
"head": {
"rotation": [ 0, 180, 0 ],
"translation": [ 0, 0, 0 ],
"scale": [ 1, 1, 1 ]
},
"firstperson_righthand": {
"rotation": [ 0, 315, 0 ],
"translation": [ 0, 2.5, 0 ],
"scale": [ 0.4, 0.4, 0.4 ]
},
"thirdperson_righthand": {
"rotation": [ 75, 315, 0 ],
"translation": [ 0, 2.5, 0 ],
"scale": [ 0.375, 0.375, 0.375 ]
}
},
"elements": [
{
"name": "Cube",
"from": [ 6, 0, 0 ],
"to": [ 7, 0.6, 16 ],
"faces": {
"north": { "texture": "#redstone_dust_line0", "uv": [ 6, 0, 7, 0.6 ] },
"east": { "texture": "#redstone_dust_line0", "uv": [ 6, 0, 6.6, 16 ] },
"south": { "texture": "#redstone_dust_line0", "uv": [ 6, 15, 7, 15.6 ] },
"west": { "texture": "#redstone_dust_line0", "uv": [ 6, 0, 6.6, 16 ] },
"up": { "texture": "#redstone_dust_line0", "uv": [ 6, 0, 7, 16 ] },
"down": { "texture": "#redstone_dust_line0", "uv": [ 6, 0, 7, 16 ] }
}
},
{
"name": "Cube",
"from": [ 7, 0, 0 ],
"to": [ 9, 0.4, 16 ],
"faces": {
"north": { "texture": "#redstone_dust_line0", "uv": [ 7, 15, 9, 15.4 ] },
"south": { "texture": "#redstone_dust_line0", "uv": [ 7, 5, 9, 5.4 ] },
"up": { "texture": "#redstone_dust_line0", "uv": [ 7, 0, 9, 16 ] },
"down": { "texture": "#redstone_dust_line0", "uv": [ 7, 0, 9, 16 ] }
}
},
{
"name": "Cube",
"from": [ 9, 0, 0 ],
"to": [ 10, 0.6, 16 ],
"faces": {
"north": { "texture": "#redstone_dust_line0", "uv": [ 9, 0, 10, 0.6 ] },
"east": { "texture": "#redstone_dust_line0", "uv": [ 9, 0, 9.6, 16 ] },
"south": { "texture": "#redstone_dust_line0", "uv": [ 9, 15, 10, 15.6 ] },
"west": { "texture": "#redstone_dust_line0", "uv": [ 9, 0, 9.6, 16 ] },
"up": { "texture": "#redstone_dust_line0", "uv": [ 9, 0, 10, 16 ] },
"down": { "texture": "#redstone_dust_line0", "uv": [ 9, 0, 10, 16 ] }
}
}
]
}

redstone_dust_line1.json

{
"textures": {
"redstone_dust_line0": "minecraft:block/redstone_dust/redstone_dust_line0"
},
"display": {
"gui": {
"rotation": [ 30, 45, 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, 180, 0 ],
"translation": [ 0, 0, 0 ],
"scale": [ 1, 1, 1 ]
},
"head": {
"rotation": [ 0, 180, 0 ],
"translation": [ 0, 0, 0 ],
"scale": [ 1, 1, 1 ]
},
"firstperson_righthand": {
"rotation": [ 0, 315, 0 ],
"translation": [ 0, 2.5, 0 ],
"scale": [ 0.4, 0.4, 0.4 ]
},
"thirdperson_righthand": {
"rotation": [ 75, 315, 0 ],
"translation": [ 0, 2.5, 0 ],
"scale": [ 0.375, 0.375, 0.375 ]
}
},
"elements": [
{
"name": "Cube",
"from": [ 6, 0, 0 ],
"to": [ 7, 0.6, 16 ],
"faces": {
"north": { "texture": "#redstone_dust_line0", "uv": [ 6, 0, 7, 0.6 ] },
"east": { "texture": "#redstone_dust_line0", "uv": [ 6, 0, 6.6, 16 ] },
"south": { "texture": "#redstone_dust_line0", "uv": [ 6, 15, 7, 15.6 ] },
"west": { "texture": "#redstone_dust_line0", "uv": [ 6, 0, 6.6, 16 ] },
"up": { "texture": "#redstone_dust_line0", "uv": [ 6, 0, 7, 16 ] },
"down": { "texture": "#redstone_dust_line0", "uv": [ 6, 0, 7, 16 ] }
}
},
{
"name": "Cube",
"from": [ 7, 0, 0 ],
"to": [ 9, 0.4, 16 ],
"faces": {
"north": { "texture": "#redstone_dust_line0", "uv": [ 7, 15, 9, 15.4 ] },
"south": { "texture": "#redstone_dust_line0", "uv": [ 7, 5, 9, 5.4 ] },
"up": { "texture": "#redstone_dust_line0", "uv": [ 7, 0, 9, 16 ] },
"down": { "texture": "#redstone_dust_line0", "uv": [ 7, 0, 9, 16 ] }
}
},
{
"name": "Cube",
"from": [ 9, 0, 0 ],
"to": [ 10, 0.6, 16 ],
"faces": {
"north": { "texture": "#redstone_dust_line0", "uv": [ 9, 0, 10, 0.6 ] },
"east": { "texture": "#redstone_dust_line0", "uv": [ 9, 0, 9.6, 16 ] },
"south": { "texture": "#redstone_dust_line0", "uv": [ 9, 15, 10, 15.6 ] },
"west": { "texture": "#redstone_dust_line0", "uv": [ 9, 0, 9.6, 16 ] },
"up": { "texture": "#redstone_dust_line0", "uv": [ 9, 0, 10, 16 ] },
"down": { "texture": "#redstone_dust_line0", "uv": [ 9, 0, 10, 16 ] }
}
}
]
}

why this no work or not get readed
Posted by arKanSMC's Avatar
arKanSMC
Level 38 : Artisan Procrastinator
11

Create an account or sign in to comment.

8

2
07/20/2019 5:24 amhistory
Level 65 : High Grandmaster Wolf Whisperer
Myyoyo
Myyoyo's Avatar
You need to include the lines and overlays. It should look like this:

On Minecraft 1.12.2

redstone_dot.json
"textures": {
"line": "block/redstone_dust_dot",
"overlay": "block/redstone_dust_overlay"

redstone_side.json
"textures": {
"overlay": "block/redstone_dust_overlay"

redstone_side0.json
"textures": {
"line": "block/redstone_dust_line0"

redstone_side1.json
"textures": {
"line": "block/redstone_dust_line1"


On Minecraft 1.13+

redstone_dust_dot.json
"textures": {
"line": "block/redstone_dust_dot",
"overlay": "block/redstone_dust_overlay"

redstone_dust_side.json
"textures": {
"overlay": "block/redstone_dust_overlay"

redstone_dust_side0.json
"textures": {
"line": "block/redstone_dust_line0"

redstone_dust_side1.json
"textures": {
"line": "block/redstone_dust_line1"
1
07/20/2019 6:17 am
Level 38 : Artisan Procrastinator
arKanSMC
arKanSMC's Avatar
are im need change "redstone_dust_dot": "minecraft:block/redstone_dust/redstone_dust_dot" on redstone_dust_dot?
2
07/20/2019 8:01 am
Level 65 : High Grandmaster Wolf Whisperer
Myyoyo
Myyoyo's Avatar
The default Minecraft redstone_dust_dot.json looks like this:
{
"ambientocclusion": false,
"textures": {
"particle": "block/redstone_dust_dot",
"line": "block/redstone_dust_dot",
"overlay": "block/redstone_dust_overlay"
},
"elements": [
{ "from": [ 0, 0.25, 0 ],
"to": [ 16, 0.25, 16 ],
"shade": false,
"faces": {
"up": { "uv": [ 0, 0, 16, 16], "texture": "#line", "tintindex": 0 }
}
},
{ "from": [ 0, 0.25, 0 ],
"to": [ 16, 0.25, 16 ],
"shade": false,
"faces": {
"up": { "uv": [ 0, 0, 16, 16 ], "texture": "#overlay" }
}
}
]
}
1
07/20/2019 9:35 amhistory
Level 38 : Artisan Procrastinator
arKanSMC
arKanSMC's Avatar
yeah but i use a mrcrayfish so i not know make 3d model with coding and i just need change line to side? it very confuse me
1
07/20/2019 5:23 am
Level 55 : Grandmaster Artist
J o e
J o e's Avatar
What do you mean by "nothing happens"?

If things don't go as expected, always check the logs under latest.log in your minecraft/logs folder. Look for what happens after you reloaded your resource packs. You will find the problem.
1
07/20/2019 6:18 am
Level 38 : Artisan Procrastinator
arKanSMC
arKanSMC's Avatar
nothing happens its like its not error textures like normal minecraft textures
1
07/20/2019 3:16 am
Level 36 : Artisan Crafter
Reptile_
Reptile_'s Avatar
I dont really deal with the coding side of the models but there are alot of tutorials out there to help you out
1
07/20/2019 4:52 am
Level 38 : Artisan Procrastinator
arKanSMC
arKanSMC's Avatar
i has see alot of guide or tutorial
i just use mrcrayfish and .json i put on mineraft/models/block
and nothing happen
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome