Class BotanyPotRenderer
java.lang.Object
net.darkhax.botanypots.common.impl.block.BotanyPotRenderer
- All Implemented Interfaces:
net.minecraft.client.renderer.blockentity.BlockEntityRenderer<BotanyPotBlockEntity>
public class BotanyPotRenderer
extends Object
implements net.minecraft.client.renderer.blockentity.BlockEntityRenderer<BotanyPotBlockEntity>
-
Constructor Summary
ConstructorsConstructorDescriptionBotanyPotRenderer(net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context ctx) -
Method Summary
Modifier and TypeMethodDescriptionstatic voidapplyRotation(AxisAlignedRotation rotation, com.mojang.blaze3d.vertex.PoseStack pose) intvoidrender(BotanyPotBlockEntity pot, float tickDelta, @NotNull com.mojang.blaze3d.vertex.PoseStack pose, @NotNull net.minecraft.client.renderer.MultiBufferSource bufferSource, int light, int overlay) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.renderer.blockentity.BlockEntityRenderer
shouldRender, shouldRenderOffScreen
-
Constructor Details
-
BotanyPotRenderer
public BotanyPotRenderer(net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context ctx)
-
-
Method Details
-
applyRotation
public static void applyRotation(AxisAlignedRotation rotation, com.mojang.blaze3d.vertex.PoseStack pose) -
render
public void render(BotanyPotBlockEntity pot, float tickDelta, @NotNull @NotNull com.mojang.blaze3d.vertex.PoseStack pose, @NotNull @NotNull net.minecraft.client.renderer.MultiBufferSource bufferSource, int light, int overlay) - Specified by:
renderin interfacenet.minecraft.client.renderer.blockentity.BlockEntityRenderer<BotanyPotBlockEntity>
-
getViewDistance
public int getViewDistance()- Specified by:
getViewDistancein interfacenet.minecraft.client.renderer.blockentity.BlockEntityRenderer<BotanyPotBlockEntity>
-