Class CommonEvents.Items

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

public static class CommonEvents.Items extends Object
  • Field Details

    • USE_LISTENERS

      public static final EnumMap<EventTiming, List<org.apache.logging.log4j.util.TriConsumer<net.minecraft.world.level.Level, net.minecraft.world.entity.player.Player, net.minecraft.world.InteractionHand>>> USE_LISTENERS
    • USE_ON_LISTENERS

      public static final List<Consumer<net.minecraft.world.item.context.UseOnContext>> USE_ON_LISTENERS
  • Method Details

    • passOnUse

      public static void passOnUse(EventTiming type, net.minecraft.world.level.Level level, net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand)
    • passOnUseOn

      public static void passOnUseOn(net.minecraft.world.item.context.UseOnContext context)