finish impling decorative blocks

This commit is contained in:
gamma-delta 2022-03-24 14:08:26 -05:00
parent d944186fac
commit e72b764534
27 changed files with 685 additions and 11 deletions

View file

@ -20,7 +20,7 @@ apply plugin: 'net.minecraftforge.gradle'
apply plugin: 'org.parchmentmc.librarian.forgegradle'
apply plugin: 'org.spongepowered.mixin'
version = '0.7.0-dev.1'
version = '0.7.0-dev.2'
group = 'at.petra-k.hexcasting' // http://maven.apache.org/guides/mini/guide-naming-conventions.html
archivesBaseName = 'hexcasting'

View file

@ -140,6 +140,13 @@ eb6393ffc79966e4b5983a68157742b78cd12414 data/hexcasting/advancements/opened_eye
7e93886be31c3762a5b70e56a7214d19f64d58a8 data/hexcasting/advancements/recipes/brainsweep/brainsweep/budding_amethyst.json
d225f90cc1e3b8200014106cd2d3bede9c783817 data/hexcasting/advancements/recipes/brainsweep/brainsweep/impetus_rightclick.json
47000a9b5a409038e369dbef156a72ec93cb51db data/hexcasting/advancements/recipes/hexcasting/abacus.json
5a17fa9a1496f5fbedd0362f94a5231e0e5ebbfc data/hexcasting/advancements/recipes/hexcasting/ageing_scroll_paper_lantern.json
a0d1b5723e0a602676a77a4cd27d9664d56e9e4b data/hexcasting/advancements/recipes/hexcasting/amethyst_dust_block.json
e5ae652aee1567ac2e626fa0f88f160993a6f9a5 data/hexcasting/advancements/recipes/hexcasting/amethyst_dust_unpacking.json
337c4370fd24b66a6b4b3f6c296a33d9a799034e data/hexcasting/advancements/recipes/hexcasting/amethyst_sconce.json
563cb6dda9c55864f141f2ec0ecd2a2b95f57237 data/hexcasting/advancements/recipes/hexcasting/amethyst_tiles.json
b42dae604eab34ae3831fa16c063af852c175791 data/hexcasting/advancements/recipes/hexcasting/ancient_scroll_paper.json
f3e78a96f17dc5ed54047bb24be58dbf3151c8fa data/hexcasting/advancements/recipes/hexcasting/ancient_scroll_paper_lantern.json
af81f4442801d794920d6330d82cb1289a78f236 data/hexcasting/advancements/recipes/hexcasting/artifact.json
7e4de1f72dd75e3efea6e879e1be15fa4216bd4b data/hexcasting/advancements/recipes/hexcasting/cypher.json
29260d23193f414236b0278a5abd7fe1f7ba8b46 data/hexcasting/advancements/recipes/hexcasting/dye_colorizer_black.json
@ -176,10 +183,13 @@ c93d37c6a54b4015a073ad18189f6e721406f183 data/hexcasting/advancements/recipes/he
8209fd940de230393aae894c96a765c62bed4cc2 data/hexcasting/advancements/recipes/hexcasting/pride_colorizer_8.json
9dc35c66da608913da03bc3016f127841d2414cc data/hexcasting/advancements/recipes/hexcasting/pride_colorizer_9.json
43071f2aa09fa59dd8f0211a68c842dac833be02 data/hexcasting/advancements/recipes/hexcasting/scroll.json
d7213631b2f9075c9bdef0d5a48ca28f85f5a090 data/hexcasting/advancements/recipes/hexcasting/scroll_paper.json
85fea90b80954899f236e52d3b3a25f305f8b9d5 data/hexcasting/advancements/recipes/hexcasting/scroll_paper_lantern.json
22ad2496732633bb5539a1fa761051d7add48055 data/hexcasting/advancements/recipes/hexcasting/slate.json
d72a4675ceb721ee4ac43339d8bfbbb82c2adba2 data/hexcasting/advancements/recipes/hexcasting/slate_block.json
9fcc0862c99c50a1df9d3af95b2b3c2af28afa1b data/hexcasting/advancements/recipes/hexcasting/slate_block_from_slates.json
cd3ca380294544b07e91ce85d97808c30ffa5d17 data/hexcasting/advancements/recipes/hexcasting/spellbook.json
b684bfa3755ca25996e74152d2efecbc9d6387d8 data/hexcasting/advancements/recipes/hexcasting/stonecutting/amethyst_tiles.json
59000d9f3edb942081f7d1e03d753e9cd59690cc data/hexcasting/advancements/recipes/hexcasting/sub_sandwich.json
e0954b5771ab64014fe3a0269db6ab0699e3e6f8 data/hexcasting/advancements/recipes/hexcasting/trinket.json
eb17a23e7a9543f33922c056cdf0d63def176bf2 data/hexcasting/advancements/recipes/hexcasting/uuid_colorizer.json
@ -198,6 +208,13 @@ c87dcdb39d1d9cb0429763bbd32631cbf15047aa data/hexcasting/loot_tables/blocks/impe
17e53b980127473558a1a544e59d329a4701e7cc data/hexcasting/loot_tables/blocks/slate.json
33b4d5e6928828898fea92523f7cb81f9b4eac36 data/hexcasting/loot_tables/blocks/slate_block.json
6b4459635b3d53cc2b6836fa97d29244a65b412d data/hexcasting/recipes/abacus.json
1f0c9a98d97fb81e1f504cdb6619a3dfab52ba5f data/hexcasting/recipes/ageing_scroll_paper_lantern.json
dd14358e5bc1a5a3e5aca1631a090a98ed02acd8 data/hexcasting/recipes/amethyst_dust_block.json
91bb341776ce64a68e1c4200aa8f5b2fa6669820 data/hexcasting/recipes/amethyst_dust_unpacking.json
85033316221c8d697569458a850dae433be0153c data/hexcasting/recipes/amethyst_sconce.json
c0c0eeece7140629344b51d290acd580307a8b76 data/hexcasting/recipes/amethyst_tiles.json
0662d191ec9416e2c3c86962628d3bfbd11bc01f data/hexcasting/recipes/ancient_scroll_paper.json
223a864056a893e753aa43d734d6f8b93004d930 data/hexcasting/recipes/ancient_scroll_paper_lantern.json
6e6e4d01097c10316892e274f33cb0faaf9dc0df data/hexcasting/recipes/artifact.json
2f8404bf839fa109f0eb157704721d5a5734a4e1 data/hexcasting/recipes/brainsweep/budding_amethyst.json
9631f6616c6a63c9e0a9eaa8126e2f116636fab5 data/hexcasting/recipes/brainsweep/impetus_rightclick.json
@ -237,10 +254,13 @@ c7c7fa49b7d1f0d03cd753f1ba78aa05a68135d0 data/hexcasting/recipes/pride_colorizer
03504ac1cc40ece1097e46a8244b7cfb4b32014c data/hexcasting/recipes/pride_colorizer_8.json
3a12c82f29953ee4131a0b49c1b35999c2779019 data/hexcasting/recipes/pride_colorizer_9.json
56d35172b3c5a58e2be4c5be20dd69417685f5d9 data/hexcasting/recipes/scroll.json
4aaec5f85c47f0754ceeedb7af1ae9a2fa19f4d1 data/hexcasting/recipes/scroll_paper.json
a3278c0bc104d0d7f4827ef516ade111a1c2ead0 data/hexcasting/recipes/scroll_paper_lantern.json
f3a33396e071f3afd61eadab2aabdb9acf2ae775 data/hexcasting/recipes/slate.json
2630d1471512bc7e26115cd04fd532c925f09a5f data/hexcasting/recipes/slate_block.json
6f5c41ab9f87ec1206efaaab8d91adc766bb79fd data/hexcasting/recipes/slate_block_from_slates.json
4f06f5f4ae181c8bb6b993d7b6047cd9ca7afbce data/hexcasting/recipes/spellbook.json
ef936e73eea3be9d53c4ac5c78d1477675550375 data/hexcasting/recipes/stonecutting/amethyst_tiles.json
d14cf2f8f0895a5b6dc09b7582c0abf1c2514adf data/hexcasting/recipes/sub_sandwich.json
33b9d3a5e65343fc0e442e17d55a1eaa08943c8f data/hexcasting/recipes/trinket.json
14d6be5d47b54676a349564ea32c045c76c39b45 data/hexcasting/recipes/uuid_colorizer.json

