Forwarding Baked Model
public abstract class ForwardingBakedModel implements BakedModel, FabricBakedModel
Content copied to clipboard
Base class for specialized model implementations that need to wrap other baked models. Avoids boilerplate code for pass-through methods.
Functions
emitBlockQuads
Link copied to clipboard
void emitBlockQuads(BlockRenderView blockView, BlockState state, BlockPos pos, Supplier<Random> randomSupplier, RenderContext context)
Content copied to clipboard
This method will be called during chunk rebuilds to generate both the static anddynamic portions of a block model when the model implements this interface and isVanillaAdapter returns false.
emitItemQuads
Link copied to clipboard
void emitItemQuads(ItemStack stack, Supplier<Random> randomSupplier, RenderContext context)
Content copied to clipboard
This method will be called during item rendering to generate both the static anddynamic portions of an item model when the model implements this interface and isVanillaAdapter returns false.
getOverrides
Link copied to clipboard
getTransformation
Link copied to clipboard
isVanillaAdapter
Link copied to clipboard
boolean isVanillaAdapter()
Content copied to clipboard
useAmbientOcclusion
Link copied to clipboard
boolean useAmbientOcclusion()
Content copied to clipboard
abstract boolean useAmbientOcclusion()
Content copied to clipboard
Sources
jvm source
Link copied to clipboard