Class RenderTileEntityGeneric<G extends RenderTileEntityGeneric<G,T>,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.RenderTileEntityGeneric<G,T>
All Implemented Interfaces:
net.minecraft.client.renderer.blockentity.BlockEntityRenderer<T>
Direct Known Subclasses:
BattleSpectatorTileEntityRenderer

public class RenderTileEntityGeneric<G extends RenderTileEntityGeneric<G,T>,T extends net.minecraft.world.level.block.entity.BlockEntity> extends TileEntityRenderer<T>
Created by clienthax on 7/3/2015.
  • Field Details

    • texture

      protected net.minecraft.resources.ResourceLocation texture
    • model

      public net.minecraft.client.model.Model model
    • childModels

      public HashMap<GenericSmdModel,net.minecraft.resources.ResourceLocation> childModels
    • correctionAngles

      protected int correctionAngles
    • rotateDegrees

      protected int rotateDegrees
    • scale

      protected float scale
    • yOffset

      protected float yOffset
    • blend

      public boolean blend
    • disableCulling

      public boolean disableCulling
    • disableLighting

      public boolean disableLighting
  • Constructor Details

    • RenderTileEntityGeneric

      public RenderTileEntityGeneric(net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context dispatcher, String textureFileName, net.minecraft.client.model.Model model)
    • RenderTileEntityGeneric

      public RenderTileEntityGeneric(String modId, net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context dispatcher, String textureFileName, net.minecraft.client.model.Model model, int correctionAngles)
    • RenderTileEntityGeneric

      public RenderTileEntityGeneric(net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context dispatcher, String textureFileName, net.minecraft.client.model.Model model, int correctionAngles)
  • Method Details

    • setTexture

      public void setTexture(net.minecraft.resources.ResourceLocation texture)
    • 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>