Class SchematicannonRenderer
java.lang.Object
com.simibubi.create.foundation.tileEntity.renderer.SafeTileEntityRenderer<SchematicannonTileEntity>
com.simibubi.create.content.schematics.block.SchematicannonRenderer
- All Implemented Interfaces:
net.minecraft.client.renderer.blockentity.BlockEntityRenderer<SchematicannonTileEntity>
-
Constructor Summary
ConstructorsConstructorDescriptionSchematicannonRenderer(net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context context) -
Method Summary
Modifier and TypeMethodDescriptionstatic double[]getCannonAngles(SchematicannonTileEntity tile, net.minecraft.core.BlockPos pos, float partialTicks) static doublegetRecoil(SchematicannonTileEntity tileEntityIn, float partialTicks) intprotected voidrenderSafe(SchematicannonTileEntity tileEntity, float partialTicks, com.mojang.blaze3d.vertex.PoseStack ms, net.minecraft.client.renderer.MultiBufferSource buffer, int light, int overlay) booleanshouldRenderOffScreen(SchematicannonTileEntity tileEntity) Methods inherited from class com.simibubi.create.foundation.tileEntity.renderer.SafeTileEntityRenderer
isInvalid, renderMethods 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
-
shouldRenderOffScreen
-
renderSafe
protected void renderSafe(SchematicannonTileEntity tileEntity, float partialTicks, com.mojang.blaze3d.vertex.PoseStack ms, net.minecraft.client.renderer.MultiBufferSource buffer, int light, int overlay) - Specified by:
renderSafein classSafeTileEntityRenderer<SchematicannonTileEntity>
-
getCannonAngles
public static double[] getCannonAngles(SchematicannonTileEntity tile, net.minecraft.core.BlockPos pos, float partialTicks) -
getRecoil
-
getViewDistance
public int getViewDistance()
-