-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Restore void icon to front of drawer
- Loading branch information
Showing
10 changed files
with
107 additions
and
22 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
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
12 changes: 4 additions & 8 deletions
12
src/main/java/com/jaquadro/minecraft/storagedrawers/item/ItemShroudKey.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 |
---|---|---|
@@ -1,20 +1,16 @@ | ||
/*package com.jaquadro.minecraft.storagedrawers.item; | ||
package com.jaquadro.minecraft.storagedrawers.item; | ||
|
||
import com.jaquadro.minecraft.storagedrawers.api.storage.IDrawerAttributesModifiable; | ||
import com.jaquadro.minecraft.storagedrawers.core.ModCreativeTabs; | ||
import net.minecraft.item.Item; | ||
|
||
public class ItemShroudKey extends ItemKey | ||
{ | ||
public ItemShroudKey (String registryName, String unlocalizedName) { | ||
setRegistryName(registryName); | ||
setUnlocalizedName(unlocalizedName); | ||
setCreativeTab(ModCreativeTabs.tabStorageDrawers); | ||
setMaxDamage(0); | ||
public ItemShroudKey (Item.Properties properties) { | ||
super(properties); | ||
} | ||
|
||
@Override | ||
protected void handleDrawerAttributes (IDrawerAttributesModifiable attrs) { | ||
attrs.setIsConcealed(!attrs.isConcealed()); | ||
} | ||
} | ||
*/ |
13 changes: 13 additions & 0 deletions
13
src/main/resources/assets/storagedrawers/models/block/full_drawers_shroud.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,13 @@ | ||
{ | ||
"parent": "block/block", | ||
"textures": { | ||
"shroud": "storagedrawers:blocks/indicator/shroud_icon" | ||
}, | ||
"elements": [ { | ||
"from": [ 1, 15, -0.02 ], | ||
"to": [ 2, 16, 16], | ||
"faces": { | ||
"north": { "uv": [ 0, 0, 16, 16 ], "texture": "#shroud", "cullface": "north" } | ||
} | ||
} ] | ||
} |
13 changes: 13 additions & 0 deletions
13
src/main/resources/assets/storagedrawers/models/block/full_drawers_void.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,13 @@ | ||
{ | ||
"parent": "block/block", | ||
"textures": { | ||
"void": "storagedrawers:blocks/indicator/void_icon" | ||
}, | ||
"elements": [ { | ||
"from": [ 0, 15, -0.02 ], | ||
"to": [ 1, 16, 16], | ||
"faces": { | ||
"north": { "uv": [ 0, 0, 16, 16 ], "texture": "#void", "cullface": "north" } | ||
} | ||
} ] | ||
} |
13 changes: 13 additions & 0 deletions
13
src/main/resources/assets/storagedrawers/models/block/half_drawers_shroud.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,13 @@ | ||
{ | ||
"parent": "block/block", | ||
"textures": { | ||
"shroud": "storagedrawers:blocks/indicator/shroud_icon" | ||
}, | ||
"elements": [ { | ||
"from": [ 1, 15, 7.98 ], | ||
"to": [ 2, 16, 16], | ||
"faces": { | ||
"north": { "uv": [ 0, 0, 16, 16 ], "texture": "#shroud", "cullface": "north" } | ||
} | ||
} ] | ||
} |
13 changes: 13 additions & 0 deletions
13
src/main/resources/assets/storagedrawers/models/block/half_drawers_void.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,13 @@ | ||
{ | ||
"parent": "block/block", | ||
"textures": { | ||
"void": "storagedrawers:blocks/indicator/void_icon" | ||
}, | ||
"elements": [ { | ||
"from": [ 0, 15, 7.98 ], | ||
"to": [ 1, 16, 16], | ||
"faces": { | ||
"north": { "uv": [ 0, 0, 16, 16 ], "texture": "#void", "cullface": "north" } | ||
} | ||
} ] | ||
} |
Binary file added
BIN
+676 Bytes
src/main/resources/assets/storagedrawers/textures/blocks/indicator/shroud_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.