Compare commits

...

2 Commits

Author SHA1 Message Date
Justin Parsell a4a9a1f76d refactor 2021-04-27 19:33:47 -04:00
Justin Parsell ca452cbff9 refactoring 2021-04-27 19:33:33 -04:00
25 changed files with 63 additions and 63 deletions

View File

@ -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.

View File

@ -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());

View File

@ -1,4 +1,4 @@
package me.parsell.glowstonedust.common;
package me.parsell.glowstonewire.common;
import java.util.Map;

View File

@ -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;

View File

@ -1,4 +1,4 @@
package me.parsell.glowstonedust.core;
package me.parsell.glowstonewire.core;
import net.fabricmc.fabric.api.item.v1.FabricItemSettings;
import net.minecraft.item.BlockItem;

View File

@ -1,6 +0,0 @@
{
"parent": "glowstonedust:block/glowstone_dust_side",
"textures": {
"line": "glowstonedust:block/glowstone_dust_line0"
}
}

View File

@ -1,6 +0,0 @@
{
"parent": "glowstonedust:block/glowstone_dust_side",
"textures": {
"line": "glowstonedust:block/glowstone_dust_line1"
}
}

View File

@ -1,6 +0,0 @@
{
"parent": "glowstonedust:block/glowstone_dust_side_alt",
"textures": {
"line": "glowstonedust:block/glowstone_dust_line0"
}
}

View File

@ -1,6 +0,0 @@
{
"parent": "glowstonedust:block/glowstone_dust_side_alt",
"textures": {
"line": "glowstonedust:block/glowstone_dust_line1"
}
}

View File

@ -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"
}
}
]

View File

Before

Width:  |  Height:  |  Size: 453 B

After

Width:  |  Height:  |  Size: 453 B

View File

@ -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 ],

View File

@ -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 ],

View File

@ -0,0 +1,6 @@
{
"parent": "glowstonewire:block/glowstone_dust_side",
"textures": {
"line": "glowstonewire:block/glowstone_dust_line0"
}
}

View File

@ -0,0 +1,6 @@
{
"parent": "glowstonewire:block/glowstone_dust_side",
"textures": {
"line": "glowstonewire:block/glowstone_dust_line1"
}
}

View File

@ -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 ],

View File

@ -0,0 +1,6 @@
{
"parent": "glowstonewire:block/glowstone_dust_side_alt",
"textures": {
"line": "glowstonewire:block/glowstone_dust_line0"
}
}

View File

@ -0,0 +1,6 @@
{
"parent": "glowstonewire:block/glowstone_dust_side_alt",
"textures": {
"line": "glowstonewire:block/glowstone_dust_line1"
}
}

View File

@ -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 ],

View File

@ -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": {