# ItemsAdders Configuration

### 🧩 OptiFine / CIT Configuration (ItemsAdder)

สำหรับ **ItemsAdder** การเปิดใช้งาน **OptiFine / CIT** มีความจำเป็น\
โดยเฉพาะเพื่อให้ **โมเดลและ texture ของ armor** สามารถถูกแปลงได้อย่างถูกต้อง

#### ค่า OptiFine เริ่มต้นที่แนะนำ

```yml
optifine:
  generate_cit:
    1_20_4_lower: true
```

#### การตั้งค่านี้หมายความว่า:

* เปิดใช้งานการประมวลผล **OptiFine CIT**
* จำเป็นสำหรับการแปลง armor ใน Resource Pack ที่ใช้ ItemsAdder
* ช่วยให้ตัวแปลงสามารถตรวจจับ:
  * โมเดล armor
  * layer ของ armor
  * overrides ต่าง ๆ ได้อย่างถูกต้อง

📌 ตัวเลือกนี้ **จำเป็นเฉพาะตอนทำการ Convert เท่านั้น**\
หลังจากแปลงเสร็จแล้ว สามารถ **เปลี่ยนกลับเป็นค่าเดิมได้**

***

#### ⚠️ หากปิดการตั้งค่านี้ อาจเกิดปัญหา:

* Armor ไม่แสดงในเกม
* Texture ของ armor หาย
* โมเดล armor เสีย หรือมองไม่เห็น

***

### 🔐 Protection Settings (ItemsAdder)

**ItemsAdder ไม่จำเป็นต้องเปิดระบบป้องกันไฟล์**\
ในระหว่างกระบวนการแปลงด้วย J2B Converter

#### ค่า Protection เริ่มต้นที่แนะนำ

```yml
protect-file-from-unzip:
  protection_1: false
  protection_2: false
  protection_3: false
  short_texture_references: false
```

#### การตั้งค่านี้หมายความว่า:

* ตัวเลือกการป้องกันทั้งหมดถูก **ปิดไว้**
* ไม่จำเป็นต้องใช้ file protection ในการแปลง
* การเปิด protection อาจทำให้:
  * ไฟล์ armor
  * ไฟล์ item ไม่ถูกประมวลผลอย่างถูกต้อง
  * เกิด error ระหว่าง convert

📌 **ค่าทั้งหมดควรปล่อยไว้เป็น `false` แต่สามารถตั้งค่ากับเหมือนเดิมได้หลัง Convert เสร็จ**

***


---

# 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://kaizermc-wiki.gitbook.io/j2b-converter/help-center/j2bcovnert-wiki-th/getting-started/pre-convert-configuration/itemsadders-configuration.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.
