这是一个客户端模组,为所有图形用户界面(GUI)添加了搜索栏。
搜索栏具有自定义纹理。
你可以在配置文件中控制每个 GUI 的搜索栏位置及其使用的纹理。
你可以将此模组用于你的整合包中,无需注明我的名字!
会自动为所有 GUI 添加搜索栏(包括其他模组的 GUI)。你可以单独禁用某个 GUI 的搜索栏、更改其纹理或调整该 GUI 上搜索栏的位置。
可能存在一些 Bug 或与其他模组的冲突。
支持 JEI、REI 和 EMI。
每个 GUI 在在游戏中打开后,都会被添加到配置文件中。
配置教程 :
嘿!这是一份关于如何使用 SearchingGUI 模组配置系统的快速指南。
你可以在以下路径找到配置文件:
Modpack/config/searchinggui/config.json
在使用模组时打开的每个 GUI 都会自动添加到配置文件中。
对于每个 GUI,你可以调整:
offsetX 和 offsetY
移动搜索栏的位置(同时也会移动纹理)
textureOffsetX 和 textureOffsetY
移动背景纹理的位置(使用自定义纹理时可能很有用)
texture
选择 "default"、"default_detached" 或自定义纹理文件,如 "mytexture.png"。自定义纹理必须位于 Modpack/config/searchinggui/textures/gui/mytexture.png。使用自定义纹理时,必须包含 .png 扩展名。
enable
设置为 true 或 false 以切换此 GUI 的搜索栏开关
示例
"example_gui_id": {
"offsetX": 0,
"offsetY": -20,
"textureOffsetX": 0,
"textureOffsetY": 0,
"texture": "default_detached",
"enable": true
}
这会将搜索栏显示在其正常位置上方 20 像素处,并使用不同的背景纹理。
就这样!
你无需重新加载资源包或重启游戏即可应用修改。
This is a client mod that adds a search bar to all GUIs.
The search bars have a custom texture.
You can control the position of the bar and the texture used for each GUIs in config file.
You can use this mod in your modpacks without crediting me !
A search bar is automatically added to all GUIs (even those from other mods). You can disable the search bar individually, change the texture, or change the position of the search bar for each GUI.
There are maybe some bugs or conflicts with other mods.
Works with JEI, REI and EMI.
Each GUI is added to the config file once it has been opened in-game.
Configs Tutorial :
Hey! This is a quick guide on how to use the config system of the SearchingGUI mod.
You'll find the config file here:
Modpack/config/searchinggui/config.json
Each GUI you open while using the mod gets automatically added in the config file.
For each GUI, you can tweak:
offsetX and offsetY
moves the search bar around (also move the texture)
textureOffsetX and textureOffsetY
moves the background texture (can be useful with custom textures)
texture
choose "default", "default_detached", or a custom texture file like "mytexture.png", the custom texture has to be in Modpack/config/searchinggui/textures/gui/mytexture.png.
With custom texture you have to put the .png extension.
enable
true or false to toggle the search bar for this GUI
Example
"example_gui_id": {
"offsetX": 0,
"offsetY": -20,
"textureOffsetX": 0,
"textureOffsetY": 0,
"texture": "default_detached",
"enable": true
}
This shows the bar 20 pixels above its normal spot with a different background.
That’s it!
You don't need to reload resource packs or restart the game to apply modifications.
评论 0
登录后参与评分
还没有评论,来抢沙发吧