Index

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

A

abs() - Method in record class net.minestom.server.coordinate.Vec
 
accept(int, int) - Method in interface net.minestom.server.coordinate.ChunkRangeUtils.ChunkConsumer
 
add(double) - Method in record class net.minestom.server.coordinate.BlockVec
 
add(double) - Method in interface net.minestom.server.coordinate.Point
 
add(double) - Method in record class net.minestom.server.coordinate.Pos
 
add(double) - Method in record class net.minestom.server.coordinate.Vec
 
add(double, double, double) - Method in record class net.minestom.server.coordinate.BlockVec
 
add(double, double, double) - Method in interface net.minestom.server.coordinate.Point
 
add(double, double, double) - Method in record class net.minestom.server.coordinate.Pos
 
add(double, double, double) - Method in record class net.minestom.server.coordinate.Vec
 
add(int) - Method in record class net.minestom.server.coordinate.BlockVec
 
add(int, int, int) - Method in record class net.minestom.server.coordinate.BlockVec
 
add(BlockVec) - Method in record class net.minestom.server.coordinate.BlockVec
 
add(Point) - Method in record class net.minestom.server.coordinate.BlockVec
 
add(Point) - Method in interface net.minestom.server.coordinate.Point
 
add(Point) - Method in record class net.minestom.server.coordinate.Pos
 
add(Point) - Method in record class net.minestom.server.coordinate.Vec
 
add(T) - Method in class net.minestom.server.utils.ObjectPool
 
ADVENTURE - Enum constant in enum class net.minestom.server.entity.GameMode
 
Aerodynamics - Record Class in net.minestom.server.collision
Represents the aerodynamic properties of an entity
Aerodynamics(double, double, double) - Constructor for record class net.minestom.server.collision.Aerodynamics
Creates an instance of a Aerodynamics record class.
ALL - Static variable in class net.minestom.server.entity.RelativeFlags
 
angle(Vec) - Method in record class net.minestom.server.coordinate.Vec
Gets the angle between this vector and another in radians.
apply(double) - Method in interface net.minestom.server.coordinate.Vec.Interpolation
 
apply(double, double, double) - Method in interface net.minestom.server.coordinate.Vec.Operator
 
apply(double, double, double, float, float) - Method in interface net.minestom.server.coordinate.Pos.Operator
 
apply(Pos.Operator) - Method in record class net.minestom.server.coordinate.Pos
Returns a new position based on this position fields.
apply(Vec.Operator) - Method in record class net.minestom.server.coordinate.Vec
Creates a new point with coordinated depending on this.
argCondition(boolean, String) - Static method in class net.minestom.server.utils.validate.Check
 
argCondition(boolean, String, Object...) - Static method in class net.minestom.server.utils.validate.Check
 
armors() - Static method in enum class net.minestom.server.entity.EquipmentSlot
 
armorSlot() - Method in enum class net.minestom.server.entity.EquipmentSlot
 
asPosition() - Method in record class net.minestom.server.coordinate.Vec
 
asString() - Method in class net.minestom.server.utils.NamespaceID
 
asVec() - Method in record class net.minestom.server.coordinate.BlockVec
 
asVec() - Method in record class net.minestom.server.coordinate.Pos
 
AUTOMATIC_COMPONENT_TRANSLATION - Static variable in class net.minestom.server.adventure.MinestomAdventure
If components should be automatically translated in outgoing packets.

B

BinaryTagReader - Class in net.minestom.server.utils.nbt
 
BinaryTagReader(DataInput) - Constructor for class net.minestom.server.utils.nbt.BinaryTagReader
 
BinaryTagUtil - Class in net.minestom.server.utils.nbt
 
BinaryTagWriter - Class in net.minestom.server.utils.nbt
 
BinaryTagWriter(DataOutput) - Constructor for class net.minestom.server.utils.nbt.BinaryTagWriter
 
bitsToRepresent(int) - Static method in class net.minestom.server.utils.MathUtils
 
BlockFace - Enum Class in net.minestom.server.instance.block
 
blockIndex(int, int, int) - Static method in class net.minestom.server.coordinate.CoordConversionUtils
Gets the block index of a position.
blockIndexToChunkPositionX(int) - Static method in class net.minestom.server.coordinate.CoordConversionUtils
Converts a block index to a chunk position X.
blockIndexToChunkPositionY(int) - Static method in class net.minestom.server.coordinate.CoordConversionUtils
Converts a block index to a chunk position Y.
blockIndexToChunkPositionZ(int) - Static method in class net.minestom.server.coordinate.CoordConversionUtils
Converts a block index to a chunk position Z.
blockIndexToGlobal(int, int, int) - Static method in class net.minestom.server.coordinate.CoordConversionUtils
 
BlockVec - Record Class in net.minestom.server.coordinate
Represents an immutable block position.
BlockVec(double, double, double) - Constructor for record class net.minestom.server.coordinate.BlockVec
Creates an instance of a BlockVec record class.
BlockVec(int, int, int) - Constructor for record class net.minestom.server.coordinate.BlockVec
 
BlockVec(Point) - Constructor for record class net.minestom.server.coordinate.BlockVec
 
blockX() - Method in interface net.minestom.server.coordinate.Point
Gets the floored value of the X component
blockY() - Method in interface net.minestom.server.coordinate.Point
Gets the floored value of the X component
blockZ() - Method in interface net.minestom.server.coordinate.Point
Gets the floored value of the X component
BOOTS - Enum constant in enum class net.minestom.server.entity.EquipmentSlot
 
BOOTS_SLOT - Static variable in class net.minestom.server.utils.SlotUtils
 
BOTTOM - Enum constant in enum class net.minestom.server.instance.block.BlockFace
 
BROKEN - Enum constant in enum class net.minestom.server.statistic.StatisticCategory
 
builder() - Method in class net.minestom.server.adventure.provider.MinestomGsonComponentSerializerProvider
 
Byte(byte, byte) - Constructor for record class net.minestom.server.utils.Range.Byte
Creates an instance of a Byte record class.

C

canTakeDamage() - Method in enum class net.minestom.server.entity.GameMode
 
ceilSection(int) - Static method in class net.minestom.server.coordinate.CoordConversionUtils
 
charAt(int) - Method in class net.minestom.server.utils.NamespaceID
 
Check - Class in net.minestom.server.utils.validate
Convenient class to check for common exceptions.
CHESTPLATE - Enum constant in enum class net.minestom.server.entity.EquipmentSlot
 
CHESTPLATE_SLOT - Static variable in class net.minestom.server.utils.SlotUtils
 
chunkCountFromRange(int) - Static method in class net.minestom.server.coordinate.ChunkRangeUtils
Get the amount of chunks in a square range.
chunkIndex(int, int) - Static method in class net.minestom.server.coordinate.CoordConversionUtils
Gets the chunk index of chunk coordinates.
chunkIndex(Point) - Static method in class net.minestom.server.coordinate.CoordConversionUtils
 
