Class StationRenderer
java.lang.Object
com.simibubi.create.foundation.blockEntity.renderer.SafeBlockEntityRenderer<StationBlockEntity>
com.simibubi.create.content.trains.station.StationRenderer
- All Implemented Interfaces:
net.minecraft.client.renderer.blockentity.BlockEntityRenderer<StationBlockEntity>,net.neoforged.neoforge.client.extensions.IBlockEntityRendererExtension<StationBlockEntity>
-
Constructor Summary
ConstructorsConstructorDescriptionStationRenderer(net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context context) -
Method Summary
Modifier and TypeMethodDescriptionintstatic voidrenderFlag(dev.engine_room.flywheel.lib.model.baked.PartialModel flag, StationBlockEntity be, float partialTicks, com.mojang.blaze3d.vertex.PoseStack ms, net.minecraft.client.renderer.MultiBufferSource buffer, int light, int overlay) protected voidrenderSafe(StationBlockEntity be, float partialTicks, com.mojang.blaze3d.vertex.PoseStack ms, net.minecraft.client.renderer.MultiBufferSource buffer, int light, int overlay) booleanshouldRenderOffScreen(StationBlockEntity pBlockEntity) static voidtransformFlag(dev.engine_room.flywheel.lib.transform.Transform<?> flag, StationBlockEntity be, float partialTicks, int yRot, boolean flipped) Methods inherited from class com.simibubi.create.foundation.blockEntity.renderer.SafeBlockEntityRenderer
getRenderBoundingBox, isInvalid, render, shouldCullItemMethods 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
shouldRender
-
Constructor Details
-
StationRenderer
public StationRenderer(net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context context)
-
-
Method Details
-
renderSafe
protected void renderSafe(StationBlockEntity be, float partialTicks, com.mojang.blaze3d.vertex.PoseStack ms, net.minecraft.client.renderer.MultiBufferSource buffer, int light, int overlay) - Specified by:
renderSafein classSafeBlockEntityRenderer<StationBlockEntity>
-
renderFlag
public static void renderFlag(dev.engine_room.flywheel.lib.model.baked.PartialModel flag, StationBlockEntity be, float partialTicks, com.mojang.blaze3d.vertex.PoseStack ms, net.minecraft.client.renderer.MultiBufferSource buffer, int light, int overlay) -
transformFlag
public static void transformFlag(dev.engine_room.flywheel.lib.transform.Transform<?> flag, StationBlockEntity be, float partialTicks, int yRot, boolean flipped) -
shouldRenderOffScreen
-
getViewDistance
public int getViewDistance()
-