From 5779e647e93fe829b5596bfd7ac81d47ef018c04 Mon Sep 17 00:00:00 2001 From: Lyof Date: Mon, 19 Aug 2024 19:06:28 +0200 Subject: [PATCH] shimmer sand and sheets (wip) --- .../blockstates/luminous_fungus.json | 7 + .../infernalexp/blockstates/shimmer_sand.json | 7 + .../models/block/luminous_fungus.json | 6 + .../models/block/shimmer_sand.json | 6 + .../models/item/luminous_fungus.json | 6 + .../infernalexp/models/item/shimmer_sand.json | 3 + .../loot_tables/blocks/luminous_fungus.json | 20 + .../loot_tables/blocks/shimmer_sand.json | 20 + .../tags/blocks/mineable/shovel.json | 7 + .../infernalexp/block/ModBlocks.java | 19 + .../infernalexp/item/ModItemGroups.java | 10 +- .../setup/datagen/ModLootTableProvider.java | 5 +- .../blockstates/shimmer_sheet.json | 28 ++ .../assets/infernalexp/lang/en_us.json | 3 + .../models/block/shimmer_sheet10.json | 19 + .../models/block/shimmer_sheet12.json | 19 + .../models/block/shimmer_sheet14.json | 19 + .../models/block/shimmer_sheet2.json | 20 + .../models/block/shimmer_sheet4.json | 19 + .../models/block/shimmer_sheet6.json | 19 + .../models/block/shimmer_sheet8.json | 19 + .../models/item/shimmer_sheet.json | 3 + .../textures/block/glimmer_gravel.png | Bin 0 -> 206 bytes .../textures/block/luminous_fungus.png | Bin 0 -> 190 bytes .../textures/block/luminous_fungus_off.png | Bin 0 -> 183 bytes .../textures/block/shimmer_sand.png | Bin 0 -> 212 bytes .../textures/block/shimmer_stone.png | Bin 0 -> 192 bytes .../loottables/block/shimmer_sheet.json | 356 ++++++++++++++++++ 28 files changed, 636 insertions(+), 4 deletions(-) create mode 100644 src/main/generated/assets/infernalexp/blockstates/luminous_fungus.json create mode 100644 src/main/generated/assets/infernalexp/blockstates/shimmer_sand.json create mode 100644 src/main/generated/assets/infernalexp/models/block/luminous_fungus.json create mode 100644 src/main/generated/assets/infernalexp/models/block/shimmer_sand.json create mode 100644 src/main/generated/assets/infernalexp/models/item/luminous_fungus.json create mode 100644 src/main/generated/assets/infernalexp/models/item/shimmer_sand.json create mode 100644 src/main/generated/data/infernalexp/loot_tables/blocks/luminous_fungus.json create mode 100644 src/main/generated/data/infernalexp/loot_tables/blocks/shimmer_sand.json create mode 100644 src/main/generated/data/minecraft/tags/blocks/mineable/shovel.json create mode 100644 src/main/resources/assets/infernalexp/blockstates/shimmer_sheet.json create mode 100644 src/main/resources/assets/infernalexp/models/block/shimmer_sheet10.json create mode 100644 src/main/resources/assets/infernalexp/models/block/shimmer_sheet12.json create mode 100644 src/main/resources/assets/infernalexp/models/block/shimmer_sheet14.json create mode 100644 src/main/resources/assets/infernalexp/models/block/shimmer_sheet2.json create mode 100644 src/main/resources/assets/infernalexp/models/block/shimmer_sheet4.json create mode 100644 src/main/resources/assets/infernalexp/models/block/shimmer_sheet6.json create mode 100644 src/main/resources/assets/infernalexp/models/block/shimmer_sheet8.json create mode 100644 src/main/resources/assets/infernalexp/models/item/shimmer_sheet.json create mode 100644 src/main/resources/assets/infernalexp/textures/block/glimmer_gravel.png create mode 100644 src/main/resources/assets/infernalexp/textures/block/luminous_fungus.png create mode 100644 src/main/resources/assets/infernalexp/textures/block/luminous_fungus_off.png create mode 100644 src/main/resources/assets/infernalexp/textures/block/shimmer_sand.png create mode 100644 src/main/resources/assets/infernalexp/textures/block/shimmer_stone.png create mode 100644 src/main/resources/data/infernalexp/loottables/block/shimmer_sheet.json diff --git a/src/main/generated/assets/infernalexp/blockstates/luminous_fungus.json b/src/main/generated/assets/infernalexp/blockstates/luminous_fungus.json new file mode 100644 index 000000000..ce3ecfcde --- /dev/null +++ b/src/main/generated/assets/infernalexp/blockstates/luminous_fungus.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "infernalexp:block/luminous_fungus" + } + } +} \ No newline at end of file diff --git a/src/main/generated/assets/infernalexp/blockstates/shimmer_sand.json b/src/main/generated/assets/infernalexp/blockstates/shimmer_sand.json new file mode 100644 index 000000000..10be256dd --- /dev/null +++ b/src/main/generated/assets/infernalexp/blockstates/shimmer_sand.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "infernalexp:block/shimmer_sand" + } + } +} \ No newline at end of file diff --git a/src/main/generated/assets/infernalexp/models/block/luminous_fungus.json b/src/main/generated/assets/infernalexp/models/block/luminous_fungus.json new file mode 100644 index 000000000..b1bce07b8 --- /dev/null +++ b/src/main/generated/assets/infernalexp/models/block/luminous_fungus.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:block/cross", + "textures": { + "cross": "infernalexp:block/luminous_fungus" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/infernalexp/models/block/shimmer_sand.json b/src/main/generated/assets/infernalexp/models/block/shimmer_sand.json new file mode 100644 index 000000000..166de926e --- /dev/null +++ b/src/main/generated/assets/infernalexp/models/block/shimmer_sand.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:block/cube_all", + "textures": { + "all": "infernalexp:block/shimmer_sand" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/infernalexp/models/item/luminous_fungus.json b/src/main/generated/assets/infernalexp/models/item/luminous_fungus.json new file mode 100644 index 000000000..666144ca6 --- /dev/null +++ b/src/main/generated/assets/infernalexp/models/item/luminous_fungus.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/generated", + "textures": { + "layer0": "infernalexp:block/luminous_fungus" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/infernalexp/models/item/shimmer_sand.json b/src/main/generated/assets/infernalexp/models/item/shimmer_sand.json new file mode 100644 index 000000000..133c78996 --- /dev/null +++ b/src/main/generated/assets/infernalexp/models/item/shimmer_sand.json @@ -0,0 +1,3 @@ +{ + "parent": "infernalexp:block/shimmer_sand" +} \ No newline at end of file diff --git a/src/main/generated/data/infernalexp/loot_tables/blocks/luminous_fungus.json b/src/main/generated/data/infernalexp/loot_tables/blocks/luminous_fungus.json new file mode 100644 index 000000000..cf0010f32 --- /dev/null +++ b/src/main/generated/data/infernalexp/loot_tables/blocks/luminous_fungus.json @@ -0,0 +1,20 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], + "entries": [ + { + "type": "minecraft:item", + "name": "infernalexp:luminous_fungus" + } + ], + "rolls": 1.0 + } + ] +} \ No newline at end of file diff --git a/src/main/generated/data/infernalexp/loot_tables/blocks/shimmer_sand.json b/src/main/generated/data/infernalexp/loot_tables/blocks/shimmer_sand.json new file mode 100644 index 000000000..99e33658c --- /dev/null +++ b/src/main/generated/data/infernalexp/loot_tables/blocks/shimmer_sand.json @@ -0,0 +1,20 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], + "entries": [ + { + "type": "minecraft:item", + "name": "infernalexp:shimmer_sand" + } + ], + "rolls": 1.0 + } + ] +} \ No newline at end of file diff --git a/src/main/generated/data/minecraft/tags/blocks/mineable/shovel.json b/src/main/generated/data/minecraft/tags/blocks/mineable/shovel.json new file mode 100644 index 000000000..7a06d3e2c --- /dev/null +++ b/src/main/generated/data/minecraft/tags/blocks/mineable/shovel.json @@ -0,0 +1,7 @@ +{ + "replace": false, + "values": [ + "infernalexp:shimmer_sand", + "infernalexp:shimmer_sheet" + ] +} \ No newline at end of file diff --git a/src/main/java/org/infernalstudios/infernalexp/block/ModBlocks.java b/src/main/java/org/infernalstudios/infernalexp/block/ModBlocks.java index 0f6bd823b..d8393e8d7 100644 --- a/src/main/java/org/infernalstudios/infernalexp/block/ModBlocks.java +++ b/src/main/java/org/infernalstudios/infernalexp/block/ModBlocks.java @@ -1,9 +1,28 @@ package org.infernalstudios.infernalexp.block; +import net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings; +import net.minecraft.block.*; +import net.minecraft.client.model.Model; +import net.minecraft.data.client.Models; import org.infernalstudios.infernalexp.InfernalExpansion; +import org.infernalstudios.infernalexp.setup.ModRegistry; public class ModBlocks { public static void register() { InfernalExpansion.log("Registering Blocks for " + InfernalExpansion.MOD_ID); } + + + public static final Block SHIMMER_SAND = ModRegistry.ofBlock("shimmer_sand", + new SandBlock(0xffffaa, FabricBlockSettings.copyOf(Blocks.SAND))) + .model().drop().tool("wood_shovel").build(); + + public static final Block SHIMMER_SHEET = ModRegistry.ofBlock("shimmer_sheet", + new SnowBlock(FabricBlockSettings.copyOf(Blocks.SAND))) + .tool("wood_shovel").build(); + + + public static final Block LUMINOUS_FUNGUS = ModRegistry.ofBlock("luminous_fungus", + new PlantBlock(FabricBlockSettings.copyOf(Blocks.WARPED_FUNGUS).luminance(10))) + .drop().model(ModRegistry.Models.CROSS).cutout().build(); } diff --git a/src/main/java/org/infernalstudios/infernalexp/item/ModItemGroups.java b/src/main/java/org/infernalstudios/infernalexp/item/ModItemGroups.java index b28323d11..6c408dc38 100644 --- a/src/main/java/org/infernalstudios/infernalexp/item/ModItemGroups.java +++ b/src/main/java/org/infernalstudios/infernalexp/item/ModItemGroups.java @@ -10,13 +10,19 @@ import net.minecraft.registry.Registry; import net.minecraft.text.Text; import org.infernalstudios.infernalexp.InfernalExpansion; +import org.infernalstudios.infernalexp.block.ModBlocks; public class ModItemGroups { public static final ItemGroup INFERNALEXP = register(InfernalExpansion.MOD_ID, FabricItemGroup.builder().displayName(Text.translatable("itemgroup.infernalexp")) - .icon(() -> new ItemStack(Blocks.NETHERRACK)) // TODO: change the tab's icon + .icon(() -> new ItemStack(ModBlocks.SHIMMER_SAND)) // TODO: change the tab's icon .entries((displayContext, entries) -> { - //entries.add(ModItems.OBJECT); + + entries.add(ModBlocks.SHIMMER_SAND); + entries.add(ModBlocks.SHIMMER_SHEET); + + entries.add(ModBlocks.LUMINOUS_FUNGUS); + }) .build()); diff --git a/src/main/java/org/infernalstudios/infernalexp/setup/datagen/ModLootTableProvider.java b/src/main/java/org/infernalstudios/infernalexp/setup/datagen/ModLootTableProvider.java index 43869c506..3c88a4aea 100644 --- a/src/main/java/org/infernalstudios/infernalexp/setup/datagen/ModLootTableProvider.java +++ b/src/main/java/org/infernalstudios/infernalexp/setup/datagen/ModLootTableProvider.java @@ -6,6 +6,7 @@ import net.minecraft.item.ItemConvertible; import org.infernalstudios.infernalexp.setup.ModRegistry; +import java.util.List; import java.util.Map; public class ModLootTableProvider extends FabricBlockLootTableProvider { @@ -16,9 +17,9 @@ public ModLootTableProvider(FabricDataOutput dataOutput) { @Override public void generate() { for (Map.Entry entry : ModRegistry.BLOCK_DROPS.entrySet()) { - if (ModRegistry.BLOCK_MODELS.get(ModRegistry.Models.SLAB).contains(entry.getKey())) + if (ModRegistry.BLOCK_MODELS.getOrDefault(ModRegistry.Models.SLAB, List.of()).contains(entry.getKey())) addDrop(entry.getKey(), slabDrops(entry.getKey())); - else if (ModRegistry.BLOCK_MODELS.get(ModRegistry.Models.DOOR).contains(entry.getKey())) + else if (ModRegistry.BLOCK_MODELS.getOrDefault(ModRegistry.Models.DOOR, List.of()).contains(entry.getKey())) addDrop(entry.getKey(), doorDrops(entry.getKey())); else addDrop(entry.getKey(), entry.getValue()); diff --git a/src/main/resources/assets/infernalexp/blockstates/shimmer_sheet.json b/src/main/resources/assets/infernalexp/blockstates/shimmer_sheet.json new file mode 100644 index 000000000..1c760444c --- /dev/null +++ b/src/main/resources/assets/infernalexp/blockstates/shimmer_sheet.json @@ -0,0 +1,28 @@ +{ + "variants": { + "layers=1": { + "model": "infernalexp:block/shimmer_sheet2" + }, + "layers=2": { + "model": "infernalexp:block/shimmer_sheet4" + }, + "layers=3": { + "model": "infernalexp:block/shimmer_sheet6" + }, + "layers=4": { + "model": "infernalexp:block/shimmer_sheet8" + }, + "layers=5": { + "model": "infernalexp:block/shimmer_sheet10" + }, + "layers=6": { + "model": "infernalexp:block/shimmer_sheet12" + }, + "layers=7": { + "model": "infernalexp:block/shimmer_sheet14" + }, + "layers=8": { + "model": "infernalexp:block/shimmer_sand" + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/infernalexp/lang/en_us.json b/src/main/resources/assets/infernalexp/lang/en_us.json index 0e0dcd235..da6346904 100644 --- a/src/main/resources/assets/infernalexp/lang/en_us.json +++ b/src/main/resources/assets/infernalexp/lang/en_us.json @@ -1,3 +1,6 @@ { + "itemgroup.infernalexp": "Infernal Expansion", + "block.infernalexp.shimmer_sand": "Shimmer Sand", + "block.infernalexp.shimmer_sheet": "Shimmer Sheet" } \ No newline at end of file diff --git a/src/main/resources/assets/infernalexp/models/block/shimmer_sheet10.json b/src/main/resources/assets/infernalexp/models/block/shimmer_sheet10.json new file mode 100644 index 000000000..15fa14c5c --- /dev/null +++ b/src/main/resources/assets/infernalexp/models/block/shimmer_sheet10.json @@ -0,0 +1,19 @@ +{ + "textures": { + "particle": "infernalexp:block/shimmer_sand", + "texture": "infernalexp:block/shimmer_sand" + }, + "elements": [ + { "from": [ 0, 0, 0 ], + "to": [ 16, 10, 16 ], + "faces": { + "down": { "uv": [ 0, 0, 16, 16 ], "texture": "#texture", "cullface": "down" }, + "up": { "uv": [ 0, 0, 16, 16 ], "texture": "#texture" }, + "north": { "uv": [ 0, 6, 16, 16 ], "texture": "#texture", "cullface": "north" }, + "south": { "uv": [ 0, 6, 16, 16 ], "texture": "#texture", "cullface": "south" }, + "west": { "uv": [ 0, 6, 16, 16 ], "texture": "#texture", "cullface": "west" }, + "east": { "uv": [ 0, 6, 16, 16 ], "texture": "#texture", "cullface": "east" } + } + } + ] +} diff --git a/src/main/resources/assets/infernalexp/models/block/shimmer_sheet12.json b/src/main/resources/assets/infernalexp/models/block/shimmer_sheet12.json new file mode 100644 index 000000000..20001cd98 --- /dev/null +++ b/src/main/resources/assets/infernalexp/models/block/shimmer_sheet12.json @@ -0,0 +1,19 @@ +{ + "textures": { + "particle": "infernalexp:block/shimmer_sand", + "texture": "infernalexp:block/shimmer_sand" + }, + "elements": [ + { "from": [ 0, 0, 0 ], + "to": [ 16, 12, 16 ], + "faces": { + "down": { "uv": [ 0, 0, 16, 16 ], "texture": "#texture", "cullface": "down" }, + "up": { "uv": [ 0, 0, 16, 16 ], "texture": "#texture" }, + "north": { "uv": [ 0, 4, 16, 16 ], "texture": "#texture", "cullface": "north" }, + "south": { "uv": [ 0, 4, 16, 16 ], "texture": "#texture", "cullface": "south" }, + "west": { "uv": [ 0, 4, 16, 16 ], "texture": "#texture", "cullface": "west" }, + "east": { "uv": [ 0, 4, 16, 16 ], "texture": "#texture", "cullface": "east" } + } + } + ] +} diff --git a/src/main/resources/assets/infernalexp/models/block/shimmer_sheet14.json b/src/main/resources/assets/infernalexp/models/block/shimmer_sheet14.json new file mode 100644 index 000000000..82f899950 --- /dev/null +++ b/src/main/resources/assets/infernalexp/models/block/shimmer_sheet14.json @@ -0,0 +1,19 @@ +{ + "textures": { + "particle": "infernalexp:block/shimmer_sand", + "texture": "infernalexp:block/shimmer_sand" + }, + "elements": [ + { "from": [ 0, 0, 0 ], + "to": [ 16, 14, 16 ], + "faces": { + "down": { "uv": [ 0, 0, 16, 16 ], "texture": "#texture", "cullface": "down" }, + "up": { "uv": [ 0, 0, 16, 16 ], "texture": "#texture" }, + "north": { "uv": [ 0, 2, 16, 16 ], "texture": "#texture", "cullface": "north" }, + "south": { "uv": [ 0, 2, 16, 16 ], "texture": "#texture", "cullface": "south" }, + "west": { "uv": [ 0, 2, 16, 16 ], "texture": "#texture", "cullface": "west" }, + "east": { "uv": [ 0, 2, 16, 16 ], "texture": "#texture", "cullface": "east" } + } + } + ] +} diff --git a/src/main/resources/assets/infernalexp/models/block/shimmer_sheet2.json b/src/main/resources/assets/infernalexp/models/block/shimmer_sheet2.json new file mode 100644 index 000000000..c56e0e414 --- /dev/null +++ b/src/main/resources/assets/infernalexp/models/block/shimmer_sheet2.json @@ -0,0 +1,20 @@ +{ + "parent": "block/thin_block", + "textures": { + "particle": "infernalexp:block/shimmer_sand", + "texture": "infernalexp:block/shimmer_sand" + }, + "elements": [ + { "from": [ 0, 0, 0 ], + "to": [ 16, 2, 16 ], + "faces": { + "down": { "uv": [ 0, 0, 16, 16 ], "texture": "#texture", "cullface": "down" }, + "up": { "uv": [ 0, 0, 16, 16 ], "texture": "#texture" }, + "north": { "uv": [ 0, 14, 16, 16 ], "texture": "#texture", "cullface": "north" }, + "south": { "uv": [ 0, 14, 16, 16 ], "texture": "#texture", "cullface": "south" }, + "west": { "uv": [ 0, 14, 16, 16 ], "texture": "#texture", "cullface": "west" }, + "east": { "uv": [ 0, 14, 16, 16 ], "texture": "#texture", "cullface": "east" } + } + } + ] +} diff --git a/src/main/resources/assets/infernalexp/models/block/shimmer_sheet4.json b/src/main/resources/assets/infernalexp/models/block/shimmer_sheet4.json new file mode 100644 index 000000000..4e275e362 --- /dev/null +++ b/src/main/resources/assets/infernalexp/models/block/shimmer_sheet4.json @@ -0,0 +1,19 @@ +{ + "textures": { + "particle": "infernalexp:block/shimmer_sand", + "texture": "infernalexp:block/shimmer_sand" + }, + "elements": [ + { "from": [ 0, 0, 0 ], + "to": [ 16, 4, 16 ], + "faces": { + "down": { "uv": [ 0, 0, 16, 16 ], "texture": "#texture", "cullface": "down" }, + "up": { "uv": [ 0, 0, 16, 16 ], "texture": "#texture" }, + "north": { "uv": [ 0, 12, 16, 16 ], "texture": "#texture", "cullface": "north" }, + "south": { "uv": [ 0, 12, 16, 16 ], "texture": "#texture", "cullface": "south" }, + "west": { "uv": [ 0, 12, 16, 16 ], "texture": "#texture", "cullface": "west" }, + "east": { "uv": [ 0, 12, 16, 16 ], "texture": "#texture", "cullface": "east" } + } + } + ] +} diff --git a/src/main/resources/assets/infernalexp/models/block/shimmer_sheet6.json b/src/main/resources/assets/infernalexp/models/block/shimmer_sheet6.json new file mode 100644 index 000000000..bdc6aa440 --- /dev/null +++ b/src/main/resources/assets/infernalexp/models/block/shimmer_sheet6.json @@ -0,0 +1,19 @@ +{ + "textures": { + "particle": "infernalexp:block/shimmer_sand", + "texture": "infernalexp:block/shimmer_sand" + }, + "elements": [ + { "from": [ 0, 0, 0 ], + "to": [ 16, 6, 16 ], + "faces": { + "down": { "uv": [ 0, 0, 16, 16 ], "texture": "#texture", "cullface": "down" }, + "up": { "uv": [ 0, 0, 16, 16 ], "texture": "#texture" }, + "north": { "uv": [ 0, 10, 16, 16 ], "texture": "#texture", "cullface": "north" }, + "south": { "uv": [ 0, 10, 16, 16 ], "texture": "#texture", "cullface": "south" }, + "west": { "uv": [ 0, 10, 16, 16 ], "texture": "#texture", "cullface": "west" }, + "east": { "uv": [ 0, 10, 16, 16 ], "texture": "#texture", "cullface": "east" } + } + } + ] +} diff --git a/src/main/resources/assets/infernalexp/models/block/shimmer_sheet8.json b/src/main/resources/assets/infernalexp/models/block/shimmer_sheet8.json new file mode 100644 index 000000000..9c67ee915 --- /dev/null +++ b/src/main/resources/assets/infernalexp/models/block/shimmer_sheet8.json @@ -0,0 +1,19 @@ +{ + "textures": { + "particle": "infernalexp:block/shimmer_sand", + "texture": "infernalexp:block/shimmer_sand" + }, + "elements": [ + { "from": [ 0, 0, 0 ], + "to": [ 16, 8, 16 ], + "faces": { + "down": { "uv": [ 0, 0, 16, 16 ], "texture": "#texture", "cullface": "down" }, + "up": { "uv": [ 0, 0, 16, 16 ], "texture": "#texture" }, + "north": { "uv": [ 0, 8, 16, 16 ], "texture": "#texture", "cullface": "north" }, + "south": { "uv": [ 0, 8, 16, 16 ], "texture": "#texture", "cullface": "south" }, + "west": { "uv": [ 0, 8, 16, 16 ], "texture": "#texture", "cullface": "west" }, + "east": { "uv": [ 0, 8, 16, 16 ], "texture": "#texture", "cullface": "east" } + } + } + ] +} diff --git a/src/main/resources/assets/infernalexp/models/item/shimmer_sheet.json b/src/main/resources/assets/infernalexp/models/item/shimmer_sheet.json new file mode 100644 index 000000000..f4f5a3c6d --- /dev/null +++ b/src/main/resources/assets/infernalexp/models/item/shimmer_sheet.json @@ -0,0 +1,3 @@ +{ + "parent": "infernalexp:block/shimmer_sheet2" +} \ No newline at end of file diff --git a/src/main/resources/assets/infernalexp/textures/block/glimmer_gravel.png b/src/main/resources/assets/infernalexp/textures/block/glimmer_gravel.png new file mode 100644 index 0000000000000000000000000000000000000000..e001ac67a37c368a5abce4b0a7bf4fdb458b6e01 GIT binary patch literal 206 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!73?$#)eFPHVEbxddW?X?_wfUrhg8TtK zA+EE+lvib&?5g!T*5P_X?_wfUrhfZwT!P6_!>uAE=JV8M@BAj6{19L=IqbEa_ bk}?-F!@uY33;Ndq89?Ca>gTe~DWM4fj^i_6 literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/infernalexp/textures/block/luminous_fungus_off.png b/src/main/resources/assets/infernalexp/textures/block/luminous_fungus_off.png new file mode 100644 index 0000000000000000000000000000000000000000..3a455cc8cb0598d4da7a6ae40e0a10ce37cee65a GIT binary patch literal 183 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!73?$#)eFPHVEbxddW?X?_wfUrhg8TtK zA+A6=+Dg2}TVZRV)5R|TEs5_}0EHM!g8YIR9G=}s19BWaT^vI=qLULAh#1Vaux^l4 z(^GR3U=&VIWfeGlGcuC%NP?kJkP(xigveBpsSYOG%@Y)qBc?MhW)Pln@PGz`3WMNd W*08+!w`T(lWAJqKb6Mw<&;$Tp$uIi= literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/infernalexp/textures/block/shimmer_sand.png b/src/main/resources/assets/infernalexp/textures/block/shimmer_sand.png new file mode 100644 index 0000000000000000000000000000000000000000..03e46c440123432fbfb31da1df8c4e81faf4f2f8 GIT binary patch literal 212 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!73?$#)eFPHVEbxddW?X?_wfUrhf()71#Z{jCaD@TT@*RR|p@Fh`jb1=|O22WQ%mvv4F FO#sB&O)LNa literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/infernalexp/textures/block/shimmer_stone.png b/src/main/resources/assets/infernalexp/textures/block/shimmer_stone.png new file mode 100644 index 0000000000000000000000000000000000000000..4d54e434449ecb44052bfa21668a4851f5a4a1a2 GIT binary patch literal 192 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!73?$#)eFPHV5AX?bU6pNeti$!zir8m|vfo~8 zF?&}R29(P2ba4#fkYzo{$aq+RhvmTXxeXH(8vchKU}9rCynorzHHl?>D=JQ^Bu!XzoUGQUxJv>h(;v+7yeLZGv?$6_NSL%A~gWULa oawp>RTJ;N}yhR*M!`5WgyMN)|7}&n|H_%=NPgg&ebxsLQ0DA~X4*&oF literal 0 HcmV?d00001 diff --git a/src/main/resources/data/infernalexp/loottables/block/shimmer_sheet.json b/src/main/resources/data/infernalexp/loottables/block/shimmer_sheet.json new file mode 100644 index 000000000..4df523faa --- /dev/null +++ b/src/main/resources/data/infernalexp/loottables/block/shimmer_sheet.json @@ -0,0 +1,356 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:entity_properties", + "entity": "this", + "predicate": {} + } + ], + "entries": [ + { + "type": "minecraft:alternatives", + "children": [ + { + "type": "minecraft:alternatives", + "children": [ + { + "type": "minecraft:item", + "conditions": [ + { + "block": "infernalexp:shimmer_sheet", + "condition": "minecraft:block_state_property", + "properties": { + "layers": "1" + } + } + ], + "functions": [ + { + "add": false, + "count": 1.0, + "function": "minecraft:set_count" + } + ], + "name": "infernalexp:shimmer_sheet" + }, + { + "type": "minecraft:item", + "conditions": [ + { + "block": "infernalexp:shimmer_sheet", + "condition": "minecraft:block_state_property", + "properties": { + "layers": "2" + } + } + ], + "functions": [ + { + "add": false, + "count": 2.0, + "function": "minecraft:set_count" + } + ], + "name": "infernalexp:shimmer_sheet" + }, + { + "type": "minecraft:item", + "conditions": [ + { + "block": "infernalexp:shimmer_sheet", + "condition": "minecraft:block_state_property", + "properties": { + "layers": "3" + } + } + ], + "functions": [ + { + "add": false, + "count": 3.0, + "function": "minecraft:set_count" + } + ], + "name": "infernalexp:shimmer_sheet" + }, + { + "type": "minecraft:item", + "conditions": [ + { + "block": "infernalexp:shimmer_sheet", + "condition": "minecraft:block_state_property", + "properties": { + "layers": "4" + } + } + ], + "functions": [ + { + "add": false, + "count": 4.0, + "function": "minecraft:set_count" + } + ], + "name": "infernalexp:shimmer_sheet" + }, + { + "type": "minecraft:item", + "conditions": [ + { + "block": "infernalexp:shimmer_sheet", + "condition": "minecraft:block_state_property", + "properties": { + "layers": "5" + } + } + ], + "functions": [ + { + "add": false, + "count": 5.0, + "function": "minecraft:set_count" + } + ], + "name": "infernalexp:shimmer_sheet" + }, + { + "type": "minecraft:item", + "conditions": [ + { + "block": "infernalexp:shimmer_sheet", + "condition": "minecraft:block_state_property", + "properties": { + "layers": "6" + } + } + ], + "functions": [ + { + "add": false, + "count": 6.0, + "function": "minecraft:set_count" + } + ], + "name": "infernalexp:shimmer_sheet" + }, + { + "type": "minecraft:item", + "conditions": [ + { + "block": "infernalexp:shimmer_sheet", + "condition": "minecraft:block_state_property", + "properties": { + "layers": "7" + } + } + ], + "functions": [ + { + "add": false, + "count": 7.0, + "function": "minecraft:set_count" + } + ], + "name": "infernalexp:shimmer_sheet" + }, + { + "type": "minecraft:item", + "conditions": [ + { + "block": "infernalexp:shimmer_sheet", + "condition": "minecraft:block_state_property", + "properties": { + "layers": "8" + } + } + ], + "functions": [ + { + "add": false, + "count": 8.0, + "function": "minecraft:set_count" + } + ], + "name": "infernalexp:shimmer_sheet" + } + ], + "conditions": [ + { + "condition": "minecraft:inverted", + "term": { + "condition": "minecraft:match_tool", + "predicate": { + "enchantments": [ + { + "enchantment": "minecraft:silk_touch", + "levels": { + "min": 1 + } + } + ] + } + } + } + ] + }, + { + "type": "minecraft:alternatives", + "children": [ + { + "type": "minecraft:item", + "conditions": [ + { + "block": "infernalexp:shimmer_sheet", + "condition": "minecraft:block_state_property", + "properties": { + "layers": "1" + } + } + ], + "functions": [ + { + "add": false, + "count": 1.0, + "function": "minecraft:set_count" + } + ], + "name": "infernalexp:shimmer_sheet" + }, + { + "type": "minecraft:item", + "conditions": [ + { + "block": "infernalexp:shimmer_sheet", + "condition": "minecraft:block_state_property", + "properties": { + "layers": "2" + } + } + ], + "functions": [ + { + "add": false, + "count": 2.0, + "function": "minecraft:set_count" + } + ], + "name": "infernalexp:shimmer_sheet" + }, + { + "type": "minecraft:item", + "conditions": [ + { + "block": "infernalexp:shimmer_sheet", + "condition": "minecraft:block_state_property", + "properties": { + "layers": "3" + } + } + ], + "functions": [ + { + "add": false, + "count": 3.0, + "function": "minecraft:set_count" + } + ], + "name": "infernalexp:shimmer_sheet" + }, + { + "type": "minecraft:item", + "conditions": [ + { + "block": "infernalexp:shimmer_sheet", + "condition": "minecraft:block_state_property", + "properties": { + "layers": "4" + } + } + ], + "functions": [ + { + "add": false, + "count": 4.0, + "function": "minecraft:set_count" + } + ], + "name": "infernalexp:shimmer_sheet" + }, + { + "type": "minecraft:item", + "conditions": [ + { + "block": "infernalexp:shimmer_sheet", + "condition": "minecraft:block_state_property", + "properties": { + "layers": "5" + } + } + ], + "functions": [ + { + "add": false, + "count": 5.0, + "function": "minecraft:set_count" + } + ], + "name": "infernalexp:shimmer_sheet" + }, + { + "type": "minecraft:item", + "conditions": [ + { + "block": "infernalexp:shimmer_sheet", + "condition": "minecraft:block_state_property", + "properties": { + "layers": "6" + } + } + ], + "functions": [ + { + "add": false, + "count": 6.0, + "function": "minecraft:set_count" + } + ], + "name": "infernalexp:shimmer_sheet" + }, + { + "type": "minecraft:item", + "conditions": [ + { + "block": "infernalexp:shimmer_sheet", + "condition": "minecraft:block_state_property", + "properties": { + "layers": "7" + } + } + ], + "functions": [ + { + "add": false, + "count": 7.0, + "function": "minecraft:set_count" + } + ], + "name": "infernalexp:shimmer_sheet" + }, + { + "type": "minecraft:item", + "name": "infernalexp:shimmer_sheet_block" + } + ] + } + ] + } + ], + "rolls": 1.0 + } + ], + "random_sequence": "minecraft:blocks/snow" +} \ No newline at end of file