Class CommonEvents.Entities

java.lang.Object
net.rebel459.unified.impl.core.CommonEvents.Entities
Enclosing class:
CommonEvents

public static class CommonEvents.Entities extends Object
  • Field Details

    • DEATH_LISTENERS

      public static final List<BiConsumer<net.minecraft.world.entity.LivingEntity, net.minecraft.world.damagesource.DamageSource>> DEATH_LISTENERS
    • EQUIPMENT_CHANGE_LISTENERS

      public static final List<QuadConsumer<net.minecraft.world.entity.LivingEntity, net.minecraft.world.entity.EquipmentSlot, net.minecraft.world.item.ItemStack, net.minecraft.world.item.ItemStack>> EQUIPMENT_CHANGE_LISTENERS
    • LOAD_LISTENERS

      public static final List<BiConsumer<net.minecraft.world.entity.Entity, net.minecraft.server.level.ServerLevel>> LOAD_LISTENERS
    • UNLOAD_LISTENERS

      public static final List<BiConsumer<net.minecraft.world.entity.Entity, net.minecraft.server.level.ServerLevel>> UNLOAD_LISTENERS
    • TICK_LISTENERS

      public static final EnumMap<EventTiming, List<Consumer<net.minecraft.world.entity.Entity>>> TICK_LISTENERS
    • LIVING_TICK_LISTENERS

      public static final EnumMap<EventTiming, List<Consumer<net.minecraft.world.entity.LivingEntity>>> LIVING_TICK_LISTENERS
  • Method Details

    • passOnDeath

      public static void passOnDeath(net.minecraft.world.entity.LivingEntity entity, net.minecraft.world.damagesource.DamageSource source)
    • passOnEquipmentChange

      public static void passOnEquipmentChange(net.minecraft.world.entity.LivingEntity entity, net.minecraft.world.entity.EquipmentSlot slot, net.minecraft.world.item.ItemStack oldStack, net.minecraft.world.item.ItemStack newStack)
    • passOnLoad

      public static void passOnLoad(net.minecraft.world.entity.Entity entity, net.minecraft.server.level.ServerLevel level)
    • passOnUnload

      public static void passOnUnload(net.minecraft.world.entity.Entity entity, net.minecraft.server.level.ServerLevel level)
    • passOnTick

      public static void passOnTick(EventTiming type, net.minecraft.world.entity.Entity entity)
    • passOnLivingTick

      public static void passOnLivingTick(EventTiming type, net.minecraft.world.entity.LivingEntity entity)