Shulker Box 2D Sprite Previews

YEmojis allows players to inspect the contents of any Shulker Box directly from hover tooltips in inventories, containers, and chat messages without placing the block on the ground.

How It Works

Traditional plugins alter item NBT lore, which can cause item stack desyncs or bloat world save files. YEmojis uses packet-level tooltip rewriting via ProtocolLib:

  1. Non-Destructive: Shulker item data and NBT tags are never modified on the server.
  2. Real-Time Transformation: Only outgoing display packets sent to the player client are updated with 2D sprite grids.
  3. Vanilla Cleanliness: Other plugins and anti-cheat systems read clean vanilla item metadata.

Shulker Preview Locations

  • Inventory Hover: Hover over any Shulker Box inside your personal inventory, hotbar, or ender chest.
  • Chest & Container Hover: Inspect Shulker Boxes resting inside double chests, barrels, or hoppers.
  • Chat Showcase: When a player types [item] while holding a Shulker Box, hovering over the chat message displays the 2D sprite contents grid.

Quantity Display Styles

You can customize how item stack quantities appear next to each 2D item sprite:

Style Name Example Display Description
subscript (Default) [Sprite]₆₄ Unicode subscript numbers below the sprite baseline.
superscript [Sprite]⁢⁴ Unicode superscript numbers above the sprite baseline.
badge [Sprite][64] Square bracket badge formatting.
classic [Sprite] x64 Traditional multiplication format.
none [Sprite] Hides stack counts and shows sprites only.

Configuration Reference

Configure Shulker Box previews in plugins/YEmojis/config.yml:

shulker-previews:
  enabled: true
  inventory-tooltips: true  # Packet-level rewriting in inventories (requires ProtocolLib)
  chat-showcase: true       # Render sprite grid during [item] chat showcases
  hide-vanilla-lore: true   # Suppress vanilla plain text item listing
  quantity-style: "subscript" # "subscript", "superscript", "badge", "classic", "none"
  items-per-row: 9          # Columns per row in the tooltip grid
  header: "<gray><!italic>Contents:</gray>"

Permission

  • yemojis.shulker.preview: Controls permission to view 2D sprite grids in Shulker Box tooltips.
Not an official Minecraft product. Not approved by or associated with Mojang Studios or Microsoft.
Type a query to search documentation...
Link copied to clipboard!