1
0
mirror of https://github.com/Zrips/Jobs.git synced 2025-01-10 02:07:51 +01:00
Jobs/src/main/java/com/gamingmesh/jobs/NMS.java

29 lines
801 B
Java
Raw Normal View History

package com.gamingmesh.jobs;
import java.util.List;
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;
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(LivingEntity entity);
public short getDurability(ItemStack item);
2019-06-14 11:44:12 +02:00
// public Enchantment getEnchantment(String type);
//
// public String getEnchantName(Enchantment type);
}