Class CommonEvents.Items
java.lang.Object
net.rebel459.unified.impl.core.CommonEvents.Items
- Enclosing class:
CommonEvents
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic 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>>> -
Method Summary
Modifier and TypeMethodDescriptionstatic voidpassOnUse(EventTiming type, net.minecraft.world.level.Level level, net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand) static voidpassOnUseOn(net.minecraft.world.item.context.UseOnContext context)
-
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
-
-
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)
-