chunkIndexToChunkX(long) - Static method in class net.minestom.server.coordinate.CoordConversionUtils
Converts a chunk index to its chunk X position.
chunkIndexToChunkZ(long) - Static method in class net.minestom.server.coordinate.CoordConversionUtils
Converts a chunk index to its chunk Z position.
ChunkRangeUtils - Class in net.minestom.server.coordinate
Helper class to iterate over chunks within a range.
ChunkRangeUtils() - Constructor for class net.minestom.server.coordinate.ChunkRangeUtils
 
ChunkRangeUtils.ChunkConsumer - Interface in net.minestom.server.coordinate
 
chunkToRegion(int) - Static method in class net.minestom.server.coordinate.CoordConversionUtils
 
chunkToRegionLocal(int) - Static method in class net.minestom.server.coordinate.CoordConversionUtils
 
chunkX() - Method in interface net.minestom.server.coordinate.Point
 
chunkZ() - Method in interface net.minestom.server.coordinate.Point
 
clamp(double, double, double) - Static method in class net.minestom.server.utils.MathUtils
 
clamp(float, float, float) - Static method in class net.minestom.server.utils.MathUtils
 
clamp(int, int, int) - Static method in class net.minestom.server.utils.MathUtils
 
clear() - Method in class net.minestom.server.utils.ObjectPool
 
close() - Method in class net.minestom.server.utils.ObjectPool.Holder
 
COMPONENT_TRANSLATOR - Static variable in class net.minestom.server.adventure.MinestomAdventure
 
ComponentHolder<T> - Interface in net.minestom.server.adventure
Represents an object that holds some amount of components.
components() - Method in interface net.minestom.server.adventure.ComponentHolder
Gets the components held by this object.
CONFIGURATION - Enum constant in enum class net.minestom.server.network.ConnectionState
Client acknowledged login and is now configuring the game.
ConnectionState - Enum Class in net.minestom.server.network
Represents the connection state of a client.
convertClientInventorySlot(int) - Static method in class net.minestom.server.utils.SlotUtils
Used to convert the clients inventory slot to a Minestom slot.
convertPlayerInventorySlot(int, int) - Static method in class net.minestom.server.utils.SlotUtils
Converts a packet slot to an internal one.
convertSlot(int, int) - Static method in class net.minestom.server.utils.SlotUtils
 
convertToPacketSlot(int) - Static method in class net.minestom.server.utils.SlotUtils
Used to convert internal slot to one used in packets
COORD - Static variable in class net.minestom.server.entity.RelativeFlags
 
CoordConversionUtils - Class in net.minestom.server.coordinate
 
CoordConversionUtils() - Constructor for class net.minestom.server.coordinate.CoordConversionUtils
 
copyWithOperator(UnaryOperator<Component>) - Method in interface net.minestom.server.adventure.ComponentHolder
Returns a copy of this object.
count() - Method in class net.minestom.server.utils.ObjectPool
 
countMatches(CharSequence, char) - Static method in class net.minestom.server.utils.StringUtils
 
CRAFT_RESULT - Static variable in class net.minestom.server.utils.SlotUtils
 
CRAFT_SLOT_1 - Static variable in class net.minestom.server.utils.SlotUtils
 
CRAFT_SLOT_2 - Static variable in class net.minestom.server.utils.SlotUtils
 
CRAFT_SLOT_3 - Static variable in class net.minestom.server.utils.SlotUtils
 
CRAFT_SLOT_4 - Static variable in class net.minestom.server.utils.SlotUtils
 
CRAFTED - Enum constant in enum class net.minestom.server.statistic.StatisticCategory
 
CREATIVE - Enum constant in enum class net.minestom.server.entity.GameMode
 
CROAKING - Enum constant in enum class net.minestom.server.entity.EntityPose
 
cross(Vec) - Method in record class net.minestom.server.coordinate.Vec
Calculates the cross product of this vector with another.
CUSTOM - Enum constant in enum class net.minestom.server.statistic.StatisticCategory
 

D

DataPack - Record Class in net.minestom.server.registry
 
DataPack(String, boolean) - Constructor for record class net.minestom.server.registry.DataPack
 
DataPack(NamespaceID, boolean) - Constructor for record class net.minestom.server.registry.DataPack
Creates an instance of a DataPack record class.
deserializeStyle(BinaryTag) - Method in interface net.minestom.server.adventure.serializer.nbt.NbtComponentSerializer
 
DIGGING - Enum constant in enum class net.minestom.server.entity.EntityPose
 
direction() - Method in record class net.minestom.server.coordinate.Pos
Gets a unit-vector pointing in the direction that this Location is facing.
Direction - Enum Class in net.minestom.server.utils
 
distance(double, double, double) - Method in interface net.minestom.server.coordinate.Point
 
distance(Point) - Method in interface net.minestom.server.coordinate.Point
Gets the distance between this point and another.
distanceSquared(double, double, double) - Method in interface net.minestom.server.coordinate.Point
 
distanceSquared(Point) - Method in interface net.minestom.server.coordinate.Point
Gets the squared distance between this point and another.
div(double) - Method in record class net.minestom.server.coordinate.BlockVec
 
div(double) - Method in interface net.minestom.server.coordinate.Point
 
div(double) - Method in record class net.minestom.server.coordinate.Pos
 
div(double) - Method in record class net.minestom.server.coordinate.Vec
 
div(double, double, double) - Method in record class net.minestom.server.coordinate.BlockVec
 
div(double, double, double) - Method in interface net.minestom.server.coordinate.Point
 
div(double, double, double) - Method in record class net.minestom.server.coordinate.Pos
 
div(double, double, double) - Method in record class net.minestom.server.coordinate.Vec
 
div(Point) - Method in record class net.minestom.server.coordinate.BlockVec
 
div(Point) - Method in interface net.minestom.server.coordinate.Point
 
div(Point) - Method in record class net.minestom.server.coordinate.Pos
 
div(Point) - Method in record class net.minestom.server.coordinate.Vec
 
domain() - Method in class net.minestom.server.utils.NamespaceID
 
dot(Vec) - Method in record class net.minestom.server.coordinate.Vec
Calculates the dot product of this vector with another.
Double(double, double) - Constructor for record class net.minestom.server.utils.Range.Double
Creates an instance of a Double record class.
DOWN - Enum constant in enum class net.minestom.server.utils.Direction
 
DROPPED - Enum constant in enum class net.minestom.server.statistic.StatisticCategory
 
DYING - Enum constant in enum class net.minestom.server.entity.EntityPose
 

E

EAST - Enum constant in enum class net.minestom.server.instance.block.BlockFace
 
EAST - Enum constant in enum class net.minestom.server.utils.Direction
 
EMERGING - Enum constant in enum class net.minestom.server.entity.EntityPose
 
empty() - Static method in interface net.minestom.server.adventure.Localizable
Gets a localizable that returns null for all calls to Localizable.getLocale().
EntityPose - Enum Class in net.minestom.server.entity
 
