类 EffectParticleModificationEvent
java.lang.Object
net.neoforged.bus.api.Event
net.neoforged.neoforge.event.entity.EntityEvent
net.neoforged.neoforge.event.entity.living.LivingEvent
net.neoforged.neoforge.event.entity.living.EffectParticleModificationEvent
Fires for each effect to allow modification or replacement of the particle options (you can set it to null to reset it to default).
This event is not
This event is fired on the
This event is not
ICancellableEvent
.
This event is fired on the
NeoForge.EVENT_BUS
.-
嵌套类概要
从类继承的嵌套类/接口 net.neoforged.neoforge.event.entity.living.LivingEvent
LivingEvent.LivingJumpEvent, LivingEvent.LivingVisibilityEvent
从类继承的嵌套类/接口 net.neoforged.neoforge.event.entity.EntityEvent
EntityEvent.EnteringSection, EntityEvent.EntityConstructing, EntityEvent.Size
-
字段概要
字段修饰符和类型字段说明private final MobEffectInstance
private boolean
private ParticleOptions
private final ParticleOptions
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明boolean
void
setParticleOptions
(@Nullable ParticleOptions options) void
setVisible
(boolean visible) 从类继承的方法 net.neoforged.neoforge.event.entity.living.LivingEvent
getEntity
-
字段详细资料
-
effect
-
originalOptions
-
options
-
isVisible
private boolean isVisible
-
-
构造器详细资料
-
EffectParticleModificationEvent
-
-
方法详细资料
-
getEffect
-
getOriginalParticleOptions
-
getParticleOptions
-
setParticleOptions
-
isVisible
public boolean isVisible() -
setVisible
public void setVisible(boolean visible)
-