Class AssemblageRenderer

java.lang.Object
com.simibubi.create.foundation.blockEntity.renderer.SafeBlockEntityRenderer<AssemblageBlockEntity>
petrolpark.mc.petrolsparts.content.kinetics.assemblage.AssemblageRenderer
All Implemented Interfaces:
net.minecraft.client.renderer.blockentity.BlockEntityRenderer<AssemblageBlockEntity>, net.neoforged.neoforge.client.extensions.IBlockEntityRendererExtension<AssemblageBlockEntity>

public class AssemblageRenderer extends com.simibubi.create.foundation.blockEntity.renderer.SafeBlockEntityRenderer<AssemblageBlockEntity>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final AssemblageClientSet
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    AssemblageRenderer(AssemblageClientSet set, net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context context)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static float
    getAngle(com.simibubi.create.content.kinetics.base.KineticBlockEntity be, net.minecraft.core.BlockPos pos, net.minecraft.core.Direction.Axis axis)
     
    protected void
    renderSafe(AssemblageBlockEntity be, float partialTicks, com.mojang.blaze3d.vertex.PoseStack ms, net.minecraft.client.renderer.MultiBufferSource bufferSource, int light, int overlay)
     
    static final AssemblageRenderer
    vanilla(net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context context)
     

    Methods inherited from class com.simibubi.create.foundation.blockEntity.renderer.SafeBlockEntityRenderer

    getRenderBoundingBox, isInvalid, render, shouldCullItem

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

  • Constructor Details

    • AssemblageRenderer

      public AssemblageRenderer(AssemblageClientSet set, net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context context)
  • Method Details

    • vanilla

      public static final AssemblageRenderer vanilla(net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context context)
    • renderSafe

      protected void renderSafe(AssemblageBlockEntity be, float partialTicks, com.mojang.blaze3d.vertex.PoseStack ms, net.minecraft.client.renderer.MultiBufferSource bufferSource, int light, int overlay)
      Specified by:
      renderSafe in class com.simibubi.create.foundation.blockEntity.renderer.SafeBlockEntityRenderer<AssemblageBlockEntity>
    • getAngle

      public static float getAngle(com.simibubi.create.content.kinetics.base.KineticBlockEntity be, net.minecraft.core.BlockPos pos, net.minecraft.core.Direction.Axis axis)