In this series I explain how to make mods for Minecraft 1.20 using Forge. More information on my tutorials, the GitHub containing the tutorial code and more useful links can be found here:
https://www.mcjty.eu/docs/intro
Table of Contents:
0:00 Introduction and Demo
2:18 BlockState Properties
6:00 Blockstate and model datagen
10:50 Block Entity, capabilities
13:48 User interface (Screen)
15:20 Container
20:37 Opening the screen
22:16 Rest of datagen
23:50 The actual functionality
24:40 LeftClickBlock event
27:30 getQuadrant conveniance
28:20 Networking
31:06 Handling the button hit
36:20 The One Probe integration