Class SolarCookerBlockEntityRenderer

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

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

    Fields
    Modifier and Type
    Field
    Description
    static final net.minecraft.client.model.geom.ModelLayerLocation
     
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
     
    void
    extractRenderState(@NotNull SolarCookerBlockEntity blockEntity, @NotNull SolarCookerRenderState state, float partialTicks, @NotNull net.minecraft.world.phys.Vec3 cameraPosition, net.minecraft.client.renderer.feature.ModelFeatureRenderer.CrumblingOverlay breakProgress)
     
    static com.mojang.math.Transformation
    modelTransformation(net.minecraft.core.Direction facing)
     
    void
    submit(@NotNull SolarCookerRenderState state, @NotNull com.mojang.blaze3d.vertex.PoseStack poseStack, @NotNull net.minecraft.client.renderer.SubmitNodeCollector submitNodeCollector, @NotNull net.minecraft.client.renderer.state.level.CameraRenderState camera)
     

    Methods inherited from class 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

    Methods inherited from interface net.neoforged.neoforge.client.extensions.IBlockEntityRendererExtension

    getRenderBoundingBox
  • Field Details

    • MODEL_LAYER_LOCATION

      public static final net.minecraft.client.model.geom.ModelLayerLocation MODEL_LAYER_LOCATION
  • Constructor Details

    • SolarCookerBlockEntityRenderer

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

    • createRenderState

      @NotNull public @NotNull 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 state, float partialTicks, @NotNull @NotNull net.minecraft.world.phys.Vec3 cameraPosition, @Nullable net.minecraft.client.renderer.feature.ModelFeatureRenderer.CrumblingOverlay breakProgress)
      Specified by:
      extractRenderState in interface net.minecraft.client.renderer.blockentity.BlockEntityRenderer<SolarCookerBlockEntity, SolarCookerRenderState>
    • submit

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

      public static com.mojang.math.Transformation modelTransformation(net.minecraft.core.Direction facing)