Class PlaqueBlockRenderer
java.lang.Object
com.wdiscute.starcatcher.blocks.plaque.PlaqueBlockRenderer
- All Implemented Interfaces:
net.minecraft.client.renderer.blockentity.BlockEntityRenderer<PlaqueBlockEntity, PlaqueBlockRenderState>, net.neoforged.neoforge.client.extensions.IBlockEntityRendererExtension<PlaqueBlockEntity>
public class PlaqueBlockRenderer
extends Object
implements net.minecraft.client.renderer.blockentity.BlockEntityRenderer<PlaqueBlockEntity, PlaqueBlockRenderState>
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionPlaqueBlockRenderer(net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context context) -
Method Summary
Modifier and TypeMethodDescriptionvoidextractRenderState(PlaqueBlockEntity be, PlaqueBlockRenderState state, float partialTicks, net.minecraft.world.phys.Vec3 cameraPosition, @Nullable net.minecraft.client.renderer.feature.ModelFeatureRenderer.CrumblingOverlay breakProgress) net.minecraft.world.phys.AABBgetRenderBoundingBox(PlaqueBlockEntity blockEntity) voidsubmit(PlaqueBlockRenderState state, com.mojang.blaze3d.vertex.PoseStack poseStack, net.minecraft.client.renderer.SubmitNodeCollector submitNodeCollector, net.minecraft.client.renderer.state.level.CameraRenderState camera) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.renderer.blockentity.BlockEntityRenderer
getViewDistance, shouldRender, shouldRenderOffScreen
-
Constructor Details
-
PlaqueBlockRenderer
public PlaqueBlockRenderer(net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context context)
-
-
Method Details
-
extractRenderState
public void extractRenderState(PlaqueBlockEntity be, PlaqueBlockRenderState state, float partialTicks, net.minecraft.world.phys.Vec3 cameraPosition, @Nullable net.minecraft.client.renderer.feature.ModelFeatureRenderer.CrumblingOverlay breakProgress) - Specified by:
extractRenderStatein interfacenet.minecraft.client.renderer.blockentity.BlockEntityRenderer<PlaqueBlockEntity, PlaqueBlockRenderState>
-
submit
public void submit(PlaqueBlockRenderState state, com.mojang.blaze3d.vertex.PoseStack poseStack, net.minecraft.client.renderer.SubmitNodeCollector submitNodeCollector, net.minecraft.client.renderer.state.level.CameraRenderState camera) - Specified by:
submitin interfacenet.minecraft.client.renderer.blockentity.BlockEntityRenderer<PlaqueBlockEntity, PlaqueBlockRenderState>
-
getRenderBoundingBox
- Specified by:
getRenderBoundingBoxin interfacenet.neoforged.neoforge.client.extensions.IBlockEntityRendererExtension<PlaqueBlockEntity>
-
createRenderState
- Specified by:
createRenderStatein interfacenet.minecraft.client.renderer.blockentity.BlockEntityRenderer<PlaqueBlockEntity, PlaqueBlockRenderState>
-