EPSILON - Static variable in record class net.minestom.server.coordinate.Vec
 
EPSILON - Static variable in interface net.minestom.server.coordinate.Vec.Operator
Checks each axis' value, if it's below Vec#EPSILON then it gets replaced with 0
equals(Object) - Method in record class net.minestom.server.collision.Aerodynamics
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.minestom.server.coordinate.BlockVec
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.minestom.server.coordinate.Pos
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.minestom.server.coordinate.Vec
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.minestom.server.entity.PlayerSkin
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.minestom.server.registry.DataPack
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class net.minestom.server.utils.NamespaceID
 
equals(Object) - Method in record class net.minestom.server.utils.Range.Byte
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.minestom.server.utils.Range.Double
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.minestom.server.utils.Range.Float
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.minestom.server.utils.Range.Integer
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.minestom.server.utils.Range.Long
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.minestom.server.utils.Range.Short
Indicates whether some other object is "equal to" this one.
EquipmentSlot - Enum Class in net.minestom.server.entity
 

F

fail(String) - Static method in class net.minestom.server.utils.validate.Check
 
FALL_FLYING - Enum constant in enum class net.minestom.server.entity.EntityPose
 
Float(float, float) - Constructor for record class net.minestom.server.utils.Range.Float
Creates an instance of a Float record class.
FLOOR - Static variable in interface net.minestom.server.coordinate.Vec.Operator
 
floorSection(int) - Static method in class net.minestom.server.coordinate.CoordConversionUtils
 
forChunksInRange(int, int, int, ChunkRangeUtils.ChunkConsumer) - Static method in class net.minestom.server.coordinate.ChunkRangeUtils
New implementation comes from Krypton which comes from kotlin port by Esophose, which comes from a stackoverflow answer.
forChunksInRange(Point, int, ChunkRangeUtils.ChunkConsumer) - Static method in class net.minestom.server.coordinate.ChunkRangeUtils
 
forDifferingChunksInRange(int, int, int, int, int, ChunkRangeUtils.ChunkConsumer) - Static method in class net.minestom.server.coordinate.ChunkRangeUtils
 
forDifferingChunksInRange(int, int, int, int, int, ChunkRangeUtils.ChunkConsumer, ChunkRangeUtils.ChunkConsumer) - Static method in class net.minestom.server.coordinate.ChunkRangeUtils
 
from(String) - Static method in class net.minestom.server.utils.NamespaceID
 
from(String, String) - Static method in class net.minestom.server.utils.NamespaceID
 
from(Key) - Static method in class net.minestom.server.utils.NamespaceID
 
fromDirection(Direction) - Static method in enum class net.minestom.server.instance.block.BlockFace
Get the BlockFace corresponding to the given Direction.
fromId(int) - Static method in enum class net.minestom.server.entity.GameMode
 
fromNbt(IntArrayBinaryTag) - Static method in class net.minestom.server.utils.UniqueIdUtils
 
fromPoint(Point) - Static method in record class net.minestom.server.coordinate.Pos
Converts a Point into a Pos.
fromPoint(Point) - Static method in record class net.minestom.server.coordinate.Vec
Converts a Point into a Vec.
fromUsername(String) - Static method in record class net.minestom.server.entity.PlayerSkin
Gets a skin from a Minecraft username.
fromUsername(String) - Static method in class net.minestom.server.utils.MojangUtils
Gets a JsonObject with the response from the mojang API
fromUuid(String) - Static method in record class net.minestom.server.entity.PlayerSkin
Gets a skin from a Mojang UUID.
fromUuid(String) - Static method in class net.minestom.server.utils.MojangUtils
Gets a JsonObject with the response from the mojang API
fromUuid(UUID) - Static method in class net.minestom.server.utils.MojangUtils
Gets a JsonObject with the response from the mojang API
fromYaw(float) - Static method in enum class net.minestom.server.instance.block.BlockFace
Gets the horizontal BlockFace from the given yaw angle

G

GameMode - Enum Class in net.minestom.server.entity
Represents the game mode of a player.
get() - Method in class net.minestom.server.utils.ObjectPool
 
get() - Method in class net.minestom.server.utils.ObjectPool.Holder
 
getAndRegister(Object) - Method in class net.minestom.server.utils.ObjectPool
 
getDefaultLocale() - Static method in class net.minestom.server.adventure.MinestomAdventure
Gets the default locale used to translate components when no overriding locale has been provided.
getDomain() - Method in class net.minestom.server.utils.NamespaceID
Deprecated.
getHorizontalDirection(float) - Static method in class net.minestom.server.utils.MathUtils
 
getLocale() - Method in interface net.minestom.server.adventure.Localizable
Gets the locale.
getLookPitch(double, double, double) - Static method in class net.minestom.server.coordinate.PositionUtils
 
getLookYaw(double, double) - Static method in class net.minestom.server.coordinate.PositionUtils
 
getOppositeFace() - Method in enum class net.minestom.server.instance.block.BlockFace
 
getPath() - Method in class net.minestom.server.utils.NamespaceID
Deprecated.
getPositionWithRelativeFlags(Pos, Pos, int) - Static method in class net.minestom.server.coordinate.PositionUtils
 
getSignature() - Method in record class net.minestom.server.entity.PlayerSkin
Deprecated.
getText(String) - Static method in class net.minestom.server.utils.URLUtils
 
getTextures() - Method in record class net.minestom.server.entity.PlayerSkin
Deprecated.
getUsername(UUID) - Static method in class net.minestom.server.utils.MojangUtils
Gets a player's username from their UUID
getUUID(String) - Static method in class net.minestom.server.utils.MojangUtils
Gets a player's UUID from their username
globalToChunk(double) - Static method in class net.minestom.server.coordinate.CoordConversionUtils
 
globalToChunk(int) - Static method in class net.minestom.server.coordinate.CoordConversionUtils
 
globalToSection(int) - Static method in class net.minestom.server.coordinate.CoordConversionUtils
 
globalToSectionRelative(int) - Static method in class net.minestom.server.coordinate.CoordConversionUtils
 
gravity() - Method in record class net.minestom.server.collision.Aerodynamics
Returns the value of the gravity record component.
gson() - Method in class net.minestom.server.adventure.provider.MinestomGsonComponentSerializerProvider
 
gsonLegacy() - Method in class net.minestom.server.adventure.provider.MinestomGsonComponentSerializerProvider
 

H

HANDSHAKE - Enum constant in enum class net.minestom.server.network.ConnectionState
Default state before any packet is received.
hashCode() - Method in record class net.minestom.server.collision.Aerodynamics
Returns a hash code value for this object.
hashCode() - Method in record class net.minestom.server.coordinate.BlockVec
Returns a hash code value for this object.
hashCode() - Method in record class net.minestom.server.coordinate.Pos
Returns a hash code value for this object.
hashCode() - Method in record class net.minestom.server.coordinate.Vec
Returns a hash code value for this object.
hashCode() - Method in record class net.minestom.server.entity.PlayerSkin
Returns a hash code value for this object.
hashCode() - Method in record class net.minestom.server.registry.DataPack
Returns a hash code value for this object.
hashCode() - Method in class net.minestom.server.utils.NamespaceID
 
