Class RenderTileEntityGenericSMD<T extends net.minecraft.world.level.block.entity.BlockEntity>

java.lang.Object
com.pixelmonmod.pixelmon.client.render.tileEntities.TileEntityRenderer<T>
com.pixelmonmod.pixelmon.client.render.tileEntities.RenderTileEntityGenericSMD<T>
All Implemented Interfaces:
net.minecraft.client.renderer.blockentity.BlockEntityRenderer<T>

public class RenderTileEntityGenericSMD<T extends net.minecraft.world.level.block.entity.BlockEntity> extends TileEntityRenderer<T>
  • Constructor Details

    • RenderTileEntityGenericSMD

      public RenderTileEntityGenericSMD(net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context dispatcher, GenericModelHolder<GenericSmdModel> modelHolder, net.minecraft.resources.ResourceLocation texture)
    • RenderTileEntityGenericSMD

      public RenderTileEntityGenericSMD(net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context dispatcher, net.minecraft.resources.ResourceLocation model, net.minecraft.resources.ResourceLocation texture)
    • RenderTileEntityGenericSMD

      public RenderTileEntityGenericSMD(net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context dispatcher, String pqcPath, String texture)
  • Method Details

    • getRotation

      protected int getRotation(net.minecraft.world.level.block.state.BlockState state)
      Overrides:
      getRotation in class TileEntityRenderer<T extends net.minecraft.world.level.block.entity.BlockEntity>
    • getRotationSelf

      protected int getRotationSelf(net.minecraft.world.level.block.state.BlockState state)
    • render

      public void render(T te, net.minecraft.world.level.block.state.BlockState state, double x, double y, double z, float partialTicks, com.mojang.blaze3d.vertex.PoseStack matrix, net.minecraft.client.renderer.MultiBufferSource buffer, int combinedLight, int combinedOverlay)
      Specified by:
      render in class TileEntityRenderer<T extends net.minecraft.world.level.block.entity.BlockEntity>
    • enableBlend

      public RenderTileEntityGenericSMD<T> enableBlend()
    • disableCulling

      public RenderTileEntityGenericSMD<T> disableCulling()
    • disableLighting

      public RenderTileEntityGenericSMD<T> disableLighting()
    • setCorrectionAngles

      public RenderTileEntityGenericSMD<T> setCorrectionAngles(int correctionAngles)
    • setYOffset

      public RenderTileEntityGenericSMD<T> setYOffset(float yOffset)
    • rotate

      public RenderTileEntityGenericSMD<T> rotate(float d, float axisX, float axisY, float axisZ)
    • translate

      public RenderTileEntityGenericSMD<T> translate(float x, float y, float z)
    • scale

      public RenderTileEntityGenericSMD<T> scale(float scale)