Class WrapperBlockStateModel
java.lang.Object
net.fabricmc.fabric.api.client.model.loading.v1.wrapper.WrapperBlockStateModel
- All Implemented Interfaces:
BlockStateModel
A simple implementation of
BlockStateModel that delegates all method calls to the wrapped field.
Implementations must set the wrapped field somehow.-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.render.model.BlockStateModel
BlockStateModel.CachedUnbaked, BlockStateModel.Unbaked, BlockStateModel.UnbakedGrouped -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedWrapperBlockStateModel(BlockStateModel wrapped) -
Method Summary
-
Field Details
-
wrapped
-
-
Constructor Details
-
WrapperBlockStateModel
protected WrapperBlockStateModel() -
WrapperBlockStateModel
-
-
Method Details
-
addParts
- Specified by:
addPartsin interfaceBlockStateModel
-
getParts
- Specified by:
getPartsin interfaceBlockStateModel
-
particleSprite
- Specified by:
particleSpritein interfaceBlockStateModel
-