Uploaded August 2021 | Updated November 2026, 3 days ago
I'm back! In this video, we're going to add block behaviour functionality. In my video, I use spreading grass as the example, but the same principle applies to things like growing trees, running water, furnaces, etc. Basically, any block that does things.
Thanks for watching!
Chapters:
0:00 Intro
0:15 A Quick Mistake Fix
1:06 Implementing the Tick Loop
3:00 Adding a Chunk Tick Function
4:13 Creating a Block Behaviour Class
6:53 Grass Validation
12:39 Tracking Active Blocks
18:40 Adding Some Behaviour
22:38 Running Checks on any Modified Voxel
26:06 Removing Active Blocks That Can't "Act"
27:52 Making Grass Spread!
30:35 Test Demonstration!
31:08 Wrapping Up
31:44 Patreon Thanks and Outro
-----------------------------------------------------------------------------------
JOIN THE DISCORD SERVER!
discord.gg/aZgBgC2
-----------------------------------------------------------------------------------
SUPPORT THE CHANNEL
The easiest way to support the channel is by liking, subscribing, and sharing. But if you want to go that little bit further, sign up for my Patreon at; patreon.com/b3agz
-----------------------------------------------------------------------------------
LINKS
Asset Files: github.com/b3agz/Code-A-Game-Like-Minecraft-In-Unity/tree/master/29-block-behaviours/Assets
-----------------------------------------------------------------------------------
SOCIAL STUFF!
Website: b3agz.com
Twitter: twitter.com/b3agz
Instagram: instragram.com/b3agz
#MadeWithUnity #Minecraft #Unity3D
I'm back! In this video, we're going to add block behaviour functionality. In my video, I use spreading grass as the example, but the same principle applies to things like growing trees, running water, furnaces, etc. Basically, any block that does things.
Thanks for watching!
Chapters:
0:00 Intro
0:15 A Quick Mistake Fix
1:06 Implementing the Tick Loop
3:00 Adding a Chunk Tick Function
4:13 Creating a Block Behaviour Class
6:53 Grass Validation
12:39 Tracking Active Blocks
18:40 Adding Some Behaviour
22:38 Running Checks on any Modified Voxel
26:06 Removing Active Blocks That Can't "Act"
27:52 Making Grass Spread!
30:35 Test Demonstration!
31:08 Wrapping Up
31:44 Patreon Thanks and Outro
-----------------------------------------------------------------------------------
JOIN THE DISCORD SERVER!
discord.gg/aZgBgC2
-----------------------------------------------------------------------------------
SUPPORT THE CHANNEL
The easiest way to support the channel is by liking, subscribing, and sharing. But if you want to go that little bit further, sign up for my Patreon at; patreon.com/b3agz
-----------------------------------------------------------------------------------
LINKS
Asset Files: github.com/b3agz/Code-A-Game-Like-Minecraft-In-Unity/tree/master/29-block-behaviours/Assets
-----------------------------------------------------------------------------------
SOCIAL STUFF!
Website: b3agz.com
Twitter: twitter.com/b3agz
Instagram: instragram.com/b3agz
#MadeWithUnity #Minecraft #Unity3D










