Class SolarCookerBlockEntityRenderer

java.lang.Object
de.cech12.solarcooker.client.SolarCookerBlockEntityRenderer
All Implemented Interfaces:
net.minecraft.client.renderer.blockentity.BlockEntityRenderer<SolarCookerBlockEntity,SolarCookerRenderState>

public class SolarCookerBlockEntityRenderer extends Object implements net.minecraft.client.renderer.blockentity.BlockEntityRenderer<SolarCookerBlockEntity,SolarCookerRenderState>
  • Constructor Summary

    Constructors
    Constructor
    Description
    SolarCookerBlockEntityRenderer(net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context rendererProvider)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    void
    extractRenderState(@NotNull SolarCookerBlockEntity blockEntity, @NotNull SolarCookerRenderState blockEntityRenderState, float partialTicks, @NotNull net.minecraft.world.phys.Vec3 vec, net.minecraft.client.renderer.feature.ModelFeatureRenderer.CrumblingOverlay overlay)
     
    void
    submit(@NotNull SolarCookerRenderState blockEntityRenderState, @NotNull com.mojang.blaze3d.vertex.PoseStack matrixStackIn, @NotNull net.minecraft.client.renderer.SubmitNodeCollector submitNodeCollector, @NotNull net.minecraft.client.renderer.state.CameraRenderState cameraRenderState)
     

    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
  • Constructor Details

    • SolarCookerBlockEntityRenderer

      public SolarCookerBlockEntityRenderer(net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context rendererProvider)
  • Method Details

    • createRenderState

      public SolarCookerRenderState createRenderState()
      Specified by:
      createRenderState in interface net.minecraft.client.renderer.blockentity.BlockEntityRenderer<SolarCookerBlockEntity,SolarCookerRenderState>
    • extractRenderState

      public void extractRenderState(@NotNull @NotNull SolarCookerBlockEntity blockEntity, @NotNull @NotNull SolarCookerRenderState blockEntityRenderState, float partialTicks, @NotNull @NotNull net.minecraft.world.phys.Vec3 vec, @Nullable net.minecraft.client.renderer.feature.ModelFeatureRenderer.CrumblingOverlay overlay)
      Specified by:
      extractRenderState in interface net.minecraft.client.renderer.blockentity.BlockEntityRenderer<SolarCookerBlockEntity,SolarCookerRenderState>
    • submit

      public void submit(@NotNull @NotNull SolarCookerRenderState blockEntityRenderState, @NotNull @NotNull com.mojang.blaze3d.vertex.PoseStack matrixStackIn, @NotNull @NotNull net.minecraft.client.renderer.SubmitNodeCollector submitNodeCollector, @NotNull @NotNull net.minecraft.client.renderer.state.CameraRenderState cameraRenderState)
      Specified by:
      submit in interface net.minecraft.client.renderer.blockentity.BlockEntityRenderer<SolarCookerBlockEntity,SolarCookerRenderState>