From 90c8cd19d4b3dac59398b0da421889950642dff4 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Sun, 21 Oct 2018 18:39:46 +0200 Subject: [PATCH] start on the documentation --- .../naturesaura/events/ClientEvents.java | 10 ++--- .../en_us/categories/collecting.json | 6 +++ .../en_us/categories/intro.json | 6 +++ .../en_us/categories/items.json | 6 +++ .../en_us/categories/practices.json | 6 +++ .../en_us/categories/using.json | 6 +++ .../en_us/entries/intro/aura.json | 16 ++++++++ .../en_us/entries/intro/baubles.json | 16 ++++++++ .../en_us/entries/items/infused_iron.json | 11 ++++++ .../entries/items/infused_iron_tools.json | 39 +++++++++++++++++++ 10 files changed, 116 insertions(+), 6 deletions(-) create mode 100644 src/main/resources/assets/naturesaura/patchouli_books/en_us/categories/collecting.json create mode 100644 src/main/resources/assets/naturesaura/patchouli_books/en_us/categories/intro.json create mode 100644 src/main/resources/assets/naturesaura/patchouli_books/en_us/categories/items.json create mode 100644 src/main/resources/assets/naturesaura/patchouli_books/en_us/categories/practices.json create mode 100644 src/main/resources/assets/naturesaura/patchouli_books/en_us/categories/using.json create mode 100644 src/main/resources/assets/naturesaura/patchouli_books/en_us/entries/intro/aura.json create mode 100644 src/main/resources/assets/naturesaura/patchouli_books/en_us/entries/intro/baubles.json create mode 100644 src/main/resources/assets/naturesaura/patchouli_books/en_us/entries/items/infused_iron.json create mode 100644 src/main/resources/assets/naturesaura/patchouli_books/en_us/entries/items/infused_iron_tools.json diff --git a/src/main/java/de/ellpeck/naturesaura/events/ClientEvents.java b/src/main/java/de/ellpeck/naturesaura/events/ClientEvents.java index d684ef38..40f4ec47 100644 --- a/src/main/java/de/ellpeck/naturesaura/events/ClientEvents.java +++ b/src/main/java/de/ellpeck/naturesaura/events/ClientEvents.java @@ -123,12 +123,10 @@ public class ClientEvents { } } - if (totalPercentage > 1F) { - mc.fontRenderer.drawString("+", 10F, 9.5F, 0xBB3333, true); - } - if (totalPercentage < 0F) { - mc.fontRenderer.drawString("-", 10F, 53.5F, 0xBB3333, true); - } + if (totalPercentage > 1F) + mc.fontRenderer.drawString("+", 10F, 9.5F, 0xBB3333, true); + if (totalPercentage < 0F) + mc.fontRenderer.drawString("-", 10F, 53.5F, 0xBB3333, true); float scale = 0.75F; GlStateManager.scale(scale, scale, scale); diff --git a/src/main/resources/assets/naturesaura/patchouli_books/en_us/categories/collecting.json b/src/main/resources/assets/naturesaura/patchouli_books/en_us/categories/collecting.json new file mode 100644 index 00000000..70ea82f2 --- /dev/null +++ b/src/main/resources/assets/naturesaura/patchouli_books/en_us/categories/collecting.json @@ -0,0 +1,6 @@ +{ + "name": "Collecting Aura", + "description": "To be able to make use of the $(thing)Aura$() in the world, one must first find a way to handle it reasonably. Converting it into a storable form $(italics)(no, not liquids)$() might prove somewhat difficult, but this category will provide guidance.", + "icon": "naturesaura:eye", + "sortnum": 5 +} \ No newline at end of file diff --git a/src/main/resources/assets/naturesaura/patchouli_books/en_us/categories/intro.json b/src/main/resources/assets/naturesaura/patchouli_books/en_us/categories/intro.json new file mode 100644 index 00000000..ea89ab0f --- /dev/null +++ b/src/main/resources/assets/naturesaura/patchouli_books/en_us/categories/intro.json @@ -0,0 +1,6 @@ +{ + "name": "Introduction", + "description": "For one who has never made use of the power of $(thing)Aura$() before, it might be a daunting task to get a hold of.$(br2)These introductory entries will give a brief overview of how, why and where it works.", + "icon": "minecraft:writable_book", + "sortnum": 0 +} \ No newline at end of file diff --git a/src/main/resources/assets/naturesaura/patchouli_books/en_us/categories/items.json b/src/main/resources/assets/naturesaura/patchouli_books/en_us/categories/items.json new file mode 100644 index 00000000..fba4c5ac --- /dev/null +++ b/src/main/resources/assets/naturesaura/patchouli_books/en_us/categories/items.json @@ -0,0 +1,6 @@ +{ + "name": "Natural Items", + "description": "The thought of nature might lead you to the beach, the forest, or a plain, but sometimes, it might lead you to items and accessories that are strongly intertwined with nature itself. In this category, such items can be found.", + "icon": "naturesaura:infused_iron_pickaxe", + "sortnum": 20 +} \ No newline at end of file diff --git a/src/main/resources/assets/naturesaura/patchouli_books/en_us/categories/practices.json b/src/main/resources/assets/naturesaura/patchouli_books/en_us/categories/practices.json new file mode 100644 index 00000000..5f2fab7d --- /dev/null +++ b/src/main/resources/assets/naturesaura/patchouli_books/en_us/categories/practices.json @@ -0,0 +1,6 @@ +{ + "name": "Natural Practices", + "description": "Related to $(thing)Aura$(), but not necessarily to its collection and storage, can be other practices that might prove beneficial in the long run. This category provides information on what practices exist and how to execute them.", + "icon": "naturesaura:gold_powder", + "sortnum": 15 +} \ No newline at end of file diff --git a/src/main/resources/assets/naturesaura/patchouli_books/en_us/categories/using.json b/src/main/resources/assets/naturesaura/patchouli_books/en_us/categories/using.json new file mode 100644 index 00000000..c719fcd1 --- /dev/null +++ b/src/main/resources/assets/naturesaura/patchouli_books/en_us/categories/using.json @@ -0,0 +1,6 @@ +{ + "name": "Harnessing Aura", + "description": "When collecting $(thing)Aura$() from the world, an instinctive question for any human to ask would be $(italic)\"How can one make use of this?\"$() This category houses entries that will explain just that.", + "icon": "naturesaura:aura_cache", + "sortnum": 10 +} \ No newline at end of file diff --git a/src/main/resources/assets/naturesaura/patchouli_books/en_us/entries/intro/aura.json b/src/main/resources/assets/naturesaura/patchouli_books/en_us/entries/intro/aura.json new file mode 100644 index 00000000..6c087c63 --- /dev/null +++ b/src/main/resources/assets/naturesaura/patchouli_books/en_us/entries/intro/aura.json @@ -0,0 +1,16 @@ +{ + "name": "Aura, conceptually", + "icon": "naturesaura:gold_leaf", + "category": "naturesaura:intro", + "priority": true, + "pages": [ + { + "type": "text", + "text": "Contrary to popular belief, $(thing)Aura$() isn't stored in single, floating $(italic)nodes$(), but rather, it is present everywhere in the world.$(br)While touching it is impossible, making use of its powers certainly is not. When $(thing)Aura$() is used right, it can assist in the production of materials, the creation of new ideas and the harnessing of the world and its components." + }, + { + "type": "text", + "text": "However, it isn't always as easy as that. Making use of it wrongly, specifically draining it completely from an area, will face the culprit with diminishing returns.$(br)So while $(thing)Aura$() is plentiful and useful, abusing it would certainly be ill-advised." + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/naturesaura/patchouli_books/en_us/entries/intro/baubles.json b/src/main/resources/assets/naturesaura/patchouli_books/en_us/entries/intro/baubles.json new file mode 100644 index 00000000..7745522f --- /dev/null +++ b/src/main/resources/assets/naturesaura/patchouli_books/en_us/entries/intro/baubles.json @@ -0,0 +1,16 @@ +{ + "name": "Baubles", + "icon": "minecraft:totem_of_undying", + "category": "naturesaura:intro", + "read_by_default": true, + "pages": [ + { + "type": "text", + "text": "Sometimes you might find yourself lost with the space of your $(thing)inventory$(), having sky-high stacks of blocks and items cluttering your backpack and slowing you down.$(br)Some $(thing)natural items$() might be able to be placed directly on arms, waist and chest if the idea of $(item)Baubles$() is present in the world." + }, + { + "type": "text", + "text": "If an item has this functionality, and the proper $(italics)modification$() is made to the world, then it will display in its tooltip the parts of the body that it can reside on." + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/naturesaura/patchouli_books/en_us/entries/items/infused_iron.json b/src/main/resources/assets/naturesaura/patchouli_books/en_us/entries/items/infused_iron.json new file mode 100644 index 00000000..f4783cc2 --- /dev/null +++ b/src/main/resources/assets/naturesaura/patchouli_books/en_us/entries/items/infused_iron.json @@ -0,0 +1,11 @@ +{ + "name": "Infused Iron", + "icon": "naturesaura:infused_iron", + "category": "naturesaura:items", + "pages": [ + { + "type": "text", + "text": "Hi" + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/naturesaura/patchouli_books/en_us/entries/items/infused_iron_tools.json b/src/main/resources/assets/naturesaura/patchouli_books/en_us/entries/items/infused_iron_tools.json new file mode 100644 index 00000000..3a27b182 --- /dev/null +++ b/src/main/resources/assets/naturesaura/patchouli_books/en_us/entries/items/infused_iron_tools.json @@ -0,0 +1,39 @@ +{ + "name": "Botanist's Tools", + "icon": "naturesaura:infused_iron_pickaxe", + "category": "naturesaura:items", + "pages": [ + { + "type": "text", + "text": "Using the inherent powers of $(l:naturesaura:items/infused_iron)Infused Iron$(), one can produce tools that not only have similar properties to its base material $(item)Iron$(), but also have additional features that one wouldn't quite expect.$(br)The following pages will display how to create the tools and how to use their special features." + }, + { + "type": "text", + "text": "On top of that, when taking an $(l:naturesaura:collecting/aura_cache)Aura Cache$() with you, the tools will be able to use the $(thing)Aura$() that it has stored to regenerate their durability, significantly increasing their lifespan. For this, one simply needs to hold still and sneak, and the tool in one's hand will slowly recharge." + }, + { + "type": "crafting", + "text": "The $(item)Botanist's Pickaxe$(), when interacted with a block, will turn it into its $(thing)mossy$() variation, provided that it has one.", + "recipe": "naturesaura:infused_pickaxe" + }, + { + "type": "crafting", + "text": "The $(item)Botanist's Handaxe$() is quite a bit better at removing $(thing)leaves$(), doing so much faster than regular tools.", + "recipe": "naturesaura:infused_axe" + }, + { + "type": "crafting", + "text": "The $(item)Botanist's Shovel$() has the ability to make $(thing)grass$() grow on fallow land through simple interaction, along with making broader $(thing)paths$() on grass.", + "recipe": "naturesaura:infused_shovel" + }, + { + "type": "crafting", + "text": "The $(item)Botanist's Hoe$() helps a farmer obtain different kinds of $(thing)seeds$() in the ways of old by simply being used on a piece of grass or dirt.", + "recipe": "naturesaura:infused_hoe" + }, { + "type": "crafting", + "text": "The $(item)Botanist's Blade$(), while not having an inherent special feature, will still prove useful in slaying enemies of any sort.", + "recipe": "naturesaura:infused_sword" + } + ] +} \ No newline at end of file