Package | Description |
---|---|
com.github.cc007.headsplugin.api.business.services.heads |
Modifier and Type | Method and Description |
---|---|
Map<String,Head> |
HeadCreator.createHead(org.bukkit.entity.Player player,
String newHeadName)
Create a head based on a skin from a given Player and head name.
|
default Set<Head> |
CategorySearcher.getCategoryHeads(Category category)
get all heads from a certain
Category |
Set<Head> |
CategorySearcher.getCategoryHeads(String categoryName)
get all heads from a certain category, based on the provided category name
|
Optional<Head> |
HeadSearcher.getHead(UUID headOwner)
|
List<Head> |
HeadSearcher.getHeads(String searchTerm)
Get all
Head s based on a given search term |
Modifier and Type | Method and Description |
---|---|
org.bukkit.inventory.ItemStack |
HeadToItemstackMapper.getItemStack(Head head)
Get an
ItemStack , based on the provided Head . |
org.bukkit.inventory.ItemStack |
HeadToItemstackMapper.getItemStack(Head head,
int quantity)
Get an
ItemStack , based on the provided Head . |
void |
HeadPlacer.placeHead(@NonNull Head head,
@NonNull org.bukkit.Location location,
@NonNull org.bukkit.block.BlockFace rotation)
Place a
Head at a certain Location in the world, with a certain rotation |
void |
HeadPlacer.placeWallHead(@NonNull Head head,
@NonNull org.bukkit.Location location,
@NonNull org.bukkit.block.BlockFace facing)
Place a
Head at a certain Location in the world as wall head, with a certain facing direction |
Modifier and Type | Method and Description |
---|---|
List<org.bukkit.inventory.ItemStack> |
HeadToItemstackMapper.getItemStacks(List<Head> heads)
Get a list of
ItemStack s, based on the provided list of Head s. |
List<org.bukkit.inventory.ItemStack> |
HeadToItemstackMapper.getItemStacks(List<Head> heads,
int quantity)
Get a list of
ItemStack s, based on the provided list of Head s. |
Copyright © 2020. All rights reserved.