Class InteractionEvents

java.lang.Object
net.ixdarklord.coolcatcore.api.event.v2.common.InteractionEvents

public final class InteractionEvents extends Object
A player using or attacking blocks, items and entities, before the game acts on it. These fire on both sides, once for each hand tried; check player.level().isClientSide(). To stop a use for good, answer the same on both sides (the client otherwise still predicts it).