Class DecoratedPotRenderer
java.lang.Object
net.minecraft.client.renderer.blockentity.DecoratedPotRenderer
- All Implemented Interfaces:
- BlockEntityRenderer<DecoratedPotBlockEntity>,- IBlockEntityRendererExtension<DecoratedPotBlockEntity>
public class DecoratedPotRenderer
extends Object
implements BlockEntityRenderer<DecoratedPotBlockEntity>
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final Stringprivate final ModelPartprivate final Materialprivate final ModelPartprivate static final Stringprivate static final Stringprivate final ModelPartprivate static final Stringprivate final ModelPartprivate final ModelPartprivate static final Stringprivate static final Stringprivate final ModelPartprivate final ModelPartprivate static final Stringprivate static final floatFields inherited from interface net.neoforged.neoforge.client.extensions.IBlockEntityRendererExtensionINFINITE_EXTENT_AABB
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic LayerDefinitionstatic LayerDefinitionprivate static MaterialgetMaterial(Item p_272698_) getRenderBoundingBox(DecoratedPotBlockEntity blockEntity) Return anAABBthat controls the visible scope of thisBlockEntityRenderer.voidrender(DecoratedPotBlockEntity p_273776_, float p_273103_, PoseStack p_273455_, MultiBufferSource p_273010_, int p_273407_, int p_273059_) private voidrenderSide(ModelPart p_273495_, PoseStack p_272899_, MultiBufferSource p_273582_, int p_273242_, int p_273108_, Material p_273173_) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.renderer.blockentity.BlockEntityRenderergetViewDistance, shouldRender, shouldRenderOffScreen
- 
Field Details- 
NECK- See Also:
 
- 
FRONT- See Also:
 
- 
BACK- See Also:
 
- 
LEFT- See Also:
 
- 
RIGHT- See Also:
 
- 
TOP- See Also:
 
- 
BOTTOM- See Also:
 
- 
neck
- 
frontSide
- 
backSide
- 
leftSide
- 
rightSide
- 
top
- 
bottom
- 
baseMaterial
- 
WOBBLE_AMPLITUDEprivate static final float WOBBLE_AMPLITUDE- See Also:
 
 
- 
- 
Constructor Details- 
DecoratedPotRenderer
 
- 
- 
Method Details- 
createBaseLayer
- 
createSidesLayer
- 
getMaterial
- 
renderpublic void render(DecoratedPotBlockEntity p_273776_, float p_273103_, PoseStack p_273455_, MultiBufferSource p_273010_, int p_273407_, int p_273059_) - Specified by:
- renderin interface- BlockEntityRenderer<DecoratedPotBlockEntity>
 
- 
renderSideprivate void renderSide(ModelPart p_273495_, PoseStack p_272899_, MultiBufferSource p_273582_, int p_273242_, int p_273108_, @Nullable Material p_273173_) 
- 
getRenderBoundingBoxDescription copied from interface:IBlockEntityRendererExtensionReturn anAABBthat controls the visible scope of thisBlockEntityRenderer. Defaults to the unit cube at the given position.- Specified by:
- getRenderBoundingBoxin interface- IBlockEntityRendererExtension<DecoratedPotBlockEntity>
- Returns:
- an appropriately sized AABBfor theBlockEntityRenderer
 
 
-