2015-11-27 15:34:19 +01:00
|
|
|
package com.gamingmesh.jobs;
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
import org.bukkit.block.Block;
|
|
|
|
import org.bukkit.entity.Entity;
|
2016-03-30 15:42:36 +02:00
|
|
|
import org.bukkit.entity.Player;
|
2015-11-27 15:34:19 +01:00
|
|
|
import org.bukkit.event.block.BlockPistonRetractEvent;
|
2016-03-30 15:42:36 +02:00
|
|
|
import org.bukkit.inventory.ItemStack;
|
2015-11-27 15:34:19 +01:00
|
|
|
|
|
|
|
public interface NMS {
|
|
|
|
|
|
|
|
public List<Block> getPistonRetractBlocks(BlockPistonRetractEvent event);
|
|
|
|
|
2016-06-09 17:35:24 +02:00
|
|
|
public String getRealType(Entity entity);
|
2016-04-03 16:22:44 +02:00
|
|
|
|
2016-03-30 15:42:36 +02:00
|
|
|
public ItemStack getItemInMainHand(Player player);
|
2016-04-03 16:22:44 +02:00
|
|
|
|
|
|
|
public Block getTargetBlock(Player player, int range);
|
2015-11-27 15:34:19 +01:00
|
|
|
}
|