hashCode() - Method in record class net.minestom.server.utils.Range.Byte
Returns a hash code value for this object.
hashCode() - Method in record class net.minestom.server.utils.Range.Double
Returns a hash code value for this object.
hashCode() - Method in record class net.minestom.server.utils.Range.Float
Returns a hash code value for this object.
hashCode() - Method in record class net.minestom.server.utils.Range.Integer
Returns a hash code value for this object.
hashCode() - Method in record class net.minestom.server.utils.Range.Long
Returns a hash code value for this object.
hashCode() - Method in record class net.minestom.server.utils.Range.Short
Returns a hash code value for this object.
HELMET - Enum constant in enum class net.minestom.server.entity.EquipmentSlot
 
HELMET_SLOT - Static variable in class net.minestom.server.utils.SlotUtils
 
hold() - Method in class net.minestom.server.utils.ObjectPool
 
HORIZONTAL - Static variable in enum class net.minestom.server.utils.Direction
 
horizontalAirResistance() - Method in record class net.minestom.server.collision.Aerodynamics
Returns the value of the horizontalAirResistance record component.

I

id() - Method in enum class net.minestom.server.entity.GameMode
 
id() - Method in interface net.minestom.server.registry.StaticProtocolObject
 
INHALING - Enum constant in enum class net.minestom.server.entity.EntityPose
 
INSTANCE - Static variable in class net.minestom.server.utils.Unit
 
intArrayToUuid(int[]) - Static method in class net.minestom.server.utils.UniqueIdUtils
 
Integer(int, int) - Constructor for record class net.minestom.server.utils.Range.Integer
Creates an instance of a Integer record class.
interpolate(Vec, double, Vec.Interpolation) - Method in record class net.minestom.server.coordinate.Vec
 
isArmor() - Method in enum class net.minestom.server.entity.EquipmentSlot
 
isBetween(byte, byte, byte) - Static method in class net.minestom.server.utils.MathUtils
 
isBetween(double, double, double) - Static method in class net.minestom.server.utils.MathUtils
 
isBetween(float, float, float) - Static method in class net.minestom.server.utils.MathUtils
 
isBetween(int, int, int) - Static method in class net.minestom.server.utils.MathUtils
 
isBetweenUnordered(double, double, double) - Static method in class net.minestom.server.utils.MathUtils
 
isBetweenUnordered(float, float, float) - Static method in class net.minestom.server.utils.MathUtils
 
isHand() - Method in enum class net.minestom.server.entity.EquipmentSlot
 
isInRange(Byte) - Method in record class net.minestom.server.utils.Range.Byte
 
isInRange(Double) - Method in record class net.minestom.server.utils.Range.Double
 
isInRange(Float) - Method in record class net.minestom.server.utils.Range.Float
 
isInRange(Integer) - Method in record class net.minestom.server.utils.Range.Integer
 
isInRange(Long) - Method in record class net.minestom.server.utils.Range.Long
 
isInRange(Short) - Method in record class net.minestom.server.utils.Range.Short
 
isInRange(T) - Method in interface net.minestom.server.utils.Range
Whether the given value is in range of the minimum and the maximum.
isNormalized() - Method in record class net.minestom.server.coordinate.Vec
Returns if a vector is normalized
isSimilar(BlockFace) - Method in enum class net.minestom.server.instance.block.BlockFace
 
isSynced() - Method in record class net.minestom.server.registry.DataPack
Returns the value of the isSynced record component.
isTrue(boolean, String) - Static method in class net.minestom.server.utils.validate.Check
 
isTrue(boolean, String, Object...) - Static method in class net.minestom.server.utils.validate.Check
 
isUniqueId(String) - Static method in class net.minestom.server.utils.UniqueIdUtils
Checks whether the input string is an UUID.
isZero() - Method in interface net.minestom.server.coordinate.Point
Checks if the three coordinates Point.x(), Point.y() and Point.z() are equal to 0.

J

jaroWinklerScore(String, String) - Static method in class net.minestom.server.utils.StringUtils
Applies the Jaro-Winkler distance algorithm to the given strings, providing information about the similarity of them.

K

key() - Method in interface net.minestom.server.registry.StaticProtocolObject
 
KILLED - Enum constant in enum class net.minestom.server.statistic.StatisticCategory
 
KILLED_BY - Enum constant in enum class net.minestom.server.statistic.StatisticCategory
 

L

legacy() - Method in class net.minestom.server.adventure.provider.MinestomLegacyComponentSerializerProvider
 
legacyAmpersand() - Method in class net.minestom.server.adventure.provider.MinestomLegacyComponentSerializerProvider
 
legacySection() - Method in class net.minestom.server.adventure.provider.MinestomLegacyComponentSerializerProvider
 
LEGGINGS - Enum constant in enum class net.minestom.server.entity.EquipmentSlot
 
LEGGINGS_SLOT - Static variable in class net.minestom.server.utils.SlotUtils
 
length() - Method in record class net.minestom.server.coordinate.Vec
Gets the magnitude of the vector, defined as sqrt(x^2+y^2+z^2).
length() - Method in class net.minestom.server.utils.NamespaceID
 
lengthSquared() - Method in record class net.minestom.server.coordinate.Vec
Gets the magnitude of the vector squared.
lerp(Vec, double) - Method in record class net.minestom.server.coordinate.Vec
Calculates a linear interpolation between this vector with another vector.
LINEAR - Static variable in interface net.minestom.server.coordinate.Vec.Interpolation
 
Localizable - Interface in net.minestom.server.adventure
Represents something which can have a locale.
LOGIN - Enum constant in enum class net.minestom.server.network.ConnectionState
Client declares `Login` intent during handshake.
Long(long, long) - Constructor for record class net.minestom.server.utils.Range.Long
Creates an instance of a Long record class.
LONG_JUMPING - Enum constant in enum class net.minestom.server.entity.EntityPose
 
lookAlong(Pos, double, double, double) - Static method in class net.minestom.server.coordinate.PositionUtils
 

M

MAIN_HAND - Enum constant in enum class net.minestom.server.entity.EquipmentSlot
 
MathUtils - Class in net.minestom.server.utils
 
max(double) - Method in record class net.minestom.server.coordinate.Vec
 
max(Point) - Method in record class net.minestom.server.coordinate.Vec
 
maximum() - Method in record class net.minestom.server.utils.Range.Byte
Returns the value of the maximum record component.
maximum() - Method in record class net.minestom.server.utils.Range.Double
Returns the value of the maximum record component.
maximum() - Method in record class net.minestom.server.utils.Range.Float
Returns the value of the maximum record component.
maximum() - Method in record class net.minestom.server.utils.Range.Integer
Returns the value of the maximum record component.
maximum() - Method in record class net.minestom.server.utils.Range.Long
Returns the value of the maximum record component.
maximum() - Method in record class net.minestom.server.utils.Range.Short
Returns the value of the maximum record component.
min(double) - Method in record class net.minestom.server.coordinate.Vec
 
