Index

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

A

all() - Static method in record class com.cotani.inventory.api.InventorySyncOptions
Options to synchronize everything (all inventories, stats, potion effects, exp, flight).
allowFlight() - Method in record class com.cotani.inventory.api.InventorySnapshot
Returns the value of the allowFlight record component.
ambient() - Method in record class com.cotani.inventory.api.PotionEffectSnapshot
Returns the value of the ambient record component.
amplifier() - Method in record class com.cotani.inventory.api.PotionEffectSnapshot
Returns the value of the amplifier record component.
applyAsync(UUID, InventorySnapshot, InventorySyncOptions) - Method in interface com.cotani.inventory.api.InventorySyncService
Applies an inventory snapshot onto the player with specific sync options.
applyAsync(Player, InventorySnapshot) - Method in interface com.cotani.inventory.api.InventorySyncService
Deprecated.
applyAsync(Player, InventorySnapshot, InventorySyncOptions) - Method in interface com.cotani.inventory.api.InventorySyncService
Deprecated.
capture the UUID at the platform boundary and call the UUID overload
armorContents() - Method in record class com.cotani.inventory.api.InventorySnapshot
Returns the value of the armorContents record component.
armorContents(List) - Method in class com.cotani.inventory.api.InventorySnapshot.Builder
 

B

beginTransferAsync(UUID, Duration) - Method in interface com.cotani.inventory.api.InventorySyncService
Acquires a cross-server transfer lock for a player switching servers.
binarySerializer() - Static method in class com.cotani.inventory.CotaniInventories
Returns the standard binary serializer utilizing native Paper DataComponents.
build() - Method in class com.cotani.inventory.api.InventorySnapshot.Builder
 
build() - Method in class com.cotani.inventory.api.InventorySyncOptions.Builder
 
build() - Method in class com.cotani.inventory.CotaniInventories.Builder
 
builder() - Static method in record class com.cotani.inventory.api.InventorySyncOptions
Creates a new builder for customized sync options.
builder(UUID) - Static method in record class com.cotani.inventory.api.InventorySnapshot
Creates a new builder for constructing InventorySnapshot.
builder(Plugin, PaperTaskScheduler) - Static method in class com.cotani.inventory.CotaniInventories
Creates a builder for flexible configuration of the InventoryModule.

C

captureAsync(UUID) - Method in interface com.cotani.inventory.api.InventorySyncService
Captures an immutable snapshot of the player's current inventory, stats, and effects.
captureAsync(Player) - Method in interface com.cotani.inventory.api.InventorySyncService
Deprecated.
capture the UUID at the platform boundary and call InventorySyncService.captureAsync(UUID)
close() - Method in interface com.cotani.inventory.InventoryModule
 
com.cotani.inventory - package com.cotani.inventory
 
com.cotani.inventory.api - package com.cotani.inventory.api
 
completeTransferAsync(TransferLease) - Method in interface com.cotani.inventory.api.InventorySyncService
Completes a cross-server transfer, releasing the network lock.
CotaniInventories - Class in com.cotani.inventory
Main factory and entry point for the Cotani Inventory synchronization module.
CotaniInventories.Builder - Class in com.cotani.inventory
Builder for InventoryModule.
create(Plugin, PaperTaskScheduler, InventoryRepository) - Static method in class com.cotani.inventory.CotaniInventories
Creates an inventory module backed by a custom repository.
create(Plugin, PaperTaskScheduler, CotaniStorage) - Static method in class com.cotani.inventory.CotaniInventories
Creates a standard storage-backed InventoryModule.
createdAt() - Method in record class com.cotani.inventory.api.InventorySnapshot
Returns the value of the createdAt record component.
createdAt(long) - Method in class com.cotani.inventory.api.InventorySnapshot.Builder
 
CrossServerTransferLock - Interface in com.cotani.inventory.api
Coordination lock for cross-server player inventory transfers.
CrossServerTransferLock.NoopTransferLock - Class in com.cotani.inventory.api
No-op lock implementation.

D

deserialize(byte[]) - Method in interface com.cotani.inventory.api.InventorySerializer
Deserializes a binary byte array back into an InventorySnapshot.
durationTicks() - Method in record class com.cotani.inventory.api.PotionEffectSnapshot
Returns the value of the durationTicks record component.

E

empty(UUID) - Static method in record class com.cotani.inventory.api.InventorySnapshot
Creates an empty baseline snapshot for a player.
enderChestContents() - Method in record class com.cotani.inventory.api.InventorySnapshot
Returns the value of the enderChestContents record component.
enderChestContents(List) - Method in class com.cotani.inventory.api.InventorySnapshot.Builder
 
