- All Known Subinterfaces:
IAddedRenderBlock
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
void
render(BiConsumer<net.minecraft.core.BlockPos,net.minecraft.world.level.block.state.BlockState> renderer,
net.minecraft.world.level.block.state.BlockState state,
net.minecraft.core.BlockPos pos,
@Nullable net.minecraft.world.level.BlockAndTintGetter getter,
net.minecraft.util.RandomSource random,
@Nullable com.mojang.blaze3d.vertex.PoseStack poseStack,
@Nullable com.mojang.blaze3d.vertex.VertexConsumer vertexConsumer)
-
Method Details
-
render
void render(BiConsumer<net.minecraft.core.BlockPos,net.minecraft.world.level.block.state.BlockState> renderer,
net.minecraft.world.level.block.state.BlockState state,
net.minecraft.core.BlockPos pos,
@Nullable
@Nullable net.minecraft.world.level.BlockAndTintGetter getter,
net.minecraft.util.RandomSource random,
@Nullable
@Nullable com.mojang.blaze3d.vertex.PoseStack poseStack,
@Nullable
@Nullable com.mojang.blaze3d.vertex.VertexConsumer vertexConsumer)
- Parameters:
renderer - A block renderer
getter - Will be null if Sodium is present!
poseStack - Will be null if Sodium is present!
vertexConsumer - Will be null if Sodium is present!