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.LivingVisibilityEvent

    Nested 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
    Modifier and Type
    Field
    Description
    protected final net.minecraft.world.item.DyeColor
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    SetEntityColorEvent(net.minecraft.world.entity.LivingEntity entity, net.minecraft.world.item.DyeColor color)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.world.item.DyeColor
     

    Methods inherited from class net.neoforged.neoforge.event.entity.living.LivingEvent

    getEntity

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods 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()