Class ConduitRenderer
java.lang.Object
net.minecraft.client.renderer.blockentity.ConduitRenderer
- All Implemented Interfaces:
BlockEntityRenderer<ConduitBlockEntity>
,IBlockEntityRendererExtension<ConduitBlockEntity>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Material
private final ModelPart
static final Material
private final ModelPart
static final Material
private final BlockEntityRenderDispatcher
private final ModelPart
static final Material
static final Material
private final ModelPart
static final Material
Fields inherited from interface net.neoforged.neoforge.client.extensions.IBlockEntityRendererExtension
INFINITE_EXTENT_AABB
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic LayerDefinition
static LayerDefinition
static LayerDefinition
static LayerDefinition
getRenderBoundingBox
(ConduitBlockEntity blockEntity) Return anAABB
that controls the visible scope of thisBlockEntityRenderer
.void
render
(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, wait
Methods 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:
render
in interfaceBlockEntityRenderer<ConduitBlockEntity>
-
getRenderBoundingBox
Description copied from interface:IBlockEntityRendererExtension
Return anAABB
that controls the visible scope of thisBlockEntityRenderer
. Defaults to the unit cube at the given position.- Specified by:
getRenderBoundingBox
in interfaceIBlockEntityRendererExtension<ConduitBlockEntity>
- Returns:
- an appropriately sized
AABB
for theBlockEntityRenderer
-