Class SpecialFlowerBlockEntityRenderer<T extends SpecialFlowerBlockEntity>
java.lang.Object
vazkii.botania.client.render.block_entity.SpecialFlowerBlockEntityRenderer<T>
- All Implemented Interfaces:
net.minecraft.client.renderer.blockentity.BlockEntityRenderer<T>
public class SpecialFlowerBlockEntityRenderer<T extends SpecialFlowerBlockEntity>
extends Object
implements net.minecraft.client.renderer.blockentity.BlockEntityRenderer<T>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final doublestatic final floatstatic final intstatic final intstatic final intstatic final floatstatic final float -
Constructor Summary
ConstructorsConstructorDescriptionSpecialFlowerBlockEntityRenderer(net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context ctx) -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanhasBindingAttempt(net.minecraft.world.entity.LivingEntity view, net.minecraft.core.BlockPos tilePos) voidrender(SpecialFlowerBlockEntity tile, float partialTicks, com.mojang.blaze3d.vertex.PoseStack ms, net.minecraft.client.renderer.MultiBufferSource buffers, int light, int overlay) static voidrenderCircle(com.mojang.blaze3d.vertex.PoseStack ms, net.minecraft.client.renderer.MultiBufferSource buffers, net.minecraft.core.BlockPos tilePos, net.minecraft.core.BlockPos center, double radius) static voidrenderRadius(net.minecraft.world.level.block.entity.BlockEntity tile, com.mojang.blaze3d.vertex.PoseStack ms, net.minecraft.client.renderer.MultiBufferSource buffers, @Nullable RadiusDescriptor descriptor) static voidrenderRectangle(com.mojang.blaze3d.vertex.PoseStack ms, net.minecraft.client.renderer.MultiBufferSource buffers, net.minecraft.core.BlockPos tilePos, net.minecraft.world.phys.AABB aabb) 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
getViewDistance, shouldRender, shouldRenderOffScreen
-
Field Details
-
INNER_ALPHA
public static final int INNER_ALPHA- See Also:
-
OUTER_ALPHA
public static final int OUTER_ALPHA- See Also:
-
FRAME_WIDTH
public static final float FRAME_WIDTH- See Also:
-
Y_OFFSET_INNER
public static final float Y_OFFSET_INNER- See Also:
-
Y_OFFSET_OUTER
public static final float Y_OFFSET_OUTER- See Also:
-
TOTAL_ANGLES
public static final int TOTAL_ANGLES- See Also:
-
DEGREES_TO_RADIAN
public static final double DEGREES_TO_RADIAN- See Also:
-
-
Constructor Details
-
SpecialFlowerBlockEntityRenderer
public SpecialFlowerBlockEntityRenderer(net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context ctx)
-
-
Method Details
-
render
public void render(SpecialFlowerBlockEntity tile, float partialTicks, com.mojang.blaze3d.vertex.PoseStack ms, net.minecraft.client.renderer.MultiBufferSource buffers, int light, int overlay) - Specified by:
renderin interfacenet.minecraft.client.renderer.blockentity.BlockEntityRenderer<T extends SpecialFlowerBlockEntity>
-
renderRadius
public static void renderRadius(net.minecraft.world.level.block.entity.BlockEntity tile, com.mojang.blaze3d.vertex.PoseStack ms, net.minecraft.client.renderer.MultiBufferSource buffers, @Nullable @Nullable RadiusDescriptor descriptor) -
hasBindingAttempt
public static boolean hasBindingAttempt(net.minecraft.world.entity.LivingEntity view, net.minecraft.core.BlockPos tilePos) -
renderCircle
public static void renderCircle(com.mojang.blaze3d.vertex.PoseStack ms, net.minecraft.client.renderer.MultiBufferSource buffers, net.minecraft.core.BlockPos tilePos, net.minecraft.core.BlockPos center, double radius) -
renderRectangle
public static void renderRectangle(com.mojang.blaze3d.vertex.PoseStack ms, net.minecraft.client.renderer.MultiBufferSource buffers, net.minecraft.core.BlockPos tilePos, net.minecraft.world.phys.AABB aabb)
-