Hello, I am having trouble creating a custom block for my first Minecraft add-on. I want to create a block with custom geometry, but I keep encountering the following error:
[Json][error]-block_definitions | /com.mojang/behavior_packs/blocktest | blocks/up-slap.json | upgrade blocks/up-slap.json | failed to parse file into a json document: Invalid value.
[Blocks][error]-block_definitions | /com.mojang/behavior_packs/blocktest | blocks/up-slap.json | Unexpected version for the loaded data.
Here is my up-slap.json file:
{
"format_version": "1.19.40",
"minecraft:block": {
"description": {
"identifier": "tt:up-slap"
},
"components": {
"minecraft:geometry": "geometry.up-slap",
"minecraft:material_instances": {
"*": {
"texture": "up-slap"
}
}
}
}
}
I followed the official Microsoft developer tutorial, but I can't figure out what I'm doing wrong. Could you please help me? Thank you!