equals(Object) - Method in record class com.cotani.inventory.api.InventorySnapshot
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.cotani.inventory.api.InventorySyncOptions
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.cotani.inventory.api.PotionEffectSnapshot
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.cotani.inventory.api.TransferLease
Indicates whether some other object is "equal to" this one.
exp() - Method in record class com.cotani.inventory.api.InventorySnapshot
Returns the value of the exp record component.
experience(int, int, float) - Method in class com.cotani.inventory.api.InventorySnapshot.Builder
 

F

findByIdAsync(UUID, long) - Method in interface com.cotani.inventory.api.InventoryRepository
Retrieves a specific snapshot by player UUID and creation timestamp.
findHistoryAsync(UUID, int) - Method in interface com.cotani.inventory.api.InventoryRepository
Retrieves historical snapshots for a player ordered by timestamp descending.
findLatestAsync(UUID) - Method in interface com.cotani.inventory.api.InventoryRepository
Finds the most recent saved snapshot for a player.
flight(boolean, boolean) - Method in class com.cotani.inventory.api.InventorySnapshot.Builder
 
flying() - Method in record class com.cotani.inventory.api.InventorySnapshot
Returns the value of the flying record component.
food(int, float) - Method in class com.cotani.inventory.api.InventorySnapshot.Builder
 
foodLevel() - Method in record class com.cotani.inventory.api.InventorySnapshot
Returns the value of the foodLevel record component.
fromBase64(String) - Method in interface com.cotani.inventory.api.InventorySerializer
Deserializes a Base64-encoded string back into an InventorySnapshot.
fromBukkit(PotionEffect) - Static method in record class com.cotani.inventory.api.PotionEffectSnapshot
Converts a Bukkit PotionEffect into a PotionEffectSnapshot.

G

gameMode() - Method in record class com.cotani.inventory.api.InventorySnapshot
Returns the value of the gameMode record component.
gameMode(GameMode) - Method in class com.cotani.inventory.api.InventorySnapshot.Builder
 

H

hashCode() - Method in record class com.cotani.inventory.api.InventorySnapshot
Returns a hash code value for this object.
hashCode() - Method in record class com.cotani.inventory.api.InventorySyncOptions
Returns a hash code value for this object.
hashCode() - Method in record class com.cotani.inventory.api.PotionEffectSnapshot
Returns a hash code value for this object.
hashCode() - Method in record class com.cotani.inventory.api.TransferLease
Returns a hash code value for this object.
health() - Method in record class com.cotani.inventory.api.InventorySnapshot
Returns the value of the health record component.
health(double, double) - Method in class com.cotani.inventory.api.InventorySnapshot.Builder
 
historyAsync(UUID, int) - Method in interface com.cotani.inventory.api.InventorySyncService
Retrieves historical snapshots for audit or rollback purposes.

I

icon() - Method in record class com.cotani.inventory.api.PotionEffectSnapshot
Returns the value of the icon record component.
inventoryAndEnderChest() - Static method in record class com.cotani.inventory.api.InventorySyncOptions
Options to synchronize personal items and enderchest.
InventoryModule - Interface in com.cotani.inventory
Lifecycle and dependency container for the Cotani Inventory module.
inventoryOnly() - Static method in record class com.cotani.inventory.api.InventorySyncOptions
Options to synchronize only the player's personal items (main, armor, offhand).
InventoryRepository - Interface in com.cotani.inventory.api
Storage repository for saving, querying, and auditing historical inventory snapshots.
InventorySerializer - Interface in com.cotani.inventory.api
Serializer interface responsible for encoding and decoding InventorySnapshot into loss-less binary format or Base64 representation.
InventorySnapshot - Record Class in com.cotani.inventory.api
Immutable snapshot capturing all items, equipment, enderchest, active effects, and attributes of a player at a specific point in time.
InventorySnapshot(UUID, int, long, List, List, ItemStack, List, int, int, float, double, double, int, float, List, GameMode, boolean, boolean) - Constructor for record class com.cotani.inventory.api.InventorySnapshot
Creates an instance of a InventorySnapshot record class.
InventorySnapshot.Builder - Class in com.cotani.inventory.api
Builder for InventorySnapshot.
InventorySyncOptions - Record Class in com.cotani.inventory.api
Configuration options controlling which sections of a player's state are included during inventory snapshot capturing, saving, or application.
InventorySyncOptions(boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean) - Constructor for record class com.cotani.inventory.api.InventorySyncOptions
Creates an instance of a InventorySyncOptions record class.
InventorySyncOptions.Builder - Class in com.cotani.inventory.api
InventorySyncService - Interface in com.cotani.inventory.api
Public service interface for capturing, applying, saving, restoring, and coordinating cross-server synchronization of player inventories and player states.

