Difference between revisions of "TrainCarts/Attachments/Item"
Bergerkiller (talk | contribs) (Created page with "« Go back File:attachments_item_main.png|thumb|Main section of the item appearance menu, showing a 3d preview of the selected...") |
Bergerkiller (talk | contribs) |
||
Line 2: | Line 2: | ||
[[File:attachments_item_main.png|thumb|Main section of the item appearance menu, showing a 3d preview of the selected item]] | [[File:attachments_item_main.png|thumb|Main section of the item appearance menu, showing a 3d preview of the selected item]] | ||
− | For items, the itemstack to display can be configured here. When first opened it shows a preview of the selected item. By pressing Jump (spacebar) a menu can be opened to select a different item or block in a grid of | + | For items, the itemstack to display can be configured here. When first opened it shows a preview of the selected item. |
+ | |||
+ | ==Appearance== | ||
+ | By pressing Jump (spacebar) a menu can be opened to select a different item or block. If a resource pack is configured, an inventory menu is opened with the custom models that exist in the resource pack. Otherwise, a grid of blocks and items is displayed. | ||
+ | |||
+ | Additional menus can be opened by pressing Up/Down (W/S). It is here that special properties such as ''Unbreakable'' and ''Custom Model Data'' can be set. This might be important for custom resource pack models. For some items, such as tools, the durability of the item is configurable using Left/Right (A/D) input. | ||
+ | |||
+ | Instead of using the in-map menus you can also drop an item from your inventory with this menu open to set an item. | ||
+ | |||
+ | ==Position== | ||
+ | When the item type is selected, an additional "mode" and "transform" option is made available in the '''Position menu'''. This controls ''how'' the item is displayed. If the server version is below 1.20, then the mode option is unavailable and only display using armorstands is supported. | ||
+ | |||
+ | === Mode === | ||
+ | {| class="wikitable" | ||
+ | |- | ||
+ | ! Mode !! Function | ||
+ | |- | ||
+ | | '''Hybrid''' || Uses a display entity for Minecraft clients on version 1.20 or later (viaversion support). Uses an armorstand for clients on versions before that. Display scale is not configurable. | ||
+ | |- | ||
+ | | '''Armorstand''' || Uses an armorstand to display the item. Rotation will be less smooth than with display entities. | ||
+ | |- | ||
+ | | '''Display''' || Uses a display entity to display the item. Rotation will be smooth, and scale can be configured in the '''Position menu'''. | ||
+ | |} | ||
+ | |||
+ | === Transform === | ||
+ | Sets what equipment slot the item is put in. In hybrid mode, shows a display or armorstand icon to represent how the item is positioned. This is important for smooth rotations. A yellow "S" means the armorstand is small, or, 'baby'. The available slots are head, left hand, right hand, chestplate, legs and feet. For the display mode, additional options are available such as GUI, ground and fixed (item frame). |
Revision as of 20:03, 30 December 2023
For items, the itemstack to display can be configured here. When first opened it shows a preview of the selected item.
Appearance
By pressing Jump (spacebar) a menu can be opened to select a different item or block. If a resource pack is configured, an inventory menu is opened with the custom models that exist in the resource pack. Otherwise, a grid of blocks and items is displayed.
Additional menus can be opened by pressing Up/Down (W/S). It is here that special properties such as Unbreakable and Custom Model Data can be set. This might be important for custom resource pack models. For some items, such as tools, the durability of the item is configurable using Left/Right (A/D) input.
Instead of using the in-map menus you can also drop an item from your inventory with this menu open to set an item.
Position
When the item type is selected, an additional "mode" and "transform" option is made available in the Position menu. This controls how the item is displayed. If the server version is below 1.20, then the mode option is unavailable and only display using armorstands is supported.
Mode
Mode | Function |
---|---|
Hybrid | Uses a display entity for Minecraft clients on version 1.20 or later (viaversion support). Uses an armorstand for clients on versions before that. Display scale is not configurable. |
Armorstand | Uses an armorstand to display the item. Rotation will be less smooth than with display entities. |
Display | Uses a display entity to display the item. Rotation will be smooth, and scale can be configured in the Position menu. |
Transform
Sets what equipment slot the item is put in. In hybrid mode, shows a display or armorstand icon to represent how the item is positioned. This is important for smooth rotations. A yellow "S" means the armorstand is small, or, 'baby'. The available slots are head, left hand, right hand, chestplate, legs and feet. For the display mode, additional options are available such as GUI, ground and fixed (item frame).