your current location:首页 > news>[Nothing to configuration] Global modification of the two -button position in the upper left corner [IPN] One -click bac

[Nothing to configuration] Global modification of the two -button position in the upper left corner [IPN] One -click bac

2024-12-10 17:55:58|Myriagame |source:minecraft skins

This tutorial is set by the author to use the CC By-NC-SA protocol.

Background

The two buttons in the upper left corner (GUI editor and IPN settings) are often blocked by the Xei (jei/rei/emi ...) button.

After studying this MOD slightly, there are two ways:

The IPN settings are directly hidden, and I don’t see it.

GUI Edit button, enter the editing mode, move the position of the two buttons

Ignore him, let him block, the little button is not rare to order him anymore

If you just want to keep these two buttons, it is uncomfortable to be blocked, so you must choose the second method.

When you finish the position in the item bar, and then open the box, you will find: Huh?Why did you go back again?

That's right, the IPN's GUI editor is based on the screen (Screen)/menu (menu). Each screen interface must be reset again, without the function of inheritance or the matching character.Nightmare!IntersectionIntersection

This problem has troubled me for a long time, until the source code was turned over:

(↑ Click to see the big picture ↑)

Guisettings corresponds to the "GUI settings" of the left menu on the left menu, but these four settings are not found in the game.

When I thought it was a function that only had more than 1.21 or more, I found that the code also said "§Hide -Default Button Possitions".Hey, Hide?Then I have to try, so I have this tutorial!

Configuration

I did not find how these four hidden settings were displayed in the game (maybe in the code of the front libipn, I am interested in the overwhelming).

The configuration file must be turned off first, the game first, and the game first!IntersectionIntersectionOtherwise, the content will be brushed by the game!

Find a configuration

The configuration file of the IPN is located in the /config/InventoryProfilesnext folder. There is an InventoryProfiles.json file.This JSON file preserves all the changing configuration items.

I can't find it. Open the IPN settings in the game. The first button of the homepage (MOD settings) can be opened to open the folder.

Change configuration

Modify the JSON file as follows, and modify the value on demand.The values ​​given below are the default values ​​of the corresponding configuration item.

 {{

... other settings

"Guisettings": {

... other settings

"Settings_top": 25,

"Settings_left": 10, 10,

"Editor_top": 10, 10,

"Editor_left": 10

}

}

"Settings_top" and "settings_left" represent the pixels of the "IPN setting button" from the top of the screen and the left of the screen;

"Editor_TOP" and "Editor_Left" represents the "GUI editing button" pixels from the top of the screen and the left side of the screen;

They are integer, and the range is unlimited (the minimum value of the INT is to the maximum value), and of course it must be ensured inside the screen.

Pay attention to the JSON grammar specification, there is a comma at the end, and there is no comma in the last item.

Game, start!

The configuration file I tested is as follows:

So the game looks like this: