Mixin Multipart Baked Model
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.
isVanillaAdapter
Link copied to clipboard
boolean isVanillaAdapter()
Content copied to clipboard
Sources
jvm source
Link copied to clipboard