Class ConduitRenderer
java.lang.Object
net.minecraft.client.renderer.blockentity.ConduitRenderer
- All Implemented Interfaces:
BlockEntityRenderer<ConduitBlockEntity>,IBlockEntityRendererExtension<ConduitBlockEntity>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Materialprivate final ModelPartstatic final Materialprivate final ModelPartstatic final Materialprivate final BlockEntityRenderDispatcherprivate final ModelPartstatic final Materialstatic final Materialprivate final ModelPartstatic final MaterialFields inherited from interface net.neoforged.neoforge.client.extensions.IBlockEntityRendererExtension
INFINITE_EXTENT_AABB -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LayerDefinitionstatic LayerDefinitionstatic LayerDefinitionstatic LayerDefinitiongetRenderBoundingBox(ConduitBlockEntity blockEntity) Return anAABBthat controls the visible scope of thisBlockEntityRenderer.voidrender(ConduitBlockEntity p_112399_, float p_112400_, PoseStack p_112401_, MultiBufferSource p_112402_, int p_112403_, int p_112404_) 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
-
SHELL_TEXTURE
-
ACTIVE_SHELL_TEXTURE
-
WIND_TEXTURE
-
VERTICAL_WIND_TEXTURE
-
OPEN_EYE_TEXTURE
-
CLOSED_EYE_TEXTURE
-
eye
-
wind
-
shell
-
cage
-
renderer
-
-
Constructor Details
-
ConduitRenderer
-
-
Method Details
-
createEyeLayer
-
createWindLayer
-
createShellLayer
-
createCageLayer
-
render
public void render(ConduitBlockEntity p_112399_, float p_112400_, PoseStack p_112401_, MultiBufferSource p_112402_, int p_112403_, int p_112404_) - Specified by:
renderin interfaceBlockEntityRenderer<ConduitBlockEntity>
-
getRenderBoundingBox
Description copied from interface:IBlockEntityRendererExtensionReturn anAABBthat controls the visible scope of thisBlockEntityRenderer. Defaults to the unit cube at the given position.- Specified by:
getRenderBoundingBoxin interfaceIBlockEntityRendererExtension<ConduitBlockEntity>- Returns:
- an appropriately sized
AABBfor theBlockEntityRenderer
-