This repository has been archived by the owner on Oct 4, 2024. It is now read-only.
generated from GregTech-Intergalactical/ExampleMod
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
55 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
common/src/main/java/io/github/gregtechintergalactical/gtcore/data/GTCoreCovers.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package io.github.gregtechintergalactical.gtcore.data; | ||
|
||
import io.github.gregtechintergalactical.gtcore.GTCore; | ||
import io.github.gregtechintergalactical.gtcore.cover.CoverRedstoneTorch; | ||
import muramasa.antimatter.cover.CoverFactory; | ||
import muramasa.antimatter.item.ItemCover; | ||
import muramasa.antimatter.texture.Texture; | ||
import net.minecraft.world.item.Items; | ||
|
||
public class GTCoreCovers { | ||
|
||
public static CoverFactory REDSTONE_TORCH = CoverFactory.builder(CoverRedstoneTorch::new) | ||
.addTextures(new Texture(GTCore.ID, "block/cover/redstone_torch_off"), new Texture(GTCore.ID, "block/cover/redstone_torch_on")) | ||
.item((f, t) -> new ItemCover(GTCore.ID, "redstone_torch")).build(GTCore.ID, "redstone_torch"); | ||
|
||
public static void init(){} | ||
} |
22 changes: 22 additions & 0 deletions
22
common/src/main/resources/assets/gtcore/models/block/cover/redstone_torch.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"credit": "Made with Blockbench", | ||
"elements": [ | ||
{ | ||
"from": [7, 7, 16], | ||
"to": [9, 9, 16], | ||
"faces": { | ||
"south": {"uv": [7, 7, 9, 9], "texture": "#overlay"} | ||
} | ||
}, | ||
{ | ||
"from": [7, 7, 10], | ||
"to": [9, 9, 16], | ||
"faces": { | ||
"east": {"uv": [7, 7, 9, 13], "texture": "#overlay"}, | ||
"west": {"uv": [7, 7, 9, 13], "texture": "#overlay"}, | ||
"up": {"uv": [7, 7, 9, 13], "texture": "#overlay"}, | ||
"down": {"uv": [7, 7, 9, 13], "texture": "#overlay"} | ||
} | ||
} | ||
] | ||
} |
Binary file added
BIN
+135 Bytes
...on/src/main/resources/assets/gtcore/textures/block/cover/redstone_torch_off.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+146 Bytes
common/src/main/resources/assets/gtcore/textures/block/cover/redstone_torch_on.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.