diff --git a/src/main/java/me/parsell/glowstonedust/core/glowItems.java b/src/main/java/me/parsell/glowstonedust/core/glowItems.java deleted file mode 100644 index 58176bd..0000000 --- a/src/main/java/me/parsell/glowstonedust/core/glowItems.java +++ /dev/null @@ -1,13 +0,0 @@ -package me.parsell.glowstonedust.core; - -import net.fabricmc.fabric.api.item.v1.FabricItemSettings; -import net.minecraft.item.BlockItem; -import net.minecraft.item.ItemGroup; -import net.minecraft.util.Identifier; -import net.minecraft.util.registry.Registry; - -public class glowItems { - public static void init(){ - Registry.register(Registry.ITEM, new Identifier("glowstonedust", "glowstone_wire"), new BlockItem(glowBlocks.GLOWSTONEWIRE, new FabricItemSettings().group(ItemGroup.MISC))); - }; -} diff --git a/src/main/java/me/parsell/glowstonedust/GlowstoneDust.java b/src/main/java/me/parsell/glowstonewire/GlowstoneWire.java similarity index 65% rename from src/main/java/me/parsell/glowstonedust/GlowstoneDust.java rename to src/main/java/me/parsell/glowstonewire/GlowstoneWire.java index 714c075..5533732 100644 --- a/src/main/java/me/parsell/glowstonedust/GlowstoneDust.java +++ b/src/main/java/me/parsell/glowstonewire/GlowstoneWire.java @@ -1,10 +1,10 @@ -package me.parsell.glowstonedust; +package me.parsell.glowstonewire; -import me.parsell.glowstonedust.core.glowBlocks; -import me.parsell.glowstonedust.core.glowItems; +import me.parsell.glowstonewire.core.glowBlocks; +import me.parsell.glowstonewire.core.glowItems; import net.fabricmc.api.ModInitializer; -public class GlowstoneDust implements ModInitializer { +public class GlowstoneWire implements ModInitializer { @Override public void onInitialize() { // This code runs as soon as Minecraft is in a mod-load-ready state. diff --git a/src/main/java/me/parsell/glowstonedust/GlowstoneDustClient.java b/src/main/java/me/parsell/glowstonewire/GlowstoneWireClient.java similarity index 77% rename from src/main/java/me/parsell/glowstonedust/GlowstoneDustClient.java rename to src/main/java/me/parsell/glowstonewire/GlowstoneWireClient.java index bd20a57..6301831 100644 --- a/src/main/java/me/parsell/glowstonedust/GlowstoneDustClient.java +++ b/src/main/java/me/parsell/glowstonewire/GlowstoneWireClient.java @@ -1,12 +1,12 @@ -package me.parsell.glowstonedust; +package me.parsell.glowstonewire; -import me.parsell.glowstonedust.core.glowBlocks; +import me.parsell.glowstonewire.core.glowBlocks; import net.fabricmc.api.ClientModInitializer; import net.fabricmc.fabric.api.blockrenderlayer.v1.BlockRenderLayerMap; import net.fabricmc.fabric.api.client.rendering.v1.ColorProviderRegistry; import net.minecraft.client.render.RenderLayer; -public class GlowstoneDustClient implements ClientModInitializer { +public class GlowstoneWireClient implements ClientModInitializer { @Override public void onInitializeClient(){ BlockRenderLayerMap.INSTANCE.putBlock(glowBlocks.GLOWSTONEWIRE, RenderLayer.getCutout()); diff --git a/src/main/java/me/parsell/glowstonedust/common/GlowstoneWireBlock.java b/src/main/java/me/parsell/glowstonewire/common/GlowstoneWireBlock.java similarity index 99% rename from src/main/java/me/parsell/glowstonedust/common/GlowstoneWireBlock.java rename to src/main/java/me/parsell/glowstonewire/common/GlowstoneWireBlock.java index 23ad0fd..57560a5 100644 --- a/src/main/java/me/parsell/glowstonedust/common/GlowstoneWireBlock.java +++ b/src/main/java/me/parsell/glowstonewire/common/GlowstoneWireBlock.java @@ -1,4 +1,4 @@ -package me.parsell.glowstonedust.common; +package me.parsell.glowstonewire.common; import java.util.Map; diff --git a/src/main/java/me/parsell/glowstonedust/core/glowBlocks.java b/src/main/java/me/parsell/glowstonewire/core/glowBlocks.java similarity index 85% rename from src/main/java/me/parsell/glowstonedust/core/glowBlocks.java rename to src/main/java/me/parsell/glowstonewire/core/glowBlocks.java index 4c36505..1528eaa 100644 --- a/src/main/java/me/parsell/glowstonedust/core/glowBlocks.java +++ b/src/main/java/me/parsell/glowstonewire/core/glowBlocks.java @@ -1,6 +1,6 @@ -package me.parsell.glowstonedust.core; +package me.parsell.glowstonewire.core; -import me.parsell.glowstonedust.common.GlowstoneWireBlock; +import me.parsell.glowstonewire.common.GlowstoneWireBlock; import net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings; import net.minecraft.block.Block; import net.minecraft.block.Material; diff --git a/src/main/resources/assets/glowstonedust/models/block/glowstone_dust_side0.json b/src/main/resources/assets/glowstonedust/models/block/glowstone_dust_side0.json deleted file mode 100644 index 9bb9a21..0000000 --- a/src/main/resources/assets/glowstonedust/models/block/glowstone_dust_side0.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "parent": "glowstonedust:block/glowstone_dust_side", - "textures": { - "line": "glowstonedust:block/glowstone_dust_line0" - } -} diff --git a/src/main/resources/assets/glowstonedust/models/block/glowstone_dust_side1.json b/src/main/resources/assets/glowstonedust/models/block/glowstone_dust_side1.json deleted file mode 100644 index 2fce05a..0000000 --- a/src/main/resources/assets/glowstonedust/models/block/glowstone_dust_side1.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "parent": "glowstonedust:block/glowstone_dust_side", - "textures": { - "line": "glowstonedust:block/glowstone_dust_line1" - } -} diff --git a/src/main/resources/assets/glowstonedust/models/block/glowstone_dust_side_alt0.json b/src/main/resources/assets/glowstonedust/models/block/glowstone_dust_side_alt0.json deleted file mode 100644 index 9cb7377..0000000 --- a/src/main/resources/assets/glowstonedust/models/block/glowstone_dust_side_alt0.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "parent": "glowstonedust:block/glowstone_dust_side_alt", - "textures": { - "line": "glowstonedust:block/glowstone_dust_line0" - } -} diff --git a/src/main/resources/assets/glowstonedust/models/block/glowstone_dust_side_alt1.json b/src/main/resources/assets/glowstonedust/models/block/glowstone_dust_side_alt1.json deleted file mode 100644 index a14c238..0000000 --- a/src/main/resources/assets/glowstonedust/models/block/glowstone_dust_side_alt1.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "parent": "glowstonedust:block/glowstone_dust_side_alt", - "textures": { - "line": "glowstonedust:block/glowstone_dust_line1" - } -} diff --git a/src/main/resources/assets/glowstonedust/blockstates/glowstone_wire.json b/src/main/resources/assets/glowstonewire/blockstates/glowstone_wire.json similarity index 80% rename from src/main/resources/assets/glowstonedust/blockstates/glowstone_wire.json rename to src/main/resources/assets/glowstonewire/blockstates/glowstone_wire.json index 023cd2f..d46af9f 100644 --- a/src/main/resources/assets/glowstonedust/blockstates/glowstone_wire.json +++ b/src/main/resources/assets/glowstonewire/blockstates/glowstone_wire.json @@ -28,7 +28,7 @@ ] }, "apply": { - "model": "glowstonedust:block/glowstone_dust_dot" + "model": "glowstonewire:block/glowstone_dust_dot" } }, { @@ -46,7 +46,7 @@ ] }, "apply": { - "model": "glowstonedust:block/glowstone_dust_side0" + "model": "glowstonewire:block/glowstone_dust_side0" } }, { @@ -64,7 +64,7 @@ ] }, "apply": { - "model": "glowstonedust:block/glowstone_dust_side_alt0" + "model": "glowstonewire:block/glowstone_dust_side_alt0" } }, { @@ -83,7 +83,7 @@ }, "apply": { "y": 270, - "model": "glowstonedust:block/glowstone_dust_side_alt1" + "model": "glowstonewire:block/glowstone_dust_side_alt1" } }, { @@ -102,7 +102,7 @@ }, "apply": { "y": 270, - "model": "glowstonedust:block/glowstone_dust_side1" + "model": "glowstonewire:block/glowstone_dust_side1" } }, { @@ -110,7 +110,7 @@ "north": "up" }, "apply": { - "model": "glowstonedust:block/glowstone_dust_up" + "model": "glowstonewire:block/glowstone_dust_up" } }, { @@ -119,7 +119,7 @@ }, "apply": { "y": 90, - "model": "glowstonedust:block/glowstone_dust_up" + "model": "glowstonewire:block/glowstone_dust_up" } }, { @@ -128,7 +128,7 @@ }, "apply": { "y": 180, - "model": "glowstonedust:block/glowstone_dust_up" + "model": "glowstonewire:block/glowstone_dust_up" } }, { @@ -137,7 +137,7 @@ }, "apply": { "y": 270, - "model": "glowstonedust:block/glowstone_dust_up" + "model": "glowstonewire:block/glowstone_dust_up" } } ] diff --git a/src/main/resources/assets/glowstonedust/icon.png b/src/main/resources/assets/glowstonewire/icon.png similarity index 100% rename from src/main/resources/assets/glowstonedust/icon.png rename to src/main/resources/assets/glowstonewire/icon.png diff --git a/src/main/resources/assets/glowstonedust/models/block/glowstone_dust_dot.json b/src/main/resources/assets/glowstonewire/models/block/glowstone_dust_dot.json similarity index 79% rename from src/main/resources/assets/glowstonedust/models/block/glowstone_dust_dot.json rename to src/main/resources/assets/glowstonewire/models/block/glowstone_dust_dot.json index bec6c3f..783173c 100644 --- a/src/main/resources/assets/glowstonedust/models/block/glowstone_dust_dot.json +++ b/src/main/resources/assets/glowstonewire/models/block/glowstone_dust_dot.json @@ -1,9 +1,9 @@ { "ambientocclusion": false, "textures": { - "particle": "glowstonedust:block/glowstone_dust_dot", - "line": "glowstonedust:block/glowstone_dust_dot", - "overlay": "glowstonedust:block/glowstone_dust_overlay" + "particle": "glowstonewire:block/glowstone_dust_dot", + "line": "glowstonewire:block/glowstone_dust_dot", + "overlay": "glowstonewire:block/glowstone_dust_overlay" }, "elements": [ { "from": [ 0, 0.25, 0 ], diff --git a/src/main/resources/assets/glowstonedust/models/block/glowstone_dust_side.json b/src/main/resources/assets/glowstonewire/models/block/glowstone_dust_side.json similarity index 84% rename from src/main/resources/assets/glowstonedust/models/block/glowstone_dust_side.json rename to src/main/resources/assets/glowstonewire/models/block/glowstone_dust_side.json index 7e0b810..e84863b 100644 --- a/src/main/resources/assets/glowstonedust/models/block/glowstone_dust_side.json +++ b/src/main/resources/assets/glowstonewire/models/block/glowstone_dust_side.json @@ -1,8 +1,8 @@ { "ambientocclusion": false, "textures": { - "particle": "glowstonedust:block/glowstone_dust_dot", - "overlay": "glowstonedust:block/glowstone_dust_overlay" + "particle": "glowstonewire:block/glowstone_dust_dot", + "overlay": "glowstonewire:block/glowstone_dust_overlay" }, "elements": [ { "from": [ 0, 0.25, 0 ], diff --git a/src/main/resources/assets/glowstonewire/models/block/glowstone_dust_side0.json b/src/main/resources/assets/glowstonewire/models/block/glowstone_dust_side0.json new file mode 100644 index 0000000..21b721e --- /dev/null +++ b/src/main/resources/assets/glowstonewire/models/block/glowstone_dust_side0.json @@ -0,0 +1,6 @@ +{ + "parent": "glowstonewire:block/glowstone_dust_side", + "textures": { + "line": "glowstonewire:block/glowstone_dust_line0" + } +} diff --git a/src/main/resources/assets/glowstonewire/models/block/glowstone_dust_side1.json b/src/main/resources/assets/glowstonewire/models/block/glowstone_dust_side1.json new file mode 100644 index 0000000..a35000e --- /dev/null +++ b/src/main/resources/assets/glowstonewire/models/block/glowstone_dust_side1.json @@ -0,0 +1,6 @@ +{ + "parent": "glowstonewire:block/glowstone_dust_side", + "textures": { + "line": "glowstonewire:block/glowstone_dust_line1" + } +} diff --git a/src/main/resources/assets/glowstonedust/models/block/glowstone_dust_side_alt.json b/src/main/resources/assets/glowstonewire/models/block/glowstone_dust_side_alt.json similarity index 84% rename from src/main/resources/assets/glowstonedust/models/block/glowstone_dust_side_alt.json rename to src/main/resources/assets/glowstonewire/models/block/glowstone_dust_side_alt.json index 5611040..c7311e7 100644 --- a/src/main/resources/assets/glowstonedust/models/block/glowstone_dust_side_alt.json +++ b/src/main/resources/assets/glowstonewire/models/block/glowstone_dust_side_alt.json @@ -1,8 +1,8 @@ { "ambientocclusion": false, "textures": { - "particle": "glowstonedust:block/glowstone_dust_dot", - "overlay": "glowstonedust:block/glowstone_dust_overlay" + "particle": "glowstonewire:block/glowstone_dust_dot", + "overlay": "glowstonewire:block/glowstone_dust_overlay" }, "elements": [ { "from": [ 0, 0.25, 8 ], diff --git a/src/main/resources/assets/glowstonewire/models/block/glowstone_dust_side_alt0.json b/src/main/resources/assets/glowstonewire/models/block/glowstone_dust_side_alt0.json new file mode 100644 index 0000000..1aa1c47 --- /dev/null +++ b/src/main/resources/assets/glowstonewire/models/block/glowstone_dust_side_alt0.json @@ -0,0 +1,6 @@ +{ + "parent": "glowstonewire:block/glowstone_dust_side_alt", + "textures": { + "line": "glowstonewire:block/glowstone_dust_line0" + } +} diff --git a/src/main/resources/assets/glowstonewire/models/block/glowstone_dust_side_alt1.json b/src/main/resources/assets/glowstonewire/models/block/glowstone_dust_side_alt1.json new file mode 100644 index 0000000..3f7859e --- /dev/null +++ b/src/main/resources/assets/glowstonewire/models/block/glowstone_dust_side_alt1.json @@ -0,0 +1,6 @@ +{ + "parent": "glowstonewire:block/glowstone_dust_side_alt", + "textures": { + "line": "glowstonewire:block/glowstone_dust_line1" + } +} diff --git a/src/main/resources/assets/glowstonedust/models/block/glowstone_dust_up.json b/src/main/resources/assets/glowstonewire/models/block/glowstone_dust_up.json similarity index 79% rename from src/main/resources/assets/glowstonedust/models/block/glowstone_dust_up.json rename to src/main/resources/assets/glowstonewire/models/block/glowstone_dust_up.json index 7dd9e7f..8b1d6b3 100644 --- a/src/main/resources/assets/glowstonedust/models/block/glowstone_dust_up.json +++ b/src/main/resources/assets/glowstonewire/models/block/glowstone_dust_up.json @@ -1,9 +1,9 @@ { "ambientocclusion": false, "textures": { - "particle": "glowstonedust:block/glowstone_dust_dot", - "line": "glowstonedust:block/glowstone_dust_line0", - "overlay": "glowstonedust:block/glowstone_dust_overlay" + "particle": "glowstonewire:block/glowstone_dust_dot", + "line": "glowstonewire:block/glowstone_dust_line0", + "overlay": "glowstonewire:block/glowstone_dust_overlay" }, "elements": [ { "from": [ 0, 0, 0.25 ], diff --git a/src/main/resources/assets/glowstonedust/textures/block/glowstone_dust_dot.png b/src/main/resources/assets/glowstonewire/textures/block/glowstone_dust_dot.png similarity index 100% rename from src/main/resources/assets/glowstonedust/textures/block/glowstone_dust_dot.png rename to src/main/resources/assets/glowstonewire/textures/block/glowstone_dust_dot.png diff --git a/src/main/resources/assets/glowstonedust/textures/block/glowstone_dust_line0.png b/src/main/resources/assets/glowstonewire/textures/block/glowstone_dust_line0.png similarity index 100% rename from src/main/resources/assets/glowstonedust/textures/block/glowstone_dust_line0.png rename to src/main/resources/assets/glowstonewire/textures/block/glowstone_dust_line0.png diff --git a/src/main/resources/assets/glowstonedust/textures/block/glowstone_dust_line1.png b/src/main/resources/assets/glowstonewire/textures/block/glowstone_dust_line1.png similarity index 100% rename from src/main/resources/assets/glowstonedust/textures/block/glowstone_dust_line1.png rename to src/main/resources/assets/glowstonewire/textures/block/glowstone_dust_line1.png diff --git a/src/main/resources/assets/glowstonedust/textures/block/glowstone_dust_overlay.png b/src/main/resources/assets/glowstonewire/textures/block/glowstone_dust_overlay.png similarity index 100% rename from src/main/resources/assets/glowstonedust/textures/block/glowstone_dust_overlay.png rename to src/main/resources/assets/glowstonewire/textures/block/glowstone_dust_overlay.png diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index 4bd1aaa..fcdc2c4 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -1,32 +1,32 @@ { "schemaVersion": 1, - "id": "glowstonedust", + "id": "glowstonewire", "version": "${version}", - "name": "Glowstone Dust", - "description": "This is an example description! Tell everyone what your mod is about!", + "name": "Glowstone Wire", + "description": "Adds redstone like dust in the form of glowstone, used to emit a lower light level in a small form factor", "authors": [ - "Me!" + "Ganku (Badjman)" ], "contact": { "homepage": "https://fabricmc.net/", "sources": "https://github.com/FabricMC/fabric-example-mod" }, - "license": "CC0-1.0", - "icon": "assets/glowstonedust/icon.png", + "license": "MIT", + "icon": "assets/glowstonewire/icon.png", "environment": "*", "entrypoints": { "client": [ - "me.parsell.glowstonedust.GlowstoneDustClient" + "me.parsell.glowstonewire.GlowstoneWireClient" ], "main": [ - "me.parsell.glowstonedust.GlowstoneDust" + "me.parsell.glowstonewire.GlowstoneWire" ] }, "mixins": [ - "glowstonedust.mixins.json" + "glowstonewire.mixins.json" ], "depends": { diff --git a/src/main/resources/glowstonedust.mixins.json b/src/main/resources/glowstonewire.mixins.json similarity index 100% rename from src/main/resources/glowstonedust.mixins.json rename to src/main/resources/glowstonewire.mixins.json