Class LodestoneCache

java.lang.Object
org.geysermc.geyser.session.cache.LodestoneCache

public class LodestoneCache extends Object
A temporary cache for lodestone information. Bedrock requests the lodestone position information separately from the item.
  • Constructor Details

    • LodestoneCache

      public LodestoneCache()
  • Method Details

    • cacheInventoryItem

      public void cacheInventoryItem(GeyserItemStack itemStack)
    • store

      public int store(com.github.steveice10.opennbt.tag.builtin.CompoundTag tag)
    • getPos

      @Nullable public LodestoneCache.LodestonePos getPos(int id)
    • clear

      public void clear()