Class HangingTendrilBlockEntityRenderer<T extends HangingTendrilBlockEntity>

java.lang.Object
net.frozenblock.lib.block.api.entity.BillboardBlockEntityRenderer<T>
net.frozenblock.wilderwild.entity.render.blockentity.HangingTendrilBlockEntityRenderer<T>
All Implemented Interfaces:
net.minecraft.client.renderer.blockentity.BlockEntityRenderer<T>

@Environment(CLIENT) public class HangingTendrilBlockEntityRenderer<T extends HangingTendrilBlockEntity> extends net.frozenblock.lib.block.api.entity.BillboardBlockEntityRenderer<T>
  • Constructor Summary

    Constructors
    Constructor
    Description
    HangingTendrilBlockEntityRenderer(@NotNull net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context ctx)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull net.minecraft.client.model.geom.ModelPart
    getRoot(@NotNull net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context ctx)
     
    @NotNull net.minecraft.resources.ResourceLocation
    getTexture(T entity)
     
    static @NotNull net.minecraft.client.model.geom.builders.LayerDefinition
     
    void
    render(T entity, float partialTick, @NotNull com.mojang.blaze3d.vertex.PoseStack poseStack, @NotNull net.minecraft.client.renderer.MultiBufferSource buffer, int light, int overlay)
     

    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

    • HangingTendrilBlockEntityRenderer

      public HangingTendrilBlockEntityRenderer(@NotNull @NotNull net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context ctx)
  • Method Details

    • getTexturedModelData

      @NotNull public static @NotNull net.minecraft.client.model.geom.builders.LayerDefinition getTexturedModelData()
    • render

      public void render(@NotNull T entity, float partialTick, @NotNull @NotNull com.mojang.blaze3d.vertex.PoseStack poseStack, @NotNull @NotNull net.minecraft.client.renderer.MultiBufferSource buffer, int light, int overlay)
      Specified by:
      render in interface net.minecraft.client.renderer.blockentity.BlockEntityRenderer<T extends HangingTendrilBlockEntity>
      Overrides:
      render in class net.frozenblock.lib.block.api.entity.BillboardBlockEntityRenderer<T extends HangingTendrilBlockEntity>
    • getTexture

      @NotNull public @NotNull net.minecraft.resources.ResourceLocation getTexture(@NotNull T entity)
      Specified by:
      getTexture in class net.frozenblock.lib.block.api.entity.BillboardBlockEntityRenderer<T extends HangingTendrilBlockEntity>
    • getRoot

      @NotNull public @NotNull net.minecraft.client.model.geom.ModelPart getRoot(@NotNull @NotNull net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context ctx)
      Specified by:
      getRoot in class net.frozenblock.lib.block.api.entity.BillboardBlockEntityRenderer<T extends HangingTendrilBlockEntity>