Class BannerRenderer
java.lang.Object
net.minecraft.client.renderer.blockentity.BannerRenderer
- All Implemented Interfaces:
BlockEntityRenderer<BannerBlockEntity>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic LayerDefinition
void
render(BannerBlockEntity p_112052_, float p_112053_, PoseStack p_112054_, MultiBufferSource p_112055_, int p_112056_, int p_112057_)
static void
renderPatterns(PoseStack p_112066_, MultiBufferSource p_112067_, int p_112068_, int p_112069_, ModelPart p_112070_, Material p_112071_, boolean p_112072_, List<com.mojang.datafixers.util.Pair<BannerPattern,DyeColor>> p_112073_)
static void
renderPatterns(PoseStack p_112075_, MultiBufferSource p_112076_, int p_112077_, int p_112078_, ModelPart p_112079_, Material p_112080_, boolean p_112081_, List<com.mojang.datafixers.util.Pair<BannerPattern,DyeColor>> p_112082_, boolean p_112083_)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.renderer.blockentity.BlockEntityRenderer
getViewDistance, shouldRender, shouldRenderOffScreen
-
Field Details
-
BANNER_WIDTH
private static final int BANNER_WIDTH- See Also:
- Constant Field Values
-
BANNER_HEIGHT
private static final int BANNER_HEIGHT- See Also:
- Constant Field Values
-
MAX_PATTERNS
private static final int MAX_PATTERNS- See Also:
- Constant Field Values
-
FLAG
- See Also:
- Constant Field Values
-
POLE
- See Also:
- Constant Field Values
-
BAR
- See Also:
- Constant Field Values
-
flag
-
pole
-
bar
-
-
Constructor Details
-
BannerRenderer
-
-
Method Details
-
createBodyLayer
-
render
public void render(BannerBlockEntity p_112052_, float p_112053_, PoseStack p_112054_, MultiBufferSource p_112055_, int p_112056_, int p_112057_)- Specified by:
render
in interfaceBlockEntityRenderer<BannerBlockEntity>
-
renderPatterns
public static void renderPatterns(PoseStack p_112066_, MultiBufferSource p_112067_, int p_112068_, int p_112069_, ModelPart p_112070_, Material p_112071_, boolean p_112072_, List<com.mojang.datafixers.util.Pair<BannerPattern,DyeColor>> p_112073_) -
renderPatterns
public static void renderPatterns(PoseStack p_112075_, MultiBufferSource p_112076_, int p_112077_, int p_112078_, ModelPart p_112079_, Material p_112080_, boolean p_112081_, List<com.mojang.datafixers.util.Pair<BannerPattern,DyeColor>> p_112082_, boolean p_112083_)
-