Custom blocks with datapacks or resourepack?
Hi,
Is it possible to make custom blocks with datapacks, or should I use a server resource pack to achieve that instead?
2 Replies
you can but either way you will need a resource pack
depends on ur use case
You can add the custom_data component to any item and then use that to do custom stuff defined by a datapack or plugin. That component basically is a identifier of where to look to add the custom data to the item.
But if you place down a block it will remove all its nbt data so it will lose that tag.
The custom_model_data component is how you change a items texture and it does the same thing as the custom_data in that its just an identifier but specifically for resource packs to add custom textures to that item.