This episode shows you the basics around block entities. I show you how to create a block entity, link it to a block and how to register a block entity type using Fabric and NeoForge methods, since Minecraft prevents us from creating one directly.
🔗Links and Resources🔗
Written Guide: https://larsensmods.de/2025/architect...
GitHub Repository: https://github.com/Larsens-Mods/archi...
🌐Website🌐
https://larsensmods.de/
📖Chapters📖
0:00 Introduction
1:02 Modifying the Block Class
2:58 Create the Block Entity Class
5:32 Linking Block Entity and Block
5:48 Block Entity Types: Class
7:37 The Roadblock: Private Constructor
8:58 Fabric: Register the Block Entity Type
11:19 NeoForge: Register the Block Entity Type
13:38 Showcase in Fabric
14:39 NeoForge: The forgotten line
15:15 Showcase in NeoForge
15:46 Conclusion