Class RenderTileEntityGymSign
java.lang.Object
com.pixelmonmod.pixelmon.client.render.tileEntities.TileEntityRenderer<GymSignTileEntity>
com.pixelmonmod.pixelmon.client.render.tileEntities.RenderTileEntityGymSign
- All Implemented Interfaces:
net.minecraft.client.renderer.blockentity.BlockEntityRenderer<GymSignTileEntity>
Renders a gym sign. Created by clienthax on 7/3/2015.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final org.joml.Vector3f
static final org.joml.Vector3f
static final org.joml.Vector3f
static final org.joml.Vector3f
Fields inherited from class com.pixelmonmod.pixelmon.client.render.tileEntities.TileEntityRenderer
profileTileEntityRender
-
Constructor Summary
ConstructorDescriptionRenderTileEntityGymSign
(net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context dispatcher) Initializes the gym sign renderer. -
Method Summary
Modifier and TypeMethodDescriptionvoid
render
(GymSignTileEntity gymSign, 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, getRotation, 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
-
ITEM_SCALE
public static final org.joml.Vector3f ITEM_SCALE -
FLOOR_POSITION_OFFSET
public static final org.joml.Vector3f FLOOR_POSITION_OFFSET -
WALL_POSITION_OFFSET
public static final org.joml.Vector3f WALL_POSITION_OFFSET -
HANGING_POSITION_OFFSET
public static final org.joml.Vector3f HANGING_POSITION_OFFSET -
FLOOR_ITEM_ROTATION
public static final int FLOOR_ITEM_ROTATION- See Also:
-
FLIPPED_SPRITE_ROTATION
public static final int FLIPPED_SPRITE_ROTATION- See Also:
-
-
Constructor Details
-
RenderTileEntityGymSign
public RenderTileEntityGymSign(net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context dispatcher) Initializes the gym sign renderer.
-
-
Method Details
-
render
public void render(GymSignTileEntity gymSign, 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<GymSignTileEntity>
-