Difference between revisions of "TrainCarts/Attachments/Item"
Bergerkiller (talk | contribs) |
Bergerkiller (talk | contribs) |
||
Line 13: | Line 13: | ||
===Item Model Dialog=== | ===Item Model Dialog=== | ||
[[File:item_model_dialog.png|thumb|Item Model Dialog is opened to select an item model]] | [[File:item_model_dialog.png|thumb|Item Model Dialog is opened to select an item model]] | ||
− | When you have a resource pack configured in your <code>server.properties</code> an item model search dialog becomes available. This dialog has easier click navigation of the entire resource pack, and includes a search dialog. You can open this dialog anywhere as a creative menu using the <code>/train model search<code> command. | + | When you have a resource pack configured in your <code>server.properties</code> an item model search dialog becomes available. This dialog has easier click navigation of the entire resource pack, and includes a search dialog. You can open this dialog anywhere as a creative menu using the <code>/train model search</code> command. |
==Position== | ==Position== |
Revision as of 20:09, 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.
Item Model Dialog
When you have a resource pack configured in your server.properties
an item model search dialog becomes available. This dialog has easier click navigation of the entire resource pack, and includes a search dialog. You can open this dialog anywhere as a creative menu using the /train model search
command.
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).