Index
All Classes and Interfaces|All Packages
A
- adapt(Location) - Static method in class kr.toxicity.model.api.bukkit.platform.BukkitAdapter
-
Adapts a Bukkit location to a
PlatformLocation. - adapt(OfflinePlayer) - Static method in class kr.toxicity.model.api.bukkit.platform.BukkitAdapter
-
Adapts a Bukkit offline player to a
PlatformOfflinePlayer. - adapt(World) - Static method in class kr.toxicity.model.api.bukkit.platform.BukkitAdapter
-
Adapts a Bukkit world to a
PlatformWorld. - adapt(Entity) - Static method in class kr.toxicity.model.api.bukkit.platform.BukkitAdapter
-
Adapts a Bukkit entity to a
PlatformEntity. - adapt(LivingEntity) - Static method in class kr.toxicity.model.api.bukkit.platform.BukkitAdapter
-
Adapts a Bukkit living entity to a
PlatformLivingEntity. - adapt(Player) - Static method in class kr.toxicity.model.api.bukkit.platform.BukkitAdapter
-
Adapts a Bukkit player to a
PlatformPlayer. - adapt(ItemStack) - Static method in class kr.toxicity.model.api.bukkit.platform.BukkitAdapter
-
Adapts a Bukkit item stack to a
PlatformItemStack. - adapter() - Method in interface kr.toxicity.model.api.bukkit.BetterModelBukkit
-
Returns the Bukkit-specific adapter.
- add(double, double, double) - Method in record class kr.toxicity.model.api.bukkit.platform.BukkitLocation
- air() - Method in class kr.toxicity.model.api.bukkit.platform.BukkitAdapter
- as(Class) - Method in class kr.toxicity.model.api.bukkit.event.BetterModelBukkitEvent
-
Casts the wrapped event to the specified class if possible.
- as(Class, Consumer) - Method in class kr.toxicity.model.api.bukkit.event.BetterModelBukkitEvent
-
Executes a consumer if the wrapped event is of the specified type.
B
- BaseBukkitEntity - Interface in kr.toxicity.model.api.bukkit.entity
-
Represents a Bukkit-specific entity adapter.
- BaseBukkitPlayer - Interface in kr.toxicity.model.api.bukkit.entity
-
Represents a Bukkit-specific player adapter.
- BetterModelBukkit - Interface in kr.toxicity.model.api.bukkit
-
Represents the Bukkit-specific platform interface for BetterModel.
- BetterModelBukkitEvent - Class in kr.toxicity.model.api.bukkit.event
-
A wrapper class that adapts
ModelEventto Bukkit'sEventsystem. - BetterModelBukkitEvent(Class, Supplier) - Constructor for class kr.toxicity.model.api.bukkit.event.BetterModelBukkitEvent
-
Creates a new BetterModelBukkitEvent.
- BukkitAdapter - Class in kr.toxicity.model.api.bukkit.platform
-
Provides an adapter for converting Bukkit objects to BetterModel platform objects.
- BukkitAdapter() - Constructor for class kr.toxicity.model.api.bukkit.platform.BukkitAdapter
- BukkitEntity - Class in kr.toxicity.model.api.bukkit.platform
-
Represents a Bukkit entity wrapped as a
PlatformEntity. - BukkitEntity(Entity) - Constructor for class kr.toxicity.model.api.bukkit.platform.BukkitEntity
-
Creates a new BukkitEntity wrapper.
- BukkitEventApplication - Record Class in kr.toxicity.model.api.bukkit.event
-
An implementation of
ModelEventApplicationfor Bukkit plugins. - BukkitEventApplication(String, WeakReference) - Constructor for record class kr.toxicity.model.api.bukkit.event.BukkitEventApplication
-
Creates an instance of a
BukkitEventApplicationrecord class. - BukkitItemStack - Record Class in kr.toxicity.model.api.bukkit.platform
-
Represents a Bukkit item stack wrapped as a
PlatformItemStack. - BukkitItemStack(ItemStack) - Constructor for record class kr.toxicity.model.api.bukkit.platform.BukkitItemStack
-
Creates an instance of a
BukkitItemStackrecord class. - BukkitLivingEntity - Class in kr.toxicity.model.api.bukkit.platform
-
Represents a Bukkit living entity wrapped as a
PlatformLivingEntity. - BukkitLivingEntity(LivingEntity) - Constructor for class kr.toxicity.model.api.bukkit.platform.BukkitLivingEntity
-
Creates a new BukkitLivingEntity wrapper.
- BukkitLocation - Record Class in kr.toxicity.model.api.bukkit.platform
-
Represents a Bukkit location wrapped as a
PlatformLocation. - BukkitLocation(Location) - Constructor for record class kr.toxicity.model.api.bukkit.platform.BukkitLocation
-
Creates an instance of a
BukkitLocationrecord class. - BukkitModelEventBus - Interface in kr.toxicity.model.api.bukkit
-
A Bukkit-specific extension of the
BetterModelEventBus. - BukkitModelScheduler - Interface in kr.toxicity.model.api.bukkit.scheduler
-
Represents a Bukkit-specific scheduler for model tasks.
- BukkitOfflinePlayer - Record Class in kr.toxicity.model.api.bukkit.platform
-
Represents a Bukkit offline player wrapped as a
PlatformOfflinePlayer. - BukkitOfflinePlayer(OfflinePlayer) - Constructor for record class kr.toxicity.model.api.bukkit.platform.BukkitOfflinePlayer
-
Creates an instance of a
BukkitOfflinePlayerrecord class. - BukkitPlayer - Class in kr.toxicity.model.api.bukkit.platform
-
Represents a Bukkit player wrapped as a
PlatformPlayer. - BukkitPlayer(Player) - Constructor for class kr.toxicity.model.api.bukkit.platform.BukkitPlayer
-
Creates a new BukkitPlayer wrapper.
- BukkitWorld - Record Class in kr.toxicity.model.api.bukkit.platform
-
Represents a Bukkit world wrapped as a
PlatformWorld. - BukkitWorld(World) - Constructor for record class kr.toxicity.model.api.bukkit.platform.BukkitWorld
-
Creates an instance of a
BukkitWorldrecord class.
C
- clone() - Method in record class kr.toxicity.model.api.bukkit.platform.BukkitItemStack
E
- enchant(boolean) - Method in record class kr.toxicity.model.api.bukkit.platform.BukkitItemStack
- entity() - Method in interface kr.toxicity.model.api.bukkit.entity.BaseBukkitEntity
-
Returns the underlying Bukkit entity.
- entity() - Method in interface kr.toxicity.model.api.bukkit.entity.BaseBukkitPlayer
-
Returns the underlying Bukkit player.
- equals(Object) - Method in record class kr.toxicity.model.api.bukkit.event.BukkitEventApplication
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class kr.toxicity.model.api.bukkit.platform.BukkitItemStack
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class kr.toxicity.model.api.bukkit.platform.BukkitLocation
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class kr.toxicity.model.api.bukkit.platform.BukkitOfflinePlayer
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class kr.toxicity.model.api.bukkit.platform.BukkitWorld
-
Indicates whether some other object is "equal to" this one.
- eventBus() - Method in interface kr.toxicity.model.api.bukkit.BetterModelBukkit
-
Returns the Bukkit-specific event bus.
- eyeLocation() - Method in class kr.toxicity.model.api.bukkit.platform.BukkitLivingEntity
G
- getHandlerList() - Static method in class kr.toxicity.model.api.bukkit.event.BetterModelBukkitEvent
-
Returns the handler list for this event.
- getHandlers() - Method in class kr.toxicity.model.api.bukkit.event.BetterModelBukkitEvent
H
- hashCode() - Method in record class kr.toxicity.model.api.bukkit.event.BukkitEventApplication
-
Returns a hash code value for this object.
- hashCode() - Method in record class kr.toxicity.model.api.bukkit.platform.BukkitItemStack
-
Returns a hash code value for this object.
- hashCode() - Method in record class kr.toxicity.model.api.bukkit.platform.BukkitLocation
-
Returns a hash code value for this object.
- hashCode() - Method in record class kr.toxicity.model.api.bukkit.platform.BukkitOfflinePlayer
-
Returns a hash code value for this object.
- hashCode() - Method in record class kr.toxicity.model.api.bukkit.platform.BukkitWorld
-
Returns a hash code value for this object.
I
- is(Class) - Method in class kr.toxicity.model.api.bukkit.event.BetterModelBukkitEvent
-
Checks if the wrapped event is an instance of the specified class.
- IS_FOLIA - Static variable in interface kr.toxicity.model.api.bukkit.BetterModelBukkit
-
Checks if the server is running on the Folia platform.
- IS_PAPER - Static variable in interface kr.toxicity.model.api.bukkit.BetterModelBukkit
-
Checks if the server is running on the Paper platform (or a fork like Purpur/Folia).
- IS_PURPUR - Static variable in interface kr.toxicity.model.api.bukkit.BetterModelBukkit
-
Checks if the server is running on the Purpur platform.
- isAir() - Method in record class kr.toxicity.model.api.bukkit.platform.BukkitItemStack
- isEnabled() - Method in record class kr.toxicity.model.api.bukkit.event.BukkitEventApplication
- isRegionSafe() - Method in class kr.toxicity.model.api.bukkit.platform.BukkitAdapter
- isTickThread() - Method in class kr.toxicity.model.api.bukkit.platform.BukkitAdapter
K
- kr.toxicity.model.api.bukkit - package kr.toxicity.model.api.bukkit
- kr.toxicity.model.api.bukkit.entity - package kr.toxicity.model.api.bukkit.entity
- kr.toxicity.model.api.bukkit.event - package kr.toxicity.model.api.bukkit.event
- kr.toxicity.model.api.bukkit.platform - package kr.toxicity.model.api.bukkit.platform
- kr.toxicity.model.api.bukkit.scheduler - package kr.toxicity.model.api.bukkit.scheduler
L
- location() - Method in class kr.toxicity.model.api.bukkit.platform.BukkitEntity
M
- mainHand() - Method in interface kr.toxicity.model.api.bukkit.entity.BaseBukkitEntity
-
Returns the item in the entity's main hand.
- modelData() - Method in interface kr.toxicity.model.api.bukkit.entity.BaseBukkitEntity
-
Retrieves the model data stored in the entity's persistent data container.
- modelData(int, PlatformNamespace) - Method in record class kr.toxicity.model.api.bukkit.platform.BukkitItemStack
- modelData(String) - Method in interface kr.toxicity.model.api.bukkit.entity.BaseBukkitEntity
-
Stores the model data in the entity's persistent data container.
N
- name() - Method in record class kr.toxicity.model.api.bukkit.event.BukkitEventApplication
-
Returns the value of the
namerecord component. - name() - Method in record class kr.toxicity.model.api.bukkit.platform.BukkitOfflinePlayer
- name() - Method in class kr.toxicity.model.api.bukkit.platform.BukkitPlayer
O
- of(Plugin) - Static method in record class kr.toxicity.model.api.bukkit.event.BukkitEventApplication
-
Creates a new BukkitEventApplication for the given plugin.
- offHand() - Method in interface kr.toxicity.model.api.bukkit.entity.BaseBukkitEntity
-
Returns the item in the entity's offhand.
- offlinePlayer(UUID) - Method in class kr.toxicity.model.api.bukkit.platform.BukkitAdapter
P
- pitch() - Method in record class kr.toxicity.model.api.bukkit.platform.BukkitLocation
- platform() - Static method in interface kr.toxicity.model.api.bukkit.BetterModelBukkit
-
Returns the current
BetterModelBukkitinstance. - player(UUID) - Method in class kr.toxicity.model.api.bukkit.platform.BukkitAdapter
- pluginRef() - Method in record class kr.toxicity.model.api.bukkit.event.BukkitEventApplication
-
Returns the value of the
pluginRefrecord component.
S
- scheduler() - Method in interface kr.toxicity.model.api.bukkit.BetterModelBukkit
-
Returns the Bukkit-specific scheduler.
- serverViewDistance() - Method in class kr.toxicity.model.api.bukkit.platform.BukkitAdapter
- source() - Method in class kr.toxicity.model.api.bukkit.event.BetterModelBukkitEvent
-
Returns the underlying model event, if initialized.
- source() - Method in class kr.toxicity.model.api.bukkit.platform.BukkitEntity
-
Returns the underlying Bukkit entity.
- source() - Method in record class kr.toxicity.model.api.bukkit.platform.BukkitItemStack
-
Returns the value of the
sourcerecord component. - source() - Method in class kr.toxicity.model.api.bukkit.platform.BukkitLivingEntity
-
Returns the underlying Bukkit living entity.
- source() - Method in record class kr.toxicity.model.api.bukkit.platform.BukkitLocation
-
Returns the value of the
sourcerecord component. - source() - Method in record class kr.toxicity.model.api.bukkit.platform.BukkitOfflinePlayer
-
Returns the value of the
sourcerecord component. - source() - Method in class kr.toxicity.model.api.bukkit.platform.BukkitPlayer
-
Returns the underlying Bukkit player.
- source() - Method in record class kr.toxicity.model.api.bukkit.platform.BukkitWorld
-
Returns the value of the
sourcerecord component. - subscribe(Plugin, Class, Consumer) - Method in interface kr.toxicity.model.api.bukkit.BukkitModelEventBus
-
Subscribes a consumer to a specific event type, associated with a Bukkit plugin.
T
- task(Runnable) - Method in record class kr.toxicity.model.api.bukkit.platform.BukkitLocation
- task(Location, Runnable) - Method in interface kr.toxicity.model.api.bukkit.scheduler.BukkitModelScheduler
-
Schedules a task to run on the next tick, synchronized with the given location.
- taskLater(long, Runnable) - Method in record class kr.toxicity.model.api.bukkit.platform.BukkitLocation
- taskLater(Location, long, Runnable) - Method in interface kr.toxicity.model.api.bukkit.scheduler.BukkitModelScheduler
-
Schedules a task to run after a delay, synchronized with the given location.
- toString() - Method in record class kr.toxicity.model.api.bukkit.event.BukkitEventApplication
-
Returns a string representation of this record class.
- toString() - Method in record class kr.toxicity.model.api.bukkit.platform.BukkitItemStack
-
Returns a string representation of this record class.
- toString() - Method in record class kr.toxicity.model.api.bukkit.platform.BukkitLocation
-
Returns a string representation of this record class.
- toString() - Method in record class kr.toxicity.model.api.bukkit.platform.BukkitOfflinePlayer
-
Returns a string representation of this record class.
- toString() - Method in record class kr.toxicity.model.api.bukkit.platform.BukkitWorld
-
Returns a string representation of this record class.
- TRACKING_ID - Static variable in interface kr.toxicity.model.api.bukkit.entity.BaseBukkitEntity
-
The namespaced key used for storing tracker data in the entity's persistent data container.
U
- uuid() - Method in class kr.toxicity.model.api.bukkit.platform.BukkitEntity
- uuid() - Method in record class kr.toxicity.model.api.bukkit.platform.BukkitOfflinePlayer
W
- world() - Method in record class kr.toxicity.model.api.bukkit.platform.BukkitLocation
X
- x() - Method in record class kr.toxicity.model.api.bukkit.platform.BukkitLocation
Y
- y() - Method in record class kr.toxicity.model.api.bukkit.platform.BukkitLocation
- yaw() - Method in record class kr.toxicity.model.api.bukkit.platform.BukkitLocation
Z
- z() - Method in record class kr.toxicity.model.api.bukkit.platform.BukkitLocation
- zero() - Method in class kr.toxicity.model.api.bukkit.platform.BukkitAdapter
All Classes and Interfaces|All Packages