1
0
mirror of https://github.com/Zrips/Jobs.git synced 2025-01-10 10:17:51 +01:00
Jobs/src/main/java/com/gamingmesh/jobs/NMS.java
montlikadani f8519abfa1 Add some informations about deprecated values
- Melon block should work now
- With -1 potion ids are not generated at server start
2019-06-18 20:30:25 +02:00

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);
}