@Retention(value=RUNTIME) public @interface SoundHandler
SoundInteractionHandler.| Modifier and Type | Optional Element and Description |
|---|---|
String[] |
blocks
The identifier(s) that the placed block must contain
one of.
|
String[] |
entities
The identifier(s) that the interacted entity must have.
|
boolean |
ignoreSneakingWhileHolding
Controls if the interaction should still be
called even if the player is sneaking while
holding something in their hand.
|
String[] |
items
The identifier(s) that the player's hand item
must contain one of.
|
public abstract String[] blocks
BlockSoundInteractionHandler.public abstract String[] items
public abstract String[] entities
BlockSoundInteractionHandler.public abstract boolean ignoreSneakingWhileHolding
Copyright © 2020 GeyserMC. All rights reserved.