2017-05-12 18:31:39 +02:00
|
|
|
package com.gamingmesh.jobs;
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
import org.bukkit.block.Block;
|
|
|
|
import org.bukkit.entity.Entity;
|
2019-05-05 13:20:32 +02:00
|
|
|
import org.bukkit.entity.LivingEntity;
|
2017-05-12 18:31:39 +02:00
|
|
|
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);
|
|
|
|
|
2018-09-20 16:34:41 +02:00
|
|
|
public void setItemInMainHand(Player player, ItemStack item);
|
2019-05-04 13:57:20 +02:00
|
|
|
|
2019-05-05 13:20:32 +02:00
|
|
|
public double getMaxHealth(LivingEntity entity);
|
2017-05-12 18:31:39 +02:00
|
|
|
}
|