From a4b90bfbc8689ea71d1798e681fafc171f109afc Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Fri, 26 Oct 2018 02:56:38 +0200 Subject: [PATCH] haha yes --- build.gradle | 4 +++- .../naturesaura/advancements/get_book.json | 6 +++-- .../patchouli_books/book/book.json | 7 +++++- .../assets/naturesaura/recipes/book.json | 24 +++++++++++++++++++ 4 files changed, 37 insertions(+), 4 deletions(-) create mode 100644 src/main/resources/assets/naturesaura/recipes/book.json 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