User Tools

Site Tools


Sidebar

← Go back to the homepage

Fabric Tutorials

Setup

Basics

These pages are essential must-reads when modding with Fabric, and modding Minecraft in general, if you are new to modding, it is recommended you read the following.

Items

Blocks and Block Entities

Data Generation

World Generation

Commands

These pages will guide you through Mojang's Brigadier library which allows you to create commands with complex arguments and actions.

Events

These pages will guide you through using the many events included in Fabric API, and how to create your own events for you or other mods to use.

Entities

Fluids

Mixins & ASM

These pages will guide you through the usage of SpongePowered's Mixin library, which is a highly complex topic. We recommend you read these pages thoroughly.

Miscellaneous

Yarn

Contribute to Fabric

tutorial:dynamic_block_rendering

Rendering Blocks and Items Dynamically

There are two main ways to render blocks and items dynamically, depending on what you want to do.

  • Custom Models can be used to dynamically render the block when the chunk mesh is rebuilt. This means that the model will be re-generated only when the chunk is updated, or when you force it to update.
  • Block Entity Renderers are called every frame to draw whatever you want, but the model will still be rendered. This can be used on top of the Custom Models for animation, e.g. a chest opening animation.
tutorial/dynamic_block_rendering.txt · Last modified: 2022/12/16 02:22 by solidblock