@Environment(value=CLIENT) public class BannerBlockEntityRenderer extends BlockEntityRenderer<BannerBlockEntity>
Modifier and Type | Field and Description |
---|---|
private ModelPart |
banner |
private ModelPart |
crossbar |
private ModelPart |
pillar |
dispatcher
Constructor and Description |
---|
BannerBlockEntityRenderer(BlockEntityRenderDispatcher dispatcher) |
Modifier and Type | Method and Description |
---|---|
static ModelPart |
createBanner() |
static void |
method_29999(MatrixStack matrixStack,
VertexConsumerProvider vertexConsumerProvider,
int int2,
int int3,
ModelPart modelPart,
SpriteIdentifier spriteIdentifier,
boolean bool,
List<com.mojang.datafixers.util.Pair<BannerPattern,DyeColor>> list) |
void |
render(BannerBlockEntity bannerBlockEntity,
float float2,
MatrixStack matrixStack,
VertexConsumerProvider vertexConsumerProvider,
int int2,
int int3) |
static void |
renderCanvas(MatrixStack matrices,
VertexConsumerProvider vertexConsumers,
int light,
int overlay,
ModelPart canvas,
SpriteIdentifier baseSprite,
boolean isBanner,
List<com.mojang.datafixers.util.Pair<BannerPattern,DyeColor>> patterns,
boolean bool) |
rendersOutsideBoundingBox
private final ModelPart banner
private final ModelPart pillar
private final ModelPart crossbar
public BannerBlockEntityRenderer(BlockEntityRenderDispatcher dispatcher)
public static ModelPart createBanner()
public void render(BannerBlockEntity bannerBlockEntity, float float2, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2, int int3)
render
in class BlockEntityRenderer<BannerBlockEntity>
public static void method_29999(MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2, int int3, ModelPart modelPart, SpriteIdentifier spriteIdentifier, boolean bool, List<com.mojang.datafixers.util.Pair<BannerPattern,DyeColor>> list)
public static void renderCanvas(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, int overlay, ModelPart canvas, SpriteIdentifier baseSprite, boolean isBanner, List<com.mojang.datafixers.util.Pair<BannerPattern,DyeColor>> patterns, boolean bool)