Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GeyserMC/Geyser
/ functions
Functions
6,455 in github.com/GeyserMC/Geyser
⨍
Functions
6,455
◇
Types & classes
1,489
↓ 4 callers
Method
customItemDefinitions
A multimap of all the already registered custom item definitions indexed by the {@link Identifier} of the Java item which the item is based on. @since
api/src/main/java/org/geysermc/geyser/api/event/lifecycle/GeyserDefineCustomItemsEvent.java:64
↓ 4 callers
Method
debugInventory
(@Nullable InventoryHolder<? extends Inventory> holder)
core/src/main/java/org/geysermc/geyser/util/InventoryUtils.java:509
↓ 4 callers
Method
distance
Returns a distance metric to the other color. <p>This value is unitless and should only be used to compare with other firework colors.</p> @param ot
core/src/main/java/org/geysermc/geyser/util/ColorUtils.java:55
↓ 4 callers
Method
dyeColor
()
core/src/main/java/org/geysermc/geyser/item/type/DyeItem.java:36
↓ 4 callers
Method
ensureNonNull
(Collection<T> collection)
core/src/main/java/org/geysermc/geyser/pack/GeyserResourcePackManifest.java:75
↓ 4 callers
Method
entries
All entries of this registry, as a list.
core/src/main/java/org/geysermc/geyser/session/cache/registry/JavaRegistry.java:122
↓ 4 callers
Method
enumRegistry
Creates a hasher that uses {@link Enum#name()} (lowercased) to create a key in the {@code minecraft} namespace, and then hashes it. <p>Please be awar
core/src/main/java/org/geysermc/geyser/item/hashing/RegistryHasher.java:442
↓ 4 callers
Method
executeForCreativeMode
()
core/src/main/java/org/geysermc/geyser/inventory/click/ClickPlan.java:178
↓ 4 callers
Method
extension
(@NonNull String id)
core/src/main/java/org/geysermc/geyser/extension/GeyserExtensionManager.java:54
↓ 4 callers
Method
findAvailableWorldSpace
Finds a usable block space in the world to place a fake inventory block, and returns the position.
core/src/main/java/org/geysermc/geyser/util/InventoryUtils.java:236
↓ 4 callers
Method
flower
()
core/src/main/java/org/geysermc/geyser/level/block/type/FlowerPotBlock.java:80
↓ 4 callers
Method
forciblyCloseUpstream
Forcibly closes the upstream session
core/src/main/java/org/geysermc/geyser/session/GeyserSession.java:1269
↓ 4 callers
Method
forwardPlayerPing
()
core/src/main/java/org/geysermc/geyser/configuration/GeyserConfig.java:333
↓ 4 callers
Method
freeSkullEntity
(Skull skull)
core/src/main/java/org/geysermc/geyser/session/cache/SkullCache.java:203
↓ 4 callers
Method
fromJavaRGB
(int rgbValue)
core/src/main/java/org/geysermc/geyser/level/FireworkColor.java:71
↓ 4 callers
Method
fromKey
(Key registryKey)
core/src/main/java/org/geysermc/geyser/session/cache/registry/JavaRegistries.java:129
↓ 4 callers
Method
gatherComponents
Returns an unmodifiable {@link DataComponents} view containing known data components. Optionally, additional components can be provided to replace (or
core/src/main/java/org/geysermc/geyser/item/type/Item.java:122
↓ 4 callers
Method
getAdultSize
The scale that should be used when this entity is not a baby.
core/src/main/java/org/geysermc/geyser/entity/type/living/AgeableEntity.java:57
↓ 4 callers
Method
getAffectedSlots
@return a new set of all affected slots.
core/src/main/java/org/geysermc/geyser/inventory/click/ClickPlan.java:581
↓ 4 callers
Method
getAllComponents
Returns all components of this item - base and additional components sent over the network. These are NOT modifiable! To add components, use {@link #g
core/src/main/java/org/geysermc/geyser/inventory/GeyserItemStack.java:190
↓ 4 callers
Method
getBedrockItemDefinition
Given an item stack, determine the Bedrock item definition that should be applied to Bedrock players.
core/src/main/java/org/geysermc/geyser/translator/item/ItemTranslator.java:534
↓ 4 callers
Method
getBody
Makes a web request to the given URL and returns the body as a string @param reqURL URL to fetch @return body content or @throws IOException / a wrap
core/src/main/java/org/geysermc/geyser/util/WebUtils.java:73
↓ 4 callers
Method
getCharacterWidth
Gets the Minecraft width of a character @param c character to determine @return width of the character
core/src/main/java/org/geysermc/geyser/util/SignUtils.java:51
↓ 4 callers
Method
getCurrentLerpStep
(float delta)
core/src/main/java/org/geysermc/geyser/entity/type/MinecartEntity.java:265
↓ 4 callers
Method
getCustomName
@param translationColor if this item is not available on Java, the color that the new name should be. Normally, this should ju
core/src/main/java/org/geysermc/geyser/translator/item/ItemTranslator.java:569
↓ 4 callers
Method
getFluid
Get the type of fluid from the block state, including waterlogged blocks. @param state BlockState of the block @return The type of fluid
core/src/main/java/org/geysermc/geyser/level/block/BlockStateValues.java:108
↓ 4 callers
Method
getFraction
Creates a {@link Fraction} instance from a {@code double} value. <p>This method uses the <a href="https://web.archive.org/web/20210516065058/http%3A/
core/src/main/java/org/geysermc/geyser/util/thirdparty/Fraction.java:127
↓ 4 callers
Method
getGeneratedClassesForAnnotation
Returns a set of all the classes that are annotated by a given annotation. Keep in mind that these are from a set of generated annotations generated a
core/src/main/java/org/geysermc/geyser/util/AnnotationUtils.java:69
↓ 4 callers
Method
getGravity
()
core/src/main/java/org/geysermc/geyser/entity/vehicle/VehicleComponent.java:812
↓ 4 callers
Method
getJavaMinecraftVersion
Gets the supported Minecraft: Java Edition version. @return the supported Minecraft: Java Edition version
core/src/main/java/org/geysermc/geyser/network/GameProtocol.java:175
↓ 4 callers
Method
getJavaVersions
Gets the supported Minecraft: Java Edition version names. @return the supported Minecraft: Java Edition version names
core/src/main/java/org/geysermc/geyser/network/GameProtocol.java:157
↓ 4 callers
Method
getKeyPath
(GeyserConfig config, Path floodgateDataFolder, Path geyserDataFolder, GeyserLogger logger)
core/src/main/java/org/geysermc/geyser/FloodgateKeyLoader.java:35
↓ 4 callers
Method
getNextItemNetId
@return the next Bedrock item network ID to use for a new item
core/src/main/java/org/geysermc/geyser/session/GeyserSession.java:2058
↓ 4 callers
Method
getOffsetForHotbar
(@Range(from = 0, to = 8) int slot)
core/src/main/java/org/geysermc/geyser/inventory/PlayerInventory.java:63
↓ 4 callers
Method
getOpenInventory
()
core/src/main/java/org/geysermc/geyser/session/GeyserSession.java:1900
↓ 4 callers
Method
getOrDefault
(CompletableFuture<T> future, T defaultValue, int timeoutInSeconds)
core/src/main/java/org/geysermc/geyser/skin/SkinProvider.java:696
↓ 4 callers
Method
getProgress
Determine the progress on an advancement. @param advancement the advancement to determine @return the progress on the advancement.
core/src/main/java/org/geysermc/geyser/session/cache/AdvancementsCache.java:267
↓ 4 callers
Method
getSegment
Gets the previous yaw and y Used to curl the tail and pitch the head and tail up/down @param index Number of ticks in the past @return Segment with t
core/src/main/java/org/geysermc/geyser/entity/type/living/monster/EnderDragonEntity.java:330
↓ 4 callers
Method
getState
Get the Bedrock state of the piston @return 0 - Fully retracted, 1 - Extending, 2 - Fully extended, 3 - Retracting
core/src/main/java/org/geysermc/geyser/translator/level/block/entity/PistonBlockEntity.java:698
↓ 4 callers
Method
getStatus
(final VehicleContext context)
core/src/main/java/org/geysermc/geyser/entity/vehicle/BoatVehicleComponent.java:373
↓ 4 callers
Method
getTabListUuid
@return the UUID that should be used when dealing with Bedrock's tab list.
core/src/main/java/org/geysermc/geyser/entity/type/player/PlayerEntity.java:255
↓ 4 callers
Method
getUniqueId
()
bootstrap/bungeecord/src/main/java/org/geysermc/geyser/platform/bungeecord/GeyserBungeePingPassthrough.java:136
↓ 4 callers
Method
getYOffset
@return the y offset required to position the name tag correctly
core/src/main/java/org/geysermc/geyser/entity/type/living/ArmorStandEntity.java:411
↓ 4 callers
Method
handle
@return the underlying platform handle that this source represents. If such handle doesn't exist, this itself is returned.
core/src/main/java/org/geysermc/geyser/command/GeyserCommandSource.java:76
↓ 4 callers
Method
hasAcceptedCodeOfConduct
(GeyserSession session, String codeOfConduct)
core/src/main/java/org/geysermc/geyser/util/CodeOfConductManager.java:75
↓ 4 callers
Method
hasCooldown
(GeyserItemStack item)
core/src/main/java/org/geysermc/geyser/session/cache/WorldCache.java:236
↓ 4 callers
Method
hasFormOpen
@return {@code true} if the client currently has a form open. @since 2.8.0
api/src/main/java/org/geysermc/geyser/api/connection/GeyserConnection.java:75
↓ 4 callers
Method
hasOwnChunkCache
Checks whether or not this world manager requires a separate chunk cache/has access to more block data than the chunk cache. <p> Some world managers (
core/src/main/java/org/geysermc/geyser/level/WorldManager.java:108
↓ 4 callers
Method
hashStack
(GeyserSession session, ItemStack stack)
core/src/main/java/org/geysermc/geyser/item/hashing/DataComponentHashers.java:342
↓ 4 callers
Method
inherited
(GeyserSession session, EntityDefinition<?> definition, Entity parent, Vector3f position)
core/src/main/java/org/geysermc/geyser/entity/spawn/EntitySpawnContext.java:76
↓ 4 callers
Method
initialiseWaypointFromEntity
(Optional<Entity> entity)
core/src/main/java/org/geysermc/geyser/session/cache/waypoint/GeyserWaypoint.java:90
↓ 4 callers
Method
is
Should only be used when the network ID of an element is already known. If not, prefer using the {@link TagCache#is(Tag, Object)} shorthand method.
core/src/main/java/org/geysermc/geyser/session/cache/TagCache.java:123
↓ 4 callers
Method
isBlockSticky
Checks if a block sticks to other blocks (Slime and honey blocks) @param state The block state @return True if the block sticks to adjacent blocks
core/src/main/java/org/geysermc/geyser/level/block/BlockStateValues.java:48
↓ 4 callers
Method
isEmpty
Gets if the box component is empty @return If the box component is empty.
api/src/main/java/org/geysermc/geyser/api/block/custom/component/BoxComponent.java:66
↓ 4 callers
Method
isEnchantedBook
(GeyserItemStack itemStack)
core/src/main/java/org/geysermc/geyser/inventory/updater/AnvilInventoryUpdater.java:390
↓ 4 callers
Method
isSitting
()
core/src/main/java/org/geysermc/geyser/entity/type/living/monster/EnderDragonEntity.java:310
↓ 4 callers
Method
isSlim
()
core/src/main/java/org/geysermc/geyser/skin/ProvidedSkins.java:110
↓ 4 callers
Method
isStationary
Checks if the camel is sitting or transitioning to standing pose.
core/src/main/java/org/geysermc/geyser/entity/vehicle/CamelVehicleComponent.java:130
↓ 4 callers
Method
isSticky
(BlockState state)
core/src/main/java/org/geysermc/geyser/translator/protocol/java/level/JavaBlockEventTranslator.java:172
↓ 4 callers
Method
javaNormalize
Java edition returns the zero vector if the length of the input vector is less than 0.00001f
core/src/main/java/org/geysermc/geyser/entity/vehicle/VehicleComponent.java:371
↓ 4 callers
Method
label
()
core/src/main/java/org/geysermc/geyser/level/gamerule/GameRuleCategory.java:48
↓ 4 callers
Method
lastUpdate
()
core/src/main/java/org/geysermc/geyser/scoreboard/Team.java:319
↓ 4 callers
Method
leashHolderBedrockId
()
core/src/main/java/org/geysermc/geyser/entity/type/Leashable.java:35
↓ 4 callers
Method
limitMovement
(double movement, double limit)
core/src/main/java/org/geysermc/geyser/session/cache/WorldBorder.java:227
↓ 4 callers
Method
main
Gets the extension's main class. @return the extension's main class
api/src/main/java/org/geysermc/geyser/api/extension/ExtensionDescription.java:55
↓ 4 callers
Method
markChanged
()
core/src/main/java/org/geysermc/geyser/scoreboard/ScoreReference.java:122
↓ 4 callers
Method
maxY
()
core/src/main/java/org/geysermc/geyser/level/BedrockDimension.java:88
↓ 4 callers
Method
mockOrSpy
Retries the mock or spy that is an instance of the specified type. This is only really intended for classes where you only need a single instance of.
core/src/test/java/org/geysermc/geyser/scoreboard/network/util/GeyserMockContext.java:94
↓ 4 callers
Method
multiplyBy
Multiplies the value of this fraction by another, returning the result in reduced form. @param fraction the fraction to multiply by, must not be {@c
core/src/main/java/org/geysermc/geyser/util/thirdparty/Fraction.java:768
↓ 4 callers
Method
numberFormat
()
core/src/main/java/org/geysermc/geyser/scoreboard/ScoreReference.java:96
↓ 4 callers
Method
objectiveId
()
core/src/main/java/org/geysermc/geyser/scoreboard/display/slot/DisplaySlot.java:109
↓ 4 callers
Method
or
(Predicate<? super C> other)
api/src/main/java/org/geysermc/geyser/api/predicate/MinecraftPredicate.java:59
↓ 4 callers
Method
order
()
core/src/main/java/org/geysermc/geyser/scoreboard/display/score/SidebarDisplayScore.java:93
↓ 4 callers
Method
parseJson
(String s)
core/src/main/java/org/geysermc/geyser/util/JsonUtils.java:51
↓ 4 callers
Method
passthroughMotd
()
core/src/main/java/org/geysermc/geyser/configuration/GeyserConfig.java:226
↓ 4 callers
Method
passthroughPlayerCounts
()
core/src/main/java/org/geysermc/geyser/configuration/GeyserConfig.java:236
↓ 4 callers
Method
permutations
(List<CustomBlockPermutation> permutations)
api/src/main/java/org/geysermc/geyser/api/block/custom/CustomBlockData.java:138
↓ 4 callers
Method
platformConvertSlot
Bidirectional; works for both Bedrock and Java.
core/src/main/java/org/geysermc/geyser/session/cache/BundleCache.java:255
↓ 4 callers
Method
playSoundEvent
(SoundEvent sound, Vector3f position)
core/src/main/java/org/geysermc/geyser/session/GeyserSession.java:2413
↓ 4 callers
Method
populate
Populates the custom block registries by stage @param stage the stage to populate
core/src/main/java/org/geysermc/geyser/registry/populator/CustomBlockRegistryPopulator.java:101
↓ 4 callers
Method
populate
(Stage stage)
core/src/main/java/org/geysermc/geyser/registry/populator/BlockRegistryPopulator.java:101
↓ 4 callers
Method
priority
@return the priority of this definition. For all definitions for a single Java item model, definitions with a higher priority will be matched first. D
api/src/main/java/org/geysermc/geyser/api/item/custom/v2/CustomItemDefinition.java:137
↓ 4 callers
Method
propertyKeys
()
core/src/main/java/org/geysermc/geyser/level/block/type/Block.java:198
↓ 4 callers
Method
provider
Provides an implementation for the specified API type. @param apiClass the builder class @param <R> the implementation type @param <T> the API type @
api/src/main/java/org/geysermc/geyser/api/GeyserApi.java:85
↓ 4 callers
Method
queuePostStartGamePacket
Queue a packet that must be delayed until after login.
core/src/main/java/org/geysermc/geyser/session/UpstreamSession.java:67
↓ 4 callers
Method
readBoxComponent
(JsonElement element)
core/src/main/java/org/geysermc/geyser/registry/mappings/versions/MappingsReader_v1.java:691
↓ 4 callers
Method
register
Registers a bedrock codec, along with its protocol version and minecraft version(s). This method must be called in ascending order in terms of protoco
core/src/main/java/org/geysermc/geyser/network/GameProtocol.java:102
↓ 4 callers
Method
registerBlock
(Block block, Item item)
core/src/main/java/org/geysermc/geyser/item/type/Item.java:338
↓ 4 callers
Method
registerWithAnyIndex
Registers a new value into this registry with the given index, even if this value would normally be outside the range of a list. @param index the ind
core/src/main/java/org/geysermc/geyser/registry/ListRegistry.java:107
↓ 4 callers
Method
removePistonHead
()
core/src/main/java/org/geysermc/geyser/translator/level/block/entity/PistonBlockEntity.java:228
↓ 4 callers
Method
removedInVoid
Removes the entity if it is 64 blocks below the world. @return true if the entity was removed
core/src/main/java/org/geysermc/geyser/entity/type/ProjectileEntity.java:203
↓ 4 callers
Method
render
(List<ScoreInfo> addScores, List<ScoreInfo> removeScores)
core/src/main/java/org/geysermc/geyser/scoreboard/display/slot/DisplaySlot.java:64
↓ 4 callers
Method
require
(Supplier<String> supplier, String name)
core/src/main/java/org/geysermc/geyser/extension/GeyserExtensionDescription.java:106
↓ 4 callers
Method
resendAllForms
()
core/src/main/java/org/geysermc/geyser/session/cache/FormCache.java:114
↓ 4 callers
Method
resetTimeParameters
Resets the Java game tick and time tick (time tick, partial tick, clock rate) counters to their initial values. <p>Please note that this also freezes
core/src/main/java/org/geysermc/geyser/session/GeyserSession.java:2238
↓ 4 callers
Method
sendCommand
Sends a command as if the player had executed it. @param command the command without the leading forward-slash @since 2.8.0
api/src/main/java/org/geysermc/geyser/api/connection/GeyserConnection.java:122
↓ 4 callers
Method
sendFog
Adds the given fog IDs to the fog cache, then sends all fog IDs in the cache to the client. <p> Fog IDs can be found <a href="https://wiki.bedrock.dev
api/src/main/java/org/geysermc/geyser/api/bedrock/camera/CameraData.java:115
↓ 4 callers
Method
sendGameRule
Send a gamerule value to the client @param gameRule The gamerule to send @param value The value of the gamerule
core/src/main/java/org/geysermc/geyser/session/GeyserSession.java:2250
↓ 4 callers
Method
sendLinks
(GeyserCommandSource sender)
core/src/main/java/org/geysermc/geyser/command/defaults/ConnectionTestCommand.java:219
↓ 4 callers
Method
sendNetworkLatencyStackPacket
(long timestamp, boolean ensureEventLoop, Runnable runnable)
core/src/main/java/org/geysermc/geyser/session/GeyserSession.java:2696
← previous
next →
701–800 of 6,455, ranked by callers