Class DelegateBlockStateModel

java.lang.Object
net.neoforged.neoforge.client.model.DelegateBlockStateModel
All Implemented Interfaces:
BlockStateModel, BlockStateModelExtension

public abstract class DelegateBlockStateModel extends Object implements BlockStateModel
A BlockStateModel that delegates all calls to another BlockStateModel.

There is one exception: the BlockStateModelExtension.createGeometryKey(net.minecraft.world.level.BlockAndTintGetter, net.minecraft.core.BlockPos, net.minecraft.world.level.block.state.BlockState, net.minecraft.util.RandomSource) method, which is not delegated. The default implementation of this method returns null, meaning that the geometry of the delegate model cannot be cached using the key.