min(Point) - Method in record class net.minestom.server.coordinate.Vec
 
MINECRAFT_CORE - Static variable in record class net.minestom.server.registry.DataPack
 
MINED - Enum constant in enum class net.minestom.server.statistic.StatisticCategory
 
MinestomAdventure - Class in net.minestom.server.adventure
Adventure related constants, etc.
MinestomGsonComponentSerializerProvider - Class in net.minestom.server.adventure.provider
 
MinestomGsonComponentSerializerProvider() - Constructor for class net.minestom.server.adventure.provider.MinestomGsonComponentSerializerProvider
 
MinestomLegacyComponentSerializerProvider - Class in net.minestom.server.adventure.provider
 
MinestomLegacyComponentSerializerProvider() - Constructor for class net.minestom.server.adventure.provider.MinestomLegacyComponentSerializerProvider
 
MinestomPlainTextComponentSerializerProvider - Class in net.minestom.server.adventure.provider
 
MinestomPlainTextComponentSerializerProvider() - Constructor for class net.minestom.server.adventure.provider.MinestomPlainTextComponentSerializerProvider
 
minimum() - Method in record class net.minestom.server.utils.Range.Byte
Returns the value of the minimum record component.
minimum() - Method in record class net.minestom.server.utils.Range.Double
Returns the value of the minimum record component.
minimum() - Method in record class net.minestom.server.utils.Range.Float
Returns the value of the minimum record component.
minimum() - Method in record class net.minestom.server.utils.Range.Integer
Returns the value of the minimum record component.
minimum() - Method in record class net.minestom.server.utils.Range.Long
Returns the value of the minimum record component.
minimum() - Method in record class net.minestom.server.utils.Range.Short
Returns the value of the minimum record component.
mod(double, double) - Static method in class net.minestom.server.utils.MathUtils
 
MojangUtils - Class in net.minestom.server.utils
Utils class using mojang API.
MojangUtils() - Constructor for class net.minestom.server.utils.MojangUtils
 
mul(double) - Method in record class net.minestom.server.coordinate.BlockVec
 
mul(double) - Method in interface net.minestom.server.coordinate.Point
 
mul(double) - Method in record class net.minestom.server.coordinate.Pos
 
mul(double) - Method in record class net.minestom.server.coordinate.Vec
 
mul(double, double, double) - Method in record class net.minestom.server.coordinate.BlockVec
 
mul(double, double, double) - Method in interface net.minestom.server.coordinate.Point
 
mul(double, double, double) - Method in record class net.minestom.server.coordinate.Pos
 
mul(double, double, double) - Method in record class net.minestom.server.coordinate.Vec
 
mul(Point) - Method in record class net.minestom.server.coordinate.BlockVec
 
mul(Point) - Method in interface net.minestom.server.coordinate.Point
 
mul(Point) - Method in record class net.minestom.server.coordinate.Pos
 
mul(Point) - Method in record class net.minestom.server.coordinate.Vec
 

N

name() - Method in interface net.minestom.server.registry.StaticProtocolObject
 
namespace() - Method in interface net.minestom.server.registry.StaticProtocolObject
 
namespace() - Method in class net.minestom.server.utils.NamespaceID
 
namespaceId() - Method in record class net.minestom.server.registry.DataPack
Returns the value of the namespaceId record component.
NamespaceID - Class in net.minestom.server.utils
Represents a namespaced ID https://minecraft.wiki/w/Namespaced_ID
nbt() - Static method in interface net.minestom.server.adventure.serializer.nbt.NbtComponentSerializer
 
NBT_CODEC - Static variable in class net.minestom.server.adventure.MinestomAdventure
A codec to convert between strings and NBT.
NbtComponentSerializer - Interface in net.minestom.server.adventure.serializer.nbt
 
nbtTypeFromId(byte) - Static method in class net.minestom.server.utils.nbt.BinaryTagUtil
 
nbtValueFromTag(BinaryTag) - Static method in class net.minestom.server.utils.nbt.BinaryTagUtil
 
neg() - Method in record class net.minestom.server.coordinate.Vec
 
net.kyori.adventure.nbt - package net.kyori.adventure.nbt
 
net.minestom.server.adventure - package net.minestom.server.adventure
 
net.minestom.server.adventure.provider - package net.minestom.server.adventure.provider
 
net.minestom.server.adventure.serializer.nbt - package net.minestom.server.adventure.serializer.nbt
 
net.minestom.server.collision - package net.minestom.server.collision
 
net.minestom.server.coordinate - package net.minestom.server.coordinate
 
net.minestom.server.entity - package net.minestom.server.entity
 
net.minestom.server.instance.block - package net.minestom.server.instance.block
 
net.minestom.server.network - package net.minestom.server.network
 
net.minestom.server.registry - package net.minestom.server.registry
 
net.minestom.server.statistic - package net.minestom.server.statistic
 
net.minestom.server.utils - package net.minestom.server.utils
 
net.minestom.server.utils.nbt - package net.minestom.server.utils.nbt
 
net.minestom.server.utils.validate - package net.minestom.server.utils.validate
 
NONE - Static variable in class net.minestom.server.entity.RelativeFlags
 
normalize() - Method in record class net.minestom.server.coordinate.Vec
Converts this vector to a unit vector (a vector with length of 1).
normalX() - Method in enum class net.minestom.server.utils.Direction
 
normalY() - Method in enum class net.minestom.server.utils.Direction
 
normalZ() - Method in enum class net.minestom.server.utils.Direction
 
NORTH - Enum constant in enum class net.minestom.server.instance.block.BlockFace
 
NORTH - Enum constant in enum class net.minestom.server.utils.Direction
 
notNull(Object, String) - Static method in class net.minestom.server.utils.validate.Check
 
notNull(Object, String, Object...) - Static method in class net.minestom.server.utils.validate.Check
 

O

ObjectPool<T> - Class in net.minestom.server.utils
 
ObjectPool(Supplier<T>, UnaryOperator<T>) - Constructor for class net.minestom.server.utils.ObjectPool
 
ObjectPool.Holder - Class in net.minestom.server.utils
 
OFF_HAND - Enum constant in enum class net.minestom.server.entity.EquipmentSlot
 
OFFHAND_SLOT - Static variable in class net.minestom.server.utils.SlotUtils
 
OFFSET - Static variable in class net.minestom.server.utils.SlotUtils
 
ONE - Static variable in record class net.minestom.server.coordinate.Vec
 
opposite() - Method in enum class net.minestom.server.utils.Direction
 

P

path() - Method in class net.minestom.server.utils.NamespaceID
 
PICKED_UP - Enum constant in enum class net.minestom.server.statistic.StatisticCategory
 
