#fake_farmland.geo.json
1 messages · Page 1 of 1 (latest)
anyone..?
So the size is still 16x16x16?
Do you have a unit_cube component?
yeah
I don't think I know what that is..
It resets the geometry to a cube
check to see if your json includes that component
yeah np, I don't
It's something with the json
The height geometry works when i use a sample block
Does your block change it's model at any time?
nope
it's just a wet farmland block
Can you provide your BP block file?
{
"format_version": "1.20.0",
"minecraft:block": {
"description": {
"identifier": "RainyPvP:farmLand",
"menu_category": {
"category": "construction"
}
},
"components": {
"minecraft:geometry": "geometry.farmland",
"minecraft:friction": 0.4,
"minecraft:map_color": "#ffffff",
"minecraft:light_dampening": 0,
"minecraft:light_emission": 8
}
}
}```
Is it continuing being 16x16x16?
till now, yes.
I’ll get to my pc in a moment
I don't seem to be experiencing the same issue
with the same json?
I simply added the material instance in order to give the block a texture, other than that yes
could i have all the scripts u made for this in the dms please..?
ill just send here the file I used
{
"format_version": "1.20.0",
"minecraft:block": {
"description": {
"identifier": "RainyPvP:farmLand",
"menu_category": {
"category": "construction"
}
},
"components": {
"minecraft:geometry": "geometry.farmland",
"minecraft:material_instances": {
"*": {
"texture": "diamond_block",
"render_method": "opaque"
}
},
"minecraft:friction": 0.4,
"minecraft:map_color": "#ffffff",
"minecraft:light_dampening": 0,
"minecraft:light_emission": 8
}
}
}```
is the material_instances component neccessary?
It’s how you give your block a texture
If you're using blocks.json it might mess stuff up with the geometry
It's better to use material instances with custom models
oh alr then i wont use it
i have almost the same as urs but it doesn't work breh
Try this exact file, I removed the capitalized letters in your namespace and identifier since that is not a good practice, try to avoid it in the future.
{
"format_version": "1.20.0",
"minecraft:block": {
"description": {
"identifier": "rainypvp:farmland",
"menu_category": {
"category": "construction"
}
},
"components": {
"minecraft:geometry": "geometry.farmland",
"minecraft:material_instances": {
"*": {
"texture": "diamond_block",
"render_method": "opaque"
}
},
"minecraft:friction": 0.4,
"minecraft:map_color": "#ffffff",
"minecraft:light_dampening": 0,
"minecraft:light_emission": 8
}
}
}```
im assuming i need to change the diamond_block though shouldn't i..?
or is it not related..
Yeah.. to your texture
if your texture is the farmland texture, use that
Use this in case you need help understanding what this component does https://learn.microsoft.com/en-us/minecraft/creator/reference/content/blockreference/examples/blockcomponents/minecraftblock_material_instances
wait excuse me, what is the texture name of the farmland?
"farmland_block"
Downloadable from: https://github.com/Mojang/bedrock-samples/releases
bedrock.dev archive: https://bedrock.dev/packs
GitHub (RP & BP) : https://github.com/bedrock-dot-dev/packs
Example particles: https://aka.ms/MCParticlesPack
i searched for it
couldnt find anything useful
i took some of their files ig but other than that no
check terrain texture file, it is probably linked here
nvm got it thanks for helping yeah now everything works!
wait no it doesnt
😭
it used to be dirt sides now its just.. lol