View file

@ -0,0 +1,34 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"hexcasting:ageing_scroll_paper_lantern"
]
},
"criteria": {
"has_item": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": [
"hexcasting:scroll_paper_lantern"
]
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "hexcasting:ageing_scroll_paper_lantern"
}
}
},
"requirements": [
[
"has_item",
"has_the_recipe"
]
]
}

View file

@ -0,0 +1,34 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"hexcasting:amethyst_dust_block"
]
},
"criteria": {
"has_item": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": [
"hexcasting:amethyst_dust"
]
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "hexcasting:amethyst_dust_block"
}
}
},
"requirements": [
[
"has_item",
"has_the_recipe"
]
]
}

View file

@ -0,0 +1,34 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"hexcasting:amethyst_dust_unpacking"
]
},
"criteria": {
"has_item": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": [
"hexcasting:amethyst_dust"
]
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "hexcasting:amethyst_dust_unpacking"
}
}
},
"requirements": [
[
"has_item",
"has_the_recipe"
]
]
}

View file

@ -0,0 +1,34 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"hexcasting:amethyst_sconce"
]
},
"criteria": {
"has_item": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": [
"hexcasting:charged_amethyst"
]
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "hexcasting:amethyst_sconce"
}
}
},
"requirements": [
[
"has_item",
"has_the_recipe"
]
]
}

