# Optifine loading screen

{% hint style="danger" %}
**Optifine** is **not officially supported** by **ItemsAdder**, but if you want to get more customization you can read these tutorials.

**Please don't ask support about Optifine features. Thanks!**

If you want you can use the [alternative method](https://itemsadder.devs.beer/plugin-usage/loading-screen) which doesn't require **Optifine**.
{% endhint %}

## Vanilla loading screen

![](https://2228257718-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Faipc4QQKwVS0w1Q604ya%2Fuploads%2Fgit-blob-b86ee42d4052ea4fd6d7f5be65924b4481978e86%2Fimage_\(44\).png?alt=media)

## Custom loading screen

![](https://2228257718-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Faipc4QQKwVS0w1Q604ya%2Fuploads%2Fgit-blob-0ca5c09745a8f42aa3253a7e9d4ae721544bbc35%2Fimage_\(51\).png?alt=media)

## How to do that?

### Minecraft 1.15 and lower versions

![](https://2228257718-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Faipc4QQKwVS0w1Q604ya%2Fuploads%2Fgit-blob-03e8b2d71c6dec665ce79a0b188c60ac36f89b4f%2Fimage_\(49\).png?alt=media)

You can get a [GIMP ](https://www.gimp.org/downloads/)template [here](https://github.com/LoneDev6/SpigotUtilities/blob/master/ItemsAdder/various_files/mojang_template.xcf).

* Edit my file: `contents/loading_screen/resourcepack/minecraft/textures/gui/title/mojang.png`
* Save the file in the same location

### Minecraft 1.16+

![](https://2228257718-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Faipc4QQKwVS0w1Q604ya%2Fuploads%2Fgit-blob-0efe93c8f7af840e449fa5700705e65e8eb76efe%2Fimage_\(48\).png?alt=media)

{% hint style="danger" %}
**Warning**: a known issue is that the logo is bugged when you use `/iazip` or `/iatexture` to apply the texture ingame.\
The logo will be shown with no issue only on server join for some reason, probably an Optifine bug.
{% endhint %}

A little bit difficult:\
basically you have to split your image in half like I did, so you have to know how to use image editing programs (Photoshop, GIMP or Paint.net).\
You can get a [GIMP ](https://www.gimp.org/downloads/)template [here](https://github.com/LoneDev6/SpigotUtilities/blob/master/ItemsAdder/various_files/mojangstudios_template.xcf).

* Edit my file: `contents\loading_screen\resourcepack\minecraft\textures\gui\title\mojangstudios.png`
* Save the file in the same location

{% hint style="danger" %}
**IMPORTANT**\
The position of the parts needs to be precise.\
The left side of the texture needs to touch the top-right corner of the canvas while the right side needs to touch the center-left side of the canvas.

This is **always** the case, no matter the size of the actual texture!
{% endhint %}

### How to change the background color (1.16+ only)

Create a new file (or edit the already provided one): `contents/loading_screen/resourcepack/minecraft/optifine/color.properties`

Put this content:

```yaml
###############################################################################
# Resource loading screen
###############################################################################
# Background color
screen.loading=14181c
# Loading bar background color
screen.loading.bar=14181c
# Loading bar outline
screen.loading.outline=303336
# Loading bar foreground color
screen.loading.progress=1f17ce
# Logo blend mode
# Where src, dst, srcA and dstA are one of: 
#   ZERO, ONE, SRC_COLOR, ONE_MINUS_SRC_COLOR, DST_COLOR, ONE_MINUS_DST_COLOR, 
#   SRC_ALPHA, ONE_MINUS_SRC_ALPHA, DST_ALPHA, ONE_MINUS_DST_ALPHA, SRC_ALPHA_SATURATE
screen.loading.blend=DST_COLOR
```

You can edit the colors using a [HEX color picker](https://www.w3schools.com/colors/colors_picker.asp)

{% hint style="danger" %}
Do not include the `#` at the start of the color code!
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://itemsadder.devs.beer/japanese/old/old-guides/optifine-only-features/loading-screen.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
