Display

Adds a non-craftable book book item that allows creating displays from any item.

Requirements

Contents

Items:

item loot table
book Displays 1.2 display:book

Advancements:

title description
book A Joy to Behold create a display item

Usage

book Displays 1.2 can only be acquired through the display:book loot table.

When holding book Displays 1.2 on the off hand, you will notice that the actionbar changes to display the following:

Display: <Mode>

At this point, dropping any item from your main hand turns it into a display item that can be edited. Edition is done by clicking on the item with either of the mouse buttons, and it depends on the current Mode:

name behavior
Translate Clicking will push or pull the item in the axis you are looking at
Rotate Clicking will rotate the item clockwise or counteclockwise in an axis dependant on the direction you are looking at.
Scale Clicking will scale the item up or down by 0.5.
Billboard Clicking will cycle the item billboard mode between fixed, horizontal, and center.
Brightness Clicking will cycle the item brightness between auto, dark, dim, soft, and bright.
Clipboard Left mouse button will copy the properties of the given display, and right mouse button with paste the properties from the clipboard. Clipboard persists unless overwriten.
Lock Clicking will lock the item removing the interaction.
Drop Clicking will destroy the display and drop the original item again.
Unlock Not an state; instead, it unlocks all displays in the chosen radius.

All these modes (and the unlock action) are chosen through clickable words in the contents of book Displays 1.2.

This datapack is able to unlock items created by the old Popular Displays pack, at which point they will become items from this pack instead.

Overhead

Updates players holding book Displays 1.2 every second.

Uses advancements to check if a player has interacted with an unlocked item display, and if so runs the code to edit it.

Known Issues

None.