From 135a2bf9ce5f312a214ae7388c5705e77bc47de5 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Tue, 5 May 2020 20:04:45 +0200 Subject: [PATCH] finished the timer --- .../assets/naturesaura/lang/en_us.json | 1 + .../en_us/entries/devices/aura_timer.json | 25 +++++++++++++++++++ .../data/naturesaura/recipes/aura_timer.json | 22 ++++++++++++++++ 3 files changed, 48 insertions(+) create mode 100644 src/main/resources/data/naturesaura/patchouli_books/book/en_us/entries/devices/aura_timer.json create mode 100644 src/main/resources/data/naturesaura/recipes/aura_timer.json diff --git a/src/main/resources/assets/naturesaura/lang/en_us.json b/src/main/resources/assets/naturesaura/lang/en_us.json index d715cbe3..17f74ffb 100644 --- a/src/main/resources/assets/naturesaura/lang/en_us.json +++ b/src/main/resources/assets/naturesaura/lang/en_us.json @@ -64,6 +64,7 @@ "block.naturesaura.tainted_gold_block": "Tainted Gold Block", "block.naturesaura.nether_grass": "Grassy Netherrack", "block.naturesaura.chorus_generator": "Reaper of Ender Heights", + "block.naturesaura.aura_timer": "Redstone Aura Vaporizer", "item.naturesaura.eye": "Environmental Eye", "item.naturesaura.eye_improved": "Environmental Ocular", "item.naturesaura.gold_fiber": "Brilliant Fiber", diff --git a/src/main/resources/data/naturesaura/patchouli_books/book/en_us/entries/devices/aura_timer.json b/src/main/resources/data/naturesaura/patchouli_books/book/en_us/entries/devices/aura_timer.json new file mode 100644 index 00000000..e8d8b1cd --- /dev/null +++ b/src/main/resources/data/naturesaura/patchouli_books/book/en_us/entries/devices/aura_timer.json @@ -0,0 +1,25 @@ +{ + "name": "Redstone Aura Vaporizer", + "icon": "naturesaura:aura_timer", + "category": "devices", + "advancement": "naturesaura:infused_materials", + "pages": [ + { + "type": "text", + "text": "Some $(thing)redstone$() contraptions, especially more complicated ones, may require the construction of a device that activates in a certain $(thing)interval$() - a $(item)timer$(). To the unexperienced engineer, this may seem like a daunting task, but the $(item)Redstone Aura Vaporizer$() simplifies it quite a bit.$(br)The infused iron bowl in the center of the device can hold any type of $(l:practices/aura_bottle)Bottled Aura$()," + }, + { + "type": "text", + "text": "which will be vaporized at a precise speed. Each time a vaporization is finished, a $(thing)redstone signal$() is emitted for a brief moment, and the $(aura) flows back into the bowl.$(br)The type of $(aura) inserted, as well as the amount of bottles, determine the time between activations: A bottle of $(thing)sunlight$() lasts for a second, a bottle of $(thing)ghosts$() for a minute and a bottle of $(thing)darkness$() for an hour. This means that a redstone signal can be emitted as infrequently as once every sixty-four hours, if required." + }, + { + "type": "text", + "text": "Inserting the bottles by hand should suffice in most situations, but if necessary, bottles can also be inserted and extracted through any kind of $(thing)automation$().$(br)The device's vaporization progress can easily be reset by supplying a $(thing)redstone signal$().$(br)Additionally, the total amount of time, as well as the remaining time for each vaporization, can be viewed by looking at the device with an $(l:items/eye)Environmental Eye$() equipped." + }, + { + "type": "crafting", + "text": "Creating the $(item)Redstone Aura Vaporizer$()", + "recipe": "naturesaura:aura_timer" + } + ] +} \ No newline at end of file diff --git a/src/main/resources/data/naturesaura/recipes/aura_timer.json b/src/main/resources/data/naturesaura/recipes/aura_timer.json new file mode 100644 index 00000000..89689e4a --- /dev/null +++ b/src/main/resources/data/naturesaura/recipes/aura_timer.json @@ -0,0 +1,22 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "GGG", + "GIG", + "SSS" + ], + "key": { + "S": { + "item": "minecraft:smooth_stone" + }, + "I": { + "item": "naturesaura:infused_iron" + }, + "G": { + "item": "minecraft:glass_pane" + } + }, + "result": { + "item": "naturesaura:aura_timer" + } +} \ No newline at end of file