Class CopperGolemStatueBlockRenderer
java.lang.Object
net.minecraft.client.renderer.blockentity.CopperGolemStatueBlockRenderer
- All Implemented Interfaces:
BlockEntityRenderer<CopperGolemStatueBlockEntity,,CopperGolemStatueRenderState> IBlockEntityRendererExtension<CopperGolemStatueBlockEntity>
public class CopperGolemStatueBlockRenderer
extends Object
implements BlockEntityRenderer<CopperGolemStatueBlockEntity,CopperGolemStatueRenderState>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Map<CopperGolemStatueBlock.Pose, CopperGolemStatueModel> -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionvoidextractRenderState(CopperGolemStatueBlockEntity p_446789_, CopperGolemStatueRenderState p_445801_, float p_445752_, Vec3 p_446054_, ModelFeatureRenderer.CrumblingOverlay p_446325_) getRenderBoundingBox(CopperGolemStatueBlockEntity blockEntity) Return anAABBthat controls the visible scope of thisBlockEntityRenderer.voidsubmit(CopperGolemStatueRenderState p_445773_, PoseStack p_438983_, SubmitNodeCollector p_439995_, CameraRenderState p_451109_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.renderer.blockentity.BlockEntityRenderer
getViewDistance, shouldRender, shouldRenderOffScreen
-
Field Details
-
models
-
-
Constructor Details
-
CopperGolemStatueBlockRenderer
-
-
Method Details
-
createRenderState
- Specified by:
createRenderStatein interfaceBlockEntityRenderer<CopperGolemStatueBlockEntity,CopperGolemStatueRenderState>
-
extractRenderState
public void extractRenderState(CopperGolemStatueBlockEntity p_446789_, CopperGolemStatueRenderState p_445801_, float p_445752_, Vec3 p_446054_, @Nullable ModelFeatureRenderer.CrumblingOverlay p_446325_) - Specified by:
extractRenderStatein interfaceBlockEntityRenderer<CopperGolemStatueBlockEntity,CopperGolemStatueRenderState>
-
submit
public void submit(CopperGolemStatueRenderState p_445773_, PoseStack p_438983_, SubmitNodeCollector p_439995_, CameraRenderState p_451109_) - Specified by:
submitin interfaceBlockEntityRenderer<CopperGolemStatueBlockEntity,CopperGolemStatueRenderState>
-
getRenderBoundingBox
Description copied from interface:IBlockEntityRendererExtensionReturn anAABBthat controls the visible scope of thisBlockEntityRenderer. Defaults to the unit cube at the given position.AABB.INFINITEcan be used to declare the BER should be visible everywhere.- Specified by:
getRenderBoundingBoxin interfaceIBlockEntityRendererExtension<CopperGolemStatueBlockEntity>- Returns:
- an appropriately sized
AABBfor theBlockEntityRenderer
-