public class TileEntityRendererDispatcher
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
RayTraceResult |
cameraHitResult |
private BufferBuilder |
fixedRenderBuffer |
FontRenderer |
fontRenderer |
static TileEntityRendererDispatcher |
instance |
private java.util.Map<TileEntityType<?>,TileEntityRenderer<?>> |
renderers |
ActiveRenderInfo |
renderInfo |
TextureManager |
textureManager |
World |
world |
Modifier | Constructor and Description |
---|---|
private |
TileEntityRendererDispatcher() |
Modifier and Type | Method and Description |
---|---|
FontRenderer |
getFontRenderer() |
<E extends TileEntity> |
getRenderer(E tileEntityIn) |
void |
prepare(World worldIn,
TextureManager textureManagerIn,
FontRenderer fontRendererIn,
ActiveRenderInfo activeRenderInfoIn,
RayTraceResult rayTraceResultIn) |
private <E extends TileEntity> |
register(TileEntityType<E> typeIn,
TileEntityRenderer<E> rendererIn) |
private static <T extends TileEntity> |
render(TileEntityRenderer<T> rendererIn,
T tileEntityIn,
float partialTicks,
MatrixStack matrixStackIn,
IRenderTypeBuffer bufferIn) |
<E extends TileEntity> |
renderItem(E tileEntityIn,
MatrixStack matrixStackIn,
IRenderTypeBuffer bufferIn,
int combinedLightIn,
int combinedOverlayIn) |
<E extends TileEntity> |
renderTileEntity(E tileEntityIn,
float partialTicks,
MatrixStack matrixStackIn,
IRenderTypeBuffer bufferIn) |
private static void |
runCrashReportable(TileEntity tileEntityIn,
java.lang.Runnable runnableIn) |
<T extends TileEntity> |
setSpecialRendererInternal(TileEntityType<T> tileEntityType,
TileEntityRenderer<? super T> specialRenderer) |
void |
setWorld(World worldIn) |
private final java.util.Map<TileEntityType<?>,TileEntityRenderer<?>> renderers
public static final TileEntityRendererDispatcher instance
private final BufferBuilder fixedRenderBuffer
public FontRenderer fontRenderer
public TextureManager textureManager
public World world
public ActiveRenderInfo renderInfo
public RayTraceResult cameraHitResult
private <E extends TileEntity> void register(TileEntityType<E> typeIn, TileEntityRenderer<E> rendererIn)
@Nullable public <E extends TileEntity> TileEntityRenderer<E> getRenderer(E tileEntityIn)
public void prepare(World worldIn, TextureManager textureManagerIn, FontRenderer fontRendererIn, ActiveRenderInfo activeRenderInfoIn, RayTraceResult rayTraceResultIn)
public <E extends TileEntity> void renderTileEntity(E tileEntityIn, float partialTicks, MatrixStack matrixStackIn, IRenderTypeBuffer bufferIn)
private static <T extends TileEntity> void render(TileEntityRenderer<T> rendererIn, T tileEntityIn, float partialTicks, MatrixStack matrixStackIn, IRenderTypeBuffer bufferIn)
public <E extends TileEntity> boolean renderItem(E tileEntityIn, MatrixStack matrixStackIn, IRenderTypeBuffer bufferIn, int combinedLightIn, int combinedOverlayIn)
private static void runCrashReportable(TileEntity tileEntityIn, java.lang.Runnable runnableIn)
public void setWorld(@Nullable World worldIn)
public FontRenderer getFontRenderer()
public <T extends TileEntity> void setSpecialRendererInternal(TileEntityType<T> tileEntityType, TileEntityRenderer<? super T> specialRenderer)