Page 1 of 2

Textures dont load ingame?

Posted: 16 Nov 2016, 15:31
by Codex
Hey,

I dont know why but if I export an json and then open it Ingame the GUI texture shows but if I place down the Block, it wont

Block used: red_nether_brick
Mc version: 1.10.2

And btw, if I use Voxels, I need the Voxelpalet in my Texturepack, right? And if yes, where can I find it? :D

Ty for the help ^^

Re: Textures dont load ingame?

Posted: 16 Nov 2016, 15:37
by Sphax
If you use voxels, you need to convert them to elements before exporting to Minecraft JSON.
After conversion you need to export to JSON and save the generated texture.

To save the generated texture, you have 2 ways:
  1. Save it manually: right click on texture > Save texture
  2. Always export texture aside Minecraft JSON: Go in Tools > Preferences > Formats > Save textures as png on export (aside json)

Re: Textures dont load ingame?

Posted: 16 Nov 2016, 15:41
by Codex
Omg thank you <3 Your answered so fast :ยง

Re: Textures dont load ingame?

Posted: 16 Nov 2016, 16:18
by Codex
Another short question, this ist the http://hastebin.com/juyihenivo.json json file and the Problem is the Textures dont show up ingame, they are located in the textures/blocks

Any idea ?

Re: Textures dont load ingame?

Posted: 16 Nov 2016, 16:35
by Sphax
if "textures/blocks/SurgeyTable1.png" file and "blocks/wool_colored_cyan" exist in your RP your model should be textured.

Re: Textures dont load ingame?

Posted: 16 Nov 2016, 16:59
by Codex
They do but it still doesnt load... ;(

Re: Textures dont load ingame?

Posted: 16 Nov 2016, 17:55
by HanFox
For MC1.10 all files/folders in RPs have to be lowercase. i.e. you need to change SurgeyTable1.png to be called surgeytable1.png

Re: Textures dont load ingame?

Posted: 16 Nov 2016, 18:15
by Codex
Im sorry to annoy you, but im still stuck. So if it helps you in anyway, I can give you the resource Pack with the json (purpure_block i guess) And the textures etc, I used Mc 1.10.2

File: http://www.mediafire.com/file/0j1edbfxe ... ckPack.zip

Re: Textures dont load ingame?

Posted: 16 Nov 2016, 18:40
by HanFox
I made a mistake when I said about filenames that was a change only implemented in MC1.11, but future proofing, hey? :P

Regardless, your model errors because it falls outside of the allowed range for MC (-16 to +32).

Code: Select all

18:39:43] [Client thread/WARN]: Unable to load block model: 'minecraft:block/purpur_block' for variant: 'minecraft:purpur_block#normal': com.google.gson.JsonParseException: 'to' specifier exceeds the allowed boundaries: Vector3f[37.5, 13.0, 15.0] 
[18:39:43] [Client thread/WARN]: Unable to load block model: 'minecraft:block/purpur_block' for variant: 'minecraft:purpur_double_slab#variant=default': com.google.gson.JsonParseException: 'to' specifier exceeds the allowed boundaries: Vector3f[37.5, 13.0, 15.0] 
[18:39:43] [Client thread/WARN]: In parent chain: minecraft:item/purpur_block -> minecraft:block/purpur_block; unable to load model: 'minecraft:block/purpur_block'
com.google.gson.JsonParseException: 'to' specifier exceeds the allowed boundaries: Vector3f[37.5, 13.0, 15.0]
That refers to:

Code: Select all

{
			"__comment": "Cube5",
			"from": [ 18.5, 12, 1 ],
			"to": [ 37.5, 13, 15 ],
			"rotation": { "origin": [ 18.5, 12, 1 ], "axis": "z", "angle": 45 },
			"faces": {
				"down": { "uv": [ 0, 0, 16, 16 ], "texture": "#texture", "cullface": "east" },
				"up": { "uv": [ 0, 0, 16, 16 ], "texture": "#texture", "cullface": "east" },
				"north": { "uv": [ 0, 0, 16, 16 ], "texture": "#texture", "cullface": "east" },
				"south": { "uv": [ 0, 0, 16, 16 ], "texture": "#texture", "cullface": "east" },
				"east": { "uv": [ 0, 0, 16, 16 ], "texture": "#texture", "cullface": "east" }
			}
		},

Re: Textures dont load ingame?

Posted: 16 Nov 2016, 18:46
by Codex
Ohhhhhhhh, Thank you so much, im dumb xD So I cant use all 3x3x3 Blocks ? So what exactly am I allowed to do ? :D

And yes future proofing :D Good to know so I dont suffer on that in the futer ^^

But also Thank You for the answer!!