L

level() - Method in record class com.cotani.inventory.api.InventorySnapshot
Returns the value of the level record component.
loadAndApplyAsync(UUID, InventorySyncOptions) - Method in interface com.cotani.inventory.api.InventorySyncService
Loads the latest saved snapshot for the player UUID and applies it to the online player.
loadAndApplyAsync(Player) - Method in interface com.cotani.inventory.api.InventorySyncService
Deprecated.
loadAndApplyAsync(Player, InventorySyncOptions) - Method in interface com.cotani.inventory.api.InventorySyncService
Deprecated.
capture the UUID at the platform boundary and call the UUID overload
loadLatestAsync(UUID) - Method in interface com.cotani.inventory.api.InventorySyncService
Loads the latest saved snapshot for a player from the repository.

M

mainContents() - Method in record class com.cotani.inventory.api.InventorySnapshot
Returns the value of the mainContents record component.
mainContents(List) - Method in class com.cotani.inventory.api.InventorySnapshot.Builder
 
maxHealth() - Method in record class com.cotani.inventory.api.InventorySnapshot
Returns the value of the maxHealth record component.
migrations() - Static method in class com.cotani.inventory.CotaniInventories
Returns the list of SQL migrations required by the inventory module.
mutateAsync(UUID, UnaryOperator, InventorySyncOptions) - Method in interface com.cotani.inventory.api.InventorySyncService
Captures, mutates and applies a snapshot on the player's entity thread.

N

noop() - Static method in interface com.cotani.inventory.api.CrossServerTransferLock
Returns a no-op lock implementation for single-server standalone deployments.

O

offHand() - Method in record class com.cotani.inventory.api.InventorySnapshot
Returns the value of the offHand record component.
offHand(ItemStack) - Method in class com.cotani.inventory.api.InventorySnapshot.Builder
 

P

particles() - Method in record class com.cotani.inventory.api.PotionEffectSnapshot
Returns the value of the particles record component.
playerId() - Method in record class com.cotani.inventory.api.InventorySnapshot
Returns the value of the playerId record component.
playerId() - Method in record class com.cotani.inventory.api.TransferLease
Returns the value of the playerId record component.
potionEffects() - Method in record class com.cotani.inventory.api.InventorySnapshot
Returns the value of the potionEffects record component.
potionEffects(List) - Method in class com.cotani.inventory.api.InventorySnapshot.Builder
 
PotionEffectSnapshot - Record Class in com.cotani.inventory.api
Immutable snapshot of an active potion effect on a player.
PotionEffectSnapshot(PotionEffectType, int, int, boolean, boolean, boolean) - Constructor for record class com.cotani.inventory.api.PotionEffectSnapshot
Creates an instance of a PotionEffectSnapshot record class.

R

repository() - Method in interface com.cotani.inventory.InventoryModule
Returns the underlying inventory persistence repository.
repository(InventoryRepository) - Method in class com.cotani.inventory.CotaniInventories.Builder
 
rollbackAsync(UUID, long) - Method in interface com.cotani.inventory.api.InventorySyncService
Restores a historical snapshot with all synchronization options enabled.
rollbackAsync(UUID, long, InventorySyncOptions) - Method in interface com.cotani.inventory.api.InventorySyncService
Restores a specific historical snapshot onto the online player identified by the UUID.
rollbackAsync(Player, long) - Method in interface com.cotani.inventory.api.InventorySyncService
Deprecated.
rollbackAsync(Player, long, InventorySyncOptions) - Method in interface com.cotani.inventory.api.InventorySyncService
Deprecated.
capture the UUID at the platform boundary and call the UUID overload

S

saturation() - Method in record class com.cotani.inventory.api.InventorySnapshot
Returns the value of the saturation record component.
saveAsync(UUID) - Method in interface com.cotani.inventory.api.InventorySyncService
Captures the player's current state on its entity thread and saves it asynchronously into the storage repository.
saveAsync(Player) - Method in interface com.cotani.inventory.api.InventorySyncService
Deprecated.
capture the UUID at the platform boundary and call InventorySyncService.saveAsync(UUID)
saveSnapshotAsync(InventorySnapshot) - Method in interface com.cotani.inventory.api.InventoryRepository
Persists an inventory snapshot into storage.
serialize(InventorySnapshot) - Method in interface com.cotani.inventory.api.InventorySerializer
Serializes a snapshot into a loss-less binary byte array.
serializer() - Method in interface com.cotani.inventory.InventoryModule
Returns the binary snapshot serializer.
serializer(InventorySerializer) - Method in class com.cotani.inventory.CotaniInventories.Builder
 
