Index

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

A

addToPlayerList() - Method in class com.shanebeestudios.nms.api.world.entity.FakePlayer
Add the player to the player list

B

BlockApi - Class in com.shanebeestudios.nms.api.world.block
API methods relating to Blocks
BlockApi - Class in com.shanebeestudios.nms.api.world
Deprecated, for removal: This API element is subject to removal in a future version.
Use BlockApi instead
BlockApi() - Constructor for class com.shanebeestudios.nms.api.world.block.BlockApi
Do not use

C

canAlwaysEat() - Method in class com.shanebeestudios.nms.api.world.item.McItem
Check if this item can always be eaten
ChunkApi - Class in com.shanebeestudios.nms.api.world
Api methods pertaining to a Chunk
clamp(float, float, float) - Static method in class com.shanebeestudios.nms.api.util.MathUtils
Clamp a float between a min and a max
clamp(int, int, int) - Static method in class com.shanebeestudios.nms.api.util.MathUtils
Clamp an int between a min and a max
com.shanebeestudios.nms.api.util - package com.shanebeestudios.nms.api.util
 
com.shanebeestudios.nms.api.world - package com.shanebeestudios.nms.api.world
Api relating to a Minecraft World
com.shanebeestudios.nms.api.world.block - package com.shanebeestudios.nms.api.world.block
Api relating to a Minecraft Block
com.shanebeestudios.nms.api.world.entity - package com.shanebeestudios.nms.api.world.entity
Api relating to a Minecraft Entity
com.shanebeestudios.nms.api.world.item - package com.shanebeestudios.nms.api.world.item
Api relating to a Minecraft Item
COMMON - Enum constant in enum class com.shanebeestudios.nms.api.world.item.McItem.Rarity
 

D

damage(Entity, float, NamespacedKey) - Static method in class com.shanebeestudios.nms.api.world.entity.EntityApi
Damage an entity using a specified damage type
damage(Entity, float, NamespacedKey, Vector) - Static method in class com.shanebeestudios.nms.api.world.entity.EntityApi
Damage an entity using a specified damage type
damage(Entity, float, NamespacedKey, Entity) - Static method in class com.shanebeestudios.nms.api.world.entity.EntityApi
Damage an entity using a specified damage type
damage(Entity, float, NamespacedKey, Entity, Entity) - Static method in class com.shanebeestudios.nms.api.world.entity.EntityApi
Damage an entity using a specified damage type

E

empty() - Static method in class com.shanebeestudios.nms.api.world.item.McItemStack
Get an empty ItemStack wrapped
EntityApi - Class in com.shanebeestudios.nms.api.world.entity
Api methods pertaining to an Entity
EPIC - Enum constant in enum class com.shanebeestudios.nms.api.world.item.McItem.Rarity
 

F

FakePlayer - Class in com.shanebeestudios.nms.api.world.entity
Represents a fake ServerPlayer
fillBiome(Location, Location, NamespacedKey) - Static method in class com.shanebeestudios.nms.api.world.WorldApi
Fill a Biome between 2 locations.
fillBiome(Location, Location, NamespacedKey, NamespacedKey) - Static method in class com.shanebeestudios.nms.api.world.WorldApi
Fill a Biome between 2 locations with an option to only replace a specific Biome.
fillBlocks(Location, Location, BlockData, BlockData) - Static method in class com.shanebeestudios.nms.api.world.WorldApi
Fill blocks within 2 locations

G

