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(BlockAndTintGetter, BlockPos, BlockState, 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.