pitch() - Method in record class net.minestom.server.coordinate.Pos
Returns the value of the pitch record component.
PITCH - Static variable in class net.minestom.server.entity.RelativeFlags
 
plainText() - Method in class net.minestom.server.adventure.provider.MinestomPlainTextComponentSerializerProvider
 
plainTextSimple() - Method in class net.minestom.server.adventure.provider.MinestomPlainTextComponentSerializerProvider
 
PLAY - Enum constant in enum class net.minestom.server.network.ConnectionState
Client finished configuration.
PlayerSkin - Record Class in net.minestom.server.entity
Contains all the data required to store a skin.
PlayerSkin(String, String) - Constructor for record class net.minestom.server.entity.PlayerSkin
Creates an instance of a PlayerSkin record class.
Point - Interface in net.minestom.server.coordinate
Represents a 3D point.
Pos - Record Class in net.minestom.server.coordinate
Represents a position containing coordinates and a view.
Pos(double, double, double) - Constructor for record class net.minestom.server.coordinate.Pos
 
Pos(double, double, double, float, float) - Constructor for record class net.minestom.server.coordinate.Pos
Creates an instance of a Pos record class.
Pos(Point) - Constructor for record class net.minestom.server.coordinate.Pos
 
Pos(Point, float, float) - Constructor for record class net.minestom.server.coordinate.Pos
 
Pos.Operator - Interface in net.minestom.server.coordinate
 
PositionUtils - Class in net.minestom.server.coordinate
 
PositionUtils() - Constructor for class net.minestom.server.coordinate.PositionUtils
 
ProtocolObject - Interface in net.minestom.server.registry
 

R

Range<T> - Interface in net.minestom.server.utils
Represents the base for any data type that is numeric.
Range.Byte - Record Class in net.minestom.server.utils
 
Range.Double - Record Class in net.minestom.server.utils
 
Range.Float - Record Class in net.minestom.server.utils
 
Range.Integer - Record Class in net.minestom.server.utils
 
Range.Long - Record Class in net.minestom.server.utils
 
Range.Short - Record Class in net.minestom.server.utils
 
readNamed() - Method in class net.minestom.server.utils.nbt.BinaryTagReader
 
readNamed(String, BinaryTag) - Method in class net.minestom.server.utils.nbt.BinaryTagWriter
 
readNameless() - Method in class net.minestom.server.utils.nbt.BinaryTagReader
 
readTag(String) - Static method in class net.kyori.adventure.nbt.TagStringIOExt
 
readTagEmbedded(String) - Static method in class net.kyori.adventure.nbt.TagStringIOExt
Reads a tag and returns the remainder of the input buffer.
register(Object, Collection<T>) - Method in class net.minestom.server.utils.ObjectPool
 
register(Object, AtomicReference<T>) - Method in class net.minestom.server.utils.ObjectPool
 
register(Object, T) - Method in class net.minestom.server.utils.ObjectPool
 
registry() - Method in interface net.minestom.server.registry.ProtocolObject
 
relative(BlockFace) - Method in record class net.minestom.server.coordinate.BlockVec
 
relative(BlockFace) - Method in interface net.minestom.server.coordinate.Point
 
relative(BlockFace) - Method in record class net.minestom.server.coordinate.Pos
 
relative(BlockFace) - Method in record class net.minestom.server.coordinate.Vec
 
RelativeFlags - Class in net.minestom.server.entity
 
RelativeFlags() - Constructor for class net.minestom.server.entity.RelativeFlags
 
ROARING - Enum constant in enum class net.minestom.server.entity.EntityPose
 
rotate(double, double, double) - Method in record class net.minestom.server.coordinate.Vec
 
rotateAroundAxis(Vec, double) - Method in record class net.minestom.server.coordinate.Vec
Rotates the vector around a given arbitrary axis in 3 dimensional space.
rotateAroundNonUnitAxis(Vec, double) - Method in record class net.minestom.server.coordinate.Vec
Rotates the vector around a given arbitrary axis in 3 dimensional space.
rotateAroundX(double) - Method in record class net.minestom.server.coordinate.Vec
Rotates the vector around the x-axis.
rotateAroundY(double) - Method in record class net.minestom.server.coordinate.Vec
Rotates the vector around the y-axis.
rotateAroundZ(double) - Method in record class net.minestom.server.coordinate.Vec
Rotates the vector around the z axis
rotateFromView(float, float) - Method in record class net.minestom.server.coordinate.Vec
 
rotateFromView(Pos) - Method in record class net.minestom.server.coordinate.Vec
 
round(double, int) - Static method in class net.minestom.server.utils.MathUtils
 
round(float, int) - Static method in class net.minestom.server.utils.MathUtils
 

S

sameBlock(int, int, int) - Method in interface net.minestom.server.coordinate.Point
 
sameBlock(Point) - Method in interface net.minestom.server.coordinate.Point
Checks if two points are in the same block.
sameChunk(Point) - Method in interface net.minestom.server.coordinate.Point
Checks if two points are in the same chunk.
samePoint(double, double, double) - Method in interface net.minestom.server.coordinate.Point
 
samePoint(Point) - Method in interface net.minestom.server.coordinate.Point
Checks it two points have similar (x/y/z).
sameView(float, float) - Method in record class net.minestom.server.coordinate.Pos
 
sameView(Pos) - Method in record class net.minestom.server.coordinate.Pos
Checks if two positions have a similar view (yaw/pitch).
section() - Method in interface net.minestom.server.coordinate.Point
 
serializeStyle(Style) - Method in interface net.minestom.server.adventure.serializer.nbt.NbtComponentSerializer
 
setDefaultLocale(Locale) - Static method in class net.minestom.server.adventure.MinestomAdventure
Sets the default locale used to translate components when no overriding locale has been provided.
setLocale(Locale) - Method in interface net.minestom.server.adventure.Localizable
Sets the locale.
SHOOTING - Enum constant in enum class net.minestom.server.entity.EntityPose
 
Short(short, short) - Constructor for record class net.minestom.server.utils.Range.Short
Creates an instance of a Short record class.
signature() - Method in record class net.minestom.server.entity.PlayerSkin
Returns the value of the signature record component.
SIGNUM - Static variable in interface net.minestom.server.coordinate.Vec.Operator
 
SITTING - Enum constant in enum class net.minestom.server.entity.EntityPose
 
SLEEPING - Enum constant in enum class net.minestom.server.entity.EntityPose
 
SLIDING - Enum constant in enum class net.minestom.server.entity.EntityPose
 
SlotUtils - Class in net.minestom.server.utils
 
SMOOTH - Static variable in interface net.minestom.server.coordinate.Vec.Interpolation
 
SNEAKING - Enum constant in enum class net.minestom.server.entity.EntityPose
 
SNIFFING - Enum constant in enum class net.minestom.server.entity.EntityPose
 
SOUTH - Enum constant in enum class net.minestom.server.instance.block.BlockFace
 
SOUTH - Enum constant in enum class net.minestom.server.utils.Direction
 
