Class AnimationBlockEntityRenderer<T extends BlockEntity>
java.lang.Object
net.minecraftforge.client.model.animation.AnimationBlockEntityRenderer<T>
- All Implemented Interfaces:
BlockEntityRenderer<T>,IEventHandler<T>
public class AnimationBlockEntityRenderer<T extends BlockEntity>
extends Object
implements BlockEntityRenderer<T>, IEventHandler<T>
Generic
BlockEntityRenderer that works with the Forge model system and animations.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleEvents(T te, float time, Iterable<Event> pastEvents)voidrender(T te, float partialTick, PoseStack mat, MultiBufferSource renderer, int light, int otherlight)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
-
blockRenderer
-
-
Constructor Details
-
AnimationBlockEntityRenderer
public AnimationBlockEntityRenderer()
-
-
Method Details
-
render
public void render(T te, float partialTick, PoseStack mat, MultiBufferSource renderer, int light, int otherlight)- Specified by:
renderin interfaceBlockEntityRenderer<T extends BlockEntity>
-
handleEvents
- Specified by:
handleEventsin interfaceIEventHandler<T extends BlockEntity>
-