Added javadoc for NMS interfaces
This commit is contained in:
@@ -3,6 +3,9 @@ package com.willfp.ecoenchants.nms.API;
|
||||
import org.bukkit.block.Block;
|
||||
import org.bukkit.entity.Player;
|
||||
|
||||
/**
|
||||
* NMS Interface for breaking blocks as player
|
||||
*/
|
||||
public interface BlockBreakWrapper {
|
||||
void breakBlock(Player player, Block block);
|
||||
}
|
||||
|
||||
@@ -2,6 +2,9 @@ package com.willfp.ecoenchants.nms.API;
|
||||
|
||||
import org.bukkit.entity.Player;
|
||||
|
||||
/**
|
||||
* NMS Interface for getting attack cooldown
|
||||
*/
|
||||
public interface CooldownWrapper {
|
||||
double getAttackCooldown(Player player);
|
||||
}
|
||||
|
||||
@@ -3,6 +3,9 @@ package com.willfp.ecoenchants.nms.API;
|
||||
import org.bukkit.entity.Trident;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
|
||||
/**
|
||||
* NMS Interface for getting an ItemStack from a Trident
|
||||
*/
|
||||
public interface TridentStackWrapper {
|
||||
ItemStack getTridentStack(Trident trident);
|
||||
}
|
||||
Reference in New Issue
Block a user