Index
All Classes|All Packages|Deprecated API|Serialized Form
A
- address() - Method in interface org.geysermc.geyser.api.event.connection.GeyserBedrockPingEvent
-
Gets the
InetSocketAddressof the client pinging us. - address() - Method in interface org.geysermc.geyser.api.network.BedrockListener
-
Gets the address used for listening for Bedrock connections from.
- address() - Method in interface org.geysermc.geyser.api.network.RemoteServer
-
Gets the IP address of the remote server.
- aliases() - Method in interface org.geysermc.geyser.api.command.Command
-
Gets the aliases for this command.
- aliases(List<String>) - Method in interface org.geysermc.geyser.api.command.Command.Builder
-
Sets the aliases.
- allowOffhand() - Method in interface org.geysermc.geyser.api.item.custom.CustomItemData
-
Gets if the item is allowed to be put into the offhand.
- allowOffhand(boolean) - Method in interface org.geysermc.geyser.api.item.custom.CustomItemData.Builder
- allowOffhand(boolean) - Method in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
- api() - Static method in interface org.geysermc.geyser.api.GeyserApi
-
Gets the current
GeyserApiBaseinstance. - apiVersion() - Method in interface org.geysermc.geyser.api.extension.ExtensionDescription
-
Gets the extension's api version.
- armorType() - Method in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData
-
Gets the armor type of the item.
- armorType(String) - Method in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
- authors() - Method in interface org.geysermc.geyser.api.extension.ExtensionDescription
-
Gets the extension's authors.
- authType() - Method in interface org.geysermc.geyser.api.network.RemoteServer
-
Gets the
AuthTyperequired by the remote server. - AuthType - Enum Class in org.geysermc.geyser.api.network
-
The authentication types that a Java server can be on connection.
B
- bedrockListener() - Method in interface org.geysermc.geyser.api.GeyserApi
-
Gets the
BedrockListenerused for listening for Minecraft: Bedrock Edition client connections. - BedrockListener - Interface in org.geysermc.geyser.api.network
-
The listener that handles connections from Minecraft: Bedrock Edition.
- bedrockOnly(boolean) - Method in interface org.geysermc.geyser.api.command.Command.Builder
-
Sets if this command is bedrock only.
- build() - Method in interface org.geysermc.geyser.api.command.Command.Builder
-
Builds the command.
- build() - Method in interface org.geysermc.geyser.api.item.custom.CustomItemData.Builder
- build() - Method in interface org.geysermc.geyser.api.item.custom.CustomItemOptions.Builder
- build() - Method in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
- builder() - Static method in interface org.geysermc.geyser.api.item.custom.CustomItemData
- builder() - Static method in interface org.geysermc.geyser.api.item.custom.CustomItemOptions
- builder() - Static method in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData
- builder(Extension) - Static method in interface org.geysermc.geyser.api.command.Command
-
Creates a new
Command.Builderused to construct commands.
C
- canAlwaysEat() - Method in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData
-
Gets if the food item can always be eaten.
- canAlwaysEat(boolean) - Method in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
- chargeable(boolean) - Method in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
- ClientEmoteEvent - Class in org.geysermc.geyser.api.event.bedrock
-
Called whenever a Bedrock player performs an emote on their end, before it is broadcasted to the rest of the server.
- ClientEmoteEvent(GeyserConnection, String) - Constructor for class org.geysermc.geyser.api.event.bedrock.ClientEmoteEvent
- Command - Interface in org.geysermc.geyser.api.command
-
Represents a command.
- Command.Builder<T extends CommandSource> - Interface in org.geysermc.geyser.api.command
- CommandExecutor<T extends CommandSource> - Interface in org.geysermc.geyser.api.command
-
Handles executing a command.
- commands() - Method in class org.geysermc.geyser.api.event.downstream.ServerDefineCommandsEvent
-
Deprecated.A collection of commands sent from the server.
- commands() - Method in class org.geysermc.geyser.api.event.java.ServerDefineCommandsEvent
-
A collection of commands sent from the server.
- commands() - Method in interface org.geysermc.geyser.api.event.lifecycle.GeyserDefineCommandsEvent
-
Gets all the registered built-in
Commands. - CommandSource - Interface in org.geysermc.geyser.api.command
-
Represents an instance capable of sending commands.
- connection() - Method in class org.geysermc.geyser.api.event.connection.ConnectionEvent
-
Gets the
GeyserConnection. - connectionByUuid(UUID) - Method in interface org.geysermc.geyser.api.GeyserApi
- connectionByXuid(String) - Method in interface org.geysermc.geyser.api.GeyserApi
- ConnectionEvent - Class in org.geysermc.geyser.api.event.connection
-
An event that contains a
GeyserConnection. - ConnectionEvent(GeyserConnection) - Constructor for class org.geysermc.geyser.api.event.connection.ConnectionEvent
- creativeCategory() - Method in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData
-
Gets the item's creative category, or tab id.
- creativeCategory(int) - Method in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
- creativeGroup() - Method in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData
-
Gets the item's creative group.
- creativeGroup(String) - Method in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
- CustomItemData - Interface in org.geysermc.geyser.api.item.custom
-
This is used to store data for a custom item.
- CustomItemData.Builder - Interface in org.geysermc.geyser.api.item.custom
- customItemOptions() - Method in interface org.geysermc.geyser.api.item.custom.CustomItemData
-
Gets the custom item options of the item.
- customItemOptions(CustomItemOptions) - Method in interface org.geysermc.geyser.api.item.custom.CustomItemData.Builder
- customItemOptions(CustomItemOptions) - Method in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
- CustomItemOptions - Interface in org.geysermc.geyser.api.item.custom
-
This class represents the different ways you can register custom items
- CustomItemOptions.Builder - Interface in org.geysermc.geyser.api.item.custom
- customModelData() - Method in interface org.geysermc.geyser.api.item.custom.CustomItemOptions
-
Gets the item's custom model data predicate.
- customModelData(int) - Method in interface org.geysermc.geyser.api.item.custom.CustomItemOptions.Builder
- CustomRenderOffsets - Record Class in org.geysermc.geyser.api.item.custom
-
This class is used to store the render offsets of custom items.
- CustomRenderOffsets(CustomRenderOffsets.Hand, CustomRenderOffsets.Hand) - Constructor for record class org.geysermc.geyser.api.item.custom.CustomRenderOffsets
-
Creates an instance of a
CustomRenderOffsetsrecord class. - CustomRenderOffsets.Hand - Record Class in org.geysermc.geyser.api.item.custom
-
The hand that is used for the offset.
- CustomRenderOffsets.Offset - Record Class in org.geysermc.geyser.api.item.custom
-
The offset of the item.
- CustomRenderOffsets.OffsetXYZ - Record Class in org.geysermc.geyser.api.item.custom
-
X, Y and Z positions for the offset.
D
- damagePredicate() - Method in interface org.geysermc.geyser.api.item.custom.CustomItemOptions
-
Gets the item's damage predicate.
- damagePredicate(int) - Method in interface org.geysermc.geyser.api.item.custom.CustomItemOptions.Builder
- dataFolder() - Method in interface org.geysermc.geyser.api.extension.Extension
-
Gets the extension's data folder
- dataFolder(Extension) - Method in class org.geysermc.geyser.api.extension.ExtensionLoader
-
Gets the given
Extension's data folder. - debug(String) - Method in interface org.geysermc.geyser.api.extension.ExtensionLogger
-
Logs a debug message to console
- defaultItem() - Method in interface org.geysermc.geyser.api.item.custom.CustomItemOptions
-
Gets if this mapping should just translate to the default item.
- defaultItem(boolean) - Method in interface org.geysermc.geyser.api.item.custom.CustomItemOptions.Builder
- defaultRemoteServer() - Method in interface org.geysermc.geyser.api.GeyserApi
-
Gets the default
RemoteServerconfigured within the config file that is used by default. - description() - Method in interface org.geysermc.geyser.api.command.Command
-
Gets the command description.
- description() - Method in interface org.geysermc.geyser.api.event.downstream.ServerDefineCommandsEvent.CommandInfo
-
Deprecated.Gets the description of the command.
- description() - Method in interface org.geysermc.geyser.api.event.java.ServerDefineCommandsEvent.CommandInfo
-
Gets the description of the command.
- description() - Method in interface org.geysermc.geyser.api.extension.Extension
-
Gets this extension's
ExtensionDescription. - description(String) - Method in interface org.geysermc.geyser.api.command.Command.Builder
-
Sets the command description.
- description(Extension) - Method in class org.geysermc.geyser.api.extension.ExtensionLoader
-
Gets the given
Extension'sExtensionDescription. - disable() - Method in interface org.geysermc.geyser.api.extension.Extension
-
Disable the extension.
- disable(Extension) - Method in class org.geysermc.geyser.api.extension.ExtensionManager
-
Disables the given
Extension. - displayHandheld() - Method in interface org.geysermc.geyser.api.item.custom.CustomItemData
-
Gets if the item should be displayed as handheld, like a tool.
- displayHandheld(boolean) - Method in interface org.geysermc.geyser.api.item.custom.CustomItemData.Builder
- displayHandheld(boolean) - Method in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
- displayName() - Method in interface org.geysermc.geyser.api.item.custom.CustomItemData
-
Gets the item's display name.
- displayName(String) - Method in interface org.geysermc.geyser.api.item.custom.CustomItemData.Builder
- displayName(String) - Method in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
E
- edible(boolean) - Method in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
- emoteId() - Method in class org.geysermc.geyser.api.event.bedrock.ClientEmoteEvent
- enable(Extension) - Method in class org.geysermc.geyser.api.extension.ExtensionManager
-
Enables the given
Extension. - entityByJavaId(@org.checkerframework.checker.index.qual.NonNegative int) - Method in interface org.geysermc.geyser.api.connection.GeyserConnection
- equals(Object) - Method in record class org.geysermc.geyser.api.event.lifecycle.GeyserLoadResourcePacksEvent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.geysermc.geyser.api.event.lifecycle.GeyserPostInitializeEvent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.geysermc.geyser.api.event.lifecycle.GeyserPreInitializeEvent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.geysermc.geyser.api.event.lifecycle.GeyserShutdownEvent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.geysermc.geyser.api.item.custom.CustomRenderOffsets
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.geysermc.geyser.api.item.custom.CustomRenderOffsets.Hand
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.geysermc.geyser.api.item.custom.CustomRenderOffsets.Offset
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.geysermc.geyser.api.item.custom.CustomRenderOffsets.OffsetXYZ
-
Indicates whether some other object is "equal to" this one.
- error(String) - Method in interface org.geysermc.geyser.api.extension.ExtensionLogger
-
Logs an error message to console
- error(String, Throwable) - Method in interface org.geysermc.geyser.api.extension.ExtensionLogger
-
Logs an error message and an exception to console
- eventBus() - Method in record class org.geysermc.geyser.api.event.lifecycle.GeyserPostInitializeEvent
-
Returns the value of the
eventBusrecord component. - eventBus() - Method in record class org.geysermc.geyser.api.event.lifecycle.GeyserPreInitializeEvent
-
Returns the value of the
eventBusrecord component. - eventBus() - Method in record class org.geysermc.geyser.api.event.lifecycle.GeyserShutdownEvent
-
Returns the value of the
eventBusrecord component. - eventBus() - Method in interface org.geysermc.geyser.api.extension.Extension
-
Gets the
ExtensionEventBus. - eventBus() - Method in interface org.geysermc.geyser.api.GeyserApi
-
Gets the
EventBusfor handling Geyser events. - eventBus(Extension) - Method in class org.geysermc.geyser.api.extension.ExtensionLoader
-
Gets the given
Extension'sExtensionEventBus. - EventBus<R extends EventRegistrar> - Interface in org.geysermc.geyser.api.event
-
Represents a bus capable of subscribing or "listening" to events and firing them.
- EventRegistrar - Interface in org.geysermc.geyser.api.event
-
Represents an owner for an event that allows it to be registered through an
EventBus. - EventSubscriber<R extends EventRegistrar,T extends org.geysermc.event.Event> - Interface in org.geysermc.geyser.api.event
-
Represents a subscribed listener to a
Event. - executableOnConsole(boolean) - Method in interface org.geysermc.geyser.api.command.Command.Builder
-
Sets if this command is executable on console.
- execute(T, Command, String[]) - Method in interface org.geysermc.geyser.api.command.CommandExecutor
-
Executes the given
Commandwith the givenCommandSource. - executor(CommandExecutor<T>) - Method in interface org.geysermc.geyser.api.command.Command.Builder
-
Sets the
CommandExecutorfor this command. - extension(String) - Method in class org.geysermc.geyser.api.extension.ExtensionManager
-
Gets an extension with the given name.
- Extension - Interface in org.geysermc.geyser.api.extension
-
Represents an extension within Geyser.
- ExtensionDescription - Interface in org.geysermc.geyser.api.extension
-
Represents the description of an
Extension. - ExtensionEventBus - Interface in org.geysermc.geyser.api.event
-
An
EventBuswith additional methods that implicitly set the extension instance. - ExtensionEventSubscriber<T extends org.geysermc.event.Event> - Interface in org.geysermc.geyser.api.event
- extensionLoader() - Method in interface org.geysermc.geyser.api.extension.Extension
-
Gets the
ExtensionLoader. - extensionLoader() - Method in class org.geysermc.geyser.api.extension.ExtensionManager
-
Gets the
ExtensionLoader. - ExtensionLoader - Class in org.geysermc.geyser.api.extension
-
The extension loader is responsible for loading, unloading, enabling and disabling extensions
- ExtensionLoader() - Constructor for class org.geysermc.geyser.api.extension.ExtensionLoader
- ExtensionLogger - Interface in org.geysermc.geyser.api.extension
-
This is the Geyser extension logger
- extensionManager() - Method in record class org.geysermc.geyser.api.event.lifecycle.GeyserPostInitializeEvent
-
Returns the value of the
extensionManagerrecord component. - extensionManager() - Method in record class org.geysermc.geyser.api.event.lifecycle.GeyserPreInitializeEvent
-
Returns the value of the
extensionManagerrecord component. - extensionManager() - Method in record class org.geysermc.geyser.api.event.lifecycle.GeyserShutdownEvent
-
Returns the value of the
extensionManagerrecord component. - extensionManager() - Method in interface org.geysermc.geyser.api.extension.Extension
-
Gets the
ExtensionManager. - extensionManager() - Method in interface org.geysermc.geyser.api.GeyserApi
-
Gets the
ExtensionManager. - ExtensionManager - Class in org.geysermc.geyser.api.extension
-
Manages Geyser
Extensions - ExtensionManager() - Constructor for class org.geysermc.geyser.api.extension.ExtensionManager
- extensions() - Method in class org.geysermc.geyser.api.extension.ExtensionManager
-
Gets all the
Extensions currently loaded.
F
- FALSE - Enum constant in enum class org.geysermc.geyser.api.util.TriState
-
Describes a false value.
- firstPerson() - Method in record class org.geysermc.geyser.api.item.custom.CustomRenderOffsets.Hand
-
Returns the value of the
firstPersonrecord component. - FLOODGATE - Enum constant in enum class org.geysermc.geyser.api.network.AuthType
-
The internal name for connecting to an online mode server without needing a Java account.
- foil(boolean) - Method in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
- fromBoolean(boolean) - Static method in enum class org.geysermc.geyser.api.util.TriState
-
Creates a TriState from a primitive boolean.
- fromBoolean(Boolean) - Static method in enum class org.geysermc.geyser.api.util.TriState
-
Creates a TriState from a boolean.
G
- getByName(String) - Static method in enum class org.geysermc.geyser.api.network.AuthType
-
Convert the AuthType string (from config) to the enum, ONLINE on fail
- getExistingCustomItems() - Method in interface org.geysermc.geyser.api.event.lifecycle.GeyserDefineCustomItemsEvent
-
Gets a multimap of all the already registered custom items indexed by the item's extended java item's identifier.
- getExistingNonVanillaCustomItems() - Method in interface org.geysermc.geyser.api.event.lifecycle.GeyserDefineCustomItemsEvent
-
Gets the list of the already registered non-vanilla custom items.
- geyserApi() - Method in interface org.geysermc.geyser.api.extension.Extension
-
Gets the
GeyserApiBaseinstance - GeyserApi - Interface in org.geysermc.geyser.api
-
Represents the API used in Geyser.
- GeyserBedrockPingEvent - Interface in org.geysermc.geyser.api.event.connection
-
Called whenever Geyser gets pinged This event allows you to modify/obtain the MOTD, maximum player count, and current number of players online, Geyser will reply to the client with what was given.
- GeyserConnection - Interface in org.geysermc.geyser.api.connection
-
Represents a player connection used in Geyser.
- GeyserDefineCommandsEvent - Interface in org.geysermc.geyser.api.event.lifecycle
-
Called when commands are defined within Geyser.
- GeyserDefineCustomItemsEvent - Interface in org.geysermc.geyser.api.event.lifecycle
-
Called on Geyser's startup when looking for custom items.
- GeyserEntity - Interface in org.geysermc.geyser.api.entity.type
-
Represents a unique instance of an entity.
- GeyserLoadResourcePacksEvent - Record Class in org.geysermc.geyser.api.event.lifecycle
-
Called when resource packs are loaded within Geyser.
- GeyserLoadResourcePacksEvent(List<Path>) - Constructor for record class org.geysermc.geyser.api.event.lifecycle.GeyserLoadResourcePacksEvent
-
Creates an instance of a
GeyserLoadResourcePacksEventrecord class. - GeyserPlayerEntity - Interface in org.geysermc.geyser.api.entity.type.player
- GeyserPostInitializeEvent - Record Class in org.geysermc.geyser.api.event.lifecycle
-
Called when Geyser has completed initializing.
- GeyserPostInitializeEvent(ExtensionManager, EventBus<EventRegistrar>) - Constructor for record class org.geysermc.geyser.api.event.lifecycle.GeyserPostInitializeEvent
-
Creates an instance of a
GeyserPostInitializeEventrecord class. - GeyserPreInitializeEvent - Record Class in org.geysermc.geyser.api.event.lifecycle
-
Called when Geyser is starting to initialize.
- GeyserPreInitializeEvent(ExtensionManager, EventBus<EventRegistrar>) - Constructor for record class org.geysermc.geyser.api.event.lifecycle.GeyserPreInitializeEvent
-
Creates an instance of a
GeyserPreInitializeEventrecord class. - GeyserShutdownEvent - Record Class in org.geysermc.geyser.api.event.lifecycle
-
Called when Geyser is shutting down.
- GeyserShutdownEvent(ExtensionManager, EventBus<EventRegistrar>) - Constructor for record class org.geysermc.geyser.api.event.lifecycle.GeyserShutdownEvent
-
Creates an instance of a
GeyserShutdownEventrecord class.
H
- Hand(CustomRenderOffsets.Offset, CustomRenderOffsets.Offset) - Constructor for record class org.geysermc.geyser.api.item.custom.CustomRenderOffsets.Hand
-
Creates an instance of a
Handrecord class. - hasCustomItemOptions() - Method in interface org.geysermc.geyser.api.item.custom.CustomItemOptions
-
Checks if the item has at least one option set
- hashCode() - Method in record class org.geysermc.geyser.api.event.lifecycle.GeyserLoadResourcePacksEvent
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.geysermc.geyser.api.event.lifecycle.GeyserPostInitializeEvent
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.geysermc.geyser.api.event.lifecycle.GeyserPreInitializeEvent
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.geysermc.geyser.api.event.lifecycle.GeyserShutdownEvent
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.geysermc.geyser.api.item.custom.CustomRenderOffsets.Hand
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.geysermc.geyser.api.item.custom.CustomRenderOffsets
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.geysermc.geyser.api.item.custom.CustomRenderOffsets.Offset
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.geysermc.geyser.api.item.custom.CustomRenderOffsets.OffsetXYZ
-
Returns a hash code value for this object.
- hasPermission(String) - Method in interface org.geysermc.geyser.api.command.CommandSource
-
Checks if this command source has the given permission
- hat(boolean) - Method in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
I
- icon() - Method in interface org.geysermc.geyser.api.item.custom.CustomItemData
-
Gets the item's icon.
- icon(String) - Method in interface org.geysermc.geyser.api.item.custom.CustomItemData.Builder
- icon(String) - Method in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
- id() - Method in interface org.geysermc.geyser.api.extension.ExtensionDescription
-
Gets the extension's id.
- identifier() - Method in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData
-
Gets the java identifier for this item.
- identifier(String) - Method in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
- info(String) - Method in interface org.geysermc.geyser.api.extension.ExtensionLogger
-
Logs an info message to console
- InvalidDescriptionException - Exception in org.geysermc.geyser.api.extension.exception
-
Thrown when an extension's description is invalid.
- InvalidDescriptionException(String) - Constructor for exception org.geysermc.geyser.api.extension.exception.InvalidDescriptionException
- InvalidDescriptionException(String, Throwable) - Constructor for exception org.geysermc.geyser.api.extension.exception.InvalidDescriptionException
- InvalidDescriptionException(Throwable) - Constructor for exception org.geysermc.geyser.api.extension.exception.InvalidDescriptionException
- InvalidExtensionException - Exception in org.geysermc.geyser.api.extension.exception
-
Thrown when an extension is invalid.
- InvalidExtensionException(String) - Constructor for exception org.geysermc.geyser.api.extension.exception.InvalidExtensionException
- InvalidExtensionException(String, Throwable) - Constructor for exception org.geysermc.geyser.api.extension.exception.InvalidExtensionException
- InvalidExtensionException(Throwable) - Constructor for exception org.geysermc.geyser.api.extension.exception.InvalidExtensionException
- isBedrockOnly() - Method in interface org.geysermc.geyser.api.command.Command
-
Used to send a deny message to Java players if this command can only be used by Bedrock players.
- isCancelled() - Method in class org.geysermc.geyser.api.event.bedrock.ClientEmoteEvent
- isCancelled() - Method in class org.geysermc.geyser.api.event.downstream.ServerDefineCommandsEvent
-
Deprecated.
- isCancelled() - Method in class org.geysermc.geyser.api.event.java.ServerDefineCommandsEvent
- isChargeable() - Method in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData
-
Gets if the item is chargable, like a bow.
- isConsole() - Method in interface org.geysermc.geyser.api.command.CommandSource
-
If this source is the console.
- isDebug() - Method in interface org.geysermc.geyser.api.extension.ExtensionLogger
-
If debug is enabled for this logger
- isEdible() - Method in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData
-
Gets if the item is edible.
- isEnabled() - Method in interface org.geysermc.geyser.api.extension.Extension
-
Gets if the extension is enabled
- isEnabled(Extension) - Method in class org.geysermc.geyser.api.extension.ExtensionLoader
-
Gets if the given
Extensionis enabled. - isExecutableOnConsole() - Method in interface org.geysermc.geyser.api.command.Command
-
Gets if this command is executable on console.
- isFoil() - Method in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData
-
Gets if the item is a foil.
- isHat() - Method in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData
-
Gets if the item is a hat.
- isSuggestedOpOnly() - Method in interface org.geysermc.geyser.api.command.Command
-
Gets if this command is designed to be used only by server operators.
- isTool() - Method in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData
-
Deprecated.
J
- javaId() - Method in interface org.geysermc.geyser.api.entity.type.GeyserEntity
- javaId() - Method in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData
-
Gets the java item id of the item.
- javaId(@org.checkerframework.checker.index.qual.NonNegative int) - Method in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
L
- loadAllExtensions(ExtensionLoader) - Method in class org.geysermc.geyser.api.extension.ExtensionManager
-
Loads all extensions from the given
ExtensionLoader. - loadAllExtensions(ExtensionManager) - Method in class org.geysermc.geyser.api.extension.ExtensionLoader
-
Loads all extensions.
- locale() - Method in interface org.geysermc.geyser.api.command.CommandSource
-
Returns the locale of the command source.
- logger() - Method in interface org.geysermc.geyser.api.extension.Extension
-
Gets the extension's logger
- logger(Extension) - Method in class org.geysermc.geyser.api.extension.ExtensionLoader
-
Gets the
ExtensionLoggerfor the givenExtension.
M
- main() - Method in interface org.geysermc.geyser.api.extension.ExtensionDescription
-
Gets the extension's main class.
- mainHand() - Method in record class org.geysermc.geyser.api.item.custom.CustomRenderOffsets
-
Returns the value of the
mainHandrecord component. - majorApiVersion() - Method in interface org.geysermc.geyser.api.extension.ExtensionDescription
-
Gets the extension's major api version
- maxDamage() - Method in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData
-
Gets the max damage of the item.
- maxDamage(int) - Method in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
- maxPlayerCount() - Method in interface org.geysermc.geyser.api.event.connection.GeyserBedrockPingEvent
-
Gets the maximum number of players that can join this server
- maxPlayerCount(int) - Method in interface org.geysermc.geyser.api.event.connection.GeyserBedrockPingEvent
-
Sets the maximum number of players that can join this server, the given number cannot be below 1.
- minecraftVersion() - Method in interface org.geysermc.geyser.api.network.RemoteServer
-
Gets the Minecraft version of the remote server.
- minorApiVersion() - Method in interface org.geysermc.geyser.api.extension.ExtensionDescription
-
Gets the extension's minor api version
N
- name() - Method in interface org.geysermc.geyser.api.command.Command
-
Gets the command name.
- name() - Method in interface org.geysermc.geyser.api.command.CommandSource
-
The name of the command source.
- name() - Method in interface org.geysermc.geyser.api.event.downstream.ServerDefineCommandsEvent.CommandInfo
-
Deprecated.Gets the name of the command.
- name() - Method in interface org.geysermc.geyser.api.event.java.ServerDefineCommandsEvent.CommandInfo
-
Gets the name of the command.
- name() - Method in interface org.geysermc.geyser.api.extension.Extension
-
Gets the extension's name
- name() - Method in interface org.geysermc.geyser.api.extension.ExtensionDescription
-
Gets the extension's name.
- name() - Method in interface org.geysermc.geyser.api.item.custom.CustomItemData
-
Gets the item's name.
- name(String) - Method in interface org.geysermc.geyser.api.command.Command.Builder
-
Sets the command name.
- name(String) - Method in interface org.geysermc.geyser.api.item.custom.CustomItemData.Builder
-
Will also set the display name and icon to the provided parameter, if it is currently not set.
- name(String) - Method in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
- NonVanillaCustomItemData - Interface in org.geysermc.geyser.api.item.custom
-
Represents a completely custom item that is not based on an existing vanilla Minecraft item.
- NonVanillaCustomItemData.Builder - Interface in org.geysermc.geyser.api.item.custom
- NOT_SET - Enum constant in enum class org.geysermc.geyser.api.util.TriState
-
Describes a value that is not set, null, or not present.
O
- of(Object) - Static method in interface org.geysermc.geyser.api.event.EventRegistrar
-
Creates an
EventRegistrarinstance. - offhand() - Method in record class org.geysermc.geyser.api.item.custom.CustomRenderOffsets
-
Returns the value of the
offhandrecord component. - OFFLINE - Enum constant in enum class org.geysermc.geyser.api.network.AuthType
- Offset(CustomRenderOffsets.OffsetXYZ, CustomRenderOffsets.OffsetXYZ, CustomRenderOffsets.OffsetXYZ) - Constructor for record class org.geysermc.geyser.api.item.custom.CustomRenderOffsets.Offset
-
Creates an instance of a
Offsetrecord class. - OffsetXYZ(float, float, float) - Constructor for record class org.geysermc.geyser.api.item.custom.CustomRenderOffsets.OffsetXYZ
-
Creates an instance of a
OffsetXYZrecord class. - ONLINE - Enum constant in enum class org.geysermc.geyser.api.network.AuthType
- onlineConnections() - Method in interface org.geysermc.geyser.api.GeyserApi
- org.geysermc.geyser.api - package org.geysermc.geyser.api
- org.geysermc.geyser.api.command - package org.geysermc.geyser.api.command
- org.geysermc.geyser.api.connection - package org.geysermc.geyser.api.connection
- org.geysermc.geyser.api.entity.type - package org.geysermc.geyser.api.entity.type
- org.geysermc.geyser.api.entity.type.player - package org.geysermc.geyser.api.entity.type.player
- org.geysermc.geyser.api.event - package org.geysermc.geyser.api.event
- org.geysermc.geyser.api.event.bedrock - package org.geysermc.geyser.api.event.bedrock
- org.geysermc.geyser.api.event.connection - package org.geysermc.geyser.api.event.connection
- org.geysermc.geyser.api.event.downstream - package org.geysermc.geyser.api.event.downstream
- org.geysermc.geyser.api.event.java - package org.geysermc.geyser.api.event.java
- org.geysermc.geyser.api.event.lifecycle - package org.geysermc.geyser.api.event.lifecycle
- org.geysermc.geyser.api.extension - package org.geysermc.geyser.api.extension
- org.geysermc.geyser.api.extension.exception - package org.geysermc.geyser.api.extension.exception
- org.geysermc.geyser.api.item.custom - package org.geysermc.geyser.api.item.custom
- org.geysermc.geyser.api.network - package org.geysermc.geyser.api.network
- org.geysermc.geyser.api.util - package org.geysermc.geyser.api.util
P
- patchApiVersion() - Method in interface org.geysermc.geyser.api.extension.ExtensionDescription
-
Gets the extension's patch api version
- permission() - Method in interface org.geysermc.geyser.api.command.Command
-
Gets the permission node associated with this command.
- permission(String) - Method in interface org.geysermc.geyser.api.command.Command.Builder
-
Sets the permission node.
- playerCount() - Method in interface org.geysermc.geyser.api.event.connection.GeyserBedrockPingEvent
-
Gets the current number of players.
- playerCount(int) - Method in interface org.geysermc.geyser.api.event.connection.GeyserBedrockPingEvent
-
Sets how many players are currently online, the given number cannot be below 0.
- port() - Method in interface org.geysermc.geyser.api.network.BedrockListener
-
Gets the port used for listening for Bedrock connections from.
- port() - Method in interface org.geysermc.geyser.api.network.RemoteServer
-
Gets the port of the remote server.
- position() - Method in record class org.geysermc.geyser.api.item.custom.CustomRenderOffsets.Offset
-
Returns the value of the
positionrecord component. - prefix() - Method in interface org.geysermc.geyser.api.extension.ExtensionLogger
-
Get the logger prefix
- primaryMotd() - Method in interface org.geysermc.geyser.api.event.connection.GeyserBedrockPingEvent
-
Gets the primary motd.
- primaryMotd() - Method in interface org.geysermc.geyser.api.network.BedrockListener
-
Gets the primary MOTD shown to Bedrock players if a ping passthrough setting is not enabled.
- primaryMotd(String) - Method in interface org.geysermc.geyser.api.event.connection.GeyserBedrockPingEvent
-
Sets the given string as the primary motd, the given string cannot be null.
- protectionValue() - Method in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData
-
Gets the armor protection value of the item.
- protectionValue(int) - Method in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
- protocolVersion() - Method in interface org.geysermc.geyser.api.network.RemoteServer
-
Gets the protocol version of the remote server.
- provider(Class<T>, Object...) - Method in interface org.geysermc.geyser.api.GeyserApi
-
Provides an implementation for the specified API type.
R
- register(String, CustomItemData) - Method in interface org.geysermc.geyser.api.event.lifecycle.GeyserDefineCustomItemsEvent
-
Registers a custom item with a base Java item.
- register(Command) - Method in interface org.geysermc.geyser.api.event.lifecycle.GeyserDefineCommandsEvent
-
Registers the given
Commandinto the Geyser command manager. - register(Extension) - Method in class org.geysermc.geyser.api.extension.ExtensionManager
-
Registers an
Extensionwith the givenExtensionLoader. - register(Extension, ExtensionManager) - Method in class org.geysermc.geyser.api.extension.ExtensionLoader
-
Registers the given
Extensionwith the givenExtensionManager. - register(NonVanillaCustomItemData) - Method in interface org.geysermc.geyser.api.event.lifecycle.GeyserDefineCustomItemsEvent
-
Registers a custom item with no base item.
- RemoteServer - Interface in org.geysermc.geyser.api.network
-
Represents the Java server that Geyser is connecting to.
- renderOffsets() - Method in interface org.geysermc.geyser.api.item.custom.CustomItemData
-
Gets the item's render offsets.
- renderOffsets(CustomRenderOffsets) - Method in interface org.geysermc.geyser.api.item.custom.CustomItemData.Builder
- renderOffsets(CustomRenderOffsets) - Method in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
- repairMaterials() - Method in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData
-
Gets the repair materials of the item.
- repairMaterials(Set<String>) - Method in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
- resourcePacks() - Method in record class org.geysermc.geyser.api.event.lifecycle.GeyserLoadResourcePacksEvent
-
Returns the value of the
resourcePacksrecord component. - rotation() - Method in record class org.geysermc.geyser.api.item.custom.CustomRenderOffsets.Offset
-
Returns the value of the
rotationrecord component.
S
- scale() - Method in record class org.geysermc.geyser.api.item.custom.CustomRenderOffsets.Offset
-
Returns the value of the
scalerecord component. - secondaryMotd() - Method in interface org.geysermc.geyser.api.event.connection.GeyserBedrockPingEvent
-
Gets the secondary motd.
- secondaryMotd() - Method in interface org.geysermc.geyser.api.network.BedrockListener
-
Gets the secondary MOTD shown to Bedrock players if a ping passthrough setting is not enabled.
- secondaryMotd(String) - Method in interface org.geysermc.geyser.api.event.connection.GeyserBedrockPingEvent
-
Sets the given string as the secondary motd, the given string cannot be null.
- sendMessage(String) - Method in interface org.geysermc.geyser.api.command.CommandSource
-
Sends the given message to the command source
- sendMessage(String[]) - Method in interface org.geysermc.geyser.api.command.CommandSource
-
Sends the given messages to the command source
- ServerDefineCommandsEvent - Class in org.geysermc.geyser.api.event.downstream
-
Deprecated, for removal: This API element is subject to removal in a future version.please use
ServerDefineCommandsEvent. - ServerDefineCommandsEvent - Class in org.geysermc.geyser.api.event.java
-
Called when the Java server defines the commands available on the server.
- ServerDefineCommandsEvent(GeyserConnection, Set<? extends ServerDefineCommandsEvent.CommandInfo>) - Constructor for class org.geysermc.geyser.api.event.downstream.ServerDefineCommandsEvent
-
Deprecated.
- ServerDefineCommandsEvent(GeyserConnection, Set<? extends ServerDefineCommandsEvent.CommandInfo>) - Constructor for class org.geysermc.geyser.api.event.java.ServerDefineCommandsEvent
- ServerDefineCommandsEvent.CommandInfo - Interface in org.geysermc.geyser.api.event.downstream
-
Deprecated, for removal: This API element is subject to removal in a future version.
- ServerDefineCommandsEvent.CommandInfo - Interface in org.geysermc.geyser.api.event.java
- serverName() - Method in interface org.geysermc.geyser.api.network.BedrockListener
-
Gets the server name that is sent to Bedrock clients.
- SessionInitializeEvent - Class in org.geysermc.geyser.api.event.bedrock
-
Called when Geyser initialises a session for a new bedrock client.
- SessionInitializeEvent(GeyserConnection) - Constructor for class org.geysermc.geyser.api.event.bedrock.SessionInitializeEvent
- setCancelled(boolean) - Method in class org.geysermc.geyser.api.event.bedrock.ClientEmoteEvent
- setCancelled(boolean) - Method in class org.geysermc.geyser.api.event.downstream.ServerDefineCommandsEvent
-
Deprecated.
- setCancelled(boolean) - Method in class org.geysermc.geyser.api.event.java.ServerDefineCommandsEvent
- setEnabled(boolean) - Method in interface org.geysermc.geyser.api.extension.Extension
-
Enables or disables the extension
- setEnabled(Extension, boolean) - Method in class org.geysermc.geyser.api.extension.ExtensionLoader
-
Sets if the given
Extensionis enabled. - severe(String) - Method in interface org.geysermc.geyser.api.extension.ExtensionLogger
-
Logs a severe message to console
- severe(String, Throwable) - Method in interface org.geysermc.geyser.api.extension.ExtensionLogger
-
Logs a severe message and an exception to console
- showEmote(GeyserPlayerEntity, String) - Method in interface org.geysermc.geyser.api.connection.GeyserConnection
- source(Class<? extends T>) - Method in interface org.geysermc.geyser.api.command.Command.Builder
-
Defines the source type to use for this command.
- stackSize() - Method in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData
-
Gets the stack size of the item.
- stackSize(@org.checkerframework.checker.index.qual.NonNegative int) - Method in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
- subCommands() - Method in interface org.geysermc.geyser.api.command.Command
-
Gets the subcommands associated with this command.
- subCommands(List<String>) - Method in interface org.geysermc.geyser.api.command.Command.Builder
-
Sets the subcommands.
- subscribers(Class<T>) - Method in interface org.geysermc.geyser.api.event.EventBus
- subscribers(Class<T>) - Method in interface org.geysermc.geyser.api.event.ExtensionEventBus
- suggestedOpOnly(boolean) - Method in interface org.geysermc.geyser.api.command.Command.Builder
-
Sets if this command is designed to be used only by server operators.
T
- textureSize() - Method in interface org.geysermc.geyser.api.item.custom.CustomItemData
-
Gets the item's texture size.
- textureSize(int) - Method in interface org.geysermc.geyser.api.item.custom.CustomItemData.Builder
- textureSize(int) - Method in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
- thirdPerson() - Method in record class org.geysermc.geyser.api.item.custom.CustomRenderOffsets.Hand
-
Returns the value of the
thirdPersonrecord component. - toBoolean() - Method in enum class org.geysermc.geyser.api.util.TriState
-
Converts the TriState to a boolean.
- tool(boolean) - Method in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
-
Deprecated.
- toolTier() - Method in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData
-
Gets the tool tier of the item.
- toolTier(String) - Method in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
- toolType() - Method in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData
-
Gets the tool type of the item.
- toolType(String) - Method in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
- toString() - Method in record class org.geysermc.geyser.api.event.lifecycle.GeyserLoadResourcePacksEvent
-
Returns a string representation of this record class.
- toString() - Method in record class org.geysermc.geyser.api.event.lifecycle.GeyserPostInitializeEvent
-
Returns a string representation of this record class.
- toString() - Method in record class org.geysermc.geyser.api.event.lifecycle.GeyserPreInitializeEvent
-
Returns a string representation of this record class.
- toString() - Method in record class org.geysermc.geyser.api.event.lifecycle.GeyserShutdownEvent
-
Returns a string representation of this record class.
- toString() - Method in record class org.geysermc.geyser.api.item.custom.CustomRenderOffsets.Hand
-
Returns a string representation of this record class.
- toString() - Method in record class org.geysermc.geyser.api.item.custom.CustomRenderOffsets.Offset
-
Returns a string representation of this record class.
- toString() - Method in record class org.geysermc.geyser.api.item.custom.CustomRenderOffsets.OffsetXYZ
-
Returns a string representation of this record class.
- toString() - Method in record class org.geysermc.geyser.api.item.custom.CustomRenderOffsets
-
Returns a string representation of this record class.
- translationString() - Method in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData
-
Gets the item's translation string.
- translationString(String) - Method in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
- TriState - Enum Class in org.geysermc.geyser.api.util
-
This is a way to represent a boolean, but with a non set value added.
- TRUE - Enum constant in enum class org.geysermc.geyser.api.util.TriState
-
Describes a true value.
U
- unbreakable() - Method in interface org.geysermc.geyser.api.item.custom.CustomItemOptions
-
Gets if the item should be unbreakable.
- unbreakable(boolean) - Method in interface org.geysermc.geyser.api.item.custom.CustomItemOptions.Builder
V
- valueOf(String) - Static method in enum class org.geysermc.geyser.api.network.AuthType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.geysermc.geyser.api.util.TriState
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.geysermc.geyser.api.network.AuthType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.geysermc.geyser.api.util.TriState
-
Returns an array containing the constants of this enum class, in the order they are declared.
- version() - Method in interface org.geysermc.geyser.api.extension.ExtensionDescription
-
Gets the extension's description.
W
- warning(String) - Method in interface org.geysermc.geyser.api.extension.ExtensionLogger
-
Logs a warning message to console
X
- x() - Method in record class org.geysermc.geyser.api.item.custom.CustomRenderOffsets.OffsetXYZ
-
Returns the value of the
xrecord component.
Y
- y() - Method in record class org.geysermc.geyser.api.item.custom.CustomRenderOffsets.OffsetXYZ
-
Returns the value of the
yrecord component.
Z
- z() - Method in record class org.geysermc.geyser.api.item.custom.CustomRenderOffsets.OffsetXYZ
-
Returns the value of the
zrecord component.
All Classes|All Packages|Deprecated API|Serialized Form
CustomItemData.displayHandheld()instead. Gets if the item is a tool. This is used to set the render type of the item, if the item is handheld.