service() - Method in interface com.cotani.inventory.InventoryModule
Returns the inventory synchronization and management service.
storage(CotaniStorage) - Method in class com.cotani.inventory.CotaniInventories.Builder
 
syncArmor() - Method in record class com.cotani.inventory.api.InventorySyncOptions
Returns the value of the syncArmor record component.
syncArmor(boolean) - Method in class com.cotani.inventory.api.InventorySyncOptions.Builder
 
syncEnderChest() - Method in record class com.cotani.inventory.api.InventorySyncOptions
Returns the value of the syncEnderChest record component.
syncEnderChest(boolean) - Method in class com.cotani.inventory.api.InventorySyncOptions.Builder
 
syncExperience() - Method in record class com.cotani.inventory.api.InventorySyncOptions
Returns the value of the syncExperience record component.
syncExperience(boolean) - Method in class com.cotani.inventory.api.InventorySyncOptions.Builder
 
syncFlight() - Method in record class com.cotani.inventory.api.InventorySyncOptions
Returns the value of the syncFlight record component.
syncFlight(boolean) - Method in class com.cotani.inventory.api.InventorySyncOptions.Builder
 
syncGameMode() - Method in record class com.cotani.inventory.api.InventorySyncOptions
Returns the value of the syncGameMode record component.
syncGameMode(boolean) - Method in class com.cotani.inventory.api.InventorySyncOptions.Builder
 
syncHealthAndFood() - Method in record class com.cotani.inventory.api.InventorySyncOptions
Returns the value of the syncHealthAndFood record component.
syncHealthAndFood(boolean) - Method in class com.cotani.inventory.api.InventorySyncOptions.Builder
 
syncMainContents() - Method in record class com.cotani.inventory.api.InventorySyncOptions
Returns the value of the syncMainContents record component.
syncMainContents(boolean) - Method in class com.cotani.inventory.api.InventorySyncOptions.Builder
 
syncOffHand() - Method in record class com.cotani.inventory.api.InventorySyncOptions
Returns the value of the syncOffHand record component.
syncOffHand(boolean) - Method in class com.cotani.inventory.api.InventorySyncOptions.Builder
 
syncPotionEffects() - Method in record class com.cotani.inventory.api.InventorySyncOptions
Returns the value of the syncPotionEffects record component.
syncPotionEffects(boolean) - Method in class com.cotani.inventory.api.InventorySyncOptions.Builder
 

T

toBase64(InventorySnapshot) - Method in interface com.cotani.inventory.api.InventorySerializer
Serializes a snapshot into a Base64-encoded string.
toBukkit() - Method in record class com.cotani.inventory.api.PotionEffectSnapshot
Converts this snapshot back to a Bukkit PotionEffect.
token() - Method in record class com.cotani.inventory.api.TransferLease
Returns the value of the token record component.
toString() - Method in record class com.cotani.inventory.api.InventorySnapshot
Returns a string representation of this record class.
toString() - Method in record class com.cotani.inventory.api.InventorySyncOptions
Returns a string representation of this record class.
toString() - Method in record class com.cotani.inventory.api.PotionEffectSnapshot
Returns a string representation of this record class.
toString() - Method in record class com.cotani.inventory.api.TransferLease
Returns a string representation of this record class.
totalExperience() - Method in record class com.cotani.inventory.api.InventorySnapshot
Returns the value of the totalExperience record component.
TransferLease - Record Class in com.cotani.inventory.api
Ownership proof for one cross-server inventory transfer lock lease.
TransferLease(UUID, String) - Constructor for record class com.cotani.inventory.api.TransferLease
Creates an instance of a TransferLease record class.
transferLock(CrossServerTransferLock) - Method in class com.cotani.inventory.CotaniInventories.Builder
 
tryLockAsync(UUID, Duration) - Method in class com.cotani.inventory.api.CrossServerTransferLock.NoopTransferLock
 
tryLockAsync(UUID, Duration) - Method in interface com.cotani.inventory.api.CrossServerTransferLock
Attempts to acquire an exclusive lock for the player across the server network.
type() - Method in record class com.cotani.inventory.api.PotionEffectSnapshot
Returns the value of the type record component.

U

unlockAsync(TransferLease) - Method in class com.cotani.inventory.api.CrossServerTransferLock.NoopTransferLock
 
unlockAsync(TransferLease) - Method in interface com.cotani.inventory.api.CrossServerTransferLock
Releases the player lock across the network.

V

version() - Method in record class com.cotani.inventory.api.InventorySnapshot
Returns the value of the version record component.
version(int) - Method in class com.cotani.inventory.api.InventorySnapshot.Builder
 
A B C D E F G H I L M N O P R S T U V 
All Classes and Interfaces|All Packages