diff --git a/build.gradle b/build.gradle index a2d05de0..141e4941 100644 --- a/build.gradle +++ b/build.gradle @@ -11,7 +11,7 @@ buildscript { apply plugin: 'net.minecraftforge.gradle.forge' apply plugin: 'maven' -version = "1.0" +version = "a1" group = "de.ellpeck.naturesaura" archivesBaseName = "naturesaura" @@ -32,6 +32,8 @@ repositories { dependencies { deobfCompile "mezz.jei:jei_1.12.2:4.13.1.220" deobfCompile "com.azanor.baubles:Baubles:1.12-1.5.2" + + compile files("/lib/Patchouli.jar") } diff --git a/src/main/resources/assets/naturesaura/advancements/get_book.json b/src/main/resources/assets/naturesaura/advancements/get_book.json index 7296ac97..1c112174 100644 --- a/src/main/resources/assets/naturesaura/advancements/get_book.json +++ b/src/main/resources/assets/naturesaura/advancements/get_book.json @@ -1,7 +1,8 @@ { "display": { "icon": { - "item": "patchouli:guide_book" + "item": "patchouli:guide_book", + "nbt": "{\"patchouli:book\":\"naturesaura:book\"}" }, "title": { "translate": "advancement.naturesaura.get_book" @@ -17,7 +18,8 @@ "conditions": { "items": [ { - "item": "patchouli:guide_book" + "item": "patchouli:guide_book", + "nbt": "{\"patchouli:book\":\"naturesaura:book\"}" } ] } diff --git a/src/main/resources/assets/naturesaura/patchouli_books/book/book.json b/src/main/resources/assets/naturesaura/patchouli_books/book/book.json index 82eb48b9..cbe5a1bb 100644 --- a/src/main/resources/assets/naturesaura/patchouli_books/book/book.json +++ b/src/main/resources/assets/naturesaura/patchouli_books/book/book.json @@ -3,5 +3,10 @@ "landing_text": "info.naturesaura.book.landing", "advancement_namespaces": [ "naturesaura" - ] + ], + "creative_tab": "naturesaura", + "advancements_tab": "naturesaura", + "book_texture": "patchouli:textures/gui/book_green", + "model": "patchouli:book_green", + "subtitle": "Haha yes" } \ No newline at end of file diff --git a/src/main/resources/assets/naturesaura/recipes/book.json b/src/main/resources/assets/naturesaura/recipes/book.json new file mode 100644 index 00000000..a64c3624 --- /dev/null +++ b/src/main/resources/assets/naturesaura/recipes/book.json @@ -0,0 +1,24 @@ +{ + "type": "forge:ore_shapeless", + "ingredients": [ + { + "item": "minecraft:paper" + }, + { + "item": "minecraft:paper" + }, + { + "item": "minecraft:leather" + }, + { + "type": "forge:ore_dict", + "ore": "treeSapling" + } + ], + "result": { + "item": "patchouli:guide_book", + "nbt": { + "patchouli:book": "naturesaura:book" + } + } +} \ No newline at end of file