getAsBukkitCopy() - Method in class com.shanebeestudios.nms.api.world.item.McItemStack
Get as a copied Bukkit ItemStack
getAsBukkitMirror() - Method in class com.shanebeestudios.nms.api.world.item.McItemStack
Get as a mirrored Bukkit ItemStack
getAttackDamageBonus() - Method in class com.shanebeestudios.nms.api.world.item.McTier
Get the attack damage bonus of this tier
getBiome(Location) - Static method in class com.shanebeestudios.nms.api.world.WorldApi
Get the NamespacedKey of a Biome at a specific location.
getBiomeKeys() - Static method in class com.shanebeestudios.nms.api.world.WorldApi
Get a list of all available biomes as NamespacedKeys Includes custom biomes as well
getBiomeResolver(MutableInt, ChunkAccess, BoundingBox, Holder<Biome>, Predicate<Holder<Biome>>) - Static method in class com.shanebeestudios.nms.api.util.McUtils
Make a resolver for 3D shifted biomes
getBlockDataForPlacement(Player, int) - Static method in class com.shanebeestudios.nms.api.world.block.BlockApi
Get the BlockData that would be placed at a specific position
getBlockDataForPlacement(Player, Block, Location, BlockFace) - Static method in class com.shanebeestudios.nms.api.world.block.BlockApi
Get the BlockData that would be placed at a specific position
getBlockDataForPlacement(Player, Block, Location, BlockFace, ItemStack) - Static method in class com.shanebeestudios.nms.api.world.block.BlockApi
Get the BlockData that would be placed at a specific position
getBlockDataFromState(BlockState) - Static method in class com.shanebeestudios.nms.api.util.McUtils
Get a Bukkit Blockdata from a Minecraft BlockState
getBlockStateFromBlock(Block) - Static method in class com.shanebeestudios.nms.api.util.McUtils
Get a Minecraft BlockState from a Bukkit Block
getBlockStateFromData(BlockData) - Static method in class com.shanebeestudios.nms.api.util.McUtils
Get a Minecraft BlockState from a Bukkit BlockData
getConfiguredFeatures() - Static method in class com.shanebeestudios.nms.api.world.StructureApi
Get a list of all registered configured features
getDamage() - Method in class com.shanebeestudios.nms.api.world.item.McItem
Get the damage amount of this item
getDamageTypeKeys() - Static method in class com.shanebeestudios.nms.api.world.entity.EntityApi
Get a list of all DamageTypes as NamespacedKeys
getDestroySpeed(Block) - Method in class com.shanebeestudios.nms.api.world.item.McItemStack
Get the destroy speed of this item based on a specific Block
getDirection(BlockFace) - Static method in class com.shanebeestudios.nms.api.util.McUtils
Convert Bukkit BlockFace to Minecraft Direction
getEnchantmentValue() - Method in class com.shanebeestudios.nms.api.world.item.McTier
Get the enchantment value of this tier
getEntityType(EntityType) - Static method in class com.shanebeestudios.nms.api.world.entity.EntityApi
Get the NMS EntityType from Bukkit EntityType
getFakePlayer(String) - Static method in class com.shanebeestudios.nms.api.world.entity.PlayerApi
Get a previously cached FakePlayer
getFakePlayers() - Static method in class com.shanebeestudios.nms.api.world.entity.PlayerApi
Get all fake players
getForPlacement(Player, int) - Static method in class com.shanebeestudios.nms.api.world.block.BlockApi
Get the BlockData that would be placed at a specific position as well as the location of the placement
getHolderReference(Registry<T>, NamespacedKey) - Static method in class com.shanebeestudios.nms.api.util.McUtils
Get a holder reference from a registry
getItem() - Method in class com.shanebeestudios.nms.api.world.item.McItem
Get the Minecraft Item of this wrapper
getItem() - Method in class com.shanebeestudios.nms.api.world.item.McItemStack
Get the Item of this ItemStack
getItem(ItemStack) - Static method in class com.shanebeestudios.nms.api.world.item.ItemApi
Get the Minecraft Item from a Minecraft ItemStack
getItem(Material) - Static method in class com.shanebeestudios.nms.api.world.item.ItemApi
Get a Minecraft Item from a Bukkit Material
getItemStack() - Method in class com.shanebeestudios.nms.api.world.item.McItemStack
Get Minecraft ItemStack of this wrapper
getItemWrapper() - Method in class com.shanebeestudios.nms.api.world.item.McItemStack
Get a wrapped version of the Item of this ItemStack
getKey(ItemStack) - Static method in class com.shanebeestudios.nms.api.world.item.ItemApi
Get the NamespacedKey of an Item
getLevel() - Method in class com.shanebeestudios.nms.api.world.item.McTier
Get the level of this tier
getLevelChunk(Chunk) - Static method in class com.shanebeestudios.nms.api.world.ChunkApi
Get a Minecraft LevelChunk from a Bukkit Chunk
getLevelPos(Location) - Static method in class com.shanebeestudios.nms.api.util.McUtils
Get a Minecraft Level and BlockPos from a Bukkit Location
getLocation(BlockPos, Level) - Static method in class com.shanebeestudios.nms.api.util.McUtils
Get a Bukkit Location from a Minecraft BlockPos and Level
getNamespacedKey(ResourceLocation) - Static method in class com.shanebeestudios.nms.api.util.McUtils
Convert Minecraft ResourceLocation to Bukkit NamespacedKey
getNMSEntity(Entity) - Static method in class com.shanebeestudios.nms.api.world.entity.EntityApi
Get an NMS Entity from a Bukkit Entity
getNMSItemStack(ItemStack) - Static method in class com.shanebeestudios.nms.api.world.item.ItemApi
Get a Minecraft ItemStack from a Bukkit ItemStack
getNMSItemStackCopy(ItemStack) - Static method in class com.shanebeestudios.nms.api.world.item.ItemApi
Get a copy of a Minecraft ItemStack from a Bukkit ItemStack
getNutrition() - Method in class com.shanebeestudios.nms.api.world.item.McItem
Get the nutrition if this is a food item
getPlacedFeatures() - Static method in class com.shanebeestudios.nms.api.world.StructureApi
Get a list of all registered placed features
getPlayerConnection(Player) - Static method in class com.shanebeestudios.nms.api.world.entity.PlayerApi
Get the Player's connection
Useful for sending packets
getPos(Location) - Static method in class com.shanebeestudios.nms.api.util.McUtils
Get a Minecraft BlockPos from a Bukkit Location
getRarity(ItemStack) - Method in class com.shanebeestudios.nms.api.world.item.McItem
Get the Rarity of an Item
getRegistry(ResourceKey<? extends Registry<? extends T>>) - Static method in class com.shanebeestudios.nms.api.util.McUtils
Get a Minecraft Registry
getRegistryKeys(Registry<T>) - Static method in class com.shanebeestudios.nms.api.util.McUtils
Get all keys from a registry
getRegistryValue(Registry<T>, NamespacedKey) - Static method in class com.shanebeestudios.nms.api.util.McUtils
Get a keyed value from a registry
getRepairIngredient() - Method in class com.shanebeestudios.nms.api.world.item.McTier
Get the repair ingredient of this tier
getResourceLocation(NamespacedKey) - Static method in class com.shanebeestudios.nms.api.util.McUtils
Convert a Bukkit NamespacedKey to Minecraft ResourceLocation
getSaturationModifier() - Method in class com.shanebeestudios.nms.api.world.item.McItem
Get the saturation modifier if this is a food item
getServerLevel(World) - Static method in class com.shanebeestudios.nms.api.util.McUtils
Get an instance of ServerLevel from a Bukkit World
getServerPlayer(Player) - Static method in class com.shanebeestudios.nms.api.util.McUtils
Get a Minecraft ServerPlayer from a Bukkit Player
getSpeed() - Method in class com.shanebeestudios.nms.api.world.item.McTier
Get the speed of this tier
getStructures() - Static method in class com.shanebeestudios.nms.api.world.StructureApi
Get a list of available structures
getStructureTemplates() - Static method in class com.shanebeestudios.nms.api.world.StructureApi
Get a list of available structure templates
getTicketHolders(Chunk) - Static method in class com.shanebeestudios.nms.api.world.ChunkApi
Get the ticket holders of a chunk
getTier() - Method in class com.shanebeestudios.nms.api.world.item.McItem
Get the Tier from a Tiered Item
getTier(Item) - Static method in class com.shanebeestudios.nms.api.world.item.ItemApi
Get the Tier from a Tiered Item
getTooltipLines(Player, boolean) - Method in class com.shanebeestudios.nms.api.world.item.McItemStack
Get the lines of an ItemStack's tooltips as Components
getTooltipLinesAsStrings(Player, boolean) - Method in class com.shanebeestudios.nms.api.world.item.McItemStack
Get the lines of an ItemStack's tooltips as strings
getUses() - Method in class com.shanebeestudios.nms.api.world.item.McTier
Get the uses of this tier
getVec3(Location) - Static method in class com.shanebeestudios.nms.api.util.McUtils
Get a Minecraft Vec# from a Bukkit Location
getWorldGenLevel(World) - Static method in class com.shanebeestudios.nms.api.util.McUtils
Get an instance of WorldGenLevel from a Bukkit World
getWrappedItem(Item) - Static method in class com.shanebeestudios.nms.api.world.item.ItemApi
Get a wrapped Item for easy to use methods
getWrappedItemStack(ItemStack) - Static method in class com.shanebeestudios.nms.api.world.item.ItemApi
Get a wrapped ItemStack for easy to use methods

