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>
-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.client.render.tileEntities.TileEntityRenderer
profileTileEntityRender
-
Constructor Summary
ConstructorDescriptionRenderTileEntityGenericSMD
(net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context dispatcher, GenericModelHolder<GenericSmdModel> modelHolder, net.minecraft.resources.ResourceLocation texture) RenderTileEntityGenericSMD
(net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context dispatcher, String pqcPath, String texture) RenderTileEntityGenericSMD
(net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context dispatcher, net.minecraft.resources.ResourceLocation model, net.minecraft.resources.ResourceLocation texture) -
Method Summary
Modifier and TypeMethodDescriptionprotected int
getRotation
(net.minecraft.world.level.block.state.BlockState state) protected int
getRotationSelf
(net.minecraft.world.level.block.state.BlockState state) 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) rotate
(float d, float axisX, float axisY, float axisZ) scale
(float scale) setCorrectionAngles
(int correctionAngles) setYOffset
(float yOffset) translate
(float x, float y, float z) Methods inherited from class com.pixelmonmod.pixelmon.client.render.tileEntities.TileEntityRenderer
bindModelBuffer, bindSMDBuffer, bindTexture, hasProperty, render, renderModel, renderModel, renderOBJ, renderOBJ, renderSMD, renderSMD, renderTransparentSMD
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
-
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
-
-
Method Details
-
getRotation
protected int getRotation(net.minecraft.world.level.block.state.BlockState state) - Overrides:
getRotation
in classTileEntityRenderer<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 classTileEntityRenderer<T extends net.minecraft.world.level.block.entity.BlockEntity>
-
enableBlend
-
disableCulling
-
disableLighting
-
setCorrectionAngles
-
setYOffset
-
rotate
-
translate
-
scale
-