Class ColorHelper.EntityColorEvent

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.EntityColorEvent
Enclosing class:
ColorHelper

public static final class ColorHelper.EntityColorEvent extends net.neoforged.neoforge.event.entity.living.LivingEvent
  • 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 net.minecraft.world.item.DyeColor
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    EntityColorEvent(net.minecraft.world.entity.LivingEntity entity)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.world.item.DyeColor
     
    void
    setColor(net.minecraft.world.item.DyeColor color)
     

    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
  • Field Details

    • color

      @Nullable protected net.minecraft.world.item.DyeColor color
  • Constructor Details

    • EntityColorEvent

      public EntityColorEvent(net.minecraft.world.entity.LivingEntity entity)
  • Method Details

    • setColor

      public void setColor(@Nullable net.minecraft.world.item.DyeColor color)
    • getColor

      @Nullable public net.minecraft.world.item.DyeColor getColor()