Skip navigation links
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Index
  • Help

Deprecated API

Contents

  • Terminally Deprecated
  • Interfaces
  • Classes
  • Record Classes
  • Fields
  • Methods
  • Terminally Deprecated Elements
    Element
    Description
    org.geysermc.geyser.api.block.custom.nonvanilla.JavaBlockState.Builder.hasBlockEntity(boolean)
    Does not have an effect. If you were using this to * set piston behavior, use JavaBlockState.Builder.pistonBehavior(String) instead.
    org.geysermc.geyser.api.block.custom.nonvanilla.JavaBlockState.hasBlockEntity()
    Does not have an effect. If you were using this to set piston behavior, use JavaBlockState.pistonBehavior() instead.
    org.geysermc.geyser.api.command.Command.Builder.executableOnConsole(boolean)
    use Command.isPlayerOnly() instead (inverted)
    org.geysermc.geyser.api.command.Command.Builder.subCommands(List<String>)
    this method has no effect
    org.geysermc.geyser.api.command.Command.Builder.suggestedOpOnly(boolean)
    this method is not guaranteed to produce meaningful or expected results
    org.geysermc.geyser.api.command.Command.isExecutableOnConsole()
    use Command.isPlayerOnly() instead (inverted)
    org.geysermc.geyser.api.command.Command.isSuggestedOpOnly()
    this method is not guaranteed to provide meaningful or expected results.
    org.geysermc.geyser.api.command.Command.subCommands()
    this method will always return an empty immutable list
    org.geysermc.geyser.api.event.connection.ConnectionRequestEvent.getInetSocketAddress()
    Use ConnectionRequestEvent.inetSocketAddress() instead
    org.geysermc.geyser.api.event.connection.ConnectionRequestEvent.getProxyIp()
    Use ConnectionRequestEvent.proxyIp() instead
    org.geysermc.geyser.api.event.downstream.ServerDefineCommandsEvent
    please use ServerDefineCommandsEvent.
    org.geysermc.geyser.api.event.downstream.ServerDefineCommandsEvent.CommandInfo
    org.geysermc.geyser.api.extension.ExtensionDescription.patchApiVersion()
    org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.repairMaterials()
    No longer used.
    org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.toolTier()
    no longer used
  • Deprecated Interfaces
    Interface
    Description
    org.geysermc.geyser.api.event.downstream.ServerDefineCommandsEvent.CommandInfo
  • Deprecated Classes
    Class
    Description
    org.geysermc.geyser.api.event.downstream.ServerDefineCommandsEvent
    please use ServerDefineCommandsEvent.
  • Deprecated Record Classes
    Record Class
    Description
    org.geysermc.geyser.api.event.lifecycle.GeyserLoadResourcePacksEvent
    Use the GeyserDefineResourcePacksEvent instead.
  • Deprecated Fields
    Field
    Description
    org.geysermc.geyser.api.util.PlatformType.ANDROID
    org.geysermc.geyser.api.util.PlatformType.SPONGE
  • Deprecated Methods
    Method
    Description
    org.geysermc.geyser.api.block.custom.component.CustomBlockComponents.Builder.unitCube(boolean)
    Use CustomBlockComponents.Builder.geometry(GeometryComponent) with `minecraft:geometry.full_block` instead.
    org.geysermc.geyser.api.block.custom.component.CustomBlockComponents.unitCube()
    Use CustomBlockComponents.geometry() and compare with `minecraft:geometry.full_block` instead.
    org.geysermc.geyser.api.block.custom.nonvanilla.JavaBlockState.Builder.hasBlockEntity(boolean)
    Does not have an effect. If you were using this to * set piston behavior, use JavaBlockState.Builder.pistonBehavior(String) instead.
    org.geysermc.geyser.api.block.custom.nonvanilla.JavaBlockState.hasBlockEntity()
    Does not have an effect. If you were using this to set piston behavior, use JavaBlockState.pistonBehavior() instead.
    org.geysermc.geyser.api.command.Command.Builder.executableOnConsole(boolean)
    use Command.isPlayerOnly() instead (inverted)
    org.geysermc.geyser.api.command.Command.Builder.permission(String, TriState)
    this method is experimental and may be removed in the future
    org.geysermc.geyser.api.command.Command.Builder.subCommands(List<String>)
    this method has no effect
    org.geysermc.geyser.api.command.Command.Builder.suggestedOpOnly(boolean)
    this method is not guaranteed to produce meaningful or expected results
    org.geysermc.geyser.api.command.Command.isExecutableOnConsole()
    use Command.isPlayerOnly() instead (inverted)
    org.geysermc.geyser.api.command.Command.isSuggestedOpOnly()
    this method is not guaranteed to provide meaningful or expected results.
    org.geysermc.geyser.api.command.Command.subCommands()
    this method will always return an empty immutable list
    org.geysermc.geyser.api.connection.GeyserConnection.entityByJavaId(int)
    Use EntityData.entityByJavaId(int) instead
    org.geysermc.geyser.api.connection.GeyserConnection.fogEffects()
    Use CameraData.fogEffects() instead.
    org.geysermc.geyser.api.connection.GeyserConnection.removeFog(String...)
    Use CameraData.removeFog(String...) instead.
    org.geysermc.geyser.api.connection.GeyserConnection.sendFog(String...)
    Use CameraData.sendFog(String...) instead.
    org.geysermc.geyser.api.connection.GeyserConnection.shakeCamera(float, float, CameraShake)
    Use CameraData.shakeCamera(float, float, CameraShake) instead.
    org.geysermc.geyser.api.connection.GeyserConnection.showEmote(GeyserPlayerEntity, String)
    use EntityData.showEmote(GeyserPlayerEntity, String) instead
    org.geysermc.geyser.api.connection.GeyserConnection.stopCameraShake()
    Use CameraData.stopCameraShake() instead.
    org.geysermc.geyser.api.event.bedrock.SessionLoadResourcePacksEvent.register(ResourcePack)
    Use {SessionLoadResourcePacksEvent.register(ResourcePack, ResourcePackOption[])} instead
    org.geysermc.geyser.api.event.connection.ConnectionRequestEvent.getInetSocketAddress()
    Use ConnectionRequestEvent.inetSocketAddress() instead
    org.geysermc.geyser.api.event.connection.ConnectionRequestEvent.getProxyIp()
    Use ConnectionRequestEvent.proxyIp() instead
    org.geysermc.geyser.api.extension.ExtensionDescription.patchApiVersion()
    org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder.tool(boolean)
    Use NonVanillaCustomItemData.Builder.displayHandheld(boolean) instead.
    org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.isTool()
    Use 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.
    org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.repairMaterials()
    No longer used.
    org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.toolTier()
    no longer used
    org.geysermc.geyser.api.pack.PackCodec.serialize(ResourcePack)
    use PackCodec.serialize() instead.