Class SchematicannonRenderer
java.lang.Object
com.simibubi.create.foundation.blockEntity.renderer.SafeBlockEntityRenderer<SchematicannonBlockEntity>
com.simibubi.create.content.schematics.cannon.SchematicannonRenderer
- All Implemented Interfaces:
net.minecraft.client.renderer.blockentity.BlockEntityRenderer<SchematicannonBlockEntity>,net.neoforged.neoforge.client.extensions.IBlockEntityRendererExtension<SchematicannonBlockEntity>
-
Constructor Summary
ConstructorsConstructorDescriptionSchematicannonRenderer(net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context context) -
Method Summary
Modifier and TypeMethodDescriptionstatic double[]getCannonAngles(SchematicannonBlockEntity blockEntity, net.minecraft.core.BlockPos pos, float partialTicks) static doublegetRecoil(SchematicannonBlockEntity blockEntity, float partialTicks) intprotected voidrenderSafe(SchematicannonBlockEntity blockEntity, float partialTicks, com.mojang.blaze3d.vertex.PoseStack ms, net.minecraft.client.renderer.MultiBufferSource buffer, int light, int overlay) booleanshouldRenderOffScreen(SchematicannonBlockEntity blockEntity) 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
-
SchematicannonRenderer
public SchematicannonRenderer(net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context context)
-
-
Method Details
-
renderSafe
protected void renderSafe(SchematicannonBlockEntity blockEntity, float partialTicks, com.mojang.blaze3d.vertex.PoseStack ms, net.minecraft.client.renderer.MultiBufferSource buffer, int light, int overlay) - Specified by:
renderSafein classSafeBlockEntityRenderer<SchematicannonBlockEntity>
-
getCannonAngles
public static double[] getCannonAngles(SchematicannonBlockEntity blockEntity, net.minecraft.core.BlockPos pos, float partialTicks) -
getRecoil
-
shouldRenderOffScreen
-
getViewDistance
public int getViewDistance()
-