Compare commits
2 Commits
107c336d43
...
a4a9a1f76d
Author | SHA1 | Date |
---|---|---|
|
a4a9a1f76d | |
|
ca452cbff9 |
|
@ -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.
|
|
@ -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());
|
|
@ -1,4 +1,4 @@
|
|||
package me.parsell.glowstonedust.common;
|
||||
package me.parsell.glowstonewire.common;
|
||||
|
||||
import java.util.Map;
|
||||
|
|
@ -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;
|
|
@ -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;
|
|
@ -1,6 +0,0 @@
|
|||
{
|
||||
"parent": "glowstonedust:block/glowstone_dust_side",
|
||||
"textures": {
|
||||
"line": "glowstonedust:block/glowstone_dust_line0"
|
||||
}
|
||||
}
|
|
@ -1,6 +0,0 @@
|
|||
{
|
||||
"parent": "glowstonedust:block/glowstone_dust_side",
|
||||
"textures": {
|
||||
"line": "glowstonedust:block/glowstone_dust_line1"
|
||||
}
|
||||
}
|
|
@ -1,6 +0,0 @@
|
|||
{
|
||||
"parent": "glowstonedust:block/glowstone_dust_side_alt",
|
||||
"textures": {
|
||||
"line": "glowstonedust:block/glowstone_dust_line0"
|
||||
}
|
||||
}
|
|
@ -1,6 +0,0 @@
|
|||
{
|
||||
"parent": "glowstonedust:block/glowstone_dust_side_alt",
|
||||
"textures": {
|
||||
"line": "glowstonedust:block/glowstone_dust_line1"
|
||||
}
|
||||
}
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
]
|
Before Width: | Height: | Size: 453 B After Width: | Height: | Size: 453 B |
|
@ -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 ],
|
|
@ -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 ],
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "glowstonewire:block/glowstone_dust_side",
|
||||
"textures": {
|
||||
"line": "glowstonewire:block/glowstone_dust_line0"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "glowstonewire:block/glowstone_dust_side",
|
||||
"textures": {
|
||||
"line": "glowstonewire:block/glowstone_dust_line1"
|
||||
}
|
||||
}
|
|
@ -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 ],
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "glowstonewire:block/glowstone_dust_side_alt",
|
||||
"textures": {
|
||||
"line": "glowstonewire:block/glowstone_dust_line0"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "glowstonewire:block/glowstone_dust_side_alt",
|
||||
"textures": {
|
||||
"line": "glowstonewire:block/glowstone_dust_line1"
|
||||
}
|
||||
}
|
|
@ -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 ],
|
Before Width: | Height: | Size: 126 B After Width: | Height: | Size: 126 B |
Before Width: | Height: | Size: 125 B After Width: | Height: | Size: 125 B |
Before Width: | Height: | Size: 130 B After Width: | Height: | Size: 130 B |
Before Width: | Height: | Size: 90 B After Width: | Height: | Size: 90 B |
|
@ -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": {
|
||||
|
|