In this tutorial, we are going to be rendering our block entity fluid tank in the world in Fabric 1.21.
-- Want to support me? --
Patreon: https://www.patreon.com/turtywurty
-- Join the community --
Discord: https://discord.turtywurty.dev
-- Check out the source code --
GitHub: https://github.com/DaRealTurtyWurty/1.21-Tutorial-Mod
-- Resources for learning Java --
Official Docs: https://docs.oracle.com/javase/tutorial/
Learn the basics: https://www.codecademy.com/learn/learn-java
Online course with assignments: https://java-programming.mooc.fi/
Java Support Discord: https://discord.gg/GzvQjhv
-- Useful Resources --
Fabric Docs (WIP): https://docs.fabricmc.net/
Fabric Wiki: https://fabricmc.net/wiki/tutorial:start
Fabric Community Wiki: https://fabric.moddedmc.wiki/
Misode: https://misode.github.io/
-- Timestamps --
0:00 - Intro
0:40 - Getter and syncing
2:15 - Fluid Rendering Info
5:30 - Getting the Render Layer
6:55 - VertexConsumer
7:20 - Handling the UVs
10:50 - Y Positions
11:45 - Adding vertices
15:50 - drawQuad method
19:45 - An issue with the RenderLayer
24:20 - Drawing the other faces
26:00 - Drawing the top face
30:00 - Final Testing
31:30 - Outro