1
0
mirror of https://github.com/Zrips/Jobs.git synced 2025-01-09 09:48:21 +01:00
Jobs/src/main/java/com/gamingmesh/jobs/NMS.java
2020-03-13 16:12:46 +01:00

30 lines
789 B
Java

package com.gamingmesh.jobs;
import java.util.List;
import org.bukkit.OfflinePlayer;
import org.bukkit.block.Block;
import org.bukkit.entity.Entity;
import org.bukkit.entity.LivingEntity;
import org.bukkit.entity.Player;
import org.bukkit.event.block.BlockPistonRetractEvent;
import org.bukkit.inventory.ItemStack;
import org.bukkit.inventory.meta.SkullMeta;
public interface NMS {
List<Block> getPistonRetractBlocks(BlockPistonRetractEvent event);
String getRealType(Entity entity);
ItemStack getItemInMainHand(Player player);
void setItemInMainHand(Player player, ItemStack item);
double getMaxHealth(LivingEntity entity);
short getDurability(ItemStack item);
void setSkullOwner(SkullMeta meta, OfflinePlayer player);
}