View file

@ -0,0 +1,34 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"hexcasting:amethyst_tiles"
]
},
"criteria": {
"has_item": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": [
"hexcasting:amethyst_dust"
]
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "hexcasting:amethyst_tiles"
}
}
},
"requirements": [
[
"has_item",
"has_the_recipe"
]
]
}

View file

@ -0,0 +1,34 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"hexcasting:ancient_scroll_paper"
]
},
"criteria": {
"has_item": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": [
"hexcasting:scroll_paper"
]
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "hexcasting:ancient_scroll_paper"
}
}
},
"requirements": [
[
"has_item",
"has_the_recipe"
]
]
}

View file

@ -0,0 +1,34 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"hexcasting:ancient_scroll_paper_lantern"
]
},
"criteria": {
"has_item": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": [
"hexcasting:ancient_scroll_paper"
]
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "hexcasting:ancient_scroll_paper_lantern"
}
}
},
"requirements": [
[
"has_item",
"has_the_recipe"
]
]
}

View file

@ -0,0 +1,34 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"hexcasting:scroll_paper"
]
},
"criteria": {
"has_item": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": [
"minecraft:amethyst_shard"
]
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "hexcasting:scroll_paper"
}
}
},
"requirements": [
[
"has_item",
"has_the_recipe"
]
]
}

View file

@ -0,0 +1,34 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"hexcasting:scroll_paper_lantern"
]
},
"criteria": {
"has_item": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": [
"hexcasting:scroll_paper"
]
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "hexcasting:scroll_paper_lantern"
}
}
},
"requirements": [
[
"has_item",
"has_the_recipe"
]
]
}

View file

@ -0,0 +1,34 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"hexcasting:stonecutting/amethyst_tiles"
]
},
"criteria": {
"has_item": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": [
"minecraft:amethyst_block"
]
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "hexcasting:stonecutting/amethyst_tiles"
}
}
},
"requirements": [
[
"has_item",
"has_the_recipe"
]
]
}

View file

@ -0,0 +1,36 @@
{
"type": "minecraft:crafting_shapeless",
"ingredients": [
{
"tag": "forge:dyes/brown"
},
{
"item": "hexcasting:scroll_paper_lantern"
},
{
"item": "hexcasting:scroll_paper_lantern"
},
{
"item": "hexcasting:scroll_paper_lantern"
},
{
"item": "hexcasting:scroll_paper_lantern"
},
{
"item": "hexcasting:scroll_paper_lantern"
},
{
"item": "hexcasting:scroll_paper_lantern"
},
{
"item": "hexcasting:scroll_paper_lantern"
},
{
"item": "hexcasting:scroll_paper_lantern"
}
],
"result": {
"item": "hexcasting:ancient_scroll_paper_lantern",
"count": 8
}
}

View file

@ -0,0 +1,15 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"AA",
"AA"
],
"key": {
"A": {
"item": "hexcasting:amethyst_dust"
}
},
"result": {
"item": "hexcasting:amethyst_dust_block"
}
}

View file

@ -0,0 +1,12 @@
{
"type": "minecraft:crafting_shapeless",
"ingredients": [
{
"item": "hexcasting:amethyst_dust_block"
}
],
"result": {
"item": "hexcasting:amethyst_dust",
"count": 4
}
}

View file

@ -0,0 +1,19 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"A",
"C"
],
"key": {
"A": {
"item": "hexcasting:charged_amethyst"
},
"C": {
"tag": "forge:ingots/copper"
}
},
"result": {
"item": "hexcasting:amethyst_sconce",
"count": 4
}
}

