Index

A B C D E F G H 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
asItem() - Method in class com.shanebeestudios.nms.api.world.block.McBlock
Get the Item version of this Block

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
canBeReplaced() - Method in class com.shanebeestudios.nms.api.world.block.McBlockState
Check if this BlockState can be replaced
canSurvive(Location) - Method in class com.shanebeestudios.nms.api.world.block.McBlockState
Check if this BlockState can survive at a location
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.server - package com.shanebeestudios.nms.api.server
Api relating to a Minecraft Server
com.shanebeestudios.nms.api.util - package com.shanebeestudios.nms.api.util
General Utility Package
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
entityCanStandOn(Entity) - Method in class com.shanebeestudios.nms.api.world.block.McBlockState
Check if an Entity can stand on this BlockState
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

getAllLevels() - Method in class com.shanebeestudios.nms.api.server.McServer
Get all server Levels
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
getBlock() - Method in class com.shanebeestudios.nms.api.world.block.McBlockState
Get the Block of this BlockState
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
getCollisionShape(Location) - Method in class com.shanebeestudios.nms.api.world.block.McBlockState
Get the collision shape of this BlockState at a location in the world
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
getDestroyProgress(Player, Block) - Static method in class com.shanebeestudios.nms.api.world.block.BlockApi
Get the destroy progress of a specific Block by a Player
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
getEffectiveDifficulty(Chunk) - Static method in class com.shanebeestudios.nms.api.world.ChunkApi
Get the effective difficulty of a Chunk
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
getExplosionResistance() - Method in class com.shanebeestudios.nms.api.world.block.McBlock
Get the explosion resistance of this Block
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
getFriction() - Method in class com.shanebeestudios.nms.api.world.block.McBlock
Get the friction of this Block
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
getJumpFactor() - Method in class com.shanebeestudios.nms.api.world.block.McBlock
Get the jump factor of this Block
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
getLevelIdName() - Method in class com.shanebeestudios.nms.api.server.McServer
Get the Level ID name
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
getMapColor(Location) - Method in class com.shanebeestudios.nms.api.world.block.McBlockState
Get the MapColor this BlockState will appear on a map
getMcBlock() - Method in class com.shanebeestudios.nms.api.world.block.McBlockState
Get a wrapped Block of this BlockState
getMinecraftServer(Server) - Static method in class com.shanebeestudios.nms.api.util.McUtils
Get the Minecraft Server
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
getPlayerList() - Method in class com.shanebeestudios.nms.api.server.McServer
Get the server's player list
getPos(Location) - Static method in class com.shanebeestudios.nms.api.util.McUtils
Get a Minecraft BlockPos from a Bukkit Location
getProperties() - Method in class com.shanebeestudios.nms.api.server.McServer
Get the properties associated with the server
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
getServerName() - Method in class com.shanebeestudios.nms.api.server.McServer
Get the name of the server
getServerPlayer(Player) - Static method in class com.shanebeestudios.nms.api.util.McUtils
Get a Minecraft ServerPlayer from a Bukkit Player
getServerStatus() - Method in class com.shanebeestudios.nms.api.server.McServer
Get the status of the server
getSpeed() - Method in class com.shanebeestudios.nms.api.world.item.McTier
Get the speed of this tier
getSpeedFactor() - Method in class com.shanebeestudios.nms.api.world.block.McBlock
Get the speed factor of this Block
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

H

hasCollision() - Method in class com.shanebeestudios.nms.api.world.block.McBlock
Check if this Block has collision

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
isDestroyable() - Method in class com.shanebeestudios.nms.api.world.block.McBlock
Check if this Block is destroyable
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
isRandomlyTicking(Block) - Method in class com.shanebeestudios.nms.api.world.block.McBlock
Check if this Block at a BlockState is randomly ticking
isReady() - Method in class com.shanebeestudios.nms.api.server.McServer
Check if the server is ready
isRunning() - Method in class com.shanebeestudios.nms.api.server.McServer
Check if the server is running
isShutdown() - Method in class com.shanebeestudios.nms.api.server.McServer
Check if the server is shutdown
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
 
McBlock - Class in com.shanebeestudios.nms.api.world.block
Wrapper for Minecraft Block
McBlockState - Class in com.shanebeestudios.nms.api.world.block
Wrapper for Minecraft BlockState
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
McServer - Class in com.shanebeestudios.nms.api.server
Wrapper for Minecraft (Dedicated) Server
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

randomlyTick(Block) - Static method in class com.shanebeestudios.nms.api.world.block.BlockApi
Randomly tick a block.
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
spawnFakePlayerAsync(String, Location) - Static method in class com.shanebeestudios.nms.api.world.entity.PlayerApi
Spawn a FakePlayer async
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(Block) - Static method in class com.shanebeestudios.nms.api.world.block.McBlock
Wrap a Minecraft Block as an McBlock
wrap(BlockState) - Static method in class com.shanebeestudios.nms.api.world.block.McBlockState
Wrap a Minecraft BlockState as an McBlockState
wrap(Block) - Static method in class com.shanebeestudios.nms.api.world.block.McBlock
Wrap a Bukkit Block as an McBlock
wrap(BlockData) - Static method in class com.shanebeestudios.nms.api.world.block.McBlockState
Wrap a Bukkit BlockData as a Minecraft BlockState
wrap(ItemStack) - Static method in class com.shanebeestudios.nms.api.world.item.McItemStack
Wrap a Bukkit ItemStack to use easy to use methods
wrap(Server) - Static method in class com.shanebeestudios.nms.api.server.McServer
Wrap a Bukkit Server as MinecraftServer
A B C D E F G H I L M P Q R S T U V W 
All Classes and Interfaces|All Packages