mirror of
https://github.com/Zrips/Jobs.git
synced 2025-01-10 10:17:51 +01:00
5fde6cb79c
- We not using the deprecated codes, only old versions
22 lines
588 B
Java
22 lines
588 B
Java
package com.gamingmesh.jobs;
|
|
|
|
import java.util.List;
|
|
import org.bukkit.block.Block;
|
|
import org.bukkit.entity.Entity;
|
|
import org.bukkit.entity.Player;
|
|
import org.bukkit.event.block.BlockPistonRetractEvent;
|
|
import org.bukkit.inventory.ItemStack;
|
|
|
|
public interface NMS {
|
|
|
|
public List<Block> getPistonRetractBlocks(BlockPistonRetractEvent event);
|
|
|
|
public String getRealType(Entity entity);
|
|
|
|
public ItemStack getItemInMainHand(Player player);
|
|
|
|
public void setItemInMainHand(Player player, ItemStack item);
|
|
|
|
public double getMaxHealth(Player player);
|
|
}
|