View file

@ -0,0 +1,20 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"AAA",
"ADA",
"AAA"
],
"key": {
"A": {
"item": "minecraft:amethyst_block"
},
"D": {
"item": "hexcasting:amethyst_dust"
}
},
"result": {
"item": "hexcasting:amethyst_tiles",
"count": 8
}
}

View file

@ -0,0 +1,36 @@
{
"type": "minecraft:crafting_shapeless",
"ingredients": [
{
"tag": "forge:dyes/brown"
},
{
"item": "hexcasting:scroll_paper"
},
{
"item": "hexcasting:scroll_paper"
},
{
"item": "hexcasting:scroll_paper"
},
{
"item": "hexcasting:scroll_paper"
},
{
"item": "hexcasting:scroll_paper"
},
{
"item": "hexcasting:scroll_paper"
},
{
"item": "hexcasting:scroll_paper"
},
{
"item": "hexcasting:scroll_paper"
}
],
"result": {
"item": "hexcasting:ancient_scroll_paper",
"count": 8
}
}

View file

@ -0,0 +1,18 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"P",
"T"
],
"key": {
"P": {
"item": "hexcasting:ancient_scroll_paper"
},
"T": {
"item": "minecraft:torch"
}
},
"result": {
"item": "hexcasting:ancient_scroll_paper_lantern"
}
}

View file

@ -0,0 +1,20 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"PPP",
"PAP",
"PPP"
],
"key": {
"P": {
"item": "minecraft:paper"
},
"A": {
"item": "minecraft:amethyst_shard"
}
},
"result": {
"item": "hexcasting:scroll_paper",
"count": 8
}
}

View file

@ -0,0 +1,18 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"P",
"T"
],
"key": {
"P": {
"item": "hexcasting:scroll_paper"
},
"T": {
"item": "minecraft:torch"
}
},
"result": {
"item": "hexcasting:scroll_paper_lantern"
}
}

View file

@ -0,0 +1,8 @@
{
"type": "minecraft:stonecutting",
"ingredient": {
"item": "minecraft:amethyst_block"
},
"result": "hexcasting:amethyst_tiles",
"count": 1
}

View file

@ -1,5 +1,6 @@
package at.petrak.hexcasting.common.blocks.decoration;
import at.petrak.hexcasting.common.particles.ConjureParticleOptions;
import net.minecraft.core.BlockPos;
import net.minecraft.sounds.SoundEvents;
import net.minecraft.sounds.SoundSource;
@ -26,10 +27,19 @@ public class BlockSconce extends AmethystBlock {
}
@Override
public void animateTick(BlockState pState, Level pLevel, BlockPos pPos, Random pRandom) {
if (pRandom.nextFloat() < 0.8f) {
pLevel.playSound(null, pPos, SoundEvents.AMETHYST_BLOCK_CHIME, SoundSource.BLOCKS, 1.0F,
0.5F + pRandom.nextFloat() * 1.2F);
public void animateTick(BlockState pState, Level pLevel, BlockPos pPos, Random rand) {
if (rand.nextFloat() < 0.8f) {
var cx = pPos.getX() + 0.5;
var cy = pPos.getY() + 0.5;
var cz = pPos.getZ() + 0.5;
int[] colors = {0xff_6f4fab, 0xff_b38ef3, 0xff_cfa0f3, 0xff_cfa0f3, 0xff_fffdd5};
pLevel.addParticle(new ConjureParticleOptions(colors[rand.nextInt(colors.length)], true), cx, cy, cz,
rand.nextFloat(-0.01f, 0.01f), rand.nextFloat(0.01f, 0.05f), rand.nextFloat(-0.01f, 0.01f));
if (rand.nextFloat() < 0.08f) {
pLevel.playLocalSound(cx, cy, cz,
SoundEvents.AMETHYST_BLOCK_CHIME, SoundSource.BLOCKS, 1.0F,
0.5F + rand.nextFloat() * 1.2F, false);
}
}
}
}

View file

@ -9,6 +9,7 @@ import net.minecraft.world.entity.npc.Villager;
import net.minecraftforge.common.capabilities.Capability;
import net.minecraftforge.common.capabilities.ICapabilitySerializable;
import net.minecraftforge.common.util.LazyOptional;
import net.minecraftforge.event.entity.living.LivingConversionEvent;
import net.minecraftforge.event.entity.player.PlayerInteractEvent;
import net.minecraftforge.eventbus.api.SubscribeEvent;
@ -57,4 +58,9 @@ public class Brainsweeping {
evt.setCanceled(true);
}
}
@SubscribeEvent
public static void copyBrainsweepToZombie(LivingConversionEvent evt) {
}
}

