Was adding some more ores to my add-on and they're all showing up as update blocks. Not really sure why, I pretty much copy pasted the stuff I'm already using for several other blocks and modified names, components, etc.
#Can anyone see why several of my blocks are appearing as "update" blocks?
1 messages · Page 1 of 1 (latest)
Is it bc there's no material instances or unit cube?
I don't think those are necessary for custom block textures to show up
at least my other ores don't have them at all
Weird, mines usually need unit cube and material instances
So everything is the same except identifiers then huh?
yep, here is one of my other ores, working just fine
I was honestly a little confused looking at this, not sure how the block pulls the texture from terrain_texture.json
The texture isn't really referenced anywhere
unless it just takes the part after the identifier
??? You're not even using a blocks.json?
Is it possible to animate Blocks?
You may not animate blocks in the same way as entities, with keyframes or math.
You can, however, animate the model or texture frame by frame; the model can be animated by sequentially hiding/showing new parts of the model.
Texture-wise, you may use block flipbook textures.
https://wiki.bedrock.dev/blocks/blocks-intro.html#block-flipbook-texture-definition
blocks.json isn't a requirement
this is all that's in mine and I'm even removing that here soon
Wait then how are your blocks getting the textures then wtf?
(╯°□°)╯︵ ┻━┻
it's not an issue with the textures at all
modified another blocks texture and it worked just ifne
Wha? Huh??? Bedrock???
Idk, I've never needed to identify anything in blocks.json
Neither have I, i used material instances
Then how? Wha?? Huh???
but I'm not really sure why I'm using them tbh
Can you rty it at least?
"minecraft:material_instances": {
"*": {
"texture": "gemstone_ore_block"
}
},```
should just be this, right?
never seen that component in my entire life
?unit_cube
?unit cube
excuse me
why did you get permission for FAQ bot in forums
😵💫 I am now baffled how you made blocks
is it just minecraft:unit_cube
and nothing?
oh hey! it worked!
But then..
Why have any of my blocks worked
Now it's gonna disappear if ur too far, then it's gonna unload.
Quick tip: use blocks.json for ur block textures and/maybe add material_instances too, then it won't unload if ur far cuz u are not using a model.
PS: unit_cube counts as a block model.
what
Wdym what? That's how unit cubes work
It's hard to explain, but block persons know what I am trying to say.
Unit cube wont disappear unless the material instance is set to alpha test or blend
It acts like a normal block with opaque
@inner turtle You have to use either blocks.json or the material_instances{} component to set block textures, otherwise the block has nowhere to pull textures from. I'm certain that your blocks used to work because you had them defined in blocks.json, or you were pulling them from, or using, another addon in your world that did define the textures.
You cannot make blocks with textures without one or the other.
Using the material_instances{} component is the easier and more typical way to do it, as blocks.json is more or less depreciated, although it still has some uses.
I very much doubt that. Either you had an addon active in the world you tested on that had matching texture path references (did you use another addon to copypasta from to build off of/learn from?) or you had blocks.json defined and accidentally deleted it by mistake somehow.
There's no way that your blocks were magically pulling textures on their own. Straight up.
I did not, I've only ever had my one addon on any world
I have about 60 blocks with no blocks.json references and no material instances that all work fine
Would you be willing to show us? Like, via an upload or something? If what you're saying truly is the case, then I'd be very interested in seeing it firsthand and determining what kind of inheritance shenanigans are being used to make it work.
Well yes, but the material that works with it is really janky
my add-on is available here https://www.mediafire.com/file/vicqt1kg01pmync/Runecraft1_0.mcaddon/file