Easy Item Positions
用于平面屏幕和 VR 的实时物品位置编辑器 :D 旨在处理自定义资源包和模组物品!
如何使用编辑器:
- 平面屏幕: 手持物品时打开编辑器(默认键位为“P”),即可使用!通过按下 WASDQE、点击并拖动小工具箭头,或手动输入数值来重新定位物品。左上角有一个切换开关,可在移动模式和旋转模式之间切换。
- Vivecraft: 使用连接的键盘打开编辑器,输入命令
/eip edit,或将键位绑定到径向菜单或特殊键位上。除非你过去重新绑定了传送功能,否则默认情况下,使用副手触发器将允许你抓住小工具箭头并在 3D 空间中拖动物品。物品中心会有一个方框,抓住该方框即可沿任意轴自由拖动物品!与平面屏幕一样,左上角的切换开关可在移动模式和旋转模式之间切换。
对于希望在不佩戴头显的情况下更新物品以在 VR 中正确显示的 Vivecraft 玩家,还有一个平面屏幕 VR 上下文,可以通过按编辑器 UI 中其他选项中间的大上下文按钮来选择。这使用 Vivecraft 的手臂渲染器来展示物品变换在 VR 手中的外观,而无需戴上你的头显。变换的编辑方式与平面屏幕相同。预览手臂可以通过按住 空格键 并按下 WASDQE 进行 旋转,将其想象为由六个方向键组成的操纵杆。双击空格键可重置预览手的位置。顺便一提,此选项需要安装 Vivecraft 才会出现。
如何保存编辑:
有多种方法可以保存你的编辑内容。
- 只需关闭编辑器。 模组会自动将修改后的变换保存在一个跨重启持久化的配置文件中。玩家和整合包创建者只需使用编辑器调整物品位置至满意即可。
- 导出! 这会在实例的资源包文件夹中创建一个包含修改后物品模型(带有新变换)的资源包。成功导出后,模组 会 清除本地配置中所有已导出的变换。导出将导出所有当前修改的位置,如果之前已在导出中保存过相同物品的条目,则会覆盖它们。重新导出 会 覆盖导出包中该物品
model.json的任何先前版本。最后:除非获得版权持有者的许可,否则不要发布或传播包含不属于你模型资产的导出资源包。 导出的物品文件包含整个模型文件……好吧,只是模型。导出中不包含任何纹理,但模型仍受任何给定创作者许可协议的约束。包仍需像任何其他资源包一样激活才能生效。确保它位于列表顶部,否则模型可能会被覆盖。 - 在某些情况下,物品可能包含条件动画模型变体等。在编辑器中,保存选项下方有一个下拉菜单,提供“应用到所有变体”选项,该选项立即将修改后的变换应用于所有模型变体。这在例如食用动画资源包的情况下非常有效。
- 在同一下拉菜单中,有一个“保存到父级”选项,该选项将给定的变换应用于物品的父级(如果存在)。
配置选项:
- 边界居中的小工具: OFF 在小工具的模型枢轴点(变换实际应用的位置)处渲染小工具,ON 尝试将小工具居中于模型上(这在某些情况下效果很好,可以使在使用非常偏离中心的枢轴点时更容易使用小工具)。
- 自动应用到变体: 顾名思义,但在批量更新具有大量变体的模型时非常有用。自动将编辑后的位置应用于所有变体,而不仅仅是当前聚焦的那个。
命令:
- /eip edit (打开编辑器 UI)
- /eip export (将当前保存的变换导出为资源包)
- /eip clear (清除本地变换配置,即清除所有当前保存的物品变换。不影响已导出的资源包)
视频由 Carter the Cat 提供! 录制此视频时,模组名为 MC Position Editor,而非正式名称 Easy Item Positions。所有功能均相同。
联系方式
如有任何问题/意见/想法,欢迎通过 Discord 或 Matrix 与我联系 :)
致谢:
我想感谢 Rafinha 和 Carter the Cat 在 Discord 上为本模组开发过程中提供的所有反馈和支持 :)
Easy Item Positions
Live item position editor for flatscreen and VR :D Designed to handle custom resourcepacks and modded items!
How To Use the Editor:
- Flatscreen: Open the editor with an item in-hand (default keybind is "P") and viola! Reposition the item via pressing WASDQE, clicking and dragging the gizmo arrows, or manually typing values. There is a toggle in the top left that switches between move and rotate modes.
- Vivecraft: Open the editor with a connected keyboard, typing the command "/eip edit", or binding the keybind to the radial menu or a special keybind. Unless you have rebound teleport in the past, by default using the offhand trigger will allow you to grab the gizmo arrows and pull the item around in 3d space. At the center of the item will be a box and grabbing that will allow you to drag the item freely on any axis! Just like in Flatscreen, the toggle in the upper left switches between move and rotate modes.
For Vivecraft players that want to update items to show correctly in VR without using their headset, there is also a flatscreen VR context that can be selected by pressing the big context button sandwiched in between the other options in the editor UI. This uses Vivecraft's arm renderer to show how an item's transforms will look in the VR hand without putting on your headset. Transforms can be edited the same way as in Flatscreen. The preview arm can be rotated by holding spacebar and pressing WASDQE imagining it as 6 arrow keys creating a joystick. Double tapping spacebar resets the preview hand position. FYI Vivecraft does need to be installed for this option to appear.
How to Save Edits:
There are several ways to save your edits.
- Just close the editor. The mod automatically saves the modified transforms in a config file that persists across restarts. Players and modpack creators can simply use the editor to adjust an item's positions to their liking and there you go.
- Export! This creates a resourcepack in the instance's resourcepacks folder with the modified item models containing the new transforms. After successful export, the mod will clear the local config of all the exported transforms. Exporting will export all current modified positions and will overwrite any same-item entries if previously saved in an export. Re-exporting will overwrite any previous versions of that item's model.json in the exported pack. Lastly: DO NOT PUBLISH OR CIRCULATE EXPORTED RESOURCEPACKS CONTAINING MODEL ASSETS THAT DO NOT BELONG TO YOU UNLESS GIVEN PERMISSION FROM THE COPYRIGHT HOLDER. Exported item files contain the entire model files...well model. No textures are included in the export but models are still bound by any given creator's licensing. Pack does still need to be activated like any other resourcepack in order to work. Make sure it is at the top of the list or the models may be overriden.
- In the case of some items, they may contain conditional animated model variants and so on. In the editor there is a dropdown menu from the save option which gives an option to "Apply to All Variants" which applies the modified transforms to all model variants immediately. This works very well for instance in the case of eating animation resource packs.
- In the same dropdown menu, there is a "Save to Provider" option which applies the given transforms to the item's parent if present.
Config Options:
- Bounds-centered Gizmos: OFF renders the gizmo at the model's pivot point (what the transforms actually apply to), ON tries to center the gizmo on the model (this can work well sometimes to make it easier to use the gizmos on very off-centered pivot points).
- Auto Apply to Variants: Pretty self explanatory, but useful when bulk updating models with loads of variants. Automatically applies the edited positions to all variants instead of just the one currently in focus.
Commands:
- /eip edit (opens the editor UI)
- /eip export (exports current saved transforms as a resourcepack)
- /eip clear (clears local transforms config, aka clears all currently saved item transforms. Does not effect exported resourcepacks)
Video thanks to Carter the Cat! When this was recorded, the mod was called MC Position Editor instead of the official name Easy Item Positions. All functionality is the same.
Contact
For any questions/issues/ideas, feel free to contact me on Discord or Matrix :)
Credits:
I want to thank Rafinha and Carter the Cat on Discord for all the feedback and support while developing this mod :)
下载 Easy Item Positions
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Easy Item Positions
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Easy Item Positions
下载 Easy Item Positions
下载 Easy Item Positions
下载 Easy Item Positions
下载 Easy Item Positions
下载 Easy Item Positions
下载 Easy Item Positions
下载 Easy Item Positions
1.0.1
- 首次发布!
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