Index

A B C D E F G H I J K L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

ACACIA - Enum constant in enum class com.jeff_media.jefflib.data.WoodType
 
add(double) - Method in class com.jeff_media.jefflib.data.average.AverageDouble
Adds a new value to the average
add(double, E) - Method in class com.jeff_media.jefflib.data.WeightedRandomList
 
add(int) - Method in class com.jeff_media.jefflib.data.average.AverageInt
Adds a new value to the average
add(WeightedRandomList.WeightedElement) - Method in class com.jeff_media.jefflib.data.WeightedRandomList
 
addAfter(T[], T) - Static method in class com.jeff_media.jefflib.ArrayUtils
Appends an item to the given array
addAll(Collection<? extends WeightedRandomList.WeightedElement>) - Method in class com.jeff_media.jefflib.data.WeightedRandomList
 
addGlowEffect(ItemStack) - Static method in class com.jeff_media.jefflib.EnchantmentUtils
Adds a glowing effect to the given item (doesn't work on all items)
addGlowEffect(ItemMeta) - Static method in class com.jeff_media.jefflib.EnchantmentUtils
Adds a glowing effect to the given item (doesn't work on all items)
addGoal(PathfinderGoal, int) - Method in class com.jeff_media.jefflib.ai.goal.GoalSelector
Adds a PathfinderGoal to this mob's goal selector
addGoal(PathfinderGoal, int) - Method in class com.jeff_media.jefflib.ai.goal.TargetSelector
Adds a PathfinderGoal to this mob's target selector
addOrDrop(Player, Iterable<ItemStack>) - Static method in class com.jeff_media.jefflib.InventoryUtils
Adds all the given ItemStacks to the player's inventory, or drops them at the player's location
addOrDrop(Player, ItemStack...) - Static method in class com.jeff_media.jefflib.InventoryUtils
Adds all the given ItemStacks to the player's inventory, or drops them at the player's location
addOrDrop(Player, Location, Iterable<ItemStack>) - Static method in class com.jeff_media.jefflib.InventoryUtils
Adds all the given ItemStacks to the player's inventory, or drops them at the given location
addOrDrop(Player, Location, ItemStack...) - Static method in class com.jeff_media.jefflib.InventoryUtils
Adds all the given ItemStacks to the player's inventory, or drops them at the given location
addTrackedBlockType(Material) - Static method in class com.jeff_media.jefflib.BlockTracker
Adds a new material to the block tracker
addTrackedBlockTypes(Collection<Material>) - Static method in class com.jeff_media.jefflib.BlockTracker
Adds new materials to the block tracker
ADVANCEMENT - Enum constant in enum class com.jeff_media.jefflib.data.ToastMessage.FrameType
Yellow, titled with "Advancement"
AdvancementInfo - Class in com.jeff_media.jefflib.data
Provides information about an advancement.
AdvancementInfo(Advancement) - Constructor for class com.jeff_media.jefflib.data.AdvancementInfo
Creates a new instance of AdvancementInfo.
affectsTopInventory(InventoryDragEvent) - Static method in class com.jeff_media.jefflib.InventoryUtils
Checks whether the given InventoryDragEvent also affects the top Inventory.
AIR - Static variable in class com.jeff_media.jefflib.BlockUtils.Predicates
Represents AIR and CAVE_AIR
ALLOW - Enum constant in enum class com.jeff_media.jefflib.pluginhooks.worldguard.StateFlag.State
 
appendLines(File, String) - Static method in class com.jeff_media.jefflib.FileUtils
Appends the given line to the file
appendLines(File, String[]) - Static method in class com.jeff_media.jefflib.FileUtils
Appends the given lines to the file
appendLines(File, Collection<String>) - Static method in class com.jeff_media.jefflib.FileUtils
Appends the given lines to the file
apply(String) - Method in class com.jeff_media.jefflib.data.Replacer
Applies all given placeholders
applyBook(EnchantmentStorageMeta, ItemStack, boolean) - Static method in class com.jeff_media.jefflib.EnchantmentUtils
Applies an enchanted book to an item.
applyGradient(String, HexColor, HexColor) - Static method in class com.jeff_media.jefflib.data.HexColor
Applies a gradient to the given text.
ARMORSTAND - Enum constant in enum class com.jeff_media.jefflib.data.Hologram.Type
 
ArrayUtils - Class in com.jeff_media.jefflib
Array manipulation related methods
ArrayUtils() - Constructor for class com.jeff_media.jefflib.ArrayUtils
 
asBoolean() - Method in enum class com.jeff_media.jefflib.pluginhooks.worldguard.StateFlag.State
 
asList(Iterator<T>) - Static method in class com.jeff_media.jefflib.CollectionUtils
Creates a list from an iterator
asList(T...) - Static method in class com.jeff_media.jefflib.CollectionUtils
Creates a List of all given elements
asMap(ConfigurationSection) - Static method in class com.jeff_media.jefflib.ConfigUtils
Turns a ConfigurationSection into a Map<String,Object> (just like SnakeYAML)
asSet(T...) - Static method in class com.jeff_media.jefflib.CollectionUtils
 
AverageDouble - Class in com.jeff_media.jefflib.data.average
Represents an average double value consisting of a given number of previous values
AverageDouble(int) - Constructor for class com.jeff_media.jefflib.data.average.AverageDouble
Creates a new instance that stores up to the given number of samples
AverageInt - Class in com.jeff_media.jefflib.data.average
Represents an average double value consisting of a given number of previous values
AverageInt(int) - Constructor for class com.jeff_media.jefflib.data.average.AverageInt
Creates a new instance that stores up to the given number of samples
avoidEntity(Creature, Predicate<LivingEntity>, float, double, double) - Static method in interface com.jeff_media.jefflib.ai.goal.PathfinderGoals
Creates an Avoid entity goal, that will scare off the entity if the given Predicate matches.

B

banner(CharSequence) - Static method in class com.jeff_media.jefflib.TextUtils
Prints a banner / headline to console
BiomeUtils - Class in com.jeff_media.jefflib
Biome related methods
BiomeUtils() - Constructor for class com.jeff_media.jefflib.BiomeUtils
 
BIRCH - Enum constant in enum class com.jeff_media.jefflib.data.WoodType
 
BlockByDistanceComparator(Block) - Constructor for class com.jeff_media.jefflib.Comparators.BlockByDistanceComparator
 
BlockByDistanceComparator(Location) - Constructor for class com.jeff_media.jefflib.Comparators.BlockByDistanceComparator
 
BlockFaceUtils - Class in com.jeff_media.jefflib
BlockFace related methods
BlockFaceUtils() - Constructor for class com.jeff_media.jefflib.BlockFaceUtils
 
BlockTracker - Class in com.jeff_media.jefflib
Tracks player placed blocks.
BlockTracker() - Constructor for class com.jeff_media.jefflib.BlockTracker
 
BlockUtils - Class in com.jeff_media.jefflib
Block related methods
BlockUtils() - Constructor for class com.jeff_media.jefflib.BlockUtils
 
BlockUtils.Predicates - Class in com.jeff_media.jefflib
Some predefined Block Predicates
BlockUtils.RadiusType - Enum Class in com.jeff_media.jefflib
Represents the type of radius
BOOKSHELF_OFFSETS - Static variable in class com.jeff_media.jefflib.BlockUtils
Offsets of valid bookshelf locations from an enchantment table
build() - Method in class com.jeff_media.jefflib.ItemBuilder
Returns the built ItemStack
buildString(String[], int) - Static method in class com.jeff_media.jefflib.WordUtils
Builds a String from the given args and starting point
BURNABLE - Static variable in class com.jeff_media.jefflib.BlockUtils.Predicates
Represents all burnable blocks
ByteCounter - Class in com.jeff_media.jefflib.data
A simple DataOutput implementation that counts the number of bytes written and discards the actual data
ByteCounter() - Constructor for class com.jeff_media.jefflib.data.ByteCounter
 

C

canBreak(Player, Location) - Static method in class com.jeff_media.jefflib.pluginhooks.worldguard.WorldGuardHandler
 
canBreak(Player, Location) - Static method in class com.jeff_media.jefflib.pluginhooks.worldguard.WorldGuardUtils
 
canBreak(Player, Location) - Method in class com.jeff_media.jefflib.ProtectionUtils
 
canBuild(Player, Location) - Method in class com.jeff_media.jefflib.ProtectionUtils
 
canContinueToUse() - Method in interface com.jeff_media.jefflib.ai.goal.PathfinderGoal
Returns whether the goal can continue to be used
canEnchantItem(ItemStack) - Method in class com.jeff_media.jefflib.internal.glowenchantment.SpigotGlowEnchantment
 
canInteract(Player, Location) - Static method in class com.jeff_media.jefflib.pluginhooks.worldguard.WorldGuardHandler
 
canInteract(Player, Location) - Static method in class com.jeff_media.jefflib.pluginhooks.worldguard.WorldGuardUtils
 
canPlace(Player, Location) - Static method in class com.jeff_media.jefflib.pluginhooks.worldguard.WorldGuardHandler
 
canPlace(Player, Location) - Static method in class com.jeff_media.jefflib.pluginhooks.worldguard.WorldGuardUtils
 
canUse() - Method in class com.jeff_media.jefflib.ai.goal.CustomGoal
 
canUse() - Method in interface com.jeff_media.jefflib.ai.goal.PathfinderGoal
Returns whether the goal can be used right now
CardinalDirection - Enum Class in com.jeff_media.jefflib.data
Represents the 16 cardinal directions (north, north north east, north east, east north east, ...)
castEntityList(Iterable<? extends Entity>, Class<? extends E>) - Static method in class com.jeff_media.jefflib.EntityUtils
Converts a list of Entities to a list of the desired Entity class.
CHALLENGE - Enum constant in enum class com.jeff_media.jefflib.data.ToastMessage.FrameType
Purple, titled with "Challenge"
chance(double) - Static method in class com.jeff_media.jefflib.RandomUtils
Returns true with a specific chance, otherwise false, with a range between 0 (always false) and 1 (always true)
chance100(double) - Static method in class com.jeff_media.jefflib.RandomUtils
Returns true with a specific chance, otherwise false, with a range between 0 (always false) and 100 (always true)
CHERRY - Enum constant in enum class com.jeff_media.jefflib.data.WoodType
 
ChunkCoordinates(int, int) - Constructor for class com.jeff_media.jefflib.LocationUtils.ChunkCoordinates
 
chunkToWorldCoordinates(BlockVector, int, int, int) - Static method in class com.jeff_media.jefflib.BlockUtils
Turns a given BlockVector using chunk coordinates into a BlockVector using global coordinates
ClassUtils - Class in com.jeff_media.jefflib
Class related methods that do not have something to do with Reflection (see ReflUtils for that)
ClassUtils() - Constructor for class com.jeff_media.jefflib.ClassUtils
 
clear() - Method in class com.jeff_media.jefflib.data.WeightedRandomList
 
clearOldEntries() - Method in class com.jeff_media.jefflib.data.Cooldown
Clears expired cooldown entries
clearTrackedBlockTypes() - Static method in class com.jeff_media.jefflib.BlockTracker
Clears the list of tracked materials
CollectionUtils - Class in com.jeff_media.jefflib
Collection related methods.
CollectionUtils() - Constructor for class com.jeff_media.jefflib.CollectionUtils
 
color(String) - Static method in class com.jeff_media.jefflib.TextUtils
Replaces color codes using &.
com.jeff_media.jefflib - package com.jeff_media.jefflib
Main Library methods. Some methods require initialization first, see JeffLib.init(org.bukkit.plugin.Plugin)
com.jeff_media.jefflib.ai.goal - package com.jeff_media.jefflib.ai.goal
Pathfinder goals related classes
com.jeff_media.jefflib.ai.navigation - package com.jeff_media.jefflib.ai.navigation
Navigation related classes
com.jeff_media.jefflib.data - package com.jeff_media.jefflib.data
Some data classes.
com.jeff_media.jefflib.data.average - package com.jeff_media.jefflib.data.average
Classes for calculating averages using a round-robin like buffer
com.jeff_media.jefflib.data.tuples - package com.jeff_media.jefflib.data.tuples
Contains Tuples (Pair, Triplet and Quartet) implementing Object.equals(Object), Object.hashCode() and Object.toString()
com.jeff_media.jefflib.data.worldboundingbox - package com.jeff_media.jefflib.data.worldboundingbox
Contains "region"-like classes that are related to certain worlds
com.jeff_media.jefflib.events - package com.jeff_media.jefflib.events
Events provided by JeffLib
com.jeff_media.jefflib.exceptions - package com.jeff_media.jefflib.exceptions
Exceptions used by JeffLib
com.jeff_media.jefflib.internal - package com.jeff_media.jefflib.internal
Internal functionality.
com.jeff_media.jefflib.internal.annotations - package com.jeff_media.jefflib.internal.annotations
Internal annotations for JeffLib that are not meant to be used by other plugins, but contain useful information for the javadocs
com.jeff_media.jefflib.internal.glowenchantment - package com.jeff_media.jefflib.internal.glowenchantment
 
com.jeff_media.jefflib.pluginhooks - package com.jeff_media.jefflib.pluginhooks
Contains classes related to interactions with other plugins.
com.jeff_media.jefflib.pluginhooks.worldguard - package com.jeff_media.jefflib.pluginhooks.worldguard
 
combine(T[]...) - Static method in class com.jeff_media.jefflib.ArrayUtils
Combines the given arrays into a new array
CommandUtils - Class in com.jeff_media.jefflib
Command registration related methods
CommandUtils() - Constructor for class com.jeff_media.jefflib.CommandUtils
 
CommandUtils.HelpStyle - Enum Class in com.jeff_media.jefflib
Comparators - Class in com.jeff_media.jefflib
Some useful comparators
Comparators() - Constructor for class com.jeff_media.jefflib.Comparators
 
Comparators.BlockByDistanceComparator - Class in com.jeff_media.jefflib
Sorts blocks by distance (nearest to farthest)
Comparators.EntityByDistanceComparator - Class in com.jeff_media.jefflib
Sorts entities by distance (nearest to farthest)
Comparators.LocationByDistanceComparator - Class in com.jeff_media.jefflib
Sorts locations by distance (nearest to farthest)
compare(Block, Block) - Method in class com.jeff_media.jefflib.Comparators.BlockByDistanceComparator
 
compare(Entity, Entity) - Method in class com.jeff_media.jefflib.Comparators.EntityByDistanceComparator
 
compare(Location, Location) - Method in class com.jeff_media.jefflib.Comparators.LocationByDistanceComparator
 
compareTo(McVersion) - Method in class com.jeff_media.jefflib.data.McVersion
 
compareTo(WeightedRandomList.WeightedElement) - Method in class com.jeff_media.jefflib.data.WeightedRandomList.WeightedElement
 
Config - Class in com.jeff_media.jefflib.data
Represents a configuration that automatically loads the default values from the plugin's resources, if it exists.
Config(String) - Constructor for class com.jeff_media.jefflib.data.Config
Creates a new config with the given filename.
ConfigUtils - Class in com.jeff_media.jefflib
Configuration file related methods
ConfigUtils() - Constructor for class com.jeff_media.jefflib.ConfigUtils
 
ConflictingEnchantmentException - Exception in com.jeff_media.jefflib.exceptions
 
ConflictingEnchantmentException(String) - Constructor for exception com.jeff_media.jefflib.exceptions.ConflictingEnchantmentException
 
conflictsWith(Enchantment) - Method in class com.jeff_media.jefflib.internal.glowenchantment.SpigotGlowEnchantment
 
contains(WeightedRandomList.WeightedElement) - Method in class com.jeff_media.jefflib.data.WeightedRandomList
 
contains(E) - Method in class com.jeff_media.jefflib.data.WeightedRandomList
 
contains(Location) - Method in class com.jeff_media.jefflib.data.worldboundingbox.CuboidWorldBoundingBox
 
contains(Location) - Method in class com.jeff_media.jefflib.data.worldboundingbox.PolygonWorldBoundingBox
 
Controls - Class in com.jeff_media.jefflib.ai.navigation
Represents an entity's navigation, movement, jump and look controls
convertVectorToEulerAngle(Vector) - Static method in class com.jeff_media.jefflib.VectorUtils
 
Cooldown - Class in com.jeff_media.jefflib.data
A cooldown tracker for all kinds of objects.
Cooldown() - Constructor for class com.jeff_media.jefflib.data.Cooldown
Creates a new cooldown tracker with the default precision (milliseconds)
Cooldown(TimeUnit) - Constructor for class com.jeff_media.jefflib.data.Cooldown
Creates a new cooldown tracker with the given precision
Cooldown(TimeUnit, LongSupplier) - Constructor for class com.jeff_media.jefflib.data.Cooldown
Creates a new cooldown tracker with the given precision and time supplier
copy(PersistentDataContainer, PersistentDataContainer) - Static method in class com.jeff_media.jefflib.PDCUtils
Copies all the data from the source PDC to the destination PDC.
countChar(String, char) - Static method in class com.jeff_media.jefflib.WordUtils
 
countItemStacks(Inventory, ItemStack) - Static method in class com.jeff_media.jefflib.InventoryUtils
Counts how many times the given ItemStack is present in the given inventory
countItemStacks(ItemStack[], ItemStack) - Static method in class com.jeff_media.jefflib.InventoryUtils
Counts how many times the given ItemStack is present in the given array
countItemStacks(ItemStack[], Material) - Static method in class com.jeff_media.jefflib.InventoryUtils
Counts how many times the given Material is present in the given array
countMaterials(Inventory, Material) - Static method in class com.jeff_media.jefflib.InventoryUtils
Counts how many times the given Material is present in the given inventory
create() - Method in class com.jeff_media.jefflib.data.Hologram
 
createArray(Class<T>) - Static method in class com.jeff_media.jefflib.ArrayUtils
Returns a new array of the given class type with length 0
createArray(Class<T>, int) - Static method in class com.jeff_media.jefflib.ArrayUtils
Returns a new array of the given class type with the given length
createPersistentDataContainer() - Static method in class com.jeff_media.jefflib.PDCUtils
Creates a new PersistentDataContainer without needing any PersistentDataAdapterContext
createServerListPingEvent(String, InetAddress, String, boolean, int, int) - Static method in class com.jeff_media.jefflib.internal.ServerListPingEventFactory
Creates a new ServerListPingEvent
CRIMSON - Enum constant in enum class com.jeff_media.jefflib.data.WoodType
 
CUBOID - Enum constant in enum class com.jeff_media.jefflib.BlockUtils.RadiusType
A cuboid radius, like a normal WorldEdit selection of X*X*X blocks
CuboidWorldBoundingBox - Class in com.jeff_media.jefflib.data.worldboundingbox
Represents a cuboid region linked to a World
CuboidWorldBoundingBox(World, BoundingBox) - Constructor for class com.jeff_media.jefflib.data.worldboundingbox.CuboidWorldBoundingBox
 
current() - Static method in class com.jeff_media.jefflib.data.McVersion
Gets the currently running McVersion
CustomGoal - Class in com.jeff_media.jefflib.ai.goal
An extendable PathfinderGoal that can be used to create custom AI goals.
CustomGoal(Mob) - Constructor for class com.jeff_media.jefflib.ai.goal.CustomGoal
 
CustomGoalExecutor - Interface in com.jeff_media.jefflib.ai.goal
Represents an NMS pathfinder Goal that's used to execute a CustomGoal

D

damageItem(int, ItemStack, Player) - Static method in class com.jeff_media.jefflib.ItemStackUtils
Damages given ItemStack by specified amount
DARK_OAK - Enum constant in enum class com.jeff_media.jefflib.data.WoodType
 
dateToString(long) - Static method in class com.jeff_media.jefflib.TimeUtils
Converts a Unix Timestamp to a String
debug(String) - Static method in class com.jeff_media.jefflib.JeffLib
Prints debug text when debug mode is enabled
debug(InventoryClickEvent) - Static method in class com.jeff_media.jefflib.DebugUtils.Events
 
DebugUtils - Class in com.jeff_media.jefflib
 
DebugUtils() - Constructor for class com.jeff_media.jefflib.DebugUtils
 
DebugUtils.Events - Class in com.jeff_media.jefflib
 
DebugUtils.NMSTest - Class in com.jeff_media.jefflib
 
DENY - Enum constant in enum class com.jeff_media.jefflib.pluginhooks.worldguard.StateFlag.State
 
deserialize(String, PersistentDataContainer) - Static method in class com.jeff_media.jefflib.PDCUtils
Loads a String from PDCUtils.serialize(PersistentDataContainer) into a PersistentDataContainer, overwriting already existing keys of the same name
deserialize(Map<String, Object>) - Static method in class com.jeff_media.jefflib.data.Hologram
 
deserialize(Map<String, Object>) - Static method in class com.jeff_media.jefflib.data.SerializedEntity
 
DOWN - Enum constant in enum class com.jeff_media.jefflib.events.PlayerScrollEvent.ScrollDirection
Represents scrolling down / to the left
downloadToStringList(String) - Static method in class com.jeff_media.jefflib.NetUtils
Downloads a URL and returns the response as String list.
downloadToStringListAsync(String) - Static method in class com.jeff_media.jefflib.NetUtils
Downloads a URL and returns the response as String list asynchronously.
drawHollowCube(Block, Block, Player, Particle, int, Object) - Static method in class com.jeff_media.jefflib.ParticleUtils
Returns a runnable that creates cube-formed particles
drawHollowCube(Location, Location, Player, Particle, int, Object) - Static method in class com.jeff_media.jefflib.ParticleUtils
Returns a runnable that creates cube-formed particles
drawHollowCube(World, BoundingBox, Player, Particle, int, Object) - Static method in class com.jeff_media.jefflib.ParticleUtils
Returns a runnable that creates cube-formed particles
dropExp(Location, int) - Static method in class com.jeff_media.jefflib.ExpUtils
Drops an experience orb at the given location with the given amount of experience

E

EAST - Enum constant in enum class com.jeff_media.jefflib.data.CardinalDirection
 
EAST_NORTH_EAST - Enum constant in enum class com.jeff_media.jefflib.data.CardinalDirection
 
EAST_SOUTH_EASE - Enum constant in enum class com.jeff_media.jefflib.data.CardinalDirection
 
EFFECTCLOUD - Enum constant in enum class com.jeff_media.jefflib.data.Hologram.Type
 
enableNMS() - Static method in class com.jeff_media.jefflib.JeffLib
Initializes NMS features.
EnchantmentUtils - Class in com.jeff_media.jefflib
Enchantment related methods
EnchantmentUtils() - Constructor for class com.jeff_media.jefflib.EnchantmentUtils
 
endTimings(String) - Static method in class com.jeff_media.jefflib.TimeUtils
Ends the time measurement and prints out the duration in human readable milliseconds
endTimings(String, boolean) - Static method in class com.jeff_media.jefflib.TimeUtils
Ends the time measurement, and optionally prints out the duration in human readable milliseconds
endTimings(String, Plugin, boolean) - Static method in class com.jeff_media.jefflib.TimeUtils
Ends the time measurement and optionally prints out the duration in human readable milliseconds
EntityByDistanceComparator(Entity) - Constructor for class com.jeff_media.jefflib.Comparators.EntityByDistanceComparator
 
EntityByDistanceComparator(Location) - Constructor for class com.jeff_media.jefflib.Comparators.EntityByDistanceComparator
 
EntityUtils - Class in com.jeff_media.jefflib
Entity related methods
EntityUtils() - Constructor for class com.jeff_media.jefflib.EntityUtils
 
EnumCache<E extends Enum<E>> - Class in com.jeff_media.jefflib.data
A simple Enum cache that caches the enum constants and size of the enum
EnumUtils - Class in com.jeff_media.jefflib
Enum related methods
EnumUtils() - Constructor for class com.jeff_media.jefflib.EnumUtils
 
EPSILON_D - Static variable in class com.jeff_media.jefflib.NumberUtils
 
EPSILON_F - Static variable in class com.jeff_media.jefflib.NumberUtils
 
equals(Object) - Method in class com.jeff_media.jefflib.data.average.AverageDouble
 
equals(Object) - Method in class com.jeff_media.jefflib.data.average.AverageInt
 
equals(Object) - Method in class com.jeff_media.jefflib.data.HexColor
 
equals(Object) - Method in class com.jeff_media.jefflib.data.Hologram
 
equals(Object) - Method in class com.jeff_media.jefflib.data.McVersion
 
equals(Object) - Method in class com.jeff_media.jefflib.data.TPS
 
equals(Object) - Method in class com.jeff_media.jefflib.data.tuples.Pair
 
equals(Object) - Method in class com.jeff_media.jefflib.data.tuples.Quartet
 
equals(Object) - Method in class com.jeff_media.jefflib.data.tuples.Quintet
 
equals(Object) - Method in class com.jeff_media.jefflib.data.tuples.Triplet
 
equals(Object) - Method in class com.jeff_media.jefflib.data.WeightedRandomList
 
equals(Object) - Method in class com.jeff_media.jefflib.data.WeightedRandomList.WeightedElement
 
equals(Object) - Method in class com.jeff_media.jefflib.data.worldboundingbox.CuboidWorldBoundingBox
 
equals(Object) - Method in class com.jeff_media.jefflib.pluginhooks.worldguard.StateFlag
 
ERROR_READING_DATA - Static variable in class com.jeff_media.jefflib.ItemStackUtils
Magic value to identify "could not parse NBT data"
Events() - Constructor for class com.jeff_media.jefflib.DebugUtils.Events
 
exists(String) - Static method in class com.jeff_media.jefflib.ClassUtils
Checks if a class exists
ExpiringConcurrentHashMap<K,V> - Class in com.jeff_media.jefflib.data
 
ExpiringConcurrentHashMap(long, long, TimeUnit) - Constructor for class com.jeff_media.jefflib.data.ExpiringConcurrentHashMap
 
ExpUtils - Class in com.jeff_media.jefflib
Experience related methods
ExpUtils() - Constructor for class com.jeff_media.jefflib.ExpUtils
 

F

FileUtils - Class in com.jeff_media.jefflib
File related methods
FileUtils() - Constructor for class com.jeff_media.jefflib.FileUtils
 
format(String) - Static method in class com.jeff_media.jefflib.TextUtils
Replaces Emojis, PlacederholderAPI placeholders and colors (see TextUtils.color(String))
format(String, OfflinePlayer) - Static method in class com.jeff_media.jefflib.TextUtils
Replaces Emojis, PlacedeholderAPI placeholders and colors (see TextUtils.color(String))
format(List<String>, OfflinePlayer) - Static method in class com.jeff_media.jefflib.TextUtils
Replaces Emojis, PlaceholderAPI placeholders and colors ({see TextUtils.color(String))
formatNanoseconds(long) - Static method in class com.jeff_media.jefflib.TimeUtils
Formats nanoseconds to a human readable format in milliseconds with 4 decimal places
fromBase64(String) - Static method in class com.jeff_media.jefflib.ItemStackSerializer
Turns a Base64 String into an ItemStack
fromBoolean(boolean) - Static method in enum class com.jeff_media.jefflib.pluginhooks.worldguard.StateFlag.State
 
fromBytes(byte[]) - Static method in class com.jeff_media.jefflib.ItemStackSerializer
Turns a byte array into an ItemStack
fromConfigurationSection(ConfigurationSection) - Static method in class com.jeff_media.jefflib.data.VariableItemStack
 
fromConfigurationSection(ConfigurationSection) - Static method in class com.jeff_media.jefflib.EnchantmentUtils
Parses Enchantments including levels from a ConfigurationSection.
fromConfigurationSection(ConfigurationSection) - Method in class com.jeff_media.jefflib.ItemStackUtils
Parses an ItemStack from a ConfigurationSection without applying any placeholder values.
fromConfigurationSection(ConfigurationSection, String) - Static method in class com.jeff_media.jefflib.data.SoundData
Parses a ConfigurationSection into a SoundData object.
fromConfigurationSection(ConfigurationSection, String) - Static method in class com.jeff_media.jefflib.ParticleData
 
fromConfigurationSection(ConfigurationSection, HashMap<String, String>) - Static method in class com.jeff_media.jefflib.ItemStackUtils
Parses an ItemStack from a ConfigurationSection and applies placeholders.
fromHours(double) - Static method in class com.jeff_media.jefflib.Ticks
Converts hours to ticks
fromIndex(int) - Static method in enum class com.jeff_media.jefflib.data.CardinalDirection
Converts an integer between 0 (inclusive) and 16 (inclusive) to its cardinal direction. 0 and 16 both return NORTH.
fromJson(String) - Static method in class com.jeff_media.jefflib.ItemStackSerializer
Turns a json-formatted String into an ItemStack
fromLocations(World, List<Location>) - Static method in class com.jeff_media.jefflib.data.worldboundingbox.PolygonWorldBoundingBox
 
fromLocations(World, Location...) - Static method in class com.jeff_media.jefflib.data.worldboundingbox.PolygonWorldBoundingBox
 
fromMaterial(Material) - Static method in enum class com.jeff_media.jefflib.data.WoodType
 
fromMinutes(double) - Static method in class com.jeff_media.jefflib.Ticks
Converts minutes to ticks
fromSeconds(double) - Static method in class com.jeff_media.jefflib.Ticks
Converts seconds to ticks
fromVectors(World, List<Vector>) - Static method in class com.jeff_media.jefflib.data.worldboundingbox.PolygonWorldBoundingBox
 
fromVectors(World, Vector...) - Static method in class com.jeff_media.jefflib.data.worldboundingbox.PolygonWorldBoundingBox
 
fromYaw(double) - Static method in enum class com.jeff_media.jefflib.data.CardinalDirection
Converts a given yaw value to its cardinal direction

G

GeometryUtils - Class in com.jeff_media.jefflib
Geometry related methods
GeometryUtils() - Constructor for class com.jeff_media.jefflib.GeometryUtils
 
get(ItemStack, String, PersistentDataType<T, Z>) - Static method in class com.jeff_media.jefflib.PDCUtils
Gets a value from the holder's PDC
get(ItemStack, NamespacedKey, PersistentDataType<T, Z>) - Static method in class com.jeff_media.jefflib.PDCUtils
Gets a value from the holder's PDC
get(NamespacedKey, PersistentDataType<T, Z>) - Method in class com.jeff_media.jefflib.data.OfflinePlayerPersistentDataContainer
 
get(PersistentDataHolder, String, PersistentDataType<T, Z>) - Static method in class com.jeff_media.jefflib.PDCUtils
Gets a value from the holder's PDC
get(PersistentDataHolder, NamespacedKey, PersistentDataType<T, Z>) - Static method in class com.jeff_media.jefflib.PDCUtils
Gets a value from the holder's PDC
getAdapterContext() - Method in class com.jeff_media.jefflib.data.OfflinePlayerPersistentDataContainer
 
getAll(Inventory, ItemStack) - Static method in class com.jeff_media.jefflib.InventoryUtils
Returns a map of all items from this inventory that match the given item.
getAllEntities() - Static method in class com.jeff_media.jefflib.EntityUtils
Returns a collection of all entities from all worlds
getAverage() - Method in class com.jeff_media.jefflib.data.average.AverageDouble
Gets the average of the stored values
getAverage() - Method in class com.jeff_media.jefflib.data.average.AverageInt
Gets the average of the stored values
getBase64Texture(SkullMeta) - Static method in class com.jeff_media.jefflib.SkullUtils
Gets the base64 skin of the given SkullMeta
getBiomeNamespacedKey(Location) - Method in class com.jeff_media.jefflib.BiomeUtils
Returns the proper NamespacedKey for the biome at the given location, e.g.
getBlockDataAsEntries(Block) - Static method in class com.jeff_media.jefflib.BlockUtils
Returns a list of entries containing all BlockData from a given block
getBlocks(World, BoundingBox, boolean, Predicate<BlockData>) - Static method in class com.jeff_media.jefflib.BlockUtils
Gets a list of all BlockVectors inside the given BoundingBox that match the given Predicate<BlockData>
getBlocksInRadius(Location, int, BlockUtils.RadiusType) - Static method in class com.jeff_media.jefflib.BlockUtils
Gets all blocks in a given radius around a center location
getBlocksInRadius(Location, int, BlockUtils.RadiusType, Predicate<Block>) - Static method in class com.jeff_media.jefflib.BlockUtils
Gets all blocks in a given radius around a center location that matches the given Predicate (see also BlockUtils.Predicates
getBlockTranslationKey(Material) - Static method in class com.jeff_media.jefflib.MaterialUtils
Get the translation key of the block associated with this material.
getBlue() - Method in class com.jeff_media.jefflib.data.HexColor
Returns the Blue color component value
getBukkitEntity() - Method in class com.jeff_media.jefflib.ai.goal.CustomGoal
 
getBukkitEntity() - Method in interface com.jeff_media.jefflib.ai.goal.PathfinderGoal
Gets the Bukkit entity associated with this goal
getByName(String) - Static method in class com.jeff_media.jefflib.EnchantmentUtils
Gets an enchant by name (case-insensitive), e.g.
getCenter(Block) - Static method in class com.jeff_media.jefflib.BlockUtils
Returns the center location of a block
getCenter(Vector, Vector) - Static method in class com.jeff_media.jefflib.VectorUtils
 
getChunkCoordinates(int, int) - Static method in class com.jeff_media.jefflib.LocationUtils
Returns a LocationUtils.ChunkCoordinates object for the given x and z coordinates
getChunkCoordinates(Location) - Static method in class com.jeff_media.jefflib.LocationUtils
Returns a LocationUtils.ChunkCoordinates object for the given location
getChunks(World, BoundingBox, boolean) - Static method in class com.jeff_media.jefflib.BlockUtils
Gets all Chunks that are inside or intersect the given BoundingBox
getChunkSnapshots(World, BoundingBox, boolean) - Static method in class com.jeff_media.jefflib.BlockUtils
Gets all ChunkSnapshots that are inside or intersect the given BoundingBox
getClass(String) - Static method in class com.jeff_media.jefflib.ReflUtils
Gets a class
getClosestOtherPlayer(Player) - Static method in class com.jeff_media.jefflib.EntityUtils
Gets the closest other player in this world, or null if there is no other player
getClosestPlayer(Block) - Static method in class com.jeff_media.jefflib.EntityUtils
Gets the closest player in this world, or null if there is no player
getClosestPlayer(Entity) - Static method in class com.jeff_media.jefflib.EntityUtils
Gets the closest player in this world, or null if there is no player
getClosestPlayer(Location) - Static method in class com.jeff_media.jefflib.EntityUtils
Gets the closest player in this world, or null if there is no player, or if the world isn't loaded
getCommandMap() - Static method in class com.jeff_media.jefflib.CommandUtils
Gets the CommandMap
getConfig(String) - Static method in class com.jeff_media.jefflib.ConfigUtils
Loads a custom config file like the builtin config.
getConstructor(Class<?>) - Static method in class com.jeff_media.jefflib.ReflUtils
Gets a no-args constructor of a class, or null if not found
getConstructor(Class<?>, Class<?>...) - Static method in class com.jeff_media.jefflib.ReflUtils
Gets a constructor with parameters, or null if not found
getControls() - Method in class com.jeff_media.jefflib.ai.goal.CustomGoal
 
getControls() - Method in interface com.jeff_media.jefflib.ai.goal.CustomGoalExecutor
Returns the Controls associated with this goal's entity
getControls(Mob) - Static method in class com.jeff_media.jefflib.EntityUtils
Gets this mob's Controls
getCooldownEnd(Object) - Method in class com.jeff_media.jefflib.data.Cooldown
Gets when the cooldown for this object expires, or 0 if there is no cooldown or if it has expired.
getCooldownRemaining(Object, TimeUnit) - Method in class com.jeff_media.jefflib.data.Cooldown
Gets the remaining duration until the cooldown for this object requires, in the given TimeUnit, or 0 if there is no cooldown for this object or if it has exipred.
getCoordinatesInsideChunk(Location) - Static method in class com.jeff_media.jefflib.LocationUtils
Converts a location to a Vector containing the location's coordinates inside the chunk (rounded to int values)
getCuboidSelection(Player) - Static method in class com.jeff_media.jefflib.pluginhooks.WorldEditHandler
 
getCurrentClass() - Static method in class com.jeff_media.jefflib.ClassUtils
 
getCurrentClass(int) - Static method in class com.jeff_media.jefflib.ClassUtils
 
getCurrentClassFileName() - Static method in class com.jeff_media.jefflib.ClassUtils
Returns the current class file name from which this method was called from
getCurrentClassFileName(int) - Static method in class com.jeff_media.jefflib.ClassUtils
 
getCurrentClassName() - Static method in class com.jeff_media.jefflib.ClassUtils
 
getCurrentClassName(int) - Static method in class com.jeff_media.jefflib.ClassUtils
Returns the current class name from which this method was called from
getCurrentLineNumber() - Static method in class com.jeff_media.jefflib.ClassUtils
 
getCurrentLineNumber(int) - Static method in class com.jeff_media.jefflib.ClassUtils
Returns the current line number from which this method was called from
getCurrentMethodName() - Static method in class com.jeff_media.jefflib.ClassUtils
 
getCurrentMethodName(int) - Static method in class com.jeff_media.jefflib.ClassUtils
Returns the current method name from which this method was called from
getCurrentTick() - Method in class com.jeff_media.jefflib.ServerUtils
Returns the current tick count, or -1 if the server is still starting up, or -2 if we couldn't get the current tick count.
getDataType(PersistentDataContainer, NamespacedKey) - Static method in class com.jeff_media.jefflib.PDCUtils
Gets the proper primitive PersistentDataType for the given NamespacedKey in the given PersistentDataContainer
getDefaultWorld() - Static method in class com.jeff_media.jefflib.WorldUtils
Gets the default world
getDefaultWorldName() - Static method in class com.jeff_media.jefflib.WorldUtils
Gets the default world name
getDouble(double, double) - Static method in class com.jeff_media.jefflib.RandomUtils
Returns a double between (inclusive) and (exclusive)
getEffectiveMotd() - Static method in class com.jeff_media.jefflib.ServerUtils
Gets the effective MOTD (after plugins might have changed it)
getElement() - Method in class com.jeff_media.jefflib.data.WeightedRandomList.WeightedElement
Returns the element
getEntities(Class<T>) - Static method in class com.jeff_media.jefflib.EntityUtils
Returns a collection of all entities of the given class, from all worlds
getEntities(Block, Block) - Static method in class com.jeff_media.jefflib.EntityUtils
Gets all entities inside and
getEntities(Block, Block, Class<? extends Entity>) - Static method in class com.jeff_media.jefflib.EntityUtils
Gets all entities inside and that extend
getEntities(Block, Block, EntityType) - Static method in class com.jeff_media.jefflib.EntityUtils
Gets all entities inside min and max that belong to the given EntityType
getEntityById(int) - Static method in class com.jeff_media.jefflib.EntityUtils
Gets an entity by its Entity ID
getEntityType() - Method in class com.jeff_media.jefflib.data.SerializedEntity
Returns the original entity's EntityType
getEnumClass() - Method in class com.jeff_media.jefflib.data.EnumCache
 
getEnumConstants() - Method in class com.jeff_media.jefflib.data.EnumCache
Returns an unmodifiable list of the enum constants
getEnumsFromList(Class<E>, List<String>, Collector<? super E, ?, C>) - Static method in class com.jeff_media.jefflib.EnumUtils
Gets a Collection of the given Enum constants by their names.
getEnumsFromListAsEnumSet(Class<E>, List<String>) - Static method in class com.jeff_media.jefflib.EnumUtils
Gets an EnumSet of the given Enum constants by their names.
getEnumsFromListAsSet(Class<E>, List<String>) - Static method in class com.jeff_media.jefflib.EnumUtils
Gets a Set of the given Enum constants by their names.
getEnumsFromRegexList(Class<E>, List<String>) - Static method in class com.jeff_media.jefflib.EnumUtils
Gets an EnumSet of the given Enum constants by a list of regex patterns.
getExecutor() - Method in class com.jeff_media.jefflib.ai.goal.CustomGoal
Returns the CustomGoalExecutor associated with this goal
getField(Class<?>, String) - Static method in class com.jeff_media.jefflib.ReflUtils
Gets an object's field, or null if not found
getFieldValue(Class<?>, String, Object) - Static method in class com.jeff_media.jefflib.ReflUtils
Gets a field's value
getFifth() - Method in class com.jeff_media.jefflib.data.tuples.Quintet
 
getFile() - Method in class com.jeff_media.jefflib.data.OfflinePlayerPersistentDataContainer
Returns the player's data .dat file
getFile(String...) - Static method in class com.jeff_media.jefflib.FileUtils
Gets a file in the data folder
getFirst() - Method in class com.jeff_media.jefflib.data.tuples.Pair
 
getFourth() - Method in class com.jeff_media.jefflib.data.tuples.Quartet
 
getGenitiveSuffix(String) - Static method in class com.jeff_media.jefflib.WordUtils
Returns the correct English genitive suffix for the given word.
getGoalFlags() - Method in class com.jeff_media.jefflib.ai.goal.CustomGoal
 
getGoalFlags() - Method in interface com.jeff_media.jefflib.ai.goal.CustomGoalExecutor
Gets the goal flags of this goal's executor
getGoalSelector(Mob) - Static method in class com.jeff_media.jefflib.EntityUtils
Gets this mob's GoalSelector
getGreen() - Method in class com.jeff_media.jefflib.data.HexColor
Returns the Green color component value
getHandlerList() - Static method in class com.jeff_media.jefflib.events.PlayerJumpEvent
 
getHandlerList() - Static method in class com.jeff_media.jefflib.events.PlayerScrollEvent
 
getHandlers() - Method in class com.jeff_media.jefflib.events.PlayerJumpEvent
 
getHandlers() - Method in class com.jeff_media.jefflib.events.PlayerScrollEvent
 
getHead(String) - Static method in class com.jeff_media.jefflib.SkullUtils
Gets a head with the given base64 skin
getHead(UUID) - Static method in class com.jeff_media.jefflib.SkullUtils
Gets a head with the skin of the given UUID
getHead(OfflinePlayer) - Static method in class com.jeff_media.jefflib.SkullUtils
Gets a head with the skin of the given OfflinePlayer
getHexAtPositionInGradient(HexColor, HexColor, int, int) - Static method in class com.jeff_media.jefflib.data.HexColor
Returns the HexColor for a given gradient at the given position
getHollowCube(Location, Location, double) - Static method in class com.jeff_media.jefflib.GeometryUtils
Gets a set of all Locations in a specific distance describing a hollow cube around two locations
getIfPresent(Class<E>, String) - Static method in class com.jeff_media.jefflib.EnumUtils
Gets an Optional of a given Enum by its name
getInt(int, int) - Static method in class com.jeff_media.jefflib.RandomUtils
Returns an int between (inclusive) and (exclusive)
getIp() - Static method in class com.jeff_media.jefflib.NetUtils
Returns the public IP address of the server, or null if it couldn't find it out.
getItemStack() - Method in class com.jeff_media.jefflib.data.VariableItemStack
 
getItemTarget() - Method in class com.jeff_media.jefflib.internal.glowenchantment.SpigotGlowEnchantment
 
getItemTranslationKey(Material) - Static method in class com.jeff_media.jefflib.MaterialUtils
Get the translation key of the item associated with this material.
getJsonName() - Method in enum class com.jeff_media.jefflib.data.ToastMessage.FrameType
 
getJumpController() - Method in class com.jeff_media.jefflib.ai.goal.CustomGoal
 
getJumpController() - Method in interface com.jeff_media.jefflib.ai.goal.CustomGoalExecutor
Returns the JumpController associated with this goal's entity
getJumpController() - Method in class com.jeff_media.jefflib.ai.navigation.Controls
Gets this mob's JumpController
getJumpController(Mob) - Static method in class com.jeff_media.jefflib.EntityUtils
Gets this mob's JumpController
getKey(String) - Static method in class com.jeff_media.jefflib.PDCUtils
Creates a NamespacedKey or returns a cached one.
getKeyFromString(String, String) - Static method in class com.jeff_media.jefflib.PDCUtils
Creates a NamespacedKey from a String.
getKeys() - Method in class com.jeff_media.jefflib.data.OfflinePlayerPersistentDataContainer
 
getKeys(ItemStack) - Method in class com.jeff_media.jefflib.PDCUtils
Returns a Set of all the NamespacedKeys the holder's PDC contains
getKeys(PersistentDataHolder) - Static method in class com.jeff_media.jefflib.PDCUtils
Returns a Set of all the NamespacedKeys the holder's PDC contains
getLast15Minute() - Method in class com.jeff_media.jefflib.data.TPS
Gets the average TPS during the last 15 minutes
getLast1Minute() - Method in class com.jeff_media.jefflib.data.TPS
Gets the average TPS during the last minute
getLast5Minute() - Method in class com.jeff_media.jefflib.data.TPS
Gets the average TPS during the last 5 minutes
getLevel(ItemStack, Enchantment) - Static method in class com.jeff_media.jefflib.EnchantmentUtils
Returns the level of an enchantment on the given item, or 0 if it's not enchanted with this enchantment
getLifePhase() - Method in class com.jeff_media.jefflib.ServerUtils
Returns the server's current life phase - when you call this in onEnable or onDisable, and it returns RUNNING, it means the server is reloading.
getLocationFromSection(ConfigurationSection, World) - Static method in class com.jeff_media.jefflib.LocationUtils
Gets a Location from a ConfigurationSection.
getLogger() - Static method in class com.jeff_media.jefflib.JeffLib
Gets a logger, if possible the plugin's logger, otherwise the Bukkit logger.
getLookController() - Method in class com.jeff_media.jefflib.ai.goal.CustomGoal
 
getLookController() - Method in interface com.jeff_media.jefflib.ai.goal.CustomGoalExecutor
Returns the LookController associated with this goal's entity
getLookController() - Method in class com.jeff_media.jefflib.ai.navigation.Controls
Gets this mob's LookController
getLookController(Mob) - Static method in class com.jeff_media.jefflib.EntityUtils
Gets this mob's LookController
getLootContext(Player) - Static method in class com.jeff_media.jefflib.LootUtils
 
getLootContext(Player, Entity, Float, Integer) - Static method in class com.jeff_media.jefflib.LootUtils
 
getLowestBlockAt(Location) - Static method in class com.jeff_media.jefflib.BlockUtils
Returns the lowest non-air block at a given location
getLowestBlockAt(World, int, int) - Static method in class com.jeff_media.jefflib.BlockUtils
Returns the lowest non-air block at a given position
getMajor() - Method in class com.jeff_media.jefflib.data.McVersion
Gets the "major" part of this McVersion.
getMaxDistanceToWaypoint() - Method in interface com.jeff_media.jefflib.ai.navigation.PathNavigation
Only available in 1.17 and later
getMaxLevel() - Method in class com.jeff_media.jefflib.internal.glowenchantment.SpigotGlowEnchantment
 
getMethod(Class<?>, String) - Static method in class com.jeff_media.jefflib.ReflUtils
Gets a method without parameters
getMethod(Class<?>, String, Class<?>...) - Static method in class com.jeff_media.jefflib.ReflUtils
Gets a method with parameters, or null if not found
getMinecraftNamespacedName(Material) - Static method in class com.jeff_media.jefflib.MaterialUtils
Returns the "vanilla namespaced" name for this material, e.g.
getMinor() - Method in class com.jeff_media.jefflib.data.McVersion
Gets the "minor" part of this McVersion.
getMoveController() - Method in class com.jeff_media.jefflib.ai.goal.CustomGoal
 
getMoveController() - Method in interface com.jeff_media.jefflib.ai.goal.CustomGoalExecutor
Returns the MoveController associated with this goal's entity
getMoveController() - Method in class com.jeff_media.jefflib.ai.navigation.Controls
Gets this mob's MoveController
getMoveController(Mob) - Static method in class com.jeff_media.jefflib.EntityUtils
Gets this mob's MoveController
getMovementSpeed(LivingEntity) - Static method in class com.jeff_media.jefflib.EntityUtils
Gets the generic movement speed of an entity
getName() - Method in class com.jeff_media.jefflib.data.McVersion
 
getName() - Method in class com.jeff_media.jefflib.internal.glowenchantment.SpigotGlowEnchantment
 
getNavigation() - Method in class com.jeff_media.jefflib.ai.goal.CustomGoal
 
getNavigation() - Method in interface com.jeff_media.jefflib.ai.goal.CustomGoalExecutor
Returns the PathNavigation associated with this goal's entity
getNavigation() - Method in class com.jeff_media.jefflib.ai.navigation.Controls
Gets this mob's PathNavigation
getNavigation(Mob) - Static method in class com.jeff_media.jefflib.EntityUtils
Get this mob's PathNavigation
getNbtData() - Method in class com.jeff_media.jefflib.data.SerializedEntity
Returns the original entity's NBT data as String
getNextElement(E) - Static method in class com.jeff_media.jefflib.EnumUtils
Gets the next element of the given enum class by its ordinal.
getNiceMaterialName(Material) - Static method in class com.jeff_media.jefflib.MaterialUtils
Turns Material names into a nicer name.
getNiceName(String) - Static method in class com.jeff_media.jefflib.WordUtils
Converts a given String into a human-readable String, by replacing underscores with spaces, and making all words Uppercase.
getNiceName(NamespacedKey) - Static method in class com.jeff_media.jefflib.WordUtils
Converts a NamespacedKey into a human-readable name, ignoring the namespace.
getNMSVersion() - Static method in class com.jeff_media.jefflib.ReflUtils
Gets the NMS version String as used in the package name, e.g.
getNonNullItems(ItemStack...) - Static method in class com.jeff_media.jefflib.ItemStackUtils
Returns an array of all given ItemStacks that are neither null nor AIR
getNumberOfEnchantmentTableBookShelves(Block) - Static method in class com.jeff_media.jefflib.BlockUtils
Returns the number of valid (usable) bookshelves around the given enchantment table position.
getOBCClass(String) - Static method in class com.jeff_media.jefflib.ReflUtils
Gets a class from org.bukkit.craftbukkit
getOfflinePlayerPersistentDataContainer(UUID) - Static method in class com.jeff_media.jefflib.PDCUtils
Returns an OfflinePlayer's PersistentDataContainerImportant: When doing changes to the PDC, you must call OfflinePlayerPersistentDataContainer.save() or OfflinePlayerPersistentDataContainer.saveAsync() to save the changes.
getOfflinePlayerPersistentDataContainer(OfflinePlayer) - Static method in class com.jeff_media.jefflib.PDCUtils
Returns an OfflinePlayer's PersistentDataContainerImportant: When doing changes to the PDC, you must call OfflinePlayerPersistentDataContainer.save() or OfflinePlayerPersistentDataContainer.saveAsync() to save the changes.
getOppositeOfBisected(Block) - Static method in class com.jeff_media.jefflib.BlockFaceUtils
Gets the "other part" of this bisected block.
getOrDefault(ItemStack, String, PersistentDataType<T, Z>, Z) - Static method in class com.jeff_media.jefflib.PDCUtils
Gets a value from the holder's PDC or the default value when the key is not set
getOrDefault(ItemStack, NamespacedKey, PersistentDataType<T, Z>, Z) - Static method in class com.jeff_media.jefflib.PDCUtils
Gets a value from the holder's PDC or the default value when the key is not set
getOrDefault(NamespacedKey, PersistentDataType<T, Z>, Z) - Method in class com.jeff_media.jefflib.data.OfflinePlayerPersistentDataContainer
 
getOrDefault(PersistentDataHolder, String, PersistentDataType<T, Z>, Z) - Static method in class com.jeff_media.jefflib.PDCUtils
Gets a value from the holder's PDC or the default value when the key is not set
getOrDefault(PersistentDataHolder, NamespacedKey, PersistentDataType<T, Z>, Z) - Static method in class com.jeff_media.jefflib.PDCUtils
Gets a value from the holder's PDC or the default value when the key is not set
getPatch() - Method in class com.jeff_media.jefflib.data.McVersion
Gets the "patch" part of this McVersion.
getPlacedAgainstFace(Block, Block) - Static method in class com.jeff_media.jefflib.BlockFaceUtils
Gets the BlockFace of the existing block that must have been right-clicked to place the new Block
getPlayerDataFile(UUID) - Static method in class com.jeff_media.jefflib.ProfileUtils
Returns the player's data (.dat) file
getPlayerPlacedBlocks(Chunk) - Static method in class com.jeff_media.jefflib.BlockTracker
Gets a collection of all blocks that have been placed by players inside a chunk
getPlugin() - Static method in class com.jeff_media.jefflib.JeffLib
Returns the Plugin instance that initialized JeffLib.
getPolygonSelection(Player) - Static method in class com.jeff_media.jefflib.pluginhooks.WorldEditHandler
 
getPolygonSelection(Player) - Static method in class com.jeff_media.jefflib.pluginhooks.WorldEditUtils
 
getPos(Creature, int, int) - Static method in class com.jeff_media.jefflib.RandomPos
Gets a random position.
getPosAway(Creature, int, int, Vector) - Static method in class com.jeff_media.jefflib.RandomPos
Gets a random position.
getPosTowards(Creature, int, int, Vector, double) - Static method in class com.jeff_media.jefflib.RandomPos
Gets a random position.
getPrecision() - Method in class com.jeff_media.jefflib.data.Cooldown
Gets the precicion of this cooldown tracker
getRandom() - Static method in class com.jeff_media.jefflib.JeffLib
Returns the Random instance.
getRandomElement() - Method in class com.jeff_media.jefflib.data.WeightedRandomList
 
getRandomElement(Class<E>) - Static method in class com.jeff_media.jefflib.EnumUtils
Gets a random value of the given Enum class.
getRandomEntry(Collection<T>) - Static method in class com.jeff_media.jefflib.CollectionUtils
Gets a random element from a collection
getRandomEnumElement(Class<E>) - Static method in class com.jeff_media.jefflib.RandomUtils
getRandomKey() - Static method in class com.jeff_media.jefflib.PDCUtils
Generates a random NamespacedKey
getRandomLoot(Player, String) - Static method in class com.jeff_media.jefflib.LootUtils
 
getRandomLoot(Player, String, LootContext) - Static method in class com.jeff_media.jefflib.LootUtils
 
getRandomLoot(Player, LootTable) - Static method in class com.jeff_media.jefflib.LootUtils
 
getRandomLoot(Player, LootTable, LootContext) - Static method in class com.jeff_media.jefflib.LootUtils
 
getRandomLoot(Player, LootTables) - Static method in class com.jeff_media.jefflib.LootUtils
 
getRandomLoot(Player, LootTables, LootContext) - Static method in class com.jeff_media.jefflib.LootUtils
 
getRandomLoot(Player, NamespacedKey) - Static method in class com.jeff_media.jefflib.LootUtils
 
getRandomLoot(Player, NamespacedKey, LootContext) - Static method in class com.jeff_media.jefflib.LootUtils
 
getRecipe(ConfigurationSection, NamespacedKey, ItemStack) - Static method in class com.jeff_media.jefflib.RecipeUtils
Parses a crafting recipe from a configuration section (see examples/RecipeUtils_getRecipe.yml)
getRed() - Method in class com.jeff_media.jefflib.data.HexColor
Returns the Red color component value
getRegionsAtLocation(Location) - Static method in class com.jeff_media.jefflib.pluginhooks.worldguard.WorldGuardHandler
 
getRegionsAtLocation(Location) - Static method in class com.jeff_media.jefflib.pluginhooks.worldguard.WorldGuardUtils
Gets a collection of all region names at a specific location
getSecond() - Method in class com.jeff_media.jefflib.data.tuples.Pair
 
getSelection(Player) - Static method in class com.jeff_media.jefflib.pluginhooks.WorldEditUtils
Returns a WorldBoundingBox of the player's WorldEdit selection, or null if the player doesn't have any or only an incomplete selection.
getServerFolder() - Method in class com.jeff_media.jefflib.ServerUtils
Gets the server's working directory
getShortName() - Method in enum class com.jeff_media.jefflib.data.CardinalDirection
Gets the abbreviated direction name, e.g.
getSize() - Method in class com.jeff_media.jefflib.data.EnumCache
Returns the size of the enum
getSizeInBytes(ItemStack) - Static method in class com.jeff_media.jefflib.ItemStackUtils
Gets the size of an ItemStack's NBT data, or ItemStackUtils.NO_DATA if it doesn't have any, or ItemStackUtils.ERROR_READING_DATA if the data couldn't be parsed
getSpeedModifier() - Method in interface com.jeff_media.jefflib.ai.navigation.MoveController
 
getStartLevel() - Method in class com.jeff_media.jefflib.internal.glowenchantment.SpigotGlowEnchantment
 
getSuperAbilityBoostedOriginalLevel(ItemStack) - Static method in class com.jeff_media.jefflib.pluginhooks.McMMOUtils
 
getSupportingBlock(Block) - Static method in class com.jeff_media.jefflib.BlockFaceUtils
Gets the block another block (e.g. a ladder) is attached to
getTargetPos() - Method in interface com.jeff_media.jefflib.ai.navigation.PathNavigation
Returns the entity's current target location
getTargetSelector(Mob) - Static method in class com.jeff_media.jefflib.EntityUtils
Gets this mob's TargetSelector
getThird() - Method in class com.jeff_media.jefflib.data.tuples.Triplet
 
getThreadLocalRandom() - Static method in class com.jeff_media.jefflib.JeffLib
Returns the ThreadLocalRandom instance.
getTotalXPRequiredForLevel(int) - Static method in class com.jeff_media.jefflib.ExpUtils
Gets the total amount of XP required to achieve a certain level when starting from 0 levels
getTps() - Static method in class com.jeff_media.jefflib.ServerUtils
Gets the server's last TPS
getTrackedBlockTypes() - Static method in class com.jeff_media.jefflib.BlockTracker
Gets a collection containing all tracked materials
getTranslatedMaterialMap(File) - Static method in class com.jeff_media.jefflib.MaterialUtils
Reads Minecraft's client translation files into a map
getTranslationKey(EntityType) - Static method in class com.jeff_media.jefflib.EntityUtils
Gets the translation key associated with this EntityType
getTranslationKey(Material) - Static method in class com.jeff_media.jefflib.MaterialUtils
Get the translation key of the item or block associated with this material.
getUTFLength(String) - Static method in class com.jeff_media.jefflib.data.ByteCounter
 
getUUIDFromString(String) - Static method in class com.jeff_media.jefflib.ProfileUtils
Turns a String into a UUID, whether it contains dashes or not.
getValues(Class<E>) - Static method in class com.jeff_media.jefflib.EnumUtils
Returns all elements of the given enum class.
getWantedX() - Method in interface com.jeff_media.jefflib.ai.navigation.LookController
 
getWantedX() - Method in interface com.jeff_media.jefflib.ai.navigation.MoveController
 
getWantedY() - Method in interface com.jeff_media.jefflib.ai.navigation.LookController
 
getWantedY() - Method in interface com.jeff_media.jefflib.ai.navigation.MoveController
 
getWantedZ() - Method in interface com.jeff_media.jefflib.ai.navigation.LookController
 
getWantedZ() - Method in interface com.jeff_media.jefflib.ai.navigation.MoveController
 
getWeight() - Method in class com.jeff_media.jefflib.data.WeightedRandomList.WeightedElement
Returns the weight of the element
getWorld() - Method in class com.jeff_media.jefflib.data.worldboundingbox.PolygonWorldBoundingBox
 
getWorldList(ConfigurationSection, String) - Static method in class com.jeff_media.jefflib.CollectionUtils
Returns a list of all loaded Worlds from a config's String list.
getWorldMinHeight(World) - Static method in class com.jeff_media.jefflib.WorldUtils
Gets the lowest possible building height for a world.
getX() - Method in class com.jeff_media.jefflib.LocationUtils.ChunkCoordinates
 
getXpLeftUntilNextLevel(int, float) - Static method in class com.jeff_media.jefflib.ExpUtils
Gets the amount of XP required to reach the next level from the current level and progress
getXpLeftUntilNextLevel(Player) - Static method in class com.jeff_media.jefflib.ExpUtils
Gets the amount of XP required to reach the next level from the current level and progress
getXPRequiredForNextLevel(int) - Static method in class com.jeff_media.jefflib.ExpUtils
Gets the total amount of XP required to reach currentLevel+1 from currentLevel
getZ() - Method in class com.jeff_media.jefflib.LocationUtils.ChunkCoordinates
 
GLOW_ENCHANTMENT_KEY - Static variable in class com.jeff_media.jefflib.internal.glowenchantment.GlowEnchantmentFactory
 
GlowEnchantmentFactory - Class in com.jeff_media.jefflib.internal.glowenchantment
 
GlowEnchantmentFactory() - Constructor for class com.jeff_media.jefflib.internal.glowenchantment.GlowEnchantmentFactory
 
GOAL - Enum constant in enum class com.jeff_media.jefflib.data.ToastMessage.FrameType
Yellow, titled with "Goal"
GoalFlag - Enum Class in com.jeff_media.jefflib.ai.goal
Represents the NMS GoalFlags
GoalSelector - Class in com.jeff_media.jefflib.ai.goal
Represents an entity's goal selector
GoalSelector(Mob) - Constructor for class com.jeff_media.jefflib.ai.goal.GoalSelector
 
GRAVITY - Static variable in class com.jeff_media.jefflib.BlockUtils.Predicates
Represents all blocks affected by gravity
GUIUtils - Class in com.jeff_media.jefflib
GUI related methods
GUIUtils() - Constructor for class com.jeff_media.jefflib.GUIUtils
 
GUIUtils.MenuPosition - Class in com.jeff_media.jefflib
Represents a position inside a GUI

H

has(ItemStack, String) - Method in class com.jeff_media.jefflib.PDCUtils
Checks whether the holder's PDC contains a key
has(ItemStack, String, PersistentDataType<T, Z>) - Method in class com.jeff_media.jefflib.PDCUtils
Checks whether the holder's PDC contains a key
has(ItemStack, NamespacedKey) - Method in class com.jeff_media.jefflib.PDCUtils
Checks whether the holder's PDC contains a key
has(ItemStack, NamespacedKey, PersistentDataType<T, Z>) - Method in class com.jeff_media.jefflib.PDCUtils
Checks whether the holder's PDC contains a key
has(NamespacedKey) - Method in class com.jeff_media.jefflib.data.OfflinePlayerPersistentDataContainer
 
has(NamespacedKey, PersistentDataType<T, Z>) - Method in class com.jeff_media.jefflib.data.OfflinePlayerPersistentDataContainer
 
has(PersistentDataHolder, String) - Static method in class com.jeff_media.jefflib.PDCUtils
Checks whether the holder's PDC contains a key
has(PersistentDataHolder, String, PersistentDataType<T, Z>) - Static method in class com.jeff_media.jefflib.PDCUtils
Checks whether the holder's PDC contains a key
has(PersistentDataHolder, NamespacedKey) - Static method in class com.jeff_media.jefflib.PDCUtils
Checks whether the holder's PDC contains a key
has(PersistentDataHolder, NamespacedKey, PersistentDataType<T, Z>) - Static method in class com.jeff_media.jefflib.PDCUtils
Checks whether the holder's PDC contains a key
hasCooldown(Object) - Method in class com.jeff_media.jefflib.data.Cooldown
Gets whether this object is on cooldown
hashCode() - Method in class com.jeff_media.jefflib.data.average.AverageDouble
 
hashCode() - Method in class com.jeff_media.jefflib.data.average.AverageInt
 
hashCode() - Method in class com.jeff_media.jefflib.data.HexColor
 
hashCode() - Method in class com.jeff_media.jefflib.data.Hologram
 
hashCode() - Method in class com.jeff_media.jefflib.data.McVersion
 
hashCode() - Method in class com.jeff_media.jefflib.data.TPS
 
hashCode() - Method in class com.jeff_media.jefflib.data.tuples.Pair
 
hashCode() - Method in class com.jeff_media.jefflib.data.tuples.Quartet
 
hashCode() - Method in class com.jeff_media.jefflib.data.tuples.Quintet
 
hashCode() - Method in class com.jeff_media.jefflib.data.tuples.Triplet
 
hashCode() - Method in class com.jeff_media.jefflib.data.WeightedRandomList
 
hashCode() - Method in class com.jeff_media.jefflib.data.WeightedRandomList.WeightedElement
 
hashCode() - Method in class com.jeff_media.jefflib.data.worldboundingbox.CuboidWorldBoundingBox
 
hashCode() - Method in class com.jeff_media.jefflib.pluginhooks.worldguard.StateFlag
 
hasTranslationKeyProvider() - Static method in class com.jeff_media.jefflib.ServerUtils
 
hasVersionInNmsPackageName() - Method in class com.jeff_media.jefflib.data.McVersion
 
hasWanted() - Method in interface com.jeff_media.jefflib.ai.navigation.MoveController
 
HexColor - Class in com.jeff_media.jefflib.data
Represents a hex color code
HexColor(int, int, int) - Constructor for class com.jeff_media.jefflib.data.HexColor
Creates a HexColor with the given RGB value
HexColor(String) - Constructor for class com.jeff_media.jefflib.data.HexColor
Creates a HexColor from a String in the format "rrggbb" (e.g. 00ff00)
HexColor(String, String, String) - Constructor for class com.jeff_media.jefflib.data.HexColor
Creates a HexColor from three separate hex color Strings
Hologram - Class in com.jeff_media.jefflib.data
Represents a Hologram
Hologram(Hologram.Type) - Constructor for class com.jeff_media.jefflib.data.Hologram
 
Hologram.Type - Enum Class in com.jeff_media.jefflib.data
 

I

init(Plugin) - Static method in class com.jeff_media.jefflib.JeffLib
Initializes JeffLib.
INTERACTABLE - Static variable in class com.jeff_media.jefflib.BlockUtils.Predicates
Represents all interactable blocks
Internal - Annotation Interface in com.jeff_media.jefflib.internal.annotations
Indicates that the annotated method or class is meant to be used by JeffLib internally only.
InvalidBlockDataException - Exception in com.jeff_media.jefflib.exceptions
 
InvalidBlockDataException(String) - Constructor for exception com.jeff_media.jefflib.exceptions.InvalidBlockDataException
 
InvalidLocationDefinitionException - Exception in com.jeff_media.jefflib.exceptions
Gets thrown when a location definition inside a ConfigurationSection is invalid.
InvalidLocationDefinitionException(String) - Constructor for exception com.jeff_media.jefflib.exceptions.InvalidLocationDefinitionException
 
InvalidRecipeException - Exception in com.jeff_media.jefflib.exceptions
 
InvalidRecipeException(String) - Constructor for exception com.jeff_media.jefflib.exceptions.InvalidRecipeException
 
InvalidRegionDefinitionException - Exception in com.jeff_media.jefflib.exceptions
 
InvalidRegionDefinitionException(String) - Constructor for exception com.jeff_media.jefflib.exceptions.InvalidRegionDefinitionException
 
inventoryFromBase64(String) - Static method in class com.jeff_media.jefflib.ItemStackSerializer
A method to get an Inventory from an encoded, Base64, string.
InventoryUtils - Class in com.jeff_media.jefflib
Inventory related methods
InventoryUtils() - Constructor for class com.jeff_media.jefflib.InventoryUtils
 
isAtLeast(int, int) - Method in class com.jeff_media.jefflib.data.McVersion
 
isAtLeast(int, int, int) - Method in class com.jeff_media.jefflib.data.McVersion
 
isAtLeast(McVersion) - Method in class com.jeff_media.jefflib.data.McVersion
 
isCancelled() - Method in class com.jeff_media.jefflib.events.PlayerJumpEvent
 
isCancelled() - Method in class com.jeff_media.jefflib.events.PlayerScrollEvent
 
isChunkGenerated(Location) - Static method in class com.jeff_media.jefflib.LocationUtils
Returns whether a chunk at a given location has been generated (without generating it)
isChunkLoaded(Location) - Static method in class com.jeff_media.jefflib.LocationUtils
Returns whether a chunk at a given location is loaded (without loading it)
isClassCached(String) - Static method in class com.jeff_media.jefflib.ReflUtils
Gets whether a class is already cached
isConstructorCached(Class<?>) - Static method in class com.jeff_media.jefflib.ReflUtils
Gets if the no-args constructor is already cached
isConstructorCached(Class<?>, Class<?>...) - Static method in class com.jeff_media.jefflib.ReflUtils
Gets if the constructor with parameters is already cached
isCursed() - Method in class com.jeff_media.jefflib.internal.glowenchantment.SpigotGlowEnchantment
 
isDone() - Method in interface com.jeff_media.jefflib.ai.navigation.PathNavigation
Gets whether the entity arrived at the target location
isEmpty() - Method in class com.jeff_media.jefflib.data.OfflinePlayerPersistentDataContainer
 
isEmpty() - Method in class com.jeff_media.jefflib.data.WeightedRandomList
 
isEmpty(ItemStack) - Static method in class com.jeff_media.jefflib.PDCUtils
Checks whether the holder's PDC is empty
isEmpty(PersistentDataHolder) - Static method in class com.jeff_media.jefflib.PDCUtils
Checks whether the holder's PDC is empty
isEqual(double, double) - Static method in class com.jeff_media.jefflib.NumberUtils
 
isEqual(float, float) - Static method in class com.jeff_media.jefflib.NumberUtils
 
isFieldCached(Class<?>, String) - Static method in class com.jeff_media.jefflib.ReflUtils
Gets whether a field is already cached
isFungus(WoodType) - Method in enum class com.jeff_media.jefflib.data.WoodType
 
isInbetweenInclusive(int, int, int) - Static method in class com.jeff_media.jefflib.NumberUtils
 
isInProgress() - Method in interface com.jeff_media.jefflib.ai.navigation.PathNavigation
Gets whether the entity is still walking to its target location
isInsideRegion(Location, String) - Static method in class com.jeff_media.jefflib.pluginhooks.worldguard.WorldGuardUtils
Checks whether a location is inside a region of the given name/id
isInstalledAndEnabled(String) - Static method in class com.jeff_media.jefflib.PluginUtils
Checks whether a plugin is installed and enabled
isInteger(String) - Method in class com.jeff_media.jefflib.NumberUtils
Checks if a given String is an Integer.
isInterruptable() - Method in interface com.jeff_media.jefflib.ai.goal.PathfinderGoal
Returns whether this goal is interruptable.
isLookingAtTarget() - Method in interface com.jeff_media.jefflib.ai.navigation.LookController
 
isMethodCached(Class<?>, String) - Static method in class com.jeff_media.jefflib.ReflUtils
Gets whether a method is already cached
isMethodCached(Class<?>, String, Class<?>...) - Static method in class com.jeff_media.jefflib.ReflUtils
Gets whether a method with parameters is already cached
isNullOrEmpty(ItemStack) - Static method in class com.jeff_media.jefflib.ItemStackUtils
Checks if an ItemStack is null or empty (empty = amount of 0 or if the type is air)
isPlayerPlacedBlock(Block) - Static method in class com.jeff_media.jefflib.BlockTracker
Checks whether a given block has been placed by a player
isRunningForge() - Static method in class com.jeff_media.jefflib.ServerUtils
Gets whether this server is running something that supports or claims to support Forge
isRunningMockBukkit() - Static method in class com.jeff_media.jefflib.ServerUtils
Gets whether this server is running MockBukkit
isRunningPaper() - Static method in class com.jeff_media.jefflib.ServerUtils
Gets whether this server is running Paper or a fork of Paper.
isRunningSpigot() - Static method in class com.jeff_media.jefflib.ServerUtils
Gets whether this server is running Spigot or a fork of Spigot.
isSlimefunBackpack(ItemStack) - Static method in class com.jeff_media.jefflib.pluginhooks.SlimefunUtils
 
isStableDestination(BlockVector) - Method in interface com.jeff_media.jefflib.ai.navigation.PathNavigation
Checks whether the given location is a "stable destination"
isStuck() - Method in interface com.jeff_media.jefflib.ai.navigation.PathNavigation
Only available in 1.16.2 and later
isSuperAbilityBoosted(ItemStack) - Static method in class com.jeff_media.jefflib.pluginhooks.McMMOUtils
 
isTrackedBlockType(Material) - Static method in class com.jeff_media.jefflib.BlockTracker
Checks whether a given material is already one of the tracked block types.
isTreasure() - Method in class com.jeff_media.jefflib.internal.glowenchantment.SpigotGlowEnchantment
 
isValidAccountName(String) - Static method in class com.jeff_media.jefflib.ProfileUtils
 
isValidUUID(String) - Static method in class com.jeff_media.jefflib.ProfileUtils
 
isWorldEditInstalled() - Static method in class com.jeff_media.jefflib.pluginhooks.WorldEditUtils
Checks whether WorldEdit is installed and enabled
isWorldGuardInstalled() - Static method in class com.jeff_media.jefflib.pluginhooks.worldguard.WorldGuardUtils
Checks whether WorldGuard is installed and enabled
isZero(double) - Static method in class com.jeff_media.jefflib.NumberUtils
Checks if the given number is close to zero
isZero(float) - Static method in class com.jeff_media.jefflib.NumberUtils
Checks if the given number is close to zero
isZero(Number) - Static method in class com.jeff_media.jefflib.NumberUtils
Checks if the given number is close to zero
isZeroOrNegative(double) - Static method in class com.jeff_media.jefflib.NumberUtils
Checks if the given number is close to or lower than zero
isZeroOrNegative(float) - Static method in class com.jeff_media.jefflib.NumberUtils
Checks if the given number is close to or lower than zero
isZeroOrNegative(Number) - Static method in class com.jeff_media.jefflib.NumberUtils
Checks if the given number is close to or lower than zero
isZeroOrPositive(double) - Static method in class com.jeff_media.jefflib.NumberUtils
Checks if the given number is close to or higher than zero
isZeroOrPositive(float) - Static method in class com.jeff_media.jefflib.NumberUtils
Checks if the given number is close to or higher than zero
isZeroOrPositive(Number) - Static method in class com.jeff_media.jefflib.NumberUtils
Checks if the given number is close to or higher than zero
ItemBuilder - Class in com.jeff_media.jefflib
Provides a builder for ItemStacks
ItemBuilder(Material) - Constructor for class com.jeff_media.jefflib.ItemBuilder
Creates a new ItemBuilder with the given material and an amount of 1
ItemBuilder(Material, int) - Constructor for class com.jeff_media.jefflib.ItemBuilder
Creates a new ItemBuilder with the given material and amount
itemStackArrayFromBase64(String) - Static method in class com.jeff_media.jefflib.ItemStackSerializer
Gets an array of ItemStacks from Base64 string.
itemStackArrayToBase64(ItemStack[]) - Static method in class com.jeff_media.jefflib.ItemStackSerializer
A method to serialize an ItemStack array to Base64 String.
ItemStackSerializer - Class in com.jeff_media.jefflib
Provides methods to serialize and deserialize ItemStacks, ItemStack arrays and Inventories to/from byte arrays and/or base64
ItemStackSerializer() - Constructor for class com.jeff_media.jefflib.ItemStackSerializer
 
ItemStackUtils - Class in com.jeff_media.jefflib
ItemStack related methods
ItemStackUtils() - Constructor for class com.jeff_media.jefflib.ItemStackUtils
 
iterator() - Method in class com.jeff_media.jefflib.data.EnumCache
 
iterator() - Method in class com.jeff_media.jefflib.data.WeightedRandomList
 

J

JeffLib - Class in com.jeff_media.jefflib
Main class of the library, has to be initialized for certain methods to work.
JeffLib() - Constructor for class com.jeff_media.jefflib.JeffLib
 
JeffLib.KitchenSink - Class in com.jeff_media.jefflib
 
JeffLibNotRelocatedException - Exception in com.jeff_media.jefflib.exceptions
 
JeffLibNotRelocatedException(String) - Constructor for exception com.jeff_media.jefflib.exceptions.JeffLibNotRelocatedException
 
jump() - Method in interface com.jeff_media.jefflib.ai.navigation.JumpController
 
JUMP - Enum constant in enum class com.jeff_media.jefflib.ai.goal.GoalFlag
 
JumpController - Interface in com.jeff_media.jefflib.ai.navigation
 
JUMPING - Enum constant in enum class com.jeff_media.jefflib.ai.navigation.MoveController.Operation
 
JUNGLE - Enum constant in enum class com.jeff_media.jefflib.data.WoodType
 

K

KitchenSink() - Constructor for class com.jeff_media.jefflib.JeffLib.KitchenSink
 

L

later(Runnable, long) - Static method in class com.jeff_media.jefflib.Tasks
Schedules a synced task to run at the given delay (in ticks)
later(Consumer<BukkitTask>, long) - Static method in class com.jeff_media.jefflib.Tasks
Schedules a synced task to run at the given delay (in ticks)
laterAsync(Runnable, long) - Static method in class com.jeff_media.jefflib.Tasks
Schedules an async task to run at the given delay (in ticks)
laterAsync(Consumer<BukkitTask>, long) - Static method in class com.jeff_media.jefflib.Tasks
Schedules an async task to run at the given delay (in ticks)
listAllClasses() - Static method in class com.jeff_media.jefflib.ClassUtils
Returns a list of all classes included in the plugin's jar file.
listAllClasses(Class<?>) - Static method in class com.jeff_media.jefflib.ClassUtils
Returns a list of all classes included in the plugin's jar file that provides the given class.
listIterator() - Method in class com.jeff_media.jefflib.data.WeightedRandomList
 
LocationByDistanceComparator(Location) - Constructor for class com.jeff_media.jefflib.Comparators.LocationByDistanceComparator
 
LocationUtils - Class in com.jeff_media.jefflib
Location related methods
LocationUtils() - Constructor for class com.jeff_media.jefflib.LocationUtils
 
LocationUtils.ChunkCoordinates - Class in com.jeff_media.jefflib
Represents a pair of X,Z chunk coordinates
LOOK - Enum constant in enum class com.jeff_media.jefflib.ai.goal.GoalFlag
 
lookAt(Location, Location) - Static method in class com.jeff_media.jefflib.VectorUtils
Returns a location at the same coordinates as origin, looking exactly towards the given destination
LookController - Interface in com.jeff_media.jefflib.ai.navigation
 
LootEntry - Class in com.jeff_media.jefflib.data
 
LootEntry() - Constructor for class com.jeff_media.jefflib.data.LootEntry
 
LootUtils - Class in com.jeff_media.jefflib
LootTable related methods
LootUtils() - Constructor for class com.jeff_media.jefflib.LootUtils
 

M

makeUnstackable(ItemStack) - Static method in class com.jeff_media.jefflib.ItemStackUtils
Makes an item unstackable by adding a random UUID to the item's "prevent-stacking" PDC tag
MANGROVE - Enum constant in enum class com.jeff_media.jefflib.data.WoodType
 
MaterialUtils - Class in com.jeff_media.jefflib
Material related methods
MaterialUtils() - Constructor for class com.jeff_media.jefflib.MaterialUtils
 
McMMOUtils - Class in com.jeff_media.jefflib.pluginhooks
mcMMO related methods
McMMOUtils() - Constructor for class com.jeff_media.jefflib.pluginhooks.McMMOUtils
 
McVersion - Class in com.jeff_media.jefflib.data
Provides version comparing methods
McVersion(int, int) - Constructor for class com.jeff_media.jefflib.data.McVersion
 
McVersion(int, int, int) - Constructor for class com.jeff_media.jefflib.data.McVersion
 
MenuPosition(int, int) - Constructor for class com.jeff_media.jefflib.GUIUtils.MenuPosition
 
mergeItemStacks(ItemStack...) - Static method in class com.jeff_media.jefflib.ItemStackUtils
Merges ItemStacks when possible
MILLISECONDS_PER_TICK - Static variable in class com.jeff_media.jefflib.TimeUtils
 
milliSecondsToTickPercentage(long) - Static method in class com.jeff_media.jefflib.TimeUtils
Converts an amount of milliseconds to tick percentage.
MissingPluginException - Exception in com.jeff_media.jefflib.exceptions
Gets thrown when a plugin is not installed that is required by a specific API method
MissingPluginException(String) - Constructor for exception com.jeff_media.jefflib.exceptions.MissingPluginException
 
mob - Variable in class com.jeff_media.jefflib.ai.goal.GoalSelector
 
MOVE - Enum constant in enum class com.jeff_media.jefflib.ai.goal.GoalFlag
 
MOVE_TO - Enum constant in enum class com.jeff_media.jefflib.ai.navigation.MoveController.Operation
 
MoveController - Interface in com.jeff_media.jefflib.ai.navigation
 
MoveController.Operation - Enum Class in com.jeff_media.jefflib.ai.navigation
 
moveTo(double, double, double, double) - Method in interface com.jeff_media.jefflib.ai.navigation.PathNavigation
Makes the entity move to the specified location
moveTo(Entity, double) - Method in interface com.jeff_media.jefflib.ai.navigation.PathNavigation
Makes the entity move to the specified location
moveTo(Location, double) - Method in interface com.jeff_media.jefflib.ai.navigation.PathNavigation
Makes the entity move to the specified location
moveTo(BlockVector, double) - Method in interface com.jeff_media.jefflib.ai.navigation.PathNavigation
Makes the entity move to the specified location
moveToBlock(Creature, Predicate<Block>, double, int, int) - Static method in interface com.jeff_media.jefflib.ai.goal.PathfinderGoals
Creates a Move to block goal that will make the entity move towards/stay at certain blocks
moveToBlock(Creature, Set<Material>, double, int, int) - Static method in interface com.jeff_media.jefflib.ai.goal.PathfinderGoals
Creates a Move to block goal that will make the entity move towards/stay at certain blocks
Msg - Class in com.jeff_media.jefflib
Sends messages to CommandSenders while applying color codes, gradients, placeholders and emojis
Msg() - Constructor for class com.jeff_media.jefflib.Msg
 

N

nanoSecondsToMilliSeconds(long) - Static method in class com.jeff_media.jefflib.TimeUtils
Converts nanoseconds to milliseconds
nanoSecondsToMilliSecondsDouble(long) - Static method in class com.jeff_media.jefflib.TimeUtils
Converts nanoseconds to milliseconds, returning a double value
NetUtils - Class in com.jeff_media.jefflib
Internet and network related methodds
NetUtils() - Constructor for class com.jeff_media.jefflib.NetUtils
 
NEW_LINE - Enum constant in enum class com.jeff_media.jefflib.CommandUtils.HelpStyle
Sends command name and command description on two separate lines, including a spacing line.
nextTick(Runnable) - Static method in class com.jeff_media.jefflib.Tasks
Schedules a synced task to run next tick
nextTick(Consumer<BukkitTask>) - Static method in class com.jeff_media.jefflib.Tasks
Schedules a synced task to run next tick
nextTickAsync(Runnable) - Static method in class com.jeff_media.jefflib.Tasks
Schedules an async task to run next tick
nextTickAsync(Consumer<BukkitTask>) - Static method in class com.jeff_media.jefflib.Tasks
Schedules an async task to run next tick
NMS - Annotation Interface in com.jeff_media.jefflib.internal.annotations
Indicates that the annotated method uses NMS and will only work in a supported Minecraft version after calling JeffLib.enableNMS()
NMSNotSupportedException - Exception in com.jeff_media.jefflib.exceptions
 
NMSNotSupportedException() - Constructor for exception com.jeff_media.jefflib.exceptions.NMSNotSupportedException
 
NMSNotSupportedException(String) - Constructor for exception com.jeff_media.jefflib.exceptions.NMSNotSupportedException
 
NMSReflUtils - Class in com.jeff_media.jefflib.internal
 
NMSReflUtils() - Constructor for class com.jeff_media.jefflib.internal.NMSReflUtils
 
NMSTest(Player) - Constructor for class com.jeff_media.jefflib.DebugUtils.NMSTest
 
NO_DATA - Static variable in class com.jeff_media.jefflib.ItemStackUtils
Magic value to identify "no NBT data"
NO_GRAVITY - Static variable in class com.jeff_media.jefflib.BlockUtils.Predicates
Represents all blocks not affected by gravity
NORTH - Enum constant in enum class com.jeff_media.jefflib.data.CardinalDirection
 
NORTH_EAST - Enum constant in enum class com.jeff_media.jefflib.data.CardinalDirection
 
NORTH_NORTH_EAST - Enum constant in enum class com.jeff_media.jefflib.data.CardinalDirection
 
NORTH_NORTH_WEST - Enum constant in enum class com.jeff_media.jefflib.data.CardinalDirection
 
NORTH_WEST - Enum constant in enum class com.jeff_media.jefflib.data.CardinalDirection
 
NOT_AIR - Static variable in class com.jeff_media.jefflib.BlockUtils.Predicates
Represents all blocks except AIR and CAVE_AIR
NOT_BURNABLE - Static variable in class com.jeff_media.jefflib.BlockUtils.Predicates
Represents all non-burnable blocks
NOT_INTERACTABLE - Static variable in class com.jeff_media.jefflib.BlockUtils.Predicates
Represents all non-interactable blocks
NOT_OCCLUDING - Static variable in class com.jeff_media.jefflib.BlockUtils.Predicates
Represents all non-occluding blocks
NOT_SOLID - Static variable in class com.jeff_media.jefflib.BlockUtils.Predicates
Represents all non-solid blocks
NumberUtils - Class in com.jeff_media.jefflib
Number parsing related methods
NumberUtils() - Constructor for class com.jeff_media.jefflib.NumberUtils
 

O

OAK - Enum constant in enum class com.jeff_media.jefflib.data.WoodType
 
OCCLUDING - Static variable in class com.jeff_media.jefflib.BlockUtils.Predicates
Represents all occluding blocks
of(A, B) - Static method in class com.jeff_media.jefflib.data.tuples.Pair
 
of(A, B, C) - Static method in class com.jeff_media.jefflib.data.tuples.Triplet
 
of(A, B, C, D) - Static method in class com.jeff_media.jefflib.data.tuples.Quartet
 
of(A, B, C, D, E) - Static method in class com.jeff_media.jefflib.data.tuples.Quintet
 
of(MoveController, JumpController, LookController, PathNavigation) - Static method in class com.jeff_media.jefflib.ai.navigation.Controls
 
of(Class<E>) - Static method in class com.jeff_media.jefflib.data.EnumCache
Creates a new or returns the cached EnumCache for the given enum class
of(UUID) - Static method in class com.jeff_media.jefflib.data.OfflinePlayerPersistentDataContainer
Returns an OfflinePlayer's PersistentDataContainerImportant: When doing changes to the PDC, you must call OfflinePlayerPersistentDataContainer.save() or OfflinePlayerPersistentDataContainer.saveAsync() to save the changes.
of(Entity) - Static method in class com.jeff_media.jefflib.data.SerializedEntity
Creates a new SerializedEntity from the given entity
of(Mob) - Static method in class com.jeff_media.jefflib.ai.goal.GoalSelector
Gets this mob's goal selector
of(Mob) - Static method in class com.jeff_media.jefflib.ai.goal.TargetSelector
Gets this mob's target selector
of(Mob) - Static method in class com.jeff_media.jefflib.ai.navigation.Controls
Gets this mob's controls
of(OfflinePlayer) - Static method in class com.jeff_media.jefflib.data.OfflinePlayerPersistentDataContainer
Returns an OfflinePlayer's PersistentDataContainerImportant: When doing changes to the PDC, you must call OfflinePlayerPersistentDataContainer.save() or OfflinePlayerPersistentDataContainer.saveAsync() to save the changes.
OfflinePlayerPersistentDataContainer - Class in com.jeff_media.jefflib.data
OfflinePlayerPersistentDataContainer(PersistentDataContainer, File, Object) - Constructor for class com.jeff_media.jefflib.data.OfflinePlayerPersistentDataContainer
 
onJump(PlayerStatisticIncrementEvent) - Method in class com.jeff_media.jefflib.events.PlayerJumpEvent.SpigotListener
 

P

PacketUtils - Class in com.jeff_media.jefflib
Packet sending related methods
PacketUtils() - Constructor for class com.jeff_media.jefflib.PacketUtils
 
Pair<A,B> - Class in com.jeff_media.jefflib.data.tuples
Tuple of two values
Pair(A, B) - Constructor for class com.jeff_media.jefflib.data.tuples.Pair
 
Paper - Annotation Interface in com.jeff_media.jefflib.internal.annotations
Indicates that a method or class is only available on Paper or Paper forks
parseInteger(String) - Method in class com.jeff_media.jefflib.NumberUtils
Returns the given String as Integer, or null if it isn't an Integer.
ParticleData - Class in com.jeff_media.jefflib
Data class to wrap all information needed to play a sound
ParticleData() - Constructor for class com.jeff_media.jefflib.ParticleData
 
ParticleUtils - Class in com.jeff_media.jefflib
Particle related methods
ParticleUtils() - Constructor for class com.jeff_media.jefflib.ParticleUtils
 
PathfinderGoal - Interface in com.jeff_media.jefflib.ai.goal
Represents an NMS pathfinder goal.
PathfinderGoals - Interface in com.jeff_media.jefflib.ai.goal
Utility methods to create some custom PathfinderGoals.
PathNavigation - Interface in com.jeff_media.jefflib.ai.navigation
Represents the NMS PathNavigation of an entity
PDCUtils - Class in com.jeff_media.jefflib
PersistentDataContainer related methods.
PDCUtils() - Constructor for class com.jeff_media.jefflib.PDCUtils
 
PlaceholderAPIHandler - Class in com.jeff_media.jefflib.pluginhooks
PlaceholderAPI related methods
PlaceholderAPIHandler() - Constructor for class com.jeff_media.jefflib.pluginhooks.PlaceholderAPIHandler
 
PlaceholderAPIUtils - Class in com.jeff_media.jefflib.pluginhooks
 
PlaceholderAPIUtils() - Constructor for class com.jeff_media.jefflib.pluginhooks.PlaceholderAPIUtils
 
playComposterFillParticlesAndSound(Block, boolean) - Static method in class com.jeff_media.jefflib.BlockUtils
Plays the "composter fill" particle animation and optionally plays the sound if the composter has been filled successfully
playerInventoryToBase64(PlayerInventory) - Static method in class com.jeff_media.jefflib.ItemStackSerializer
Converts the player inventory to a String array of Base64 strings.
PlayerJumpEvent - Class in com.jeff_media.jefflib.events
Represents an event called when a player jumps.
PlayerJumpEvent(Player, Location, Location) - Constructor for class com.jeff_media.jefflib.events.PlayerJumpEvent
 
PlayerJumpEvent.SpigotListener - Class in com.jeff_media.jefflib.events
 
PlayerScrollEvent - Class in com.jeff_media.jefflib.events
Gets called when a player scrolls through their hotbar.
PlayerScrollEvent(Player, PlayerScrollEvent.ScrollDirection) - Constructor for class com.jeff_media.jefflib.events.PlayerScrollEvent
 
PlayerScrollEvent.ScrollDirection - Enum Class in com.jeff_media.jefflib.events
Represents the direction in which the player scrolled
playToPlayer(Player) - Method in class com.jeff_media.jefflib.data.SoundData
Plays the sound only to the given player
playToPlayer(Player, Location) - Method in class com.jeff_media.jefflib.data.SoundData
Plays the sound only to the given player, at the given location
playToPlayer(Player, Location) - Method in class com.jeff_media.jefflib.ParticleData
 
playTotemAnimation(Player) - Static method in class com.jeff_media.jefflib.EntityUtils
Plays the totem of undying animation to a given player.
playTotemAnimation(Player, Integer) - Static method in class com.jeff_media.jefflib.EntityUtils
Plays the totem of undying animation to a given player using the provided custom model data.
playToWorld(Location) - Method in class com.jeff_media.jefflib.data.SoundData
Plays the sound to all players in the world, at the given location
playToWorld(Location) - Method in class com.jeff_media.jefflib.ParticleData
 
PluginUtils - Class in com.jeff_media.jefflib
 
PluginUtils() - Constructor for class com.jeff_media.jefflib.PluginUtils
 
PolygonWorldBoundingBox - Class in com.jeff_media.jefflib.data.worldboundingbox
Represents a polygon region linked to a World
positionToSlot(GUIUtils.MenuPosition) - Static method in class com.jeff_media.jefflib.GUIUtils
Converts a GUIUtils.MenuPosition to a slot number
Predicates() - Constructor for class com.jeff_media.jefflib.BlockUtils.Predicates
 
PRIMITIVE_DATA_TYPES - Static variable in class com.jeff_media.jefflib.PDCUtils
An array of all primitive PersistentDataTypes builtin to Bukkit.
print(Collection<?>) - Static method in class com.jeff_media.jefflib.DebugUtils
 
print(Map<?, ?>) - Static method in class com.jeff_media.jefflib.DebugUtils
Prints a Map's content to console.
print(ItemStack[]) - Static method in class com.jeff_media.jefflib.DebugUtils
 
ProfileUtils - Class in com.jeff_media.jefflib
 
ProfileUtils() - Constructor for class com.jeff_media.jefflib.ProfileUtils
 
ProtectionUtils - Class in com.jeff_media.jefflib
Utility class for common protection checks.
ProtectionUtils() - Constructor for class com.jeff_media.jefflib.ProtectionUtils
 
put(String, String) - Method in class com.jeff_media.jefflib.data.Replacer
Adds a new placeholder

Q

Quartet<A,B,C,D> - Class in com.jeff_media.jefflib.data.tuples
Tuple of four values
Quartet(A, B, C, D) - Constructor for class com.jeff_media.jefflib.data.tuples.Quartet
 
Quintet<A,B,C,D,E> - Class in com.jeff_media.jefflib.data.tuples
Tuple of five values.
Quintet(A, B, C, D, E) - Constructor for class com.jeff_media.jefflib.data.tuples.Quintet
 

R

RandomPos - Class in com.jeff_media.jefflib
Provides a way to get a random position in a given radius around a given entity's location.
RandomPos() - Constructor for class com.jeff_media.jefflib.RandomPos
 
RandomUtils - Class in com.jeff_media.jefflib
Random number related methods
RandomUtils() - Constructor for class com.jeff_media.jefflib.RandomUtils
 
readFileFromResources(Plugin, String) - Static method in class com.jeff_media.jefflib.FileUtils
Reads a file from the resources directory and returns it as List of Strings
readFromBytes(byte[], boolean) - Method in class com.jeff_media.jefflib.data.OfflinePlayerPersistentDataContainer
 
RecipeUtils - Class in com.jeff_media.jefflib
Crafting recipe related methods
RecipeUtils() - Constructor for class com.jeff_media.jefflib.RecipeUtils
 
recomputePath() - Method in interface com.jeff_media.jefflib.ai.navigation.PathNavigation
Recomputes the current path
reduceItem(ItemStack) - Static method in class com.jeff_media.jefflib.ItemStackUtils
 
ReflUtils - Class in com.jeff_media.jefflib
Reflection related methods
ReflUtils() - Constructor for class com.jeff_media.jefflib.ReflUtils
 
register() - Static method in class com.jeff_media.jefflib.internal.glowenchantment.GlowEnchantmentFactory
 
register(String, Function<OfflinePlayer, String>) - Static method in class com.jeff_media.jefflib.pluginhooks.PlaceholderAPIHandler
 
register(String, Function<OfflinePlayer, String>) - Static method in class com.jeff_media.jefflib.pluginhooks.PlaceholderAPIUtils
 
register(BiFunction<OfflinePlayer, String, String>) - Static method in class com.jeff_media.jefflib.pluginhooks.PlaceholderAPIHandler
 
register(BiFunction<OfflinePlayer, String, String>) - Static method in class com.jeff_media.jefflib.pluginhooks.PlaceholderAPIUtils
 
registerBlockTracker() - Static method in class com.jeff_media.jefflib.JeffLib
Registers the listeners needed to track blocks using BlockTracker.
registerCommand(String, String...) - Static method in class com.jeff_media.jefflib.CommandUtils
Registers a new command
registerEnchantment(Enchantment) - Method in class com.jeff_media.jefflib.EnchantmentUtils
Registers a custom enchantment.
registerListener() - Static method in class com.jeff_media.jefflib.events.PlayerJumpEvent
Registers the listener needed to call this event
registerPlayerJumpEvent() - Static method in class com.jeff_media.jefflib.JeffLib
Registers the listener needed to call the PlayerJumpEvent
registerPlayerScrollEvent() - Static method in class com.jeff_media.jefflib.JeffLib
Registers the listeners needed to call the PlayerScrollEvent
registerStateFlag(String, StateFlag.State) - Static method in class com.jeff_media.jefflib.pluginhooks.worldguard.WorldGuardHandler
 
registerStateFlag(String, StateFlag.State) - Static method in class com.jeff_media.jefflib.pluginhooks.worldguard.WorldGuardUtils
 
reload() - Method in class com.jeff_media.jefflib.data.Config
Reloads the configuration
remove(double, E) - Method in class com.jeff_media.jefflib.data.WeightedRandomList
 
remove(WeightedRandomList.WeightedElement) - Method in class com.jeff_media.jefflib.data.WeightedRandomList
 
remove(E) - Method in class com.jeff_media.jefflib.data.WeightedRandomList
 
remove(ItemStack, String) - Static method in class com.jeff_media.jefflib.PDCUtils
Removes a key from the holder's PDC
remove(ItemStack, NamespacedKey) - Static method in class com.jeff_media.jefflib.PDCUtils
Removes a key from the holder's PDC
remove(NamespacedKey) - Method in class com.jeff_media.jefflib.data.OfflinePlayerPersistentDataContainer
 
remove(PersistentDataHolder, String) - Static method in class com.jeff_media.jefflib.PDCUtils
Removes a key from the holder's PDC
remove(PersistentDataHolder, NamespacedKey) - Static method in class com.jeff_media.jefflib.PDCUtils
Removes a key from the holder's PDC
removeAllGoals() - Method in class com.jeff_media.jefflib.ai.goal.GoalSelector
Removes all PathfinderGoals from this mob's goal selector
removeAllGoals() - Method in class com.jeff_media.jefflib.ai.goal.TargetSelector
Removes all PathfinderGoals from this mob's target selector
removeAtIndex(T[], int) - Static method in class com.jeff_media.jefflib.ArrayUtils
Removes an item from the array at a given location, returning the remaining array
removeCooldown(Object) - Method in class com.jeff_media.jefflib.data.Cooldown
 
removeGoal(PathfinderGoal) - Method in class com.jeff_media.jefflib.ai.goal.GoalSelector
Removes a PathfinderGoal from this mob's goal selector
removeGoal(PathfinderGoal) - Method in class com.jeff_media.jefflib.ai.goal.TargetSelector
Removes a PathfinderGoal from this mob's target selector
removeSuperAbilityBoost(ItemStack) - Static method in class com.jeff_media.jefflib.pluginhooks.McMMOUtils
 
removeTrackedBlockTypes(Collection<Material>) - Static method in class com.jeff_media.jefflib.BlockTracker
Removes all given block types from the list of tracked block types
removeX(Inventory, ItemStack, int) - Static method in class com.jeff_media.jefflib.InventoryUtils
Removes the given number of ItemStacks that match the given item from the inventory
removeX(Inventory, Material, int) - Static method in class com.jeff_media.jefflib.InventoryUtils
Removes the given number of ItemStacks that match the given material from the inventory
repeat(Runnable, long, long) - Static method in class com.jeff_media.jefflib.Tasks
Schedules a synced repeating task
repeat(Consumer<BukkitTask>, long, long) - Static method in class com.jeff_media.jefflib.Tasks
Schedules a synced repeating task
repeatAsync(Runnable, long, long) - Static method in class com.jeff_media.jefflib.Tasks
Schedules an async repeating task
repeatAsync(Consumer<BukkitTask>, long, long) - Static method in class com.jeff_media.jefflib.Tasks
Schedules an async repeating task
replaceEmojis(String) - Static method in class com.jeff_media.jefflib.TextUtils
Replaces ItemsAdder emojis inside the given text when ItemsAdder is installed
replaceInString(String, String...) - Method in class com.jeff_media.jefflib.TextUtils
Replaces placeholders in a String.
replaceInString(String, Map<String, String>) - Method in class com.jeff_media.jefflib.TextUtils
Replaces placeholders in a String.
replaceInString(List<String>, String...) - Method in class com.jeff_media.jefflib.TextUtils
Replaces placeholders in a list of Strings.
replaceInString(List<String>, Map<String, String>) - Method in class com.jeff_media.jefflib.TextUtils
Replaces placeholders in a list of Strings.
replacePlaceholders(String, OfflinePlayer) - Static method in class com.jeff_media.jefflib.TextUtils
Replaces PlacerholderAPI placeholders inside the given text, when PlaceholderAPI is installed
Replacer - Class in com.jeff_media.jefflib.data
Replaces placeholders in a string
Replacer() - Constructor for class com.jeff_media.jefflib.data.Replacer
 
replaceStringsInFile(File, CharSequence, CharSequence) - Static method in class com.jeff_media.jefflib.FileUtils
Replaces strings in a file line by line.
RequiresPlugin - Annotation Interface in com.jeff_media.jefflib.internal.annotations
Indicates that the annotated method or class requires the given plugin to be installed
requiresUpdateEveryTick() - Method in interface com.jeff_media.jefflib.ai.goal.PathfinderGoal
Returns whether this goal requires updates every tick.
respawnPlayer(Player) - Static method in class com.jeff_media.jefflib.EntityUtils
Respawns a player.
RUNNING - Enum constant in enum class com.jeff_media.jefflib.ServerUtils.ServerLifePhase
 

S

SAME_LINE_COMPACT - Enum constant in enum class com.jeff_media.jefflib.CommandUtils.HelpStyle
Sends command name and command description in one line.
SAME_LINE_SPACED - Enum constant in enum class com.jeff_media.jefflib.CommandUtils.HelpStyle
Sends command name and command description in one line, including a spacing line.
save() - Method in class com.jeff_media.jefflib.data.Config
Saves the configuration under its original file name
save() - Method in class com.jeff_media.jefflib.data.OfflinePlayerPersistentDataContainer
Saves the data to the player's file.
saveAsync() - Method in class com.jeff_media.jefflib.data.OfflinePlayerPersistentDataContainer
Saves the data to the player's file.
saveResourceIfNotExists(String) - Static method in class com.jeff_media.jefflib.FileUtils
Saves a resource to the data folder if it doesn't already exist.
secondsToDDHHMMSS(long) - Static method in class com.jeff_media.jefflib.TimeUtils
Converts seconds to Days, Hours, Minutes, Seconds
secondsToHHMMSS(long) - Static method in class com.jeff_media.jefflib.TimeUtils
Converts seconds to Hours, Minutes, Seconds
send(CommandSender, String) - Static method in class com.jeff_media.jefflib.Msg
Sends a message to the given CommandSender, translating all placeholders / color codes.
send(CommandSender, String, OfflinePlayer) - Static method in class com.jeff_media.jefflib.Msg
Sends a message to the given CommandSender, translating all placeholders / color codes
send(Player) - Method in class com.jeff_media.jefflib.data.ToastMessage
 
send(Player...) - Method in class com.jeff_media.jefflib.data.ToastMessage
 
sendHelpMessage(CommandSender, CommandUtils.HelpStyle, String...) - Static method in class com.jeff_media.jefflib.CommandUtils
Sends a help message with the given commands and descriptions.
sendPacket(Predicate<Player>, Object...) - Static method in class com.jeff_media.jefflib.PacketUtils
Sends the given packet objects to all players matching the given Predicate
sendPacket(Player, Object...) - Static method in class com.jeff_media.jefflib.PacketUtils
Sends the given packet objects to a player
serialize() - Method in class com.jeff_media.jefflib.data.Hologram
 
serialize() - Method in class com.jeff_media.jefflib.data.SerializedEntity
 
serialize() - Method in class com.jeff_media.jefflib.data.worldboundingbox.WorldBoundingBox
 
serialize(PersistentDataContainer) - Static method in class com.jeff_media.jefflib.PDCUtils
Turns a PersistentDataContainer into String
SerializedEntity - Class in com.jeff_media.jefflib.data
Represents a serialized entity that can be respawned later, keeping ALL NBT data
SerializedEntity(Map<String, Object>) - Constructor for class com.jeff_media.jefflib.data.SerializedEntity
 
SerializedEntity(EntityType, String) - Constructor for class com.jeff_media.jefflib.data.SerializedEntity
 
serializeToBytes() - Method in class com.jeff_media.jefflib.data.OfflinePlayerPersistentDataContainer
 
ServerListPingEventFactory - Class in com.jeff_media.jefflib.internal
Factory for ServerListPingEvent, which is required for versions using chat preview
ServerListPingEventFactory() - Constructor for class com.jeff_media.jefflib.internal.ServerListPingEventFactory
 
ServerUtils - Class in com.jeff_media.jefflib
Server related methods
ServerUtils() - Constructor for class com.jeff_media.jefflib.ServerUtils
 
ServerUtils.ServerLifePhase - Enum Class in com.jeff_media.jefflib
Represents the server's current life phase
set(ItemStack, String, PersistentDataType<T, Z>, Z) - Static method in class com.jeff_media.jefflib.PDCUtils
Sets a value in the holder's PDC
set(ItemStack, NamespacedKey, PersistentDataType<T, Z>, Z) - Static method in class com.jeff_media.jefflib.PDCUtils
Sets a value in the holder's PDC
set(NamespacedKey, PersistentDataType<T, Z>, Z) - Method in class com.jeff_media.jefflib.data.OfflinePlayerPersistentDataContainer
 
set(PersistentDataHolder, String, PersistentDataType<T, Z>, Z) - Static method in class com.jeff_media.jefflib.PDCUtils
Sets a value in the holder's PDC
set(PersistentDataHolder, NamespacedKey, PersistentDataType<T, Z>, Z) - Static method in class com.jeff_media.jefflib.PDCUtils
Sets a value in the holder's PDC
setAmount(int) - Method in class com.jeff_media.jefflib.ItemBuilder
Sets the amount
setBlue(int) - Method in class com.jeff_media.jefflib.data.HexColor
Sets the Blue color component value
setCancelled(boolean) - Method in class com.jeff_media.jefflib.events.PlayerJumpEvent
 
setCancelled(boolean) - Method in class com.jeff_media.jefflib.events.PlayerScrollEvent
 
setCanFloat(boolean) - Method in interface com.jeff_media.jefflib.ai.navigation.PathNavigation
Sets whether this entity can float
setCooldown(Object, long, TimeUnit) - Method in class com.jeff_media.jefflib.data.Cooldown
Sets the cooldown for this object
setCustomModelData(Integer) - Method in class com.jeff_media.jefflib.ItemBuilder
Sets the item's Custom Model Data
setDebug(boolean) - Static method in class com.jeff_media.jefflib.JeffLib
Enables/disables debug mode.
setDisplayName(ItemStack, String) - Static method in class com.jeff_media.jefflib.ItemStackUtils
Applies a display name to the given item
setElement(E) - Method in class com.jeff_media.jefflib.data.WeightedRandomList.WeightedElement
Sets the element
setField(Class<?>, Object, String, Object) - Static method in class com.jeff_media.jefflib.internal.NMSReflUtils
 
setFieldValue(Class<?>, Object, String, Object) - Static method in class com.jeff_media.jefflib.ReflUtils
Sets an object's field to the given value.
setFieldValue(Object, String, Object) - Static method in class com.jeff_media.jefflib.ReflUtils
Sets an object's field to the given value
setFifth(E) - Method in class com.jeff_media.jefflib.data.tuples.Quintet
 
setFirst(A) - Method in class com.jeff_media.jefflib.data.tuples.Pair
 
setFourth(D) - Method in class com.jeff_media.jefflib.data.tuples.Quartet
 
setFullTimeWithoutTimeSkipEvent(World, long, boolean) - Static method in class com.jeff_media.jefflib.WorldUtils
Sets the full game time for a world without calling TimeSkipEvent
setGoalFlags(EnumSet<GoalFlag>) - Method in class com.jeff_media.jefflib.ai.goal.CustomGoal
 
setGoalFlags(EnumSet<GoalFlag>) - Method in interface com.jeff_media.jefflib.ai.goal.CustomGoalExecutor
Sets the goal flags for this goal's executor
setGreen(int) - Method in class com.jeff_media.jefflib.data.HexColor
Sets the Green color component value
setHeadTexture(Block, GameProfile) - Static method in class com.jeff_media.jefflib.SkullUtils
Sets the texture of a placed head to the skin of the given GameProfile
setHeadTexture(Block, String) - Static method in class com.jeff_media.jefflib.SkullUtils
Sets the texture of a placed head to the given base64 skin
setHeadTexture(Block, UUID) - Static method in class com.jeff_media.jefflib.SkullUtils
Sets the texture of a placed head to the skin of the given UUID
setHeadTexture(Block, OfflinePlayer) - Static method in class com.jeff_media.jefflib.SkullUtils
Sets the texture of a placed head to the skin of the given OfflinePlayer
setLookAt(double, double, double) - Method in interface com.jeff_media.jefflib.ai.navigation.LookController
 
setLookAt(double, double, double, float, float) - Method in interface com.jeff_media.jefflib.ai.navigation.LookController
 
setLookAt(Entity) - Method in interface com.jeff_media.jefflib.ai.navigation.LookController
 
setLookAt(Entity, float, float) - Method in interface com.jeff_media.jefflib.ai.navigation.LookController
 
setLookAt(Vector) - Method in interface com.jeff_media.jefflib.ai.navigation.LookController
 
setLore(String...) - Method in class com.jeff_media.jefflib.ItemBuilder
Sets the item's lore
setLore(List<String>) - Method in class com.jeff_media.jefflib.ItemBuilder
Sets the item's lore
setMaxStackSize(Material, int) - Static method in class com.jeff_media.jefflib.MaterialUtils
Sets this material's max stack size
setName(String) - Method in class com.jeff_media.jefflib.ItemBuilder
Sets the item's display name
setPlayerPlacedBlock(Block, boolean) - Static method in class com.jeff_media.jefflib.BlockTracker
Manually sets whether a player placed this block
setRed(int) - Method in class com.jeff_media.jefflib.data.HexColor
Sets the Red color component value
setSecond(B) - Method in class com.jeff_media.jefflib.data.tuples.Pair
 
setSpeedModifier(double) - Method in interface com.jeff_media.jefflib.ai.navigation.PathNavigation
Sets the entity's current speed modifier
setThird(C) - Method in class com.jeff_media.jefflib.data.tuples.Triplet
 
setWantedPosition(double, double, double, double) - Method in interface com.jeff_media.jefflib.ai.navigation.MoveController
 
setWeight(double) - Method in class com.jeff_media.jefflib.data.WeightedRandomList.WeightedElement
Sets the weight of the element
shouldRecomputePath(BlockVector) - Method in interface com.jeff_media.jefflib.ai.navigation.PathNavigation
Only available in 1.18 and later
SHUTDOWN - Enum constant in enum class com.jeff_media.jefflib.ServerUtils.ServerLifePhase
 
SimpleLocation - Class in com.jeff_media.jefflib.data
Represents a Location like object.
SimpleLocation(Location) - Constructor for class com.jeff_media.jefflib.data.SimpleLocation
Creates a SimpleLocation from a given Location
size() - Method in class com.jeff_media.jefflib.data.WeightedRandomList
 
SkullUtils - Class in com.jeff_media.jefflib
Skull / Player head related methods
SkullUtils() - Constructor for class com.jeff_media.jefflib.SkullUtils
 
SlimefunUtils - Class in com.jeff_media.jefflib.pluginhooks
 
SlimefunUtils() - Constructor for class com.jeff_media.jefflib.pluginhooks.SlimefunUtils
 
slotToPosition(int) - Static method in class com.jeff_media.jefflib.GUIUtils
Converts a slot number to a GUIUtils.MenuPosition
SOLID - Static variable in class com.jeff_media.jefflib.BlockUtils.Predicates
Represents all solid blocks
sortByEntry(Map<K, V>) - Static method in class com.jeff_media.jefflib.CollectionUtils
Sorts a map by its values.
sortByEntry(Map<K, V>, Comparator<V>) - Static method in class com.jeff_media.jefflib.CollectionUtils
Sorts a map by its values according to the given Comparator.
SoundData - Class in com.jeff_media.jefflib.data
Data class to wrap all information needed to play a sound
SoundData() - Constructor for class com.jeff_media.jefflib.data.SoundData
 
SOUTH - Enum constant in enum class com.jeff_media.jefflib.data.CardinalDirection
 
SOUTH_EAST - Enum constant in enum class com.jeff_media.jefflib.data.CardinalDirection
 
SOUTH_SOUTH_EAST - Enum constant in enum class com.jeff_media.jefflib.data.CardinalDirection
 
SOUTH_SOUTH_WEST - Enum constant in enum class com.jeff_media.jefflib.data.CardinalDirection
 
SOUTH_WEST - Enum constant in enum class com.jeff_media.jefflib.data.CardinalDirection
 
spawn(Location) - Method in class com.jeff_media.jefflib.data.SerializedEntity
Spawns the entity at the given location
SPHERE - Enum constant in enum class com.jeff_media.jefflib.BlockUtils.RadiusType
A sphere radius, for example all blocks within a range of X*X*X blocks that are not further away from the center than the given distance
SpigotGlowEnchantment - Class in com.jeff_media.jefflib.internal.glowenchantment
 
SpigotGlowEnchantment() - Constructor for class com.jeff_media.jefflib.internal.glowenchantment.SpigotGlowEnchantment
 
SpigotListener() - Constructor for class com.jeff_media.jefflib.events.PlayerJumpEvent.SpigotListener
 
spliterator() - Method in class com.jeff_media.jefflib.data.EnumCache
 
SPRUCE - Enum constant in enum class com.jeff_media.jefflib.data.WoodType
 
start() - Method in interface com.jeff_media.jefflib.ai.goal.PathfinderGoal
Gets called when this goal gets activated
startTimings(String) - Static method in class com.jeff_media.jefflib.TimeUtils
Starts to record the time, using a String identifier, to be used in conjunction with TimeUtils.endTimings(String)
STARTUP - Enum constant in enum class com.jeff_media.jefflib.ServerUtils.ServerLifePhase
 
StateFlag - Class in com.jeff_media.jefflib.pluginhooks.worldguard
 
StateFlag.State - Enum Class in com.jeff_media.jefflib.pluginhooks.worldguard
 
stop() - Method in interface com.jeff_media.jefflib.ai.goal.PathfinderGoal
Gets called when this goal gets deactivated
stop() - Method in interface com.jeff_media.jefflib.ai.navigation.PathNavigation
Makes the entity stop walking to its current target location
strafe(float, float) - Method in interface com.jeff_media.jefflib.ai.navigation.MoveController
 
STRAFE - Enum constant in enum class com.jeff_media.jefflib.ai.navigation.MoveController.Operation
 

T

TARGET - Enum constant in enum class com.jeff_media.jefflib.ai.goal.GoalFlag
 
TargetSelector - Class in com.jeff_media.jefflib.ai.goal
Represents an entity's target selector
Tasks - Class in com.jeff_media.jefflib
Shortcuts to schedule tasks
Tasks() - Constructor for class com.jeff_media.jefflib.Tasks
 
temptGoal(Creature, Collection<Material>, double, boolean) - Static method in interface com.jeff_media.jefflib.ai.goal.PathfinderGoals
Creates a Tempt goal, that will tempt animals using a certain set of items.
temptGoal(Creature, Stream<Material>, double, boolean) - Static method in interface com.jeff_media.jefflib.ai.goal.PathfinderGoals
Creates a Tempt goal, that will tempt animals using a certain set of items.
testBuiltInStateFlag(Player, Location, StateFlag) - Static method in class com.jeff_media.jefflib.pluginhooks.worldguard.WorldGuardHandler
 
Tested - Annotation Interface in com.jeff_media.jefflib.internal.annotations
Indicates that the annotated method has been tested in the given MC versions
testNms() - Method in class com.jeff_media.jefflib.DebugUtils.NMSTest
 
testStateFlag(Player, Location, StateFlag) - Static method in class com.jeff_media.jefflib.pluginhooks.worldguard.WorldGuardHandler
 
testStateFlag(Player, Location, StateFlag) - Static method in class com.jeff_media.jefflib.pluginhooks.worldguard.WorldGuardUtils
 
TextUtils - Class in com.jeff_media.jefflib
Methods related to color translation, placeholder and emoji application and more
TextUtils() - Constructor for class com.jeff_media.jefflib.TextUtils
 
tick() - Method in interface com.jeff_media.jefflib.ai.goal.PathfinderGoal
Runs every tick this goal is active
Ticks - Class in com.jeff_media.jefflib
Converts seconds, minutes or hours to their correseponding amount of ticks
Ticks() - Constructor for class com.jeff_media.jefflib.Ticks
 
TimeUtils - Class in com.jeff_media.jefflib
Time related methods, like measuring time and converting nanoseconds to milliseconds, etc.
TimeUtils() - Constructor for class com.jeff_media.jefflib.TimeUtils
 
ToastMessage - Class in com.jeff_media.jefflib.data
Represents a toast message (a message that is displayed at the top right of the screen).
ToastMessage(String, Material, ToastMessage.FrameType, boolean) - Constructor for class com.jeff_media.jefflib.data.ToastMessage
 
ToastMessage.FrameType - Enum Class in com.jeff_media.jefflib.data
Represents the type of announcement message that should be made
toBase64(Inventory) - Static method in class com.jeff_media.jefflib.ItemStackSerializer
A method to serialize an inventory to Base64 string.
toBase64(ItemStack) - Static method in class com.jeff_media.jefflib.ItemStackSerializer
Turns an ItemStack into a Base64 String
toBytes(ItemStack) - Static method in class com.jeff_media.jefflib.ItemStackSerializer
Turns an ItemStack into a byte array
toColorCode() - Method in class com.jeff_media.jefflib.data.HexColor
Converts the HexColor into color codes readable by ChatColor.translateAlternateColorCodes(char, String), using the ampersand (&) as alternate color character
toHex() - Method in class com.jeff_media.jefflib.data.HexColor
Returns the HexColor as a String in the format rrggbb (e.g. 00ff00)
toJson(ItemStack) - Static method in class com.jeff_media.jefflib.ItemStackSerializer
Turns an ItemStack into a json-formatted String
toPrettyString(Location, boolean, boolean) - Static method in class com.jeff_media.jefflib.LocationUtils
Turns a location into a human readable String, optionally including yaw/pitch and the world.
toString() - Method in class com.jeff_media.jefflib.data.average.AverageDouble
 
toString() - Method in class com.jeff_media.jefflib.data.average.AverageInt
 
toString() - Method in class com.jeff_media.jefflib.data.HexColor
 
toString() - Method in class com.jeff_media.jefflib.data.Hologram
 
toString() - Method in class com.jeff_media.jefflib.data.McVersion
 
toString() - Method in class com.jeff_media.jefflib.data.TPS
 
toString() - Method in class com.jeff_media.jefflib.data.tuples.Pair
 
toString() - Method in class com.jeff_media.jefflib.data.tuples.Quartet
 
toString() - Method in class com.jeff_media.jefflib.data.tuples.Quintet
 
toString() - Method in class com.jeff_media.jefflib.data.tuples.Triplet
 
toString() - Method in class com.jeff_media.jefflib.data.WeightedRandomList
 
toString() - Method in class com.jeff_media.jefflib.data.WeightedRandomList.WeightedElement
 
toString() - Method in class com.jeff_media.jefflib.data.worldboundingbox.CuboidWorldBoundingBox
 
toString() - Method in class com.jeff_media.jefflib.LocationUtils.ChunkCoordinates
 
TPS - Class in com.jeff_media.jefflib.data
Represents the server's last TPS
TPS(double[]) - Constructor for class com.jeff_media.jefflib.data.TPS
 
trackAllBlockTypes() - Static method in class com.jeff_media.jefflib.BlockTracker
Tracks all materials
Triplet<A,B,C> - Class in com.jeff_media.jefflib.data.tuples
Tuple of three values
Triplet(A, B, C) - Constructor for class com.jeff_media.jefflib.data.tuples.Triplet
 

U

UNKNOWN - Enum constant in enum class com.jeff_media.jefflib.ServerUtils.ServerLifePhase
 
UP - Enum constant in enum class com.jeff_media.jefflib.events.PlayerScrollEvent.ScrollDirection
Represents scrolling up / to the right
update() - Method in class com.jeff_media.jefflib.data.Hologram
 
update(int) - Method in class com.jeff_media.jefflib.data.Hologram
 
upperCaseFirstLetter(String) - Static method in class com.jeff_media.jefflib.WordUtils
Turns the first letter of a String to uppercase
upperCaseFirstLetterOnly(String) - Static method in class com.jeff_media.jefflib.WordUtils
Turns the first letter of a String to uppercase, while making the rest lowercase

V

value() - Element in annotation interface com.jeff_media.jefflib.internal.annotations.NMS
The minimum version of Minecraft that this feature is supported on
value() - Element in annotation interface com.jeff_media.jefflib.internal.annotations.RequiresPlugin
 
value() - Element in annotation interface com.jeff_media.jefflib.internal.annotations.Tested
 
valueOf(String) - Static method in enum class com.jeff_media.jefflib.ai.goal.GoalFlag
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.jeff_media.jefflib.ai.navigation.MoveController.Operation
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.jeff_media.jefflib.BlockUtils.RadiusType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.jeff_media.jefflib.CommandUtils.HelpStyle
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.jeff_media.jefflib.data.CardinalDirection
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.jeff_media.jefflib.data.Hologram.Type
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.jeff_media.jefflib.data.ToastMessage.FrameType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.jeff_media.jefflib.data.WoodType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.jeff_media.jefflib.events.PlayerScrollEvent.ScrollDirection
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.jeff_media.jefflib.pluginhooks.worldguard.StateFlag.State
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.jeff_media.jefflib.ServerUtils.ServerLifePhase
Returns the enum constant of this class with the specified name.
values() - Static method in enum class com.jeff_media.jefflib.ai.goal.GoalFlag
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.jeff_media.jefflib.ai.navigation.MoveController.Operation
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.jeff_media.jefflib.BlockUtils.RadiusType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.jeff_media.jefflib.CommandUtils.HelpStyle
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.jeff_media.jefflib.data.CardinalDirection
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.jeff_media.jefflib.data.Hologram.Type
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.jeff_media.jefflib.data.ToastMessage.FrameType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.jeff_media.jefflib.data.WoodType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.jeff_media.jefflib.events.PlayerScrollEvent.ScrollDirection
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.jeff_media.jefflib.pluginhooks.worldguard.StateFlag.State
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.jeff_media.jefflib.ServerUtils.ServerLifePhase
Returns an array containing the constants of this enum class, in the order they are declared.
VariableItemStack - Class in com.jeff_media.jefflib.data
 
VariableItemStack() - Constructor for class com.jeff_media.jefflib.data.VariableItemStack
 
VectorUtils - Class in com.jeff_media.jefflib
 
VectorUtils() - Constructor for class com.jeff_media.jefflib.VectorUtils
 

W

WAIT - Enum constant in enum class com.jeff_media.jefflib.ai.navigation.MoveController.Operation
 
WARPED - Enum constant in enum class com.jeff_media.jefflib.data.WoodType
 
WeightedElement(double, E) - Constructor for class com.jeff_media.jefflib.data.WeightedRandomList.WeightedElement
Creates a new WeightedElement
WeightedRandomList<E> - Class in com.jeff_media.jefflib.data
Represents a list of elements with weights.
WeightedRandomList() - Constructor for class com.jeff_media.jefflib.data.WeightedRandomList
 
WeightedRandomList.WeightedElement - Class in com.jeff_media.jefflib.data
Represents an element with a weight.
WEST - Enum constant in enum class com.jeff_media.jefflib.data.CardinalDirection
 
WEST_NORTH_WEST - Enum constant in enum class com.jeff_media.jefflib.data.CardinalDirection
 
WEST_SOUTH_WEST - Enum constant in enum class com.jeff_media.jefflib.data.CardinalDirection
 
whenInstalled(String, Supplier<T>, T) - Static method in class com.jeff_media.jefflib.PluginUtils
 
WoodType - Enum Class in com.jeff_media.jefflib.data
 
WordUtils - Class in com.jeff_media.jefflib
Word and language related methods, like capitalization or getting translation keys
WordUtils() - Constructor for class com.jeff_media.jefflib.WordUtils
 
WorldBoundingBox - Class in com.jeff_media.jefflib.data.worldboundingbox
Represents a region inside a World
WorldBoundingBox() - Constructor for class com.jeff_media.jefflib.data.worldboundingbox.WorldBoundingBox
 
WorldEditHandler - Class in com.jeff_media.jefflib.pluginhooks
 
WorldEditHandler() - Constructor for class com.jeff_media.jefflib.pluginhooks.WorldEditHandler
 
WorldEditUtils - Class in com.jeff_media.jefflib.pluginhooks
WorldEdit related methods.
WorldEditUtils() - Constructor for class com.jeff_media.jefflib.pluginhooks.WorldEditUtils
 
WorldGuardHandler - Class in com.jeff_media.jefflib.pluginhooks.worldguard
 
WorldGuardHandler() - Constructor for class com.jeff_media.jefflib.pluginhooks.worldguard.WorldGuardHandler
 
WorldGuardUtils - Class in com.jeff_media.jefflib.pluginhooks.worldguard
WorldGuard related methods.
WorldGuardUtils() - Constructor for class com.jeff_media.jefflib.pluginhooks.worldguard.WorldGuardUtils
 
WorldUtils - Class in com.jeff_media.jefflib
World related methods
WorldUtils() - Constructor for class com.jeff_media.jefflib.WorldUtils
 
write(byte[]) - Method in class com.jeff_media.jefflib.data.ByteCounter
 
write(byte[], int, int) - Method in class com.jeff_media.jefflib.data.ByteCounter
 
write(int) - Method in class com.jeff_media.jefflib.data.ByteCounter
 
writeBoolean(boolean) - Method in class com.jeff_media.jefflib.data.ByteCounter
 
writeByte(int) - Method in class com.jeff_media.jefflib.data.ByteCounter
 
writeBytes(String) - Method in class com.jeff_media.jefflib.data.ByteCounter
 
writeChar(int) - Method in class com.jeff_media.jefflib.data.ByteCounter
 
writeChars(String) - Method in class com.jeff_media.jefflib.data.ByteCounter
 
writeDouble(double) - Method in class com.jeff_media.jefflib.data.ByteCounter
 
writeFloat(float) - Method in class com.jeff_media.jefflib.data.ByteCounter
 
writeInt(int) - Method in class com.jeff_media.jefflib.data.ByteCounter
 
writeLong(long) - Method in class com.jeff_media.jefflib.data.ByteCounter
 
writeShort(int) - Method in class com.jeff_media.jefflib.data.ByteCounter
 
writeToFile(File, Iterable<String>) - Static method in class com.jeff_media.jefflib.FileUtils
Replaces or creates a file with the given content
writeUTF(String) - Method in class com.jeff_media.jefflib.data.ByteCounter
 
A B C D E F G H I J K L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form