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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
handleEvents(T te, float time, Iterable<Event> pastEvents)
void
render(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, wait
Methods 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:
render
in interfaceBlockEntityRenderer<T extends BlockEntity>
-
handleEvents
- Specified by:
handleEvents
in interfaceIEventHandler<T extends BlockEntity>
-