1

Resource pack texture problem [SOLVED]

Cra-Zy 12/15/19 3:59 pm history
214
12/16/2019 6:05 pm
Hello! i'm trying to create a resource pack with a custom model, and everything works well until i add the actual model.

so, i make the item model for a diamond hoe, and until here everything works:

diamond_hoe.json
{
  "parent": "item/handheld",
  "textures": {
   "layer0": "item/diamond_hoe"
  }
}

then i try and add the CustomModelData:

added the custom model
{
  "parent": "item/handheld",
  "textures": {
   "layer0": "item/diamond_hoe"
  },
   "overrides": [
    { "predicate": {"custom_model_data": 3171}, "model": "magic_carousel/mga"}
}

(in both codes you may ignore the TAB-spacing, it didnt copy over.)

as soon as i try to load this it stops working, the whole diamond hoe becoems a purple/black square like it is textureless. and i cant find any way to fix this.

the moment i add a costum data to it, the whole texture decides to stop working, the custom data also doesnt seem to wanna work.


anyone any clue on what could cause this and how to fix this?

i have other textures as well but with those it actually works...
(example where it does actually work)
{
"parent": "block/pressure_plate_up",
"textures": {
"texture": "block/spruce_planks"
},
"overrides": [

{ "predicate": {"custom_model_data": 6555}, "model": "spruce/base"},
{ "predicate": {"custom_model_data": 6556}, "model": "spruce/white"},
{ "predicate": {"custom_model_data": 6557}, "model": "spruce/orange"},
{ "predicate": {"custom_model_data": 6558}, "model": "spruce/magenta"},
{ "predicate": {"custom_model_data": 6559}, "model": "spruce/light_blue"},
{ "predicate": {"custom_model_data": 6560}, "model": "spruce/yellow"},
{ "predicate": {"custom_model_data": 6561}, "model": "spruce/lime"},
{ "predicate": {"custom_model_data": 6562}, "model": "spruce/pink"},
{ "predicate": {"custom_model_data": 6563}, "model": "spruce/gray"},
{ "predicate": {"custom_model_data": 6564}, "model": "spruce/light_gray"},
{ "predicate": {"custom_model_data": 6565}, "model": "spruce/cyan"},
{ "predicate": {"custom_model_data": 6566}, "model": "spruce/purple"},
{ "predicate": {"custom_model_data": 6567}, "model": "spruce/blue"},
{ "predicate": {"custom_model_data": 6568}, "model": "spruce/brown"},
{ "predicate": {"custom_model_data": 6569}, "model": "spruce/green"},
{ "predicate": {"custom_model_data": 6570}, "model": "spruce/red"},
{ "predicate": {"custom_model_data": 6571}, "model": "spruce/black"}
]
}


so i dont get why the first one doesnt seem to be working :/

mc version = 1.14.4


can anyone help me out please? :D

thanks in advance,
~CraZy
Posted by
Cra-Zy
Level 22 : Expert Architect
12

  Have something to say?

JoinSign in

1

Cra-Zy
12/16/2019 6:05 pm
Level 22 : Expert Architect
sooo... i dont know how... but i made a copy of my server as debug server, and there all worked fine, and as soon as i loaded my old server back up everything worked marvelous... idk why, what or how, but it's solved
1

Welcome