diff --git a/src/main/java/ovh/glitchlabs/ichori/Block/ModBlocks.java b/src/main/java/ovh/glitchlabs/ichori/Block/ModBlocks.java index 7f1fcd1..23c0616 100644 --- a/src/main/java/ovh/glitchlabs/ichori/Block/ModBlocks.java +++ b/src/main/java/ovh/glitchlabs/ichori/Block/ModBlocks.java @@ -11,6 +11,7 @@ import net.minecraft.world.level.material.PushReaction; import net.neoforged.bus.api.IEventBus; import net.neoforged.neoforge.registries.DeferredBlock; import net.neoforged.neoforge.registries.DeferredRegister; +import ovh.glitchlabs.ichori.Block.custom.Altar; import ovh.glitchlabs.ichori.Block.custom.MagicTourch; import ovh.glitchlabs.ichori.Ichori; import ovh.glitchlabs.ichori.Item.ModItems; @@ -27,6 +28,8 @@ public class ModBlocks { .strength(4f) .requiresCorrectToolForDrops())); + public static final DeferredBlock ALTAR = registerBlock("altar", + () -> new Altar(BlockBehaviour.Properties.of().noOcclusion().strength(3f))); diff --git a/src/main/java/ovh/glitchlabs/ichori/Block/custom/Altar.java b/src/main/java/ovh/glitchlabs/ichori/Block/custom/Altar.java new file mode 100644 index 0000000..5a722ef --- /dev/null +++ b/src/main/java/ovh/glitchlabs/ichori/Block/custom/Altar.java @@ -0,0 +1,33 @@ +package ovh.glitchlabs.ichori.Block.custom; + +import net.minecraft.core.BlockPos; +import net.minecraft.world.level.BlockGetter; +import net.minecraft.world.level.block.Block; +import net.minecraft.world.level.block.state.BlockState; +import net.minecraft.world.phys.shapes.CollisionContext; +import net.minecraft.world.phys.shapes.Shapes; +import net.minecraft.world.phys.shapes.VoxelShape; + +public class Altar extends Block { + private static final VoxelShape SHAPE = Shapes.or( + Block.box(2, 0, 2, 14, 1, 14), + Block.box(3, 1, 3, 13, 3, 13), + Block.box(4, 3, 4, 12, 10, 12), + Block.box(3, 10, 3, 13, 12, 13), + Block.box(2, 12, 0, 14, 14, 16), + Block.box(0, 12, 2, 16, 14, 14), + Block.box(0, 13, 0, 2, 16, 2), + Block.box(14, 13, 0, 16, 16, 2), + Block.box(0, 13, 14, 2, 16, 16), + Block.box(14, 13, 14, 16, 16, 16) + ); + + public Altar(Properties properties) { + super(properties); + } + + @Override + protected VoxelShape getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext ctx) { + return SHAPE; + } +} \ No newline at end of file diff --git a/src/main/java/ovh/glitchlabs/ichori/datagen/ModBlockLootTableProvider.java b/src/main/java/ovh/glitchlabs/ichori/datagen/ModBlockLootTableProvider.java index e4dd50b..772f9e4 100644 --- a/src/main/java/ovh/glitchlabs/ichori/datagen/ModBlockLootTableProvider.java +++ b/src/main/java/ovh/glitchlabs/ichori/datagen/ModBlockLootTableProvider.java @@ -14,6 +14,7 @@ import net.minecraft.world.level.storage.loot.entries.LootItem; import net.minecraft.world.level.storage.loot.functions.ApplyBonusCount; import net.minecraft.world.level.storage.loot.functions.SetItemCountFunction; import net.minecraft.world.level.storage.loot.providers.number.UniformGenerator; +import net.neoforged.fml.common.Mod; import ovh.glitchlabs.ichori.Block.ModBlocks; import ovh.glitchlabs.ichori.Item.ModItems; @@ -31,6 +32,8 @@ public class ModBlockLootTableProvider extends BlockLootSubProvider { add(ModBlocks.CRYSTALLIZED_TITAN_BLOOD_ORE.get(), block -> createMultipleOreDrops(ModBlocks.CRYSTALLIZED_TITAN_BLOOD_ORE.get(), ModItems.CRYSTALLIZED_TITAN_BLOOD.get(), 2, 5)); + dropSelf(ModBlocks.ALTAR.get()); + //TEST dropSelf(ModBlocks.MAGIC_TOURCH.get()); } diff --git a/src/main/java/ovh/glitchlabs/ichori/datagen/ModLanguageProvider.java b/src/main/java/ovh/glitchlabs/ichori/datagen/ModLanguageProvider.java index 76bf0d1..166e304 100644 --- a/src/main/java/ovh/glitchlabs/ichori/datagen/ModLanguageProvider.java +++ b/src/main/java/ovh/glitchlabs/ichori/datagen/ModLanguageProvider.java @@ -16,6 +16,7 @@ public class ModLanguageProvider extends LanguageProvider { protected void addTranslations() { add(ModItems.CRYSTALLIZED_TITAN_BLOOD.get(), "Crystallized Titan Blood"); add(ModBlocks.CRYSTALLIZED_TITAN_BLOOD_ORE.get(), "Crystallized Titan Blood Ore"); + add(ModBlocks.ALTAR.get(), "Altar"); add("creativetab.icgori.ichori", "Ichori"); diff --git a/src/main/resources/assets/ichori/blockstates/altar.json b/src/main/resources/assets/ichori/blockstates/altar.json new file mode 100644 index 0000000..5fcdcbd --- /dev/null +++ b/src/main/resources/assets/ichori/blockstates/altar.json @@ -0,0 +1,5 @@ +{ + "variants": { + "": { "model": "ichori:block/altar" } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/ichori/models/block/altar.json b/src/main/resources/assets/ichori/models/block/altar.json new file mode 100644 index 0000000..974b561 --- /dev/null +++ b/src/main/resources/assets/ichori/models/block/altar.json @@ -0,0 +1,383 @@ +{ + "format_version": "1.21.11", + "credit": "Made with Blockbench", + "parent": "block/block", + "texture_size": [64, 64], + "textures": { + "0": "ichori:block/altar", + "particle": "ichori:block/altar" + }, + "elements": [ + { + "from": [2, 0, 2], + "to": [14, 1, 14], + "rotation": {"angle": 0, "axis": "y", "origin": [3, 0, 3]}, + "faces": { + "north": {"uv": [7, 10.25, 10, 10.5], "texture": "#0"}, + "east": {"uv": [0, 10.5, 3, 10.75], "texture": "#0"}, + "south": {"uv": [10.5, 0, 13.5, 0.25], "texture": "#0"}, + "west": {"uv": [10.5, 0.25, 13.5, 0.5], "texture": "#0"}, + "up": {"uv": [0, 4, 3, 7], "texture": "#0"}, + "down": {"uv": [3, 4, 6, 7], "texture": "#0"} + } + }, + { + "from": [3, 2, 3], + "to": [13, 3, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [3, 2, 3]}, + "faces": { + "north": {"uv": [10.5, 4.5, 13, 4.75], "texture": "#0"}, + "east": {"uv": [10.5, 4.75, 13, 5], "texture": "#0"}, + "south": {"uv": [10.5, 5, 13, 5.25], "texture": "#0"}, + "west": {"uv": [10.5, 5.25, 13, 5.5], "texture": "#0"}, + "up": {"uv": [6, 0, 8.5, 2.5], "texture": "#0"}, + "down": {"uv": [6, 2.5, 8.5, 5], "texture": "#0"} + } + }, + { + "from": [4, 1, 4], + "to": [12, 10, 12], + "rotation": {"angle": 0, "axis": "y", "origin": [4, 2, 4]}, + "faces": { + "north": {"uv": [2.5, 7, 4.5, 9.25], "texture": "#0"}, + "east": {"uv": [4.5, 7.5, 6.5, 9.75], "texture": "#0"}, + "south": {"uv": [6.5, 7.5, 8.5, 9.75], "texture": "#0"}, + "west": {"uv": [8.5, 0, 10.5, 2.25], "texture": "#0"}, + "up": {"uv": [8.5, 2.25, 10.5, 4.25], "texture": "#0"}, + "down": {"uv": [8.5, 4.25, 10.5, 6.25], "texture": "#0"} + } + }, + { + "from": [3, 10, 3], + "to": [13, 12, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [7, 10, 5]}, + "faces": { + "north": {"uv": [10, 7.75, 12.5, 8.25], "texture": "#0"}, + "east": {"uv": [10, 8.25, 12.5, 8.75], "texture": "#0"}, + "south": {"uv": [10, 8.75, 12.5, 9.25], "texture": "#0"}, + "west": {"uv": [4.5, 10.25, 7, 10.75], "texture": "#0"}, + "up": {"uv": [6, 5, 8.5, 7.5], "texture": "#0"}, + "down": {"uv": [0, 7, 2.5, 9.5], "texture": "#0"} + } + }, + { + "from": [2, 11, 4], + "to": [3, 12, 12], + "rotation": {"angle": 0, "axis": "y", "origin": [-3, 10, 5]}, + "faces": { + "north": {"uv": [4, 9.5, 4.25, 9.75], "texture": "#0"}, + "east": {"uv": [2.5, 9.25, 4.5, 9.5], "texture": "#0"}, + "south": {"uv": [4.25, 9.5, 4.5, 9.75], "texture": "#0"}, + "west": {"uv": [10.5, 5.5, 12.5, 5.75], "texture": "#0"}, + "up": {"uv": [7, 10.5, 7.25, 12.5], "texture": "#0"}, + "down": {"uv": [7.25, 10.5, 7.5, 12.5], "texture": "#0"} + } + }, + { + "from": [13, 11, 4], + "to": [14, 12, 12], + "rotation": {"angle": 0, "axis": "y", "origin": [19, 10, 5]}, + "faces": { + "north": {"uv": [5.5, 11.75, 5.75, 12], "texture": "#0"}, + "east": {"uv": [10.5, 5.75, 12.5, 6], "texture": "#0"}, + "south": {"uv": [5.75, 11.75, 6, 12], "texture": "#0"}, + "west": {"uv": [10.5, 6, 12.5, 6.25], "texture": "#0"}, + "up": {"uv": [7.5, 10.5, 7.75, 12.5], "texture": "#0"}, + "down": {"uv": [7.75, 10.5, 8, 12.5], "texture": "#0"} + } + }, + { + "from": [4, 11, 2], + "to": [12, 12, 3], + "rotation": {"angle": 0, "axis": "y", "origin": [-3, 10, -4]}, + "faces": { + "north": {"uv": [8, 10.5, 10, 10.75], "texture": "#0"}, + "east": {"uv": [6, 11.75, 6.25, 12], "texture": "#0"}, + "south": {"uv": [10.5, 9.75, 12.5, 10], "texture": "#0"}, + "west": {"uv": [6.25, 11.75, 6.5, 12], "texture": "#0"}, + "up": {"uv": [10.5, 10, 12.5, 10.25], "texture": "#0"}, + "down": {"uv": [10.5, 10.25, 12.5, 10.5], "texture": "#0"} + } + }, + { + "from": [4, 11, 13], + "to": [12, 12, 14], + "rotation": {"angle": 0, "axis": "y", "origin": [-3, 10, 7]}, + "faces": { + "north": {"uv": [10.5, 10.5, 12.5, 10.75], "texture": "#0"}, + "east": {"uv": [8, 11.75, 8.25, 12], "texture": "#0"}, + "south": {"uv": [0, 10.75, 2, 11], "texture": "#0"}, + "west": {"uv": [8.25, 11.75, 8.5, 12], "texture": "#0"}, + "up": {"uv": [4.5, 10.75, 6.5, 11], "texture": "#0"}, + "down": {"uv": [8, 10.75, 10, 11], "texture": "#0"} + } + }, + { + "from": [2, 12, 0], + "to": [14, 14, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 12, 4]}, + "faces": { + "north": {"uv": [4, 9.75, 7, 10.25], "texture": "#0"}, + "east": {"uv": [8.5, 9.25, 12.5, 9.75], "texture": "#0"}, + "south": {"uv": [7, 9.75, 10, 10.25], "texture": "#0"}, + "west": {"uv": [0, 9.5, 4, 10], "texture": "#0"}, + "up": {"uv": [0, 0, 3, 4], "texture": "#0"}, + "down": {"uv": [3, 0, 6, 4], "texture": "#0"} + } + }, + { + "from": [14, 12, 2], + "to": [16, 14, 14], + "rotation": {"angle": 0, "axis": "y", "origin": [12, 12, 4]}, + "faces": { + "north": {"uv": [11, 11.25, 11.5, 11.75], "texture": "#0"}, + "east": {"uv": [0, 10, 3, 10.5], "texture": "#0"}, + "south": {"uv": [2, 11.5, 2.5, 12], "texture": "#0"}, + "west": {"uv": [10, 6.25, 13, 6.75], "texture": "#0"}, + "up": {"uv": [3, 10, 3.5, 13], "texture": "#0"}, + "down": {"uv": [3.5, 10, 4, 13], "texture": "#0"} + } + }, + { + "from": [0, 12, 2], + "to": [2, 14, 14], + "rotation": {"angle": 0, "axis": "y", "origin": [-2, 12, 4]}, + "faces": { + "north": {"uv": [2.5, 11.5, 3, 12], "texture": "#0"}, + "east": {"uv": [10, 6.75, 13, 7.25], "texture": "#0"}, + "south": {"uv": [6.5, 11.5, 7, 12], "texture": "#0"}, + "west": {"uv": [10, 7.25, 13, 7.75], "texture": "#0"}, + "up": {"uv": [10, 9.75, 10.5, 12.75], "texture": "#0"}, + "down": {"uv": [4, 10.25, 4.5, 13.25], "texture": "#0"} + } + }, + { + "from": [0, 13, 0], + "to": [2, 16, 2], + "rotation": {"angle": 0, "axis": "y", "origin": [-2, 12, -8]}, + "faces": { + "north": {"uv": [2, 10.75, 2.5, 11.5], "texture": "#0"}, + "east": {"uv": [2.5, 10.75, 3, 11.5], "texture": "#0"}, + "south": {"uv": [6.5, 10.75, 7, 11.5], "texture": "#0"}, + "west": {"uv": [10.5, 10.75, 11, 11.5], "texture": "#0"}, + "up": {"uv": [10.5, 11.5, 11, 12], "texture": "#0"}, + "down": {"uv": [11.5, 11.25, 12, 11.75], "texture": "#0"} + } + }, + { + "from": [14, 13, 0], + "to": [16, 16, 2], + "rotation": {"angle": 0, "axis": "y", "origin": [18, 12, -8]}, + "faces": { + "north": {"uv": [0, 11, 0.5, 11.75], "texture": "#0"}, + "east": {"uv": [0.5, 11, 1, 11.75], "texture": "#0"}, + "south": {"uv": [1, 11, 1.5, 11.75], "texture": "#0"}, + "west": {"uv": [1.5, 11, 2, 11.75], "texture": "#0"}, + "up": {"uv": [0, 11.75, 0.5, 12.25], "texture": "#0"}, + "down": {"uv": [0.5, 11.75, 1, 12.25], "texture": "#0"} + } + }, + { + "from": [0, 13, 14], + "to": [2, 16, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [-2, 12, 6]}, + "faces": { + "north": {"uv": [4.5, 11, 5, 11.75], "texture": "#0"}, + "east": {"uv": [5, 11, 5.5, 11.75], "texture": "#0"}, + "south": {"uv": [5.5, 11, 6, 11.75], "texture": "#0"}, + "west": {"uv": [6, 11, 6.5, 11.75], "texture": "#0"}, + "up": {"uv": [1, 11.75, 1.5, 12.25], "texture": "#0"}, + "down": {"uv": [1.5, 11.75, 2, 12.25], "texture": "#0"} + } + }, + { + "from": [14, 13, 14], + "to": [16, 16, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [18, 12, 6]}, + "faces": { + "north": {"uv": [8, 11, 8.5, 11.75], "texture": "#0"}, + "east": {"uv": [8.5, 11, 9, 11.75], "texture": "#0"}, + "south": {"uv": [9, 11, 9.5, 11.75], "texture": "#0"}, + "west": {"uv": [9.5, 11, 10, 11.75], "texture": "#0"}, + "up": {"uv": [4.5, 11.75, 5, 12.25], "texture": "#0"}, + "down": {"uv": [5, 11.75, 5.5, 12.25], "texture": "#0"} + } + }, + { + "from": [2, 14, 14], + "to": [3, 15, 15], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 13, 5]}, + "faces": { + "north": {"uv": [8.5, 11.75, 8.75, 12], "texture": "#0"}, + "east": {"uv": [8.75, 11.75, 9, 12], "texture": "#0"}, + "south": {"uv": [9, 11.75, 9.25, 12], "texture": "#0"}, + "west": {"uv": [9.25, 11.75, 9.5, 12], "texture": "#0"}, + "up": {"uv": [9.5, 11.75, 9.75, 12], "texture": "#0"}, + "down": {"uv": [9.75, 11.75, 10, 12], "texture": "#0"} + } + }, + { + "from": [14, 14, 2], + "to": [15, 15, 3], + "rotation": {"angle": 0, "axis": "y", "origin": [17, 13, -7]}, + "faces": { + "north": {"uv": [11, 11.75, 11.25, 12], "texture": "#0"}, + "east": {"uv": [11.25, 11.75, 11.5, 12], "texture": "#0"}, + "south": {"uv": [11.5, 11.75, 11.75, 12], "texture": "#0"}, + "west": {"uv": [11.75, 11.75, 12, 12], "texture": "#0"}, + "up": {"uv": [2, 12, 2.25, 12.25], "texture": "#0"}, + "down": {"uv": [2.25, 12, 2.5, 12.25], "texture": "#0"} + } + }, + { + "from": [2, 14, 14.5], + "to": [14, 15, 15.5], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 13, 5.5]}, + "faces": { + "north": {"uv": [10.5, 0.5, 13.5, 0.75], "texture": "#0"}, + "east": {"uv": [2.5, 12, 2.75, 12.25], "texture": "#0"}, + "south": {"uv": [10.5, 0.75, 13.5, 1], "texture": "#0"}, + "west": {"uv": [2.75, 12, 3, 12.25], "texture": "#0"}, + "up": {"uv": [10.5, 1, 13.5, 1.25], "texture": "#0"}, + "down": {"uv": [10.5, 1.25, 13.5, 1.5], "texture": "#0"} + } + }, + { + "from": [2, 14, 0.5], + "to": [14, 15, 1.5], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 13, -8.5]}, + "faces": { + "north": {"uv": [10.5, 1.5, 13.5, 1.75], "texture": "#0"}, + "east": {"uv": [5.5, 12, 5.75, 12.25], "texture": "#0"}, + "south": {"uv": [10.5, 1.75, 13.5, 2], "texture": "#0"}, + "west": {"uv": [5.75, 12, 6, 12.25], "texture": "#0"}, + "up": {"uv": [10.5, 2, 13.5, 2.25], "texture": "#0"}, + "down": {"uv": [10.5, 2.25, 13.5, 2.5], "texture": "#0"} + } + }, + { + "from": [0.5, 14, 2], + "to": [1.5, 15, 14], + "faces": { + "north": {"uv": [6.25, 12, 6.5, 12.25], "texture": "#0"}, + "east": {"uv": [10.5, 2.5, 13.5, 2.75], "texture": "#0"}, + "south": {"uv": [6, 12, 6.25, 12.25], "texture": "#0"}, + "west": {"uv": [10.5, 2.75, 13.5, 3], "texture": "#0"}, + "up": {"uv": [10.5, 3, 13.5, 3.25], "rotation": 90, "texture": "#0"}, + "down": {"uv": [10.5, 3.25, 13.5, 3.5], "rotation": 270, "texture": "#0"} + } + }, + { + "from": [14.5, 14, 2], + "to": [15.5, 15, 14], + "faces": { + "north": {"uv": [6.5, 12, 6.75, 12.25], "texture": "#0"}, + "east": {"uv": [10.5, 3.75, 13.5, 4], "texture": "#0"}, + "south": {"uv": [6.75, 12, 7, 12.25], "texture": "#0"}, + "west": {"uv": [10.5, 3.5, 13.5, 3.75], "texture": "#0"}, + "up": {"uv": [10.5, 4, 13.5, 4.25], "rotation": 270, "texture": "#0"}, + "down": {"uv": [10.5, 4.25, 13.5, 4.5], "rotation": 90, "texture": "#0"} + } + }, + { + "from": [5, 14, 5], + "to": [11, 15, 11], + "rotation": {"angle": 0, "axis": "y", "origin": [7, 14, 7]}, + "faces": { + "north": {"uv": [4.5, 7, 6, 7.25], "texture": "#0"}, + "east": {"uv": [4.5, 7.25, 6, 7.5], "texture": "#0"}, + "south": {"uv": [11, 10.75, 12.5, 11], "texture": "#0"}, + "west": {"uv": [11, 11, 12.5, 11.25], "texture": "#0"}, + "up": {"uv": [8.5, 6.25, 10, 7.75], "texture": "#0"}, + "down": {"uv": [8.5, 7.75, 10, 9.25], "texture": "#0"} + } + }, + { + "from": [13, 14, 1], + "to": [14, 15, 2], + "rotation": {"angle": 0, "axis": "y", "origin": [16, 13, -8]}, + "faces": { + "north": {"uv": [8, 12, 8.25, 12.25], "texture": "#0"}, + "east": {"uv": [8.25, 12, 8.5, 12.25], "texture": "#0"}, + "south": {"uv": [8.5, 12, 8.75, 12.25], "texture": "#0"}, + "west": {"uv": [8.75, 12, 9, 12.25], "texture": "#0"}, + "up": {"uv": [9, 12, 9.25, 12.25], "texture": "#0"}, + "down": {"uv": [9.25, 12, 9.5, 12.25], "texture": "#0"} + } + }, + { + "from": [1, 14, 13], + "to": [2, 15, 14], + "rotation": {"angle": 0, "axis": "y", "origin": [-1, 13, 4]}, + "faces": { + "north": {"uv": [9.5, 12, 9.75, 12.25], "texture": "#0"}, + "east": {"uv": [9.75, 12, 10, 12.25], "texture": "#0"}, + "south": {"uv": [10.5, 12, 10.75, 12.25], "texture": "#0"}, + "west": {"uv": [10.75, 12, 11, 12.25], "texture": "#0"}, + "up": {"uv": [11, 12, 11.25, 12.25], "texture": "#0"}, + "down": {"uv": [11.25, 12, 11.5, 12.25], "texture": "#0"} + } + }, + { + "from": [14, 14, 13], + "to": [15, 15, 14], + "rotation": {"angle": 0, "axis": "y", "origin": [17, 13, 4]}, + "faces": { + "north": {"uv": [12, 11.25, 12.25, 11.5], "texture": "#0"}, + "east": {"uv": [11.5, 12, 11.75, 12.25], "texture": "#0"}, + "south": {"uv": [12, 11.5, 12.25, 11.75], "texture": "#0"}, + "west": {"uv": [11.75, 12, 12, 12.25], "texture": "#0"}, + "up": {"uv": [12, 11.75, 12.25, 12], "texture": "#0"}, + "down": {"uv": [12, 12, 12.25, 12.25], "texture": "#0"} + } + }, + { + "from": [1, 14, 2], + "to": [2, 15, 3], + "rotation": {"angle": 0, "axis": "y", "origin": [-1, 13, -7]}, + "faces": { + "north": {"uv": [0, 12.25, 0.25, 12.5], "texture": "#0"}, + "east": {"uv": [0.25, 12.25, 0.5, 12.5], "texture": "#0"}, + "south": {"uv": [0.5, 12.25, 0.75, 12.5], "texture": "#0"}, + "west": {"uv": [0.75, 12.25, 1, 12.5], "texture": "#0"}, + "up": {"uv": [1, 12.25, 1.25, 12.5], "texture": "#0"}, + "down": {"uv": [1.25, 12.25, 1.5, 12.5], "texture": "#0"} + } + }, + { + "from": [13, 14, 14], + "to": [14, 15, 15], + "rotation": {"angle": 0, "axis": "y", "origin": [16, 13, 5]}, + "faces": { + "north": {"uv": [1.5, 12.25, 1.75, 12.5], "texture": "#0"}, + "east": {"uv": [1.75, 12.25, 2, 12.5], "texture": "#0"}, + "south": {"uv": [2, 12.25, 2.25, 12.5], "texture": "#0"}, + "west": {"uv": [2.25, 12.25, 2.5, 12.5], "texture": "#0"}, + "up": {"uv": [2.5, 12.25, 2.75, 12.5], "texture": "#0"}, + "down": {"uv": [2.75, 12.25, 3, 12.5], "texture": "#0"} + } + }, + { + "from": [2, 14, 1], + "to": [3, 15, 2], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 13, -8]}, + "faces": { + "north": {"uv": [4.5, 12.25, 4.75, 12.5], "texture": "#0"}, + "east": {"uv": [4.75, 12.25, 5, 12.5], "texture": "#0"}, + "south": {"uv": [5, 12.25, 5.25, 12.5], "texture": "#0"}, + "west": {"uv": [5.25, 12.25, 5.5, 12.5], "texture": "#0"}, + "up": {"uv": [5.5, 12.25, 5.75, 12.5], "texture": "#0"}, + "down": {"uv": [5.75, 12.25, 6, 12.5], "texture": "#0"} + } + } + ], + "groups": [ + { + "name": "altar", + "origin": [3, 0, 3], + "scope": 0, + "color": 0, + "children": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/ichori/models/item/altar.json b/src/main/resources/assets/ichori/models/item/altar.json new file mode 100644 index 0000000..43425fb --- /dev/null +++ b/src/main/resources/assets/ichori/models/item/altar.json @@ -0,0 +1,3 @@ +{ + "parent": "ichori:block/altar" +} \ No newline at end of file diff --git a/src/main/resources/assets/ichori/quasar/emitters/magic_tourch.json b/src/main/resources/assets/ichori/quasar/emitters/magic_tourch.json index 3882788..3f056f0 100644 --- a/src/main/resources/assets/ichori/quasar/emitters/magic_tourch.json +++ b/src/main/resources/assets/ichori/quasar/emitters/magic_tourch.json @@ -1,5 +1,5 @@ { - "count": 1, + "count": 3, "emitter_settings": { "shape": { "shape": "veil:point", @@ -68,5 +68,5 @@ }, "max_lifetime": 1, "loop": false, - "rate": 2 + "rate": 0 } \ No newline at end of file diff --git a/src/main/resources/assets/ichori/textures/block/altar.png b/src/main/resources/assets/ichori/textures/block/altar.png new file mode 100644 index 0000000..27bc65d Binary files /dev/null and b/src/main/resources/assets/ichori/textures/block/altar.png differ diff --git a/src/main/resources/assets/minecraft/textures/block/tinted_glass.png b/src/main/resources/assets/minecraft/textures/block/tinted_glass.png new file mode 100644 index 0000000..7114d45 Binary files /dev/null and b/src/main/resources/assets/minecraft/textures/block/tinted_glass.png differ