Class RenderTileEntityFossilMachine
java.lang.Object
com.pixelmonmod.pixelmon.client.render.tileEntities.TileEntityRenderer<FossilMachineTileEntity>
com.pixelmonmod.pixelmon.client.render.tileEntities.RenderTileEntityFossilMachine
- All Implemented Interfaces:
net.minecraft.client.renderer.blockentity.BlockEntityRenderer<FossilMachineTileEntity>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final net.minecraft.resources.ResourceLocation
static final GenericSmdModel
Fields inherited from class com.pixelmonmod.pixelmon.client.render.tileEntities.TileEntityRenderer
profileTileEntityRender
-
Constructor Summary
ConstructorDescriptionRenderTileEntityFossilMachine
(net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context dispatcher) -
Method Summary
Modifier and TypeMethodDescriptionprotected int
getRotation
(net.minecraft.world.level.block.state.BlockState state) void
render
(FossilMachineTileEntity machine, 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) 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
-
Field Details
-
MACHINE_TEXTURE
public static final net.minecraft.resources.ResourceLocation MACHINE_TEXTURE -
machineGlass
-
-
Constructor Details
-
RenderTileEntityFossilMachine
public RenderTileEntityFossilMachine(net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context dispatcher)
-
-
Method Details
-
render
public void render(FossilMachineTileEntity machine, 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<FossilMachineTileEntity>
-
getRotation
protected int getRotation(net.minecraft.world.level.block.state.BlockState state) - Overrides:
getRotation
in classTileEntityRenderer<FossilMachineTileEntity>
-