Package com.petrolpark.util
Class ColorHelper.SetEntityColorEvent
java.lang.Object
net.neoforged.bus.api.Event
net.neoforged.neoforge.event.entity.EntityEvent
net.neoforged.neoforge.event.entity.living.LivingEvent
com.petrolpark.util.ColorHelper.SetEntityColorEvent
- All Implemented Interfaces:
net.neoforged.bus.api.ICancellableEvent
- Enclosing class:
ColorHelper
public static final class ColorHelper.SetEntityColorEvent
extends net.neoforged.neoforge.event.entity.living.LivingEvent
implements net.neoforged.bus.api.ICancellableEvent
-
Nested Class Summary
Nested classes/interfaces inherited from class net.neoforged.neoforge.event.entity.living.LivingEvent
net.neoforged.neoforge.event.entity.living.LivingEvent.LivingJumpEvent, net.neoforged.neoforge.event.entity.living.LivingEvent.LivingVisibilityEventNested classes/interfaces inherited from class net.neoforged.neoforge.event.entity.EntityEvent
net.neoforged.neoforge.event.entity.EntityEvent.EnteringSection, net.neoforged.neoforge.event.entity.EntityEvent.EntityConstructing, net.neoforged.neoforge.event.entity.EntityEvent.Size -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSetEntityColorEvent(net.minecraft.world.entity.LivingEntity entity, net.minecraft.world.item.DyeColor color) -
Method Summary
Methods inherited from class net.neoforged.neoforge.event.entity.living.LivingEvent
getEntityMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.neoforged.bus.api.ICancellableEvent
isCanceled, setCanceled
-
Field Details
-
color
@Nullable protected final net.minecraft.world.item.DyeColor color
-
-
Constructor Details
-
SetEntityColorEvent
public SetEntityColorEvent(net.minecraft.world.entity.LivingEntity entity, net.minecraft.world.item.DyeColor color)
-
-
Method Details
-
getColor
@Nullable public net.minecraft.world.item.DyeColor getColor()
-