View file

@ -12,16 +12,14 @@ import net.minecraft.advancements.critereon.EntityPredicate;
import net.minecraft.advancements.critereon.MinMaxBounds;
import net.minecraft.core.Registry;
import net.minecraft.data.DataGenerator;
import net.minecraft.data.recipes.FinishedRecipe;
import net.minecraft.data.recipes.RecipeProvider;
import net.minecraft.data.recipes.ShapedRecipeBuilder;
import net.minecraft.data.recipes.SpecialRecipeBuilder;
import net.minecraft.data.recipes.*;
import net.minecraft.resources.ResourceLocation;
import net.minecraft.tags.ItemTags;
import net.minecraft.world.item.DyeColor;
import net.minecraft.world.item.DyeItem;
import net.minecraft.world.item.Item;
import net.minecraft.world.item.Items;
import net.minecraft.world.item.crafting.Ingredient;
import net.minecraft.world.item.crafting.SimpleRecipeSerializer;
import net.minecraft.world.level.block.Blocks;
import net.minecraftforge.common.Tags;
@ -204,6 +202,63 @@ public class HexRecipes extends RecipeProvider {
.pattern("SSS")
.unlockedBy("has_item", has(HexItems.SLATE.get())).save(recipes);
ShapedRecipeBuilder.shaped(HexBlocks.AMETHYST_DUST_BLOCK.get())
.define('A', HexItems.AMETHYST_DUST.get())
.pattern("AA")
.pattern("AA")
.unlockedBy("has_item", has(HexItems.AMETHYST_DUST.get())).save(recipes);
ShapelessRecipeBuilder.shapeless(HexItems.AMETHYST_DUST.get(), 4)
.requires(HexBlocks.AMETHYST_DUST_BLOCK.get())
.unlockedBy("has_item", has(HexItems.AMETHYST_DUST.get()))
.save(recipes, modLoc("amethyst_dust_unpacking"));
ShapedRecipeBuilder.shaped(HexBlocks.AMETHYST_TILES.get(), 8)
.define('A', Blocks.AMETHYST_BLOCK)
.define('D', HexItems.AMETHYST_DUST.get())
.pattern("AAA")
.pattern("ADA")
.pattern("AAA")
.unlockedBy("has_item", has(HexItems.AMETHYST_DUST.get())).save(recipes);
SingleItemRecipeBuilder.stonecutting(Ingredient.of(Blocks.AMETHYST_BLOCK), HexBlocks.AMETHYST_TILES.get())
.unlockedBy("has_item", has(Blocks.AMETHYST_BLOCK))
.save(recipes, modLoc("stonecutting/amethyst_tiles"));
ShapedRecipeBuilder.shaped(HexBlocks.SCROLL_PAPER.get(), 8)
.define('P', Items.PAPER)
.define('A', Items.AMETHYST_SHARD)
.pattern("PPP")
.pattern("PAP")
.pattern("PPP")
.unlockedBy("has_item", has(Items.AMETHYST_SHARD)).save(recipes);
ShapelessRecipeBuilder.shapeless(HexBlocks.ANCIENT_SCROLL_PAPER.get(), 8)
.requires(Tags.Items.DYES_BROWN)
.requires(HexBlocks.SCROLL_PAPER.get(), 8)
.unlockedBy("has_item", has(HexBlocks.SCROLL_PAPER.get())).save(recipes);
ShapedRecipeBuilder.shaped(HexBlocks.SCROLL_PAPER_LANTERN.get())
.define('P', HexBlocks.SCROLL_PAPER.get())
.define('T', Items.TORCH)
.pattern("P")
.pattern("T")
.unlockedBy("has_item", has(HexBlocks.SCROLL_PAPER.get())).save(recipes);
ShapedRecipeBuilder.shaped(HexBlocks.ANCIENT_SCROLL_PAPER_LANTERN.get())
.define('P', HexBlocks.ANCIENT_SCROLL_PAPER.get())
.define('T', Items.TORCH)
.pattern("P")
.pattern("T")
.unlockedBy("has_item", has(HexBlocks.ANCIENT_SCROLL_PAPER.get())).save(recipes);
ShapelessRecipeBuilder.shapeless(HexBlocks.ANCIENT_SCROLL_PAPER_LANTERN.get(), 8)
.requires(Tags.Items.DYES_BROWN)
.requires(HexBlocks.SCROLL_PAPER_LANTERN.get(), 8)
.unlockedBy("has_item", has(HexBlocks.SCROLL_PAPER_LANTERN.get()))
.save(recipes, modLoc("ageing_scroll_paper_lantern"));
ShapedRecipeBuilder.shaped(HexBlocks.SCONCE.get(), 4)
.define('A', HexItems.CHARGED_AMETHYST.get())
.define('C', Tags.Items.INGOTS_COPPER)
.pattern("A")
.pattern("C")
.unlockedBy("has_item", has(HexItems.CHARGED_AMETHYST.get())).save(recipes);
var enlightenment = new OvercastTrigger.Instance(EntityPredicate.Composite.ANY,
MinMaxBounds.Ints.ANY,
// add a little bit of slop here

View file

@ -47,12 +47,21 @@
"item.hexcasting.pride_colorizer_12": "Intersex Pigment",
"item.hexcasting.pride_colorizer_13": "Aroace Pigment",
"item.hexcasting.uuid_colorizer": "Soulglimmer Pigment",
"block.hexcasting.conjured": "Conjured Block",
"block.hexcasting.slate.blank": "Blank Slate",
"block.hexcasting.slate.written": "Patterned Slate",
"block.hexcasting.empty_impetus": "Empty Impetus",
"block.hexcasting.impetus_rightclick": "Toolsmith Impetus",
"block.hexcasting.slate_block": "Block of Slate",
"block.hexcasting.amethyst_dust_block": "Block of Amethyst Dust",
"block.hexcasting.amethyst_tiles": "Amethyst Tiles",
"block.hexcasting.scroll_paper": "Scroll Paper",
"block.hexcasting.ancient_scroll_paper": "Ancient Scroll Paper",
"block.hexcasting.scroll_paper_lantern": "Paper Lantern",
"block.hexcasting.ancient_scroll_paper_lantern": "Ancient Paper Lantern",
"block.hexcasting.amethyst_sconce": "Amethyst Sconce",
"itemGroup.hexcasting": "Hexcasting",
@ -396,7 +405,9 @@
"hexcasting.entry.decoration": "Decorative Blocks",
"hexcasting.page.decoration.1": "In the course of my studies I have discovered some building blocks and trifles that I may find aesthetically pleasing. I've compiled the methods of making them here.",
"hexcasting.page.decoration.3": "",
"hexcasting.page.decoration.2": "Brown dye works well enough to simulate the look of an ancient scroll.",
"hexcasting.page.decoration.3": "$(item)Amethyst Tile/$s can also be made in a Stonecutter.$(br2)$(item)Blocks of Amethyst Dust/$ (next page) will fall like sand.",
"hexcasting.page.decoration.4": "$(item)Amethyst Sconce/$s emit light and particles, as well as a pleasing chiming sound.",
"_comment": "The Work",

View file

@ -1,6 +1,6 @@
{
"name": "hexcasting.entry.decoration",
"icon": "hexcasting:slate_block",
"icon": "hexcasting:ancient_scroll_paper",
"category": "hexcasting:items",
"sortnum": 9,
"advancement": "hexcasting:root",
@ -13,6 +13,36 @@
"type": "patchouli:crafting",
"recipe": "hexcasting:slate_block",
"recipe2": "hexcasting:slate_block_from_slates"
},
{
"type": "patchouli:crafting",
"recipe": "hexcasting:scroll_paper",
"recipe2": "hexcasting:ancient_scroll_paper"
},
{
"type": "patchouli:crafting",
"recipe": "hexcasting:scroll_paper_lantern",
"recipe2": "hexcasting:ancient_scroll_paper_lantern"
},
{
"type": "patchouli:crafting",
"recipe": "hexcasting:ageing_scroll_paper_lantern",
"text": "hexcasting.page.decoration.2"
},
{
"type": "patchouli:crafting",
"recipe": "hexcasting:amethyst_tiles",
"text": "hexcasting.page.decoration.3"
},
{
"type": "patchouli:crafting",
"recipe": "hexcasting:amethyst_dust_block",
"recipe2": "hexcasting:amethyst_dust_unpacking"
},
{
"type": "patchouli:crafting",
"recipe": "hexcasting:amethyst_sconce",
"text": "hexcasting.page.decoration.4"
}
]
}