Class BannerRenderer
java.lang.Object
net.minecraft.client.renderer.blockentity.BannerRenderer
- All Implemented Interfaces:
BlockEntityRenderer<BannerBlockEntity>
,IBlockEntityRendererExtension<BannerBlockEntity>
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private static final int
private final ModelPart
private static final String
private final ModelPart
static final String
private static final int
private final ModelPart
private static final String
Fields inherited from interface net.neoforged.neoforge.client.extensions.IBlockEntityRendererExtension
INFINITE_EXTENT_AABB
-
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<Holder<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<Holder<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
Methods inherited from interface net.neoforged.neoforge.client.extensions.IBlockEntityRendererExtension
getRenderBoundingBox
-
Field Details
-
BANNER_WIDTH
private static final int BANNER_WIDTH- See Also:
-
BANNER_HEIGHT
private static final int BANNER_HEIGHT- See Also:
-
MAX_PATTERNS
private static final int MAX_PATTERNS- See Also:
-
FLAG
- See Also:
-
POLE
- See Also:
-
BAR
- See Also:
-
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<Holder<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<Holder<BannerPattern>, DyeColor>> p_112082_, boolean p_112083_)
-