Why does it tell me that I would use a wrong version? I use the version 1.20 in every file I made. js { "format_version": "1.20", "minecraft:block": { "description": { "identifier": "sv:generator", "menu_category": { "category": "construction" } }, { "minecraft:material_instances": { "*": { "texture": "sv:generator" } } }, "components": { "minecraft:loot": "loot_tables/blocks/generator.json", "minecraft:destructible_by_mining": { "seconds_to_destroy": 3 }, "minecraft:destructible_by_explosion": { "explosion_resistance": 3 }, "minecraft:friction": 0.4, "minecraft:flammable": { "catch_chance_modifier": 0, "destroy_chance_modifier": 0 }, "minecraft:map_color": "#ffffff", "minecraft:light_dampening": 0, "minecraft:light_emission": 0 } } }
#Error
1 messages · Page 1 of 1 (latest)
1.20.10
Would that work with the rest of my addon?
whats your manifest.json minimum engine version?
1, 20, 00
set it to 1, 20, 10
Alright
and set every file to use this version
Now there are like 170+ errors and the block still doesn't work or exist @granite kite 
also material instances belongs to components not description
There's still the same error as before but it's coming with 174 other errors
1.20 is not valid 1.20.0 is valid
.
1.20.10 is also valid if you have min engine version set to 1, 20, 10
I have
can you send the block file again?
{
"format_version": "1.20.10",
"minecraft:block": {
"description": {
"identifier": "sv:generator",
"menu_category": {
"category": "construction"
}
},
"components": {
{
"minecraft:material_instances": {
"*": {
"texture": "sv:generator"
}
}
},
"minecraft:loot": "loot_tables/blocks/generator.json",
"minecraft:destructible_by_mining": {
"seconds_to_destroy": 3
},
"minecraft:destructible_by_explosion": {
"explosion_resistance": 3
},
"minecraft:friction": 0.4,
"minecraft:flammable": {
"catch_chance_modifier": 0,
"destroy_chance_modifier": 0
},
"minecraft:map_color": "#ffffff",
"minecraft:light_dampening": 0,
"minecraft:light_emission": 0
}
}
}```
{
"format_version": "1.20.10",
"minecraft:block": {
"description": {
"identifier": "sv:generator",
"menu_category": {
"category": "construction"
}
},
"components": {
"minecraft:material_instances": {
"*": {
"texture": "sv:generator"
}
},
"minecraft:loot": "loot_tables/blocks/generator.json",
"minecraft:destructible_by_mining": {
"seconds_to_destroy": 3
},
"minecraft:destructible_by_explosion": {
"explosion_resistance": 3
},
"minecraft:friction": 0.4,
"minecraft:flammable": {
"catch_chance_modifier": 0,
"destroy_chance_modifier": 0
},
"minecraft:map_color": "#ffffff",
"minecraft:light_dampening": 0,
"minecraft:light_emission": 0
}
}
}```
here fixed the material instance for you
Now there's something wrong in my terrain_texture.json file because it doesn't show the texture... js { "resource_pack_name": "vanilla", "texture_name": "atlas.terrain", "padding": 8, "num_mip_levels": 4, "texture_data": { "sv:generator": { "textures": "textures/otherblocks/generator" } } }
I think that namespaces are not allowed so instead of using sv:generator use generator
Still doesn't work @granite kite
What does it show
it should be purple if the terrain_texture.json is wrong
But the terrain_texture.json shouldn't be wrong
check components to see if they're up to date
that error sometimes happens when component names are old
Is any of them too old?
were you avail to fix the error?
No
you need the minecraft:unit_cube or minecraft:geometry component, or you can define the texture in blocks.json
Isn't it defined with material_instances here? @fast kelp
no, it should be like this
{
"format_version": "1.20.10",
"minecraft:block": {
"description": {
"identifier": "sv:generator",
"menu_category": {
"category": "construction"
}
},
"components": {
"minecraft:unit_cube": {},
"minecraft:material_instances": {
"*": {
"texture": "generator"
}
},
"minecraft:loot": "loot_tables/blocks/generator.json",
"minecraft:destructible_by_mining": {
"seconds_to_destroy": 3
},
"minecraft:destructible_by_explosion": {
"explosion_resistance": 3
},
"minecraft:friction": 0.4,
"minecraft:flammable": {
"catch_chance_modifier": 0,
"destroy_chance_modifier": 0
},
"minecraft:map_color": "#ffffff",
"minecraft:light_dampening": 0,
"minecraft:light_emission": 0
}
}
}
Ok, thank you ❤️
{
"format_version": "1.20.10",
"minecraft:block": {
"description": {
"identifier": "sv:generator",
"menu_category": {
"category": "construction"
}
},
"components": {
"minecraft:unit_cube": {},
"minecraft:material_instances": {
"*": {
"texture": "generator"
}
},
"minecraft:loot": "loot_tables/blocks/generator.json",
"minecraft:destructible_by_mining": {
"seconds_to_destroy": 3
},
"minecraft:destructible_by_explosion": {
"explosion_resistance": 3
},
"minecraft:friction": 0.4,
"minecraft:flammable": {
"catch_chance_modifier": 0,
"destroy_chance_modifier": 0
},
"minecraft:map_color": "#ffffff",
"minecraft:light_dampening": 0,
"minecraft:light_emission": 0
}
}
}```
"rolls": {
"min": 1,
"max": 1
},
"entries": [
{
"type": "item",
"name": "minecraft:cobblestone",
"weight": 50
},
{
"type": "item",
"name": "minecraft:cobblestone",
"weight": 40
},
{
"type": "item",
"name": "sv:infinity_diamond",
"weight": 10
}
]
}``` Why doesn't it drop the loot? (Behavior/loot_tables/blocks/generator.json
did you put it all inside a pool
No, that's the entite file
yeah
Ok
{
"pools": [
{
"rolls": {
"min": 1,
"max": 1
},
"entries": [
{
"type": "item",
"name": "minecraft:cobblestone",
"weight": 50
},
{
"type": "item",
"name": "minecraft:cobblestone",
"weight": 40
},
{
"type": "item",
"name": "sv:infinity_diamond",
"weight": 10
}
]
}
]
}