Class BundleCache.BundleData
java.lang.Object
org.geysermc.geyser.session.cache.BundleCache.BundleData
- Enclosing class:
- BundleCache
Primarily exists to support net IDs within bundles.
Important to prevent accidental item deletion in creative mode.
-
Method Summary
Modifier and TypeMethodDescriptionintbundleId()contents()copy()booleanList<org.geysermc.mcprotocollib.protocol.data.game.item.ItemStack>voidupdateNetIds(GeyserSession session, BundleCache.BundleData oldData) Merge in changes from the server and re-use net IDs where possible.
-
Method Details
-
bundleId
public int bundleId() -
contents
-
freshFromServer
public boolean freshFromServer() -
toComponent
-
updateNetIds
Merge in changes from the server and re-use net IDs where possible. -
copy
-