RoodyDonations v1.0.0 is outSee what’s new →
RoodyCompressor
v2.1.0 Paper 1.20.4+
Guides · 5 / 16

Look: custom tooltip and items from other plugins

Custom tooltip (1.21.2+)

The box shown when hovering the compressor can have your own frame and background, different when on and off: tooltip-style: "myserver:gold" in active / inactive, or in the editor (Look → Tooltip style: click to type it, right-click to remove it).

  • The images go in your resource pack: assets/myserver/textures/gui/sprites/tooltip/gold_background.png (background) and gold_frame.png (frame), 100 × 100 px, each with its nine-slice .mcmeta. The easiest start is Minecraft's own, in assets/minecraft/textures/gui/sprites/tooltip/ inside the game's .jar.
  • With Nexo, put the pack (zip or folder) in plugins/Nexo/pack/external_packs/ and run /nexo reload pack.
  • Compressors players already have get the style the next time they are turned on or off. A style set by another plugin is kept unless the look sets its own.
  • On 1.20.4–1.21.1 the option is ignored with a warning in the console.

Items from Nexo, ItemsAdder, Oraxen or CraftEngine

The compressor can be an item from one of these plugins: its model, texture and tooltip come from that plugin, which builds the resource pack, and RoodyCompressor adds the name, lore and on/off on top. Write it in the look's material:

Plugin How to write it
Nexo nexo:my_item
ItemsAdder itemsadder:namespace:my_item
Oraxen oraxen:my_item
CraftEngine craftengine:namespace:my_item
tiers:
  lv1:
    active:
      material: "nexo:gold_compressor"
    inactive:
      material: "nexo:iron_compressor"
  • In the editor: Look → Material, then click the item in your inventory; it is saved as nexo:... (or whichever it is).
  • To use the other plugin's name and lore: manage-name: false and manage-lore: false under settings.
  • Enchantments and attributes the player adds are kept when turning it on and off.
  • If the plugin is missing or the id does not exist, the compressor shows as diamond (on) or coal (off) and the console says so. Works on every version.