类 RenderLivingEvent.Pre<T extends LivingEntity,M extends EntityModel<T>>
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.RenderLivingEvent<T,M>
net.minecraftforge.client.event.RenderLivingEvent.Pre<T,M>
- 类型参数:
T
- the living entity that is being renderedM
- the model for the living entity
- 封闭类:
- RenderLivingEvent<T extends LivingEntity,
M extends EntityModel<T>>
public static class RenderLivingEvent.Pre<T extends LivingEntity,M extends EntityModel<T>>
extends RenderLivingEvent<T,M>
Fired before an entity is rendered.
This can be used to render additional effects or suppress rendering.
This event is cancelable, and does not have a result.
If this event is cancelled, then the entity will not be rendered and the corresponding
RenderLivingEvent.Post
will not be fired.
This event is fired on the main Forge event bus, only on the logical client.
-
嵌套类概要
从类继承的嵌套类/接口 net.minecraftforge.client.event.RenderLivingEvent
RenderLivingEvent.Post<T extends LivingEntity,
M extends EntityModel<T>>, RenderLivingEvent.Pre<T extends LivingEntity, M extends EntityModel<T>> 从类继承的嵌套类/接口 net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
构造器概要
构造器构造器说明Pre
(LivingEntity entity, LivingEntityRenderer<T, M> renderer, float partialTick, PoseStack poseStack, MultiBufferSource multiBufferSource, int packedLight) -
方法概要
从类继承的方法 net.minecraftforge.client.event.RenderLivingEvent
getEntity, getMultiBufferSource, getPackedLight, getPartialTick, getPoseStack, getRenderer
从类继承的方法 net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
构造器详细资料
-
Pre
@Internal public Pre(LivingEntity entity, LivingEntityRenderer<T, M> renderer, float partialTick, PoseStack poseStack, MultiBufferSource multiBufferSource, int packedLight)
-