I have been looking for some info on this but i just found how to replace another block for a new one with a new texture.
Its possible to add a new block through a datapack?
Just want to improve the vanilla game with simple tweaks.
Apreciate your help,
Check my channel: https://www.youtube.com/channel/UC4QZjSdP4e1a1errflXHiuA
u can't add new blocks into the game though u can change the texture
but you can creat entities to simulate the function
Datapacks unlike mods only allow you to use Vanilla blocks, change textures and add functions to blocks as if they are new. Or use armour stands besides mobs to act like a new.
Best to go with Youtube tutorials or the Minecraft wiki page to work out functions, recipes and more.
'Fabric, Rift & Tesla Mod Thread Creator/Niche Community Content Finder/Youtuber!' I also make modpacks/maps.
1.16 Fabric: https://www.minecraftforum.net/forums/mapping-and-modding-java-edition/minecraft-mods/mods-discussion/3004971-fabric-1-16-snapshot-discussion-thread-20w06a-is
1.15 Fabric/Forge: https://www.minecraftforum.net/forums/mapping-and-modding-java-edition/minecraft-mods/mods-discussion/2988502-fabric-1-15-snapshot-discussion-thread-install
1.14 Fabric/Forge: https://www.minecraftforum.net/forums/mapping-and-modding-java-edition/minecraft-mods/mods-discussion/2938388-fabric-1-14-mod-loader-mod-discussion-section
1.13 Rift/Forge: https://www.minecraftforum.net/forums/mapping-and-modding-java-edition/minecraft-mods/mods-discussion/2925529-rift-1-13-mods-discussion-section
Tesla API: https://www.minecraftforum.net/forums/mapping-and-modding-java-edition/minecraft-mods/mods-discussion/2937710-tesla-mod-listings-help-discussion-section