I

isComplex() - Method in class com.shanebeestudios.nms.api.world.item.McItem
Check if Item is complex
isDamageableItem() - Method in class com.shanebeestudios.nms.api.world.item.McItemStack
Check if ItemStack is a damageable item
isEdible() - Method in class com.shanebeestudios.nms.api.world.item.McItem
Check if this item is edible
isFastFood() - Method in class com.shanebeestudios.nms.api.world.item.McItem
Check if this item can be instantly eaten
isFireResistant() - Method in class com.shanebeestudios.nms.api.world.item.McItem
Check if this item is fire-resistant
isMeat() - Method in class com.shanebeestudios.nms.api.world.item.McItem
Check if this item is a meat product
isTicking(Chunk) - Static method in class com.shanebeestudios.nms.api.world.ChunkApi
Deprecated, for removal: This API element is subject to removal in a future version.
isTickingAtLocation(Location) - Static method in class com.shanebeestudios.nms.api.world.ChunkApi
Deprecated, for removal: This API element is subject to removal in a future version.
isWithinVillage(Location) - Static method in class com.shanebeestudios.nms.api.world.WorldApi
Check if a location is within a village
ItemApi - Class in com.shanebeestudios.nms.api.world.item
Api methods pertaining to an ItemStack
ItemApi - Class in com.shanebeestudios.nms.api.world
Deprecated, for removal: This API element is subject to removal in a future version.
Use ItemApi instead of this class
ItemApi() - Constructor for class com.shanebeestudios.nms.api.world.item.ItemApi
DO NOT USE

L

locateBiome(NamespacedKey, Location) - Static method in class com.shanebeestudios.nms.api.world.WorldApi
Locate a biome in a radius of a location
locateBiome(NamespacedKey, Location, int, int) - Static method in class com.shanebeestudios.nms.api.world.WorldApi
Locate a biome in a radius of a location
locateNearestStructure(NamespacedKey, Location) - Static method in class com.shanebeestudios.nms.api.world.StructureApi
Locate the nearest placed structure
locateNearestStructure(NamespacedKey, Location, int, boolean) - Static method in class com.shanebeestudios.nms.api.world.StructureApi
Locate the nearest placed structure

M

MathUtils - Class in com.shanebeestudios.nms.api.util
Utility class for math methods
MathUtils() - Constructor for class com.shanebeestudios.nms.api.util.MathUtils
 
McItem - Class in com.shanebeestudios.nms.api.world.item
Wrapper for Minecraft Item
McItem.Rarity - Enum Class in com.shanebeestudios.nms.api.world.item
Item Rarity
McItemStack - Class in com.shanebeestudios.nms.api.world.item
Wrapper for Minecraft ItemStack
McTier - Class in com.shanebeestudios.nms.api.world.item
Wrapper class for Minecraft Tier
McUtils - Class in com.shanebeestudios.nms.api.util
Utility class for changing Minecraft to/from Bukkit classes
McUtils() - Constructor for class com.shanebeestudios.nms.api.util.McUtils
 

P

placeConfiguredFeature(NamespacedKey, Location) - Static method in class com.shanebeestudios.nms.api.world.StructureApi
Place a configured feature
placePlacedFeature(NamespacedKey, Location) - Static method in class com.shanebeestudios.nms.api.world.StructureApi
Place a placed feature
PlayerApi - Class in com.shanebeestudios.nms.api.world.entity
Api methods pertaining to a Player

Q

quantize(int) - Static method in class com.shanebeestudios.nms.api.util.McUtils
Shift coordinates for 3D biomes
quantize(BlockPos) - Static method in class com.shanebeestudios.nms.api.util.McUtils
Shift blockPos for 3D biomes

R

RARE - Enum constant in enum class com.shanebeestudios.nms.api.world.item.McItem.Rarity
 
remove() - Method in class com.shanebeestudios.nms.api.world.entity.FakePlayer
Remove this fake player
removeFromPlayerList() - Method in class com.shanebeestudios.nms.api.world.entity.FakePlayer
Remove the player from the player list
riptide(Player, int) - Static method in class com.shanebeestudios.nms.api.world.entity.PlayerApi
Start the riptide animation for a player

S

sendPacket(Player, Packet<?>) - Static method in class com.shanebeestudios.nms.api.world.entity.PlayerApi
Send a Packet to a Bukkit Player
setBiome(Location, NamespacedKey) - Static method in class com.shanebeestudios.nms.api.world.WorldApi
Set a biome at a location, including custom biomes.
setSkin(String, GameProfile) - Static method in class com.shanebeestudios.nms.api.util.McUtils
Set the skin of a GameProfile
spawnFakePlayer(String, Location) - Static method in class com.shanebeestudios.nms.api.world.entity.PlayerApi
Spawn a FakePlayer
StructureApi - Class in com.shanebeestudios.nms.api.world
API methods relating to Structures

T

teleport(Location) - Method in class com.shanebeestudios.nms.api.world.entity.FakePlayer
Teleport this player to another location
toString() - Method in class com.shanebeestudios.nms.api.world.entity.FakePlayer
 
touch(Player, Entity) - Static method in class com.shanebeestudios.nms.api.world.entity.PlayerApi
Make a player touch an entity

U

UNCOMMON - Enum constant in enum class com.shanebeestudios.nms.api.world.item.McItem.Rarity
 
update() - Method in class com.shanebeestudios.nms.api.world.entity.FakePlayer
Update for all players online
update(Player) - Method in class com.shanebeestudios.nms.api.world.entity.FakePlayer
Update for a single Player

V

valueOf(String) - Static method in enum class com.shanebeestudios.nms.api.world.item.McItem.Rarity
Returns the enum constant of this class with the specified name.
values() - Static method in enum class com.shanebeestudios.nms.api.world.item.McItem.Rarity
Returns an array containing the constants of this enum class, in the order they are declared.

W

WorldApi - Class in com.shanebeestudios.nms.api.world
API methods relating to Worlds
wrap(ItemStack) - Static method in class com.shanebeestudios.nms.api.world.item.McItemStack
Wrap an NMS ItemStack to use easy to use methods
wrap(Item) - Static method in class com.shanebeestudios.nms.api.world.item.McItem
Wrap an Item for easy to use methods
wrap(TieredItem) - Static method in class com.shanebeestudios.nms.api.world.item.McTier
Wrapper an NMS TieredItem for easy to use methods
wrap(ItemStack) - Static method in class com.shanebeestudios.nms.api.world.item.McItemStack
Wrap a Bukkit ItemStack to use easy to use methods
A B C D E F G I L M P Q R S T U V W 
All Classes and Interfaces|All Packages