Skip to content

Pedestals

A trophy pedestal records an achievement: one of the mod's own feats, an advancement, or anything else another mod registers a kind of trophy for (Trophy kinds). Placed, it shows the achievement's icon turning above it, glowing like a hologram, with its rank's light round it (Ranks); floating over it are its rank, what it records in its color, who earned it (a player, their team, or "the whole server") and when, in the reader's own date format. The text sits on a panel in its rank's frame, and with the particles shows while a player looks at the pedestal within their reach. Sneaking and using a pedestal with an empty hand opens its adjustment screen, a trophy's in tabs (Display: size, height, yaw, pitch and roll; Text: when it shows, its height, its size; Behavior: spinning, flourishes, sounds, a legendary trophy's crown, the showcase light and redstone; Pose, for a mob or statue: its pose and animation): its text shows when looked at, always (within 32 blocks) or never, its item or mob can be shown from half to twenty times its usual size (its light, outlines, flare, beam, halos, crown and particles grow with it), moved from half a block down to ten blocks up and turned to face any way; it can stand still instead of spinning; a mob trophy's mob can hold one pose instead of moving (Mob Pose: Frozen, which stops a blaze's rods and an allay's wings); an achievement trophy earned by a player can show that player's statue, in their own skin, in place of its icon (Display: Statue), standing, crouching, swimming, gliding or sleeping (the button beside it; a player trophy's is beside Mob Pose); a mob or statue can play one animation on loop, picked from a list found from the mob itself (Animation: walking, running and attacking where its model moves for them, its own animations like a warden's roar or a camel sitting down, its own states like a fox sitting or sleeping, and its own poses like a parrot's; choosing one sets a frozen mob moving); its text can be shown from half to three times its usual size, frame and all (Text Size); its flourishes (its rank's beam, halos, crowns, flares and particles) can be turned off, leaving only its showcase light and outlines; its showcase light (the lit lens, the cone of light rising out of the well and its frame) can be turned off too, on a trophy or a display pedestal (Showcase Light); its sounds can be turned off; its text can be moved up or down; and it can answer redstone, showing its display only while powered or hiding it then. Each section's name has a ? beside it that explains the option while hovered, and so does each Behavior button. Each slider has a button putting it back, and Reset puts everything back. Mods can set a pedestal's settings and lock them with net.ixdarklord.trophypedestals.api.PedestalSettings (set, lock, force, unlock; PedestalBlocks.pedestalAt finds the pedestal at a position): a locked pedestal's screen opens for no one, its owner and operators included, and a player who tries is told the mod's message in their action bar ("This pedestal's settings are locked" unless it gives its own), or is refused silently. Who may adjust it is the server's pedestals.access setting: OWNER (the default: the player who placed it, and operators; anyone, for a pedestal placed before pedestals had owners) or ANYONE. The item's tooltip says the same, and breaking the pedestal keeps its record.

Pedestals come in vanilla's stones and woods (trophypedestals:<material>_pedestal): stone, cobblestone, mossy cobblestone, cobbled deepslate, deepslate, blackstone, stone bricks, bricks, mud bricks, resin bricks, nether bricks, red nether bricks, granite, diorite, andesite, calcite, tuff, basalt, end stone, purpur, prismarine, dark prismarine, sandstone, red sandstone and quartz, and oak, spruce, birch, jungle, acacia, dark oak, mangrove, cherry, pale oak, bamboo, crimson and warped. An empty one is crafted from six of its material around a gold ingot (data/trophypedestals/recipe/<material>_pedestal.json, which a data pack can replace); a stone one is mined with a pickaxe, a wooden one with an axe.

Any other block, a mod's stones and woods included, makes a custom pedestal (trophypedestals:custom_pedestal): one block whose material is data, the trophypedestals:pedestal_material component naming the block it's made of. It's drawn with that block's own textures (its top, bottom and sides, tinted as the block is), with the same gold carving and well as every pedestal, and named after it ("Mossy Stone Bricks Pedestal"; give the item a minecraft:item_name for another name). A data pack hands them out with a recipe, a loot table or /give, and breaking one keeps its material. The mod adds none of its own; the example data pack (testpack/) has six, crafted like the others: amethyst block, obsidian, copper block, mossy stone bricks, smooth stone and polished blackstone bricks (data/trophypedestals_example/recipe/<block>_pedestal.json). A recipe of your own looks like this:

{
  "type": "minecraft:crafting_shaped",
  "key": {"G": "minecraft:gold_ingot", "S": "minecraft:amethyst_block"},
  "pattern": ["SGS", " S ", "SSS"],
  "result": {"id": "trophypedestals:custom_pedestal", "components": {"trophypedestals:pedestal_material": "minecraft:amethyst_block"}}
}

One with no material, or a block no longer in the game, is drawn as stone. Either tool mines it. It can be a trophy too (set_trophy on one in a loot table, below), and works as any pedestal does. A crafted pedestal displays any item put on it (use it with the item in hand; use it with an empty hand to take it back), as a showcase: the item turns slowly in a soft cone of warm light rising out of the well, over a gently glowing frame; a named item shows its name over it while you look at it. The rising outlines, flare, beam and particles are a trophy's only. An empty pedestal's well shows a dark glass lens raised in a gold bezel, which fades up to the rank's color once it holds something (and back down as it turns off). Every pedestal's column is fluted.

Trophy cabinets and shelves

A trophy cabinet (two blocks wide, half a block deep, holding four trophies; cabinets stacked on one another join) and a trophy shelf (on the side of a solid block, holding two; shelves side by side join) come in every wood, plain, with no trim. Use a block on one to trim it with that block: its rails, posts, corner caps and brackets are drawn in that block's textures. A gold ingot (or a gold block) gives the gold trim, and an axe takes the trim off again. The trim is the trophypedestals:trim_material component (minecraft:gold_block for gold), kept when it's broken; a trimmed one's item shows its trim. Use a trophy on a spot to put it there, and an empty hand to take it back.