Index

A B C F G I L M N P R S T U V 
All Classes and Interfaces|All Packages

A

addEnchant(Enchantment, int) - Method in class com.shanebeestudios.coreapi.util.ItemBuilder
Add an enchantment to this item
addLore(String) - Method in class com.shanebeestudios.coreapi.util.ItemBuilder
Add a line of lore to the lore of this item
amount(int) - Method in class com.shanebeestudios.coreapi.util.ItemBuilder
Modify the amount of this item

B

broadcast(String, Object...) - Static method in class com.shanebeestudios.coreapi.util.Utils
Broadcast a message to all players and console
build() - Method in class com.shanebeestudios.coreapi.util.ItemBuilder
Build this builder into an ItemStack
builder(Material) - Static method in class com.shanebeestudios.coreapi.util.ItemBuilder
Create a new builder
builder(Material, int) - Static method in class com.shanebeestudios.coreapi.util.ItemBuilder
Create a new builder
builder(ItemType) - Static method in class com.shanebeestudios.coreapi.util.ItemBuilder
Create a new builder
builder(ItemType, int) - Static method in class com.shanebeestudios.coreapi.util.ItemBuilder
Create a new builder

C

com.shanebeestudios.coreapi.event - package com.shanebeestudios.coreapi.event
Events to listen for
com.shanebeestudios.coreapi.listener - package com.shanebeestudios.coreapi.listener
Listeners that will need to be registered by a plugin
com.shanebeestudios.coreapi.util - package com.shanebeestudios.coreapi.util
General utility classes

F

food(Consumer<FoodComponent>) - Method in class com.shanebeestudios.coreapi.util.ItemBuilder
Modify the food component of this item

G

getBiomeInChunk(LevelChunk, int, int, int) - Static method in class com.shanebeestudios.coreapi.util.McUtils
Get the biome at a specific point in a chunk
getBiomeInChunk(Chunk, int, int, int) - Static method in class com.shanebeestudios.coreapi.util.McUtils
Get the biome at a specific point in a chunk
getBiomeResolver(MutableInt, ChunkAccess, BoundingBox, Holder<Biome>, Predicate<Holder<Biome>>) - Static method in class com.shanebeestudios.coreapi.util.McUtils
Make a resolver for 3D shifted biomes
getBlockDataFromState(BlockState) - Static method in class com.shanebeestudios.coreapi.util.McUtils
Get a Bukkit Blockdata from a Minecraft BlockState
getBlockStateFromBlock(Block) - Static method in class com.shanebeestudios.coreapi.util.McUtils
Get a Minecraft BlockState from a Bukkit Block
getBlockStateFromData(BlockData) - Static method in class com.shanebeestudios.coreapi.util.McUtils
Get a Minecraft BlockState from a Bukkit BlockData
getBlockTypedKey(Block) - Static method in class com.shanebeestudios.coreapi.util.TagUtils
Get a TypedKey from a Block
getColString(String) - Static method in class com.shanebeestudios.coreapi.util.Utils
Get a colored string, accepts HEX color codes
getDirection(BlockFace) - Static method in class com.shanebeestudios.coreapi.util.McUtils
Convert Bukkit BlockFace to Minecraft Direction
getEntityType(EntityType) - Static method in class com.shanebeestudios.coreapi.util.McUtils
Get the NMS EntityType from Bukkit EntityType
getField(String, Class<?>, Object) - Static method in class com.shanebeestudios.coreapi.util.ReflectionUtils
Get the value of a field from an object
getHandlerList() - Static method in class com.shanebeestudios.coreapi.event.PacketClientboundEvent
Get the handler list
getHandlerList() - Static method in class com.shanebeestudios.coreapi.event.PacketServerboundEvent
Get the handler list
getHandlers() - Method in class com.shanebeestudios.coreapi.event.PacketClientboundEvent
Get the handler list
getHandlers() - Method in class com.shanebeestudios.coreapi.event.PacketServerboundEvent
Get the handler list
getHolderReference(Registry<T>, NamespacedKey) - Static method in class com.shanebeestudios.coreapi.util.McUtils
Get a holder reference from a registry
getItemTypedKey(ItemStack) - Static method in class com.shanebeestudios.coreapi.util.TagUtils
Get a TypedKey from an ItemStack
getLevelChunk(Chunk) - Static method in class com.shanebeestudios.coreapi.util.McUtils
Get an instance of a LevelChunk from a BukkitChunk
getLevelPos(Location) - Static method in class com.shanebeestudios.coreapi.util.McUtils
Get a Minecraft Level and BlockPos from a Bukkit Location
getLocation(BlockPos, Level) - Static method in class com.shanebeestudios.coreapi.util.McUtils
Get a Bukkit Location from a Minecraft BlockPos and Level
getMini(String) - Static method in class com.shanebeestudios.coreapi.util.Utils
Get a mini message from string
getNamespacedKey(ResourceLocation) - Static method in class com.shanebeestudios.coreapi.util.McUtils
Convert Minecraft ResourceLocation to Bukkit NamespacedKey
getNMSEntity(Entity) - Static method in class com.shanebeestudios.coreapi.util.McUtils
Get an NMS Entity from a Bukkit Entity
getPacket() - Method in class com.shanebeestudios.coreapi.event.PacketEvent
Get the packet from the event
getPlayer() - Method in class com.shanebeestudios.coreapi.event.PacketEvent
Get the player that sent/received the packet
getPos(Location) - Static method in class com.shanebeestudios.coreapi.util.McUtils
Get a Minecraft BlockPos from a Bukkit Location
getRegistry(ResourceKey<? extends Registry<? extends T>>, boolean) - Static method in class com.shanebeestudios.coreapi.util.McUtils
Get a Minecraft Registry
getRegistryKeys(Registry<T>) - Static method in class com.shanebeestudios.coreapi.util.McUtils
Get all keys from a registry
getRegistryValue(Registry<T>, NamespacedKey) - Static method in class com.shanebeestudios.coreapi.util.McUtils
Get a keyed value from a registry
getResourceLocation(NamespacedKey) - Static method in class com.shanebeestudios.coreapi.util.McUtils
Convert a Bukkit NamespacedKey to Minecraft ResourceLocation
getServerLevel(World) - Static method in class com.shanebeestudios.coreapi.util.McUtils
Get an instance of ServerLevel from a Bukkit World
getServerPlayer(Player) - Static method in class com.shanebeestudios.coreapi.util.McUtils
Get a Minecraft ServerPlayer from a Bukkit Player
getTag(TagKey<T>) - Static method in class com.shanebeestudios.coreapi.util.TagUtils
Get a Tag for a Key
getTagKeys(RegistryKey<T>) - Static method in class com.shanebeestudios.coreapi.util.TagUtils
Get all TagKeys for a specific Registry
getVec3(Location) - Static method in class com.shanebeestudios.coreapi.util.McUtils
Get a Minecraft Vec3 from a Bukkit Location
getWorldGenLevel(World) - Static method in class com.shanebeestudios.coreapi.util.McUtils
Deprecated.
Unused, use McUtils.getServerLevel(World) instead

I

init(Plugin) - Static method in class com.shanebeestudios.coreapi.util.TaskUtils
Initialize this util with a Plugin
isCancelled() - Method in class com.shanebeestudios.coreapi.event.PacketEvent
Check if event was cancelled
ItemBuilder - Class in com.shanebeestudios.coreapi.util
Build an ItemStack

L

log(String, Object...) - Static method in class com.shanebeestudios.coreapi.util.Utils
Log a formatted message to console
lore(List<String>) - Method in class com.shanebeestudios.coreapi.util.ItemBuilder
Set the lore of this item

M

McUtils - Class in com.shanebeestudios.coreapi.util
Utility class for changing Minecraft to/from Bukkit classes
meta(Consumer<ItemMeta>) - Method in class com.shanebeestudios.coreapi.util.ItemBuilder
Modify the ItemMeta of this item

N

name(String) - Method in class com.shanebeestudios.coreapi.util.ItemBuilder
Set the name of this item

P

PacketClientboundEvent - Class in com.shanebeestudios.coreapi.event
Called when a packet is sent to a client
PacketEvent - Class in com.shanebeestudios.coreapi.event
Abstract class for packet events
PacketServerboundEvent - Class in com.shanebeestudios.coreapi.event
Called when a packet is received from a client
PlayerPacketListener - Class in com.shanebeestudios.coreapi.listener
Listener for packets

R

ReflectionUtils - Class in com.shanebeestudios.coreapi.util
Utility class with shortcut methods for reflection
registerListener(Plugin) - Static method in class com.shanebeestudios.coreapi.listener.PlayerPacketListener
Register a listener for packet events
runTaskEndOfTick(Runnable) - Static method in class com.shanebeestudios.coreapi.util.TaskUtils
Run a task at the end of the current tick
runTaskEndOfTickAsynchronously(Runnable) - Static method in class com.shanebeestudios.coreapi.util.TaskUtils
Run a task at the end of the current tick async
runTaskLater(Runnable, long) - Static method in class com.shanebeestudios.coreapi.util.TaskUtils
Run a task later
runTaskLaterAsynchronously(Runnable, long) - Static method in class com.shanebeestudios.coreapi.util.TaskUtils
Run a task later async
runTaskTimer(Runnable, long, long) - Static method in class com.shanebeestudios.coreapi.util.TaskUtils
Run a task timer
runTaskTimerAsynchronously(Runnable, long, long) - Static method in class com.shanebeestudios.coreapi.util.TaskUtils
Run a task timer async

S

sendTo(CommandSender, String, Object...) - Static method in class com.shanebeestudios.coreapi.util.Utils
Send a colored/prefixed message to a command sender
setCancelled(boolean) - Method in class com.shanebeestudios.coreapi.event.PacketEvent
Cancel the event
setField(String, Class<?>, Object, Object) - Static method in class com.shanebeestudios.coreapi.util.ReflectionUtils
Set the value of a field in an object
setField(String, Object, Object) - Static method in class com.shanebeestudios.coreapi.util.ReflectionUtils
Set the value of a field in an object
setPrefix(String) - Static method in class com.shanebeestudios.coreapi.util.Utils
Set the prefix to be used in messages

T

TagUtils - Class in com.shanebeestudios.coreapi.util
General utility class for Tags
TaskUtils - Class in com.shanebeestudios.coreapi.util
Shortcut methods for running tasks
tool(Consumer<ToolComponent>) - Method in class com.shanebeestudios.coreapi.util.ItemBuilder
Modify the tool component of this item

U

Utils - Class in com.shanebeestudios.coreapi.util
General utility class

V

vanilla(Consumer<ItemStack>) - Method in class com.shanebeestudios.coreapi.util.ItemBuilder
Modify the NMS ItemStack of this item
vanillaComponent(DataComponentType<T>, T) - Method in class com.shanebeestudios.coreapi.util.ItemBuilder
Add a vanilla component to this item
A B C F G I L M N P R S T U V 
All Classes and Interfaces|All Packages