SPACE - Static variable in class net.minestom.server.utils.StringUtils
 
SPACE_CHAR - Static variable in class net.minestom.server.utils.StringUtils
 
SPECTATOR - Enum constant in enum class net.minestom.server.entity.GameMode
 
SPIN_ATTACK - Enum constant in enum class net.minestom.server.entity.EntityPose
 
square(double) - Static method in class net.minestom.server.utils.MathUtils
 
square(float) - Static method in class net.minestom.server.utils.MathUtils
 
square(int) - Static method in class net.minestom.server.utils.MathUtils
 
STANDING - Enum constant in enum class net.minestom.server.entity.EntityPose
 
stateCondition(boolean, String) - Static method in class net.minestom.server.utils.validate.Check
 
stateCondition(boolean, String, Object...) - Static method in class net.minestom.server.utils.validate.Check
 
StaticProtocolObject - Interface in net.minestom.server.registry
 
StatisticCategory - Enum Class in net.minestom.server.statistic
 
STATUS - Enum constant in enum class net.minestom.server.network.ConnectionState
Client declares `Status` intent during handshake.
StringUtils - Class in net.minestom.server.utils
 
StringUtils() - Constructor for class net.minestom.server.utils.StringUtils
 
sub(double) - Method in record class net.minestom.server.coordinate.BlockVec
 
sub(double) - Method in interface net.minestom.server.coordinate.Point
 
sub(double) - Method in record class net.minestom.server.coordinate.Pos
 
sub(double) - Method in record class net.minestom.server.coordinate.Vec
 
sub(double, double, double) - Method in record class net.minestom.server.coordinate.BlockVec
 
sub(double, double, double) - Method in interface net.minestom.server.coordinate.Point
 
sub(double, double, double) - Method in record class net.minestom.server.coordinate.Pos
 
sub(double, double, double) - Method in record class net.minestom.server.coordinate.Vec
 
sub(int) - Method in record class net.minestom.server.coordinate.BlockVec
 
sub(int, int, int) - Method in record class net.minestom.server.coordinate.BlockVec
 
sub(BlockVec) - Method in record class net.minestom.server.coordinate.BlockVec
 
sub(Point) - Method in record class net.minestom.server.coordinate.BlockVec
 
sub(Point) - Method in interface net.minestom.server.coordinate.Point
 
sub(Point) - Method in record class net.minestom.server.coordinate.Pos
 
sub(Point) - Method in record class net.minestom.server.coordinate.Vec
 
subSequence(int, int) - Method in class net.minestom.server.utils.NamespaceID
 
SURVIVAL - Enum constant in enum class net.minestom.server.entity.GameMode
 
SWIMMING - Enum constant in enum class net.minestom.server.entity.EntityPose
 

T

TagStringIOExt - Class in net.kyori.adventure.nbt
 
textures() - Method in record class net.minestom.server.entity.PlayerSkin
Returns the value of the textures record component.
toDirection() - Method in enum class net.minestom.server.instance.block.BlockFace
 
toNbt(UUID) - Static method in class net.minestom.server.utils.UniqueIdUtils
 
TOP - Enum constant in enum class net.minestom.server.instance.block.BlockFace
 
toString() - Method in record class net.minestom.server.collision.Aerodynamics
Returns a string representation of this record class.
toString() - Method in record class net.minestom.server.coordinate.BlockVec
Returns a string representation of this record class.
toString() - Method in record class net.minestom.server.coordinate.Pos
Returns a string representation of this record class.
toString() - Method in record class net.minestom.server.coordinate.Vec
Returns a string representation of this record class.
toString() - Method in record class net.minestom.server.entity.PlayerSkin
Returns a string representation of this record class.
toString() - Method in record class net.minestom.server.registry.DataPack
Returns a string representation of this record class.
toString() - Method in class net.minestom.server.utils.NamespaceID
 
toString() - Method in record class net.minestom.server.utils.Range.Byte
Returns a string representation of this record class.
toString() - Method in record class net.minestom.server.utils.Range.Double
Returns a string representation of this record class.
toString() - Method in record class net.minestom.server.utils.Range.Float
Returns a string representation of this record class.
toString() - Method in record class net.minestom.server.utils.Range.Integer
Returns a string representation of this record class.
toString() - Method in record class net.minestom.server.utils.Range.Long
Returns a string representation of this record class.
toString() - Method in record class net.minestom.server.utils.Range.Short
Returns a string representation of this record class.

U

unescapeJavaString(String) - Static method in class net.minestom.server.utils.StringUtils
 
UNIQUE_ID_PATTERN - Static variable in class net.minestom.server.utils.UniqueIdUtils
 
UniqueIdUtils - Class in net.minestom.server.utils
An utilities class for UUID.
UniqueIdUtils() - Constructor for class net.minestom.server.utils.UniqueIdUtils
 
Unit - Class in net.minestom.server.utils
 
Unit() - Constructor for class net.minestom.server.utils.Unit
 
UP - Enum constant in enum class net.minestom.server.utils.Direction
 
URLUtils - Class in net.minestom.server.utils
 
use(Function<T, R>) - Method in class net.minestom.server.utils.ObjectPool
 
USED - Enum constant in enum class net.minestom.server.statistic.StatisticCategory
 
USING_TONGUE - Enum constant in enum class net.minestom.server.entity.EntityPose
 
uuidToIntArray(UUID) - Static method in class net.minestom.server.utils.UniqueIdUtils
 

V

value() - Method in class net.minestom.server.utils.NamespaceID
 
valueOf(String) - Static method in enum class net.minestom.server.entity.EntityPose
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.minestom.server.entity.EquipmentSlot
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.minestom.server.entity.GameMode
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.minestom.server.instance.block.BlockFace
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.minestom.server.network.ConnectionState
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.minestom.server.statistic.StatisticCategory
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.minestom.server.utils.Direction
Returns the enum constant of this class with the specified name.
values() - Static method in enum class net.minestom.server.entity.EntityPose
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.minestom.server.entity.EquipmentSlot
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.minestom.server.entity.GameMode
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.minestom.server.instance.block.BlockFace
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.minestom.server.network.ConnectionState
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.minestom.server.statistic.StatisticCategory
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.minestom.server.utils.Direction
Returns an array containing the constants of this enum class, in the order they are declared.
Vec - Record Class in net.minestom.server.coordinate
Represents an immutable 3D vector.
Vec(double) - Constructor for record class net.minestom.server.coordinate.Vec
Creates a vec with all 3 coordinates sharing the same value.
Vec(double, double) - Constructor for record class net.minestom.server.coordinate.Vec
Creates a new vec with the [x;z] coordinates set.
Vec(double, double, double) - Constructor for record class net.minestom.server.coordinate.Vec
Creates an instance of a Vec record class.
Vec.Interpolation - Interface in net.minestom.server.coordinate
 
Vec.Operator - Interface in net.minestom.server.coordinate
 
verticalAirResistance() - Method in record class net.minestom.server.collision.Aerodynamics
Returns the value of the verticalAirResistance record component.
VIEW - Static variable in class net.minestom.server.entity.RelativeFlags
 
visitComponents(Consumer<Component>) - Method in interface net.minestom.server.adventure.ComponentHolder
Visits each component held by this object.

W

WEST - Enum constant in enum class net.minestom.server.instance.block.BlockFace
 
WEST - Enum constant in enum class net.minestom.server.utils.Direction
 
withAirResistance(double, double) - Method in record class net.minestom.server.collision.Aerodynamics
 
withBlockX(int) - Method in record class net.minestom.server.coordinate.BlockVec
 
withBlockY(int) - Method in record class net.minestom.server.coordinate.BlockVec
 
withBlockZ(int) - Method in record class net.minestom.server.coordinate.BlockVec
 
withCoord(double, double, double) - Method in record class net.minestom.server.coordinate.Pos
Changes the 3 coordinates of this position.
withCoord(Point) - Method in record class net.minestom.server.coordinate.Pos
 
withDirection(Point) - Method in record class net.minestom.server.coordinate.Pos
Sets the yaw and pitch to point in the direction of the point.
withGravity(double) - Method in record class net.minestom.server.collision.Aerodynamics
 
withGravity(DoubleUnaryOperator) - Method in record class net.minestom.server.collision.Aerodynamics
 
withHorizontalAirResistance(double) - Method in record class net.minestom.server.collision.Aerodynamics
 
withHorizontalAirResistance(DoubleUnaryOperator) - Method in record class net.minestom.server.collision.Aerodynamics
 
withLookAt(Point) - Method in record class net.minestom.server.coordinate.Pos
 
withPitch(float) - Method in record class net.minestom.server.coordinate.Pos
 
withPitch(DoubleUnaryOperator) - Method in record class net.minestom.server.coordinate.Pos
 
withVerticalAirResistance(double) - Method in record class net.minestom.server.collision.Aerodynamics
 
withVerticalAirResistance(DoubleUnaryOperator) - Method in record class net.minestom.server.collision.Aerodynamics
 
withView(float, float) - Method in record class net.minestom.server.coordinate.Pos
 
withView(Pos) - Method in record class net.minestom.server.coordinate.Pos
 
withX(double) - Method in record class net.minestom.server.coordinate.BlockVec
 
withX(double) - Method in interface net.minestom.server.coordinate.Point
Creates a point with the specified X coordinate.
withX(double) - Method in record class net.minestom.server.coordinate.Pos
 
withX(double) - Method in record class net.minestom.server.coordinate.Vec
 
withX(DoubleUnaryOperator) - Method in record class net.minestom.server.coordinate.BlockVec
 
withX(DoubleUnaryOperator) - Method in interface net.minestom.server.coordinate.Point
Creates a point with a modified X coordinate based on its value.
withX(DoubleUnaryOperator) - Method in record class net.minestom.server.coordinate.Pos
 
withX(DoubleUnaryOperator) - Method in record class net.minestom.server.coordinate.Vec
 
withY(double) - Method in record class net.minestom.server.coordinate.BlockVec
 
withY(double) - Method in interface net.minestom.server.coordinate.Point
Creates a point with the specified Y coordinate.
withY(double) - Method in record class net.minestom.server.coordinate.Pos
 
withY(double) - Method in record class net.minestom.server.coordinate.Vec
 
withY(DoubleUnaryOperator) - Method in record class net.minestom.server.coordinate.BlockVec
 
withY(DoubleUnaryOperator) - Method in interface net.minestom.server.coordinate.Point
Creates a point with a modified Y coordinate based on its value.
withY(DoubleUnaryOperator) - Method in record class net.minestom.server.coordinate.Pos
 
withY(DoubleUnaryOperator) - Method in record class net.minestom.server.coordinate.Vec
 
withYaw(float) - Method in record class net.minestom.server.coordinate.Pos
 
withYaw(DoubleUnaryOperator) - Method in record class net.minestom.server.coordinate.Pos
 
withZ(double) - Method in record class net.minestom.server.coordinate.BlockVec
 
withZ(double) - Method in interface net.minestom.server.coordinate.Point
Creates a point with the specified Z coordinate.
withZ(double) - Method in record class net.minestom.server.coordinate.Pos
 
withZ(double) - Method in record class net.minestom.server.coordinate.Vec
 
withZ(DoubleUnaryOperator) - Method in record class net.minestom.server.coordinate.BlockVec
 
withZ(DoubleUnaryOperator) - Method in interface net.minestom.server.coordinate.Point
Creates a point with a modified Z coordinate based on its value.
withZ(DoubleUnaryOperator) - Method in record class net.minestom.server.coordinate.Pos
 
withZ(DoubleUnaryOperator) - Method in record class net.minestom.server.coordinate.Vec
 
writeNameless(BinaryTag) - Method in class net.minestom.server.utils.nbt.BinaryTagWriter
 
writeTag(BinaryTag) - Static method in class net.kyori.adventure.nbt.TagStringIOExt
 
writeTag(BinaryTag, String) - Static method in class net.kyori.adventure.nbt.TagStringIOExt
 

X

x() - Method in record class net.minestom.server.coordinate.BlockVec
Returns the value of the x record component.
x() - Method in interface net.minestom.server.coordinate.Point
Gets the X coordinate.
x() - Method in record class net.minestom.server.coordinate.Pos
Returns the value of the x record component.
x() - Method in record class net.minestom.server.coordinate.Vec
Returns the value of the x record component.
X - Static variable in class net.minestom.server.entity.RelativeFlags
 

Y

y() - Method in record class net.minestom.server.coordinate.BlockVec
Returns the value of the y record component.
y() - Method in interface net.minestom.server.coordinate.Point
Gets the Y coordinate.
y() - Method in record class net.minestom.server.coordinate.Pos
Returns the value of the y record component.
y() - Method in record class net.minestom.server.coordinate.Vec
Returns the value of the y record component.
Y - Static variable in class net.minestom.server.entity.RelativeFlags
 
yaw() - Method in record class net.minestom.server.coordinate.Pos
Returns the value of the yaw record component.
YAW - Static variable in class net.minestom.server.entity.RelativeFlags
 

Z

z() - Method in record class net.minestom.server.coordinate.BlockVec
Returns the value of the z record component.
z() - Method in interface net.minestom.server.coordinate.Point
Gets the Z coordinate.
z() - Method in record class net.minestom.server.coordinate.Pos
Returns the value of the z record component.
z() - Method in record class net.minestom.server.coordinate.Vec
Returns the value of the z record component.
Z - Static variable in class net.minestom.server.entity.RelativeFlags
 
ZERO - Static variable in record class net.minestom.server.coordinate.Pos
 
ZERO - Static variable in record class net.minestom.server.coordinate.Vec
 
A B C D E F G H I J K L M N O P R S T U V W X Y Z 
All Classes and Interfaces|All Packages|Constant Field Values