crwdns148299:0crwdne148299:0

crwdns148301:0crwdne148301:0

crwdns148303:0crwdne148303:0

crwdns148305:0:javadoc:crwdne148305:0

crwdns148307:0crwdne148307:0

crwdns148309:0crwdne148309:0

crwdns148311:0:javadoc:crwdne148311:0

crwdns148313:0crwdne148313:0

@Listener
@Exclude(InteractBlockEvent.Primary.class)
public void onInteract(InteractBlockEvent event) {
    // do something
}

crwdns148315:0:javadoc:crwdnd148315:0:javadoc:crwdnd148315:0:javadoc:crwdne148315:0

crwdns148317:0:javadoc:crwdne148317:0

@Listener
@Include({DamageEntityEvent.class, DestructEntityEvent.class})
public void onEvent(EntityEvent event) {
    // do something
}

crwdns148319:0:javadoc:crwdnd148319:0:javadoc:crwdne148319:0

crwdns148321:0:javadoc:crwdnd148321:0:javadoc:crwdne148321:0

  • crwdns148323:0crwdne148323:0

  • crwdns148325:0crwdne148325:0

  • crwdns148327:0crwdne148327:0

crwdns148329:0crwdne148329:0

crwdns148331:0crwdne148331:0

crwdns148333:0crwdne148333:0

crwdns148335:0crwdne148335:0

crwdns148337:0:javadoc:crwdne148337:0

crwdns148339:0crwdne148339:0

@Listener
public void onInteract(InteractBlockEvent.Secondary event, @First Player player) {
    // do something
}

crwdns148341:0:javadoc:crwdne148341:0

@Listener
public void onInteract(InteractBlockEvent.Secondary event, @Last Player player) {
    // do something
}

crwdns148343:0:javadoc:crwdne148343:0

crwdns148345:0crwdne148345:0

@Listener
public void onInteract(InteractBlockEvent.Secondary event, @Before(PluginContainer.class) Player player) {
    // do something
}

crwdns148347:0:javadoc:crwdne148347:0

crwdns148349:0:javadoc:crwdne148349:0

crwdns148351:0crwdne148351:0

@Listener
public void onInteract(InteractBlockEvent.Secondary event, @All(ignoreEmpty=false) Player[] players) {
    // do something
}

crwdns148353:0:javadoc:crwdne148353:0

crwdns148355:0:javadoc:crwdne148355:0

crwdns148357:0crwdne148357:0

@Listener
public void onInteract(InteractBlockEvent.Secondary event, @Named(NamedCause.OWNER) Player player) {
    // do something
}

crwdns148359:0crwdne148359:0

crwdns148361:0crwdne148361:0

@Listener
public void onInteract(InteractBlockEvent.Secondary event, @Getter("getUseItemResult") Tristate result) {
    // do something
}

crwdns148363:0crwdne148363:0

crwdns148365:0crwdne148365:0

crwdns148367:0:javadoc:crwdnd148367:0:javadoc:crwdnd148367:0:javadoc:crwdne148367:0

crwdns148369:0:javadoc:crwdne148369:0

@Listener
public void onInteract(InteractBlockEvent.Secondary event, @First @Supports(FlyingData.class) Entity entity) {
    // do something
}

crwdns148371:0crwdne148371:0

crwdns148373:0crwdne148373:0

@Listener
public void onInteract(InteractBlockEvent.Secondary event, @First @Has(FlyingData.class) Entity entity) {
    // do something
}

Note

crwdns148375:0crwdne148375:0