diff --git a/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/aqua_affinity.json b/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/aqua_affinity.json new file mode 100644 index 0000000000..a64876517b --- /dev/null +++ b/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/aqua_affinity.json @@ -0,0 +1,11 @@ +{ + "category": "ars_nouveau:enchantments", + "icon": "minecraft:enchanted_book", + "name": "enchantment.minecraft.aqua_affinity", + "pages": [ + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:aqua_affinity_1" + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/bane_of_arthropods.json b/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/bane_of_arthropods.json new file mode 100644 index 0000000000..ec031e16a8 --- /dev/null +++ b/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/bane_of_arthropods.json @@ -0,0 +1,27 @@ +{ + "category": "ars_nouveau:enchantments", + "icon": "minecraft:enchanted_book", + "name": "enchantment.minecraft.bane_of_arthropods", + "pages": [ + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:bane_of_arthropods_1" + }, + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:bane_of_arthropods_2" + }, + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:bane_of_arthropods_3" + }, + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:bane_of_arthropods_4" + }, + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:bane_of_arthropods_5" + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/blast_protection.json b/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/blast_protection.json new file mode 100644 index 0000000000..f40baacd70 --- /dev/null +++ b/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/blast_protection.json @@ -0,0 +1,23 @@ +{ + "category": "ars_nouveau:enchantments", + "icon": "minecraft:enchanted_book", + "name": "enchantment.minecraft.blast_protection", + "pages": [ + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:blast_protection_1" + }, + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:blast_protection_2" + }, + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:blast_protection_3" + }, + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:blast_protection_4" + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/depth_strider.json b/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/depth_strider.json new file mode 100644 index 0000000000..4ab8fd48a4 --- /dev/null +++ b/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/depth_strider.json @@ -0,0 +1,19 @@ +{ + "category": "ars_nouveau:enchantments", + "icon": "minecraft:enchanted_book", + "name": "enchantment.minecraft.depth_strider", + "pages": [ + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:depth_strider_1" + }, + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:depth_strider_2" + }, + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:depth_strider_3" + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/efficiency.json b/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/efficiency.json new file mode 100644 index 0000000000..3105d78404 --- /dev/null +++ b/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/efficiency.json @@ -0,0 +1,27 @@ +{ + "category": "ars_nouveau:enchantments", + "icon": "minecraft:enchanted_book", + "name": "enchantment.minecraft.efficiency", + "pages": [ + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:efficiency_1" + }, + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:efficiency_2" + }, + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:efficiency_3" + }, + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:efficiency_4" + }, + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:efficiency_5" + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/feather_falling.json b/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/feather_falling.json new file mode 100644 index 0000000000..3818a0f0c4 --- /dev/null +++ b/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/feather_falling.json @@ -0,0 +1,23 @@ +{ + "category": "ars_nouveau:enchantments", + "icon": "minecraft:enchanted_book", + "name": "enchantment.minecraft.feather_falling", + "pages": [ + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:feather_falling_1" + }, + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:feather_falling_2" + }, + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:feather_falling_3" + }, + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:feather_falling_4" + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/fire_aspect.json b/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/fire_aspect.json new file mode 100644 index 0000000000..469f18690e --- /dev/null +++ b/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/fire_aspect.json @@ -0,0 +1,15 @@ +{ + "category": "ars_nouveau:enchantments", + "icon": "minecraft:enchanted_book", + "name": "enchantment.minecraft.fire_aspect", + "pages": [ + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:fire_aspect_1" + }, + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:fire_aspect_2" + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/fire_protection.json b/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/fire_protection.json new file mode 100644 index 0000000000..14a4beed28 --- /dev/null +++ b/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/fire_protection.json @@ -0,0 +1,23 @@ +{ + "category": "ars_nouveau:enchantments", + "icon": "minecraft:enchanted_book", + "name": "enchantment.minecraft.fire_protection", + "pages": [ + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:fire_protection_1" + }, + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:fire_protection_2" + }, + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:fire_protection_3" + }, + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:fire_protection_4" + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/flame.json b/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/flame.json new file mode 100644 index 0000000000..87ebab4056 --- /dev/null +++ b/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/flame.json @@ -0,0 +1,11 @@ +{ + "category": "ars_nouveau:enchantments", + "icon": "minecraft:enchanted_book", + "name": "enchantment.minecraft.flame", + "pages": [ + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:flame_1" + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/fortune.json b/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/fortune.json new file mode 100644 index 0000000000..2b535d79a3 --- /dev/null +++ b/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/fortune.json @@ -0,0 +1,19 @@ +{ + "category": "ars_nouveau:enchantments", + "icon": "minecraft:enchanted_book", + "name": "enchantment.minecraft.fortune", + "pages": [ + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:fortune_1" + }, + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:fortune_2" + }, + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:fortune_3" + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/infinity.json b/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/infinity.json new file mode 100644 index 0000000000..2de38e2b14 --- /dev/null +++ b/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/infinity.json @@ -0,0 +1,11 @@ +{ + "category": "ars_nouveau:enchantments", + "icon": "minecraft:enchanted_book", + "name": "enchantment.minecraft.infinity", + "pages": [ + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:infinity_1" + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/knockback.json b/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/knockback.json new file mode 100644 index 0000000000..5180ec3c07 --- /dev/null +++ b/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/knockback.json @@ -0,0 +1,15 @@ +{ + "category": "ars_nouveau:enchantments", + "icon": "minecraft:enchanted_book", + "name": "enchantment.minecraft.knockback", + "pages": [ + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:knockback_1" + }, + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:knockback_2" + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/looting.json b/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/looting.json new file mode 100644 index 0000000000..3f6a0df225 --- /dev/null +++ b/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/looting.json @@ -0,0 +1,19 @@ +{ + "category": "ars_nouveau:enchantments", + "icon": "minecraft:enchanted_book", + "name": "enchantment.minecraft.looting", + "pages": [ + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:looting_1" + }, + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:looting_2" + }, + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:looting_3" + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/mana_boost.json b/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/mana_boost.json new file mode 100644 index 0000000000..d22e878d2a --- /dev/null +++ b/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/mana_boost.json @@ -0,0 +1,19 @@ +{ + "category": "ars_nouveau:enchantments", + "icon": "minecraft:enchanted_book", + "name": "enchantment.ars_nouveau.mana_boost", + "pages": [ + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:mana_boost_1" + }, + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:mana_boost_2" + }, + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:mana_boost_3" + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/mana_regen.json b/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/mana_regen.json new file mode 100644 index 0000000000..023e71f2ca --- /dev/null +++ b/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/mana_regen.json @@ -0,0 +1,19 @@ +{ + "category": "ars_nouveau:enchantments", + "icon": "minecraft:enchanted_book", + "name": "enchantment.ars_nouveau.mana_regen", + "pages": [ + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:mana_regen_1" + }, + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:mana_regen_2" + }, + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:mana_regen_3" + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/multishot.json b/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/multishot.json new file mode 100644 index 0000000000..ded57db370 --- /dev/null +++ b/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/multishot.json @@ -0,0 +1,11 @@ +{ + "category": "ars_nouveau:enchantments", + "icon": "minecraft:enchanted_book", + "name": "enchantment.minecraft.multishot", + "pages": [ + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:multishot_1" + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/piercing.json b/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/piercing.json new file mode 100644 index 0000000000..a768a4e1b0 --- /dev/null +++ b/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/piercing.json @@ -0,0 +1,23 @@ +{ + "category": "ars_nouveau:enchantments", + "icon": "minecraft:enchanted_book", + "name": "enchantment.minecraft.piercing", + "pages": [ + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:piercing_1" + }, + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:piercing_2" + }, + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:piercing_3" + }, + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:piercing_4" + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/power.json b/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/power.json new file mode 100644 index 0000000000..1af3b333a0 --- /dev/null +++ b/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/power.json @@ -0,0 +1,27 @@ +{ + "category": "ars_nouveau:enchantments", + "icon": "minecraft:enchanted_book", + "name": "enchantment.minecraft.power", + "pages": [ + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:power_1" + }, + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:power_2" + }, + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:power_3" + }, + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:power_4" + }, + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:power_5" + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/projectile_protection.json b/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/projectile_protection.json new file mode 100644 index 0000000000..507cdb1902 --- /dev/null +++ b/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/projectile_protection.json @@ -0,0 +1,23 @@ +{ + "category": "ars_nouveau:enchantments", + "icon": "minecraft:enchanted_book", + "name": "enchantment.minecraft.projectile_protection", + "pages": [ + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:projectile_protection_1" + }, + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:projectile_protection_2" + }, + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:projectile_protection_3" + }, + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:projectile_protection_4" + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/protection.json b/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/protection.json new file mode 100644 index 0000000000..15555513c1 --- /dev/null +++ b/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/protection.json @@ -0,0 +1,23 @@ +{ + "category": "ars_nouveau:enchantments", + "icon": "minecraft:enchanted_book", + "name": "enchantment.minecraft.protection", + "pages": [ + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:protection_1" + }, + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:protection_2" + }, + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:protection_3" + }, + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:protection_4" + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/punch.json b/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/punch.json new file mode 100644 index 0000000000..b2033e0eb2 --- /dev/null +++ b/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/punch.json @@ -0,0 +1,15 @@ +{ + "category": "ars_nouveau:enchantments", + "icon": "minecraft:enchanted_book", + "name": "enchantment.minecraft.punch", + "pages": [ + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:punch_1" + }, + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:punch_2" + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/quick_charge.json b/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/quick_charge.json new file mode 100644 index 0000000000..9df948de2c --- /dev/null +++ b/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/quick_charge.json @@ -0,0 +1,19 @@ +{ + "category": "ars_nouveau:enchantments", + "icon": "minecraft:enchanted_book", + "name": "enchantment.minecraft.quick_charge", + "pages": [ + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:quick_charge_1" + }, + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:quick_charge_2" + }, + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:quick_charge_3" + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/respiration.json b/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/respiration.json new file mode 100644 index 0000000000..33b2f34155 --- /dev/null +++ b/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/respiration.json @@ -0,0 +1,19 @@ +{ + "category": "ars_nouveau:enchantments", + "icon": "minecraft:enchanted_book", + "name": "enchantment.minecraft.respiration", + "pages": [ + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:respiration_1" + }, + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:respiration_2" + }, + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:respiration_3" + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/sharpness.json b/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/sharpness.json new file mode 100644 index 0000000000..f3ae480c88 --- /dev/null +++ b/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/sharpness.json @@ -0,0 +1,27 @@ +{ + "category": "ars_nouveau:enchantments", + "icon": "minecraft:enchanted_book", + "name": "enchantment.minecraft.sharpness", + "pages": [ + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:sharpness_1" + }, + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:sharpness_2" + }, + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:sharpness_3" + }, + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:sharpness_4" + }, + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:sharpness_5" + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/silk_touch.json b/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/silk_touch.json new file mode 100644 index 0000000000..e119e9230d --- /dev/null +++ b/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/silk_touch.json @@ -0,0 +1,11 @@ +{ + "category": "ars_nouveau:enchantments", + "icon": "minecraft:enchanted_book", + "name": "enchantment.minecraft.silk_touch", + "pages": [ + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:silk_touch_1" + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/smite.json b/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/smite.json new file mode 100644 index 0000000000..0ff3725044 --- /dev/null +++ b/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/smite.json @@ -0,0 +1,27 @@ +{ + "category": "ars_nouveau:enchantments", + "icon": "minecraft:enchanted_book", + "name": "enchantment.minecraft.smite", + "pages": [ + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:smite_1" + }, + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:smite_2" + }, + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:smite_3" + }, + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:smite_4" + }, + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:smite_5" + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/sweeping_edge.json b/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/sweeping_edge.json new file mode 100644 index 0000000000..fb3ef178b8 --- /dev/null +++ b/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/sweeping_edge.json @@ -0,0 +1,19 @@ +{ + "category": "ars_nouveau:enchantments", + "icon": "minecraft:enchanted_book", + "name": "enchantment.minecraft.sweeping_edge", + "pages": [ + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:sweeping_edge_1" + }, + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:sweeping_edge_2" + }, + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:sweeping_edge_3" + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/thorns.json b/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/thorns.json new file mode 100644 index 0000000000..fdbe3b89df --- /dev/null +++ b/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/thorns.json @@ -0,0 +1,19 @@ +{ + "category": "ars_nouveau:enchantments", + "icon": "minecraft:enchanted_book", + "name": "enchantment.minecraft.thorns", + "pages": [ + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:thorns_1" + }, + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:thorns_2" + }, + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:thorns_3" + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/unbreaking.json b/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/unbreaking.json new file mode 100644 index 0000000000..a2a12f0480 --- /dev/null +++ b/src/generated/resources/assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/enchantments/unbreaking.json @@ -0,0 +1,19 @@ +{ + "category": "ars_nouveau:enchantments", + "icon": "minecraft:enchanted_book", + "name": "enchantment.minecraft.unbreaking", + "pages": [ + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:unbreaking_1" + }, + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:unbreaking_2" + }, + { + "type": "ars_nouveau:enchanting_recipe", + "recipe": "ars_nouveau:unbreaking_3" + } + ] +} \ No newline at end of file diff --git a/src/main/java/com/hollingsworth/arsnouveau/common/datagen/EnchantmentProvider.java b/src/main/java/com/hollingsworth/arsnouveau/common/datagen/EnchantmentProvider.java index 7b63aa4ac0..ce330e429f 100644 --- a/src/main/java/com/hollingsworth/arsnouveau/common/datagen/EnchantmentProvider.java +++ b/src/main/java/com/hollingsworth/arsnouveau/common/datagen/EnchantmentProvider.java @@ -5,6 +5,7 @@ import com.hollingsworth.arsnouveau.setup.registry.EnchantmentRegistry; import net.minecraft.core.HolderGetter; import net.minecraft.core.HolderLookup; +import net.minecraft.core.RegistryAccess; import net.minecraft.core.RegistrySetBuilder; import net.minecraft.core.registries.BuiltInRegistries; import net.minecraft.core.registries.Registries; @@ -93,6 +94,10 @@ public String getName() { return "Ars Nouveau's Enchantment Data"; } + public static HolderLookup.Provider createLookup() { + RegistryAccess.Frozen frozen = RegistryAccess.fromRegistryOfRegistries(BuiltInRegistries.REGISTRY); + return BUILDER.build(frozen); + } public static class EnchantmentTagsProvider extends net.minecraft.data.tags.EnchantmentTagsProvider { diff --git a/src/main/java/com/hollingsworth/arsnouveau/common/datagen/ModDatagen.java b/src/main/java/com/hollingsworth/arsnouveau/common/datagen/ModDatagen.java index e4741ca5ab..0d38b50432 100644 --- a/src/main/java/com/hollingsworth/arsnouveau/common/datagen/ModDatagen.java +++ b/src/main/java/com/hollingsworth/arsnouveau/common/datagen/ModDatagen.java @@ -31,7 +31,6 @@ public static void datagen(GatherDataEvent event) { event.getGenerator().addProvider(event.includeServer(), new BlockStatesDatagen(output, ArsNouveau.MODID, fileHelper)); event.getGenerator().addProvider(event.includeServer(), new GlyphRecipeProvider(event.getGenerator())); event.getGenerator().addProvider(event.includeServer(), new ApparatusRecipeProvider(event.getGenerator())); - event.getGenerator().addProvider(event.includeServer(), new PatchouliProvider(event.getGenerator())); event.getGenerator().addProvider(event.includeServer(), new DefaultTableProvider(output, provider)); event.getGenerator().addProvider(event.includeServer(), new ImbuementRecipeProvider(event.getGenerator())); event.getGenerator().addProvider(event.includeServer(), new CrushRecipeProvider(event.getGenerator())); @@ -60,6 +59,8 @@ public static void datagen(GatherDataEvent event) { event.getGenerator().addProvider(event.includeServer(), new ANCurioProvider(output, fileHelper, provider)); + event.getGenerator().addProvider(event.includeServer(), new PatchouliProvider(event.getGenerator(), provider)); + DatapackBuiltinEntriesProvider datapackProvider = new WorldgenProvider(output, provider); event.getGenerator().addProvider(event.includeServer(), datapackProvider); CompletableFuture lookupProvider = datapackProvider.getRegistryProvider(); diff --git a/src/main/java/com/hollingsworth/arsnouveau/common/datagen/PatchouliProvider.java b/src/main/java/com/hollingsworth/arsnouveau/common/datagen/PatchouliProvider.java index 9dbac0c29a..a1c40d13e2 100644 --- a/src/main/java/com/hollingsworth/arsnouveau/common/datagen/PatchouliProvider.java +++ b/src/main/java/com/hollingsworth/arsnouveau/common/datagen/PatchouliProvider.java @@ -21,8 +21,12 @@ import com.hollingsworth.arsnouveau.setup.registry.EnchantmentRegistry; import com.hollingsworth.arsnouveau.setup.registry.ItemsRegistry; import com.hollingsworth.arsnouveau.setup.registry.ModEntities; +import net.minecraft.client.Minecraft; +import net.minecraft.core.HolderLookup; +import net.minecraft.core.registries.Registries; import net.minecraft.data.CachedOutput; import net.minecraft.data.DataGenerator; +import net.minecraft.network.chat.contents.TranslatableContents; import net.minecraft.resources.ResourceKey; import net.minecraft.resources.ResourceLocation; import net.minecraft.world.entity.EntityType; @@ -37,6 +41,7 @@ import java.util.ArrayList; import java.util.Arrays; import java.util.List; +import java.util.concurrent.CompletableFuture; import static com.hollingsworth.arsnouveau.setup.registry.RegistryHelper.getRegistryName; @@ -62,8 +67,11 @@ public class PatchouliProvider extends SimpleDataProvider{ public List pages = new ArrayList<>(); - public PatchouliProvider(DataGenerator generatorIn) { + public CompletableFuture registries; + + public PatchouliProvider(DataGenerator generatorIn, CompletableFuture registries) { super(generatorIn); + this.registries = registries; } public void addEntries() { @@ -760,13 +768,28 @@ public void addRitualPage(AbstractRitual ritual) { this.pages.add(new PatchouliPage(builder, this.output.resolve("assets/" + ritual.getRegistryName().getNamespace() + "/patchouli_books/worn_notebook/en_us/entries/rituals/" + ritual.getRegistryName().getPath() + ".json"))); } - public void addEnchantmentPage(ResourceKey enchantment) { -// PatchouliBuilder builder = new PatchouliBuilder(ENCHANTMENTS, enchantment.getDescriptionId()) -// .withIcon(getRegistryName(Items.ENCHANTED_BOOK).toString()); -// for (int i = enchantment.getMinLevel(); i <= enchantment.getMaxLevel(); i++) { -// builder.withPage(new EnchantingPage("ars_nouveau:" + enchantment.location().getPath() + "_" + i)); -// } -// this.pages.add(new PatchouliPage(builder, this.output.resolve("assets/ars_nouveau/patchouli_books/worn_notebook/en_us/entries/" + enchantment.location().getPath() + ".json"))); + public void addEnchantmentPage(ResourceKey enchKey) { + var provider = this.registries.join(); + var enchantmentRegistry = provider.lookupOrThrow(Registries.ENCHANTMENT); + var maybeEnchant = enchantmentRegistry.get(enchKey); + if (maybeEnchant.isEmpty()) { + var arsEnchantmentRegistry = EnchantmentProvider.createLookup(); + maybeEnchant = arsEnchantmentRegistry.lookupOrThrow(Registries.ENCHANTMENT).get(enchKey); + } + if (maybeEnchant.isEmpty()) { + return; + } + var enchantment = maybeEnchant.get().value(); + + var path = enchKey.location().getPath(); + PatchouliBuilder builder = new PatchouliBuilder(ENCHANTMENTS, path) + .withName(((TranslatableContents) enchantment.description().getContents()).getKey()) + .withIcon(Items.ENCHANTED_BOOK); + + for (int i = enchantment.getMinLevel(); i <= enchantment.getMaxLevel(); i++) { + builder.withPage(new EnchantingPage("ars_nouveau:" + path + "_" + i)); + } + addPage(builder, getPath(ENCHANTMENTS, path)); } public void addPerkPage(IPerk perk){