mirror of
https://github.com/Zrips/Jobs.git
synced 2025-01-10 10:17:51 +01:00
f8519abfa1
- Melon block should work now - With -1 potion ids are not generated at server start
29 lines
801 B
Java
29 lines
801 B
Java
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);
|
|
|
|
// public Enchantment getEnchantment(String type);
|
|
//
|
|
// public String getEnchantName(Enchantment type);
|
|
}
|