Skip to content

Commit 8a69a32

Browse files
committed
Add the other shelf variants.
1 parent de8fe54 commit 8a69a32

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

chunky/src/java/se/llbit/chunky/block/MinecraftBlockProvider.java

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1204,7 +1204,18 @@ private static void addBlocks(Texture texture, String... names) {
12041204
addBlock(s + "weathered_copper_chest", (name, tag) -> chest(tag, Chest.Kind.WEATHERED_COPPER));
12051205
addBlock(s + "oxidized_copper_chest", (name, tag) -> chest(tag, Chest.Kind.OXIDIZED_COPPER));
12061206
}
1207+
addBlock("acacia_shelf", (name, tag) -> shelf(tag, Texture.acaciaShelf));
1208+
addBlock("bamboo_shelf", (name, tag) -> shelf(tag, Texture.bambooShelf));
1209+
addBlock("birch_shelf", (name, tag) -> shelf(tag, Texture.birchShelf));
1210+
addBlock("cherry_shelf", (name, tag) -> shelf(tag, Texture.cherryShelf));
1211+
addBlock("crimson_shelf", (name, tag) -> shelf(tag, Texture.crimsonShelf));
1212+
addBlock("dark_oak_shelf", (name, tag) -> shelf(tag, Texture.darkOakShelf));
1213+
addBlock("jungle_shelf", (name, tag) -> shelf(tag, Texture.jungleShelf));
1214+
addBlock("mangrove_shelf", (name, tag) -> shelf(tag, Texture.mangroveShelf));
12071215
addBlock("oak_shelf", (name, tag) -> shelf(tag, Texture.oakShelf));
1216+
addBlock("pale_oak_shelf", (name, tag) -> shelf(tag, Texture.paleOakShelf));
1217+
addBlock("spruce_shelf", (name, tag) -> shelf(tag, Texture.spruceShelf));
1218+
addBlock("warped_shelf", (name, tag) -> shelf(tag, Texture.warpedShelf));
12081219
}
12091220

12101221
@Override

chunky/src/java/se/llbit/chunky/resources/Texture.java

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1673,8 +1673,30 @@ public class Texture {
16731673
public static final ChestTexture.Textures oxidizedCopperChest = new ChestTexture.Textures();
16741674
public static final ChestTexture.Textures largeOxidizedCopperChestLeft = ChestTexture.Textures.newWithLockFrom(oxidizedCopperChest);
16751675
public static final ChestTexture.Textures largeOxidizedCopperChestRight = ChestTexture.Textures.newWithLockFrom(oxidizedCopperChest);
1676+
@TexturePath("assets/minecraft/textures/block/acacia_shelf")
1677+
public static final Texture acaciaShelf = new Texture();
1678+
@TexturePath("assets/minecraft/textures/block/bamboo_shelf")
1679+
public static final Texture bambooShelf = new Texture();
1680+
@TexturePath("assets/minecraft/textures/block/birch_shelf")
1681+
public static final Texture birchShelf = new Texture();
1682+
@TexturePath("assets/minecraft/textures/block/cherry_shelf")
1683+
public static final Texture cherryShelf = new Texture();
1684+
@TexturePath("assets/minecraft/textures/block/crimson_shelf")
1685+
public static final Texture crimsonShelf = new Texture();
1686+
@TexturePath("assets/minecraft/textures/block/dark_oak_shelf")
1687+
public static final Texture darkOakShelf = new Texture();
1688+
@TexturePath("assets/minecraft/textures/block/jungle_shelf")
1689+
public static final Texture jungleShelf = new Texture();
1690+
@TexturePath("assets/minecraft/textures/block/mangrove_shelf")
1691+
public static final Texture mangroveShelf = new Texture();
16761692
@TexturePath("assets/minecraft/textures/block/oak_shelf")
16771693
public static final Texture oakShelf = new Texture();
1694+
@TexturePath("assets/minecraft/textures/block/pale_oak_shelf")
1695+
public static final Texture paleOakShelf = new Texture();
1696+
@TexturePath("assets/minecraft/textures/block/spruce_shelf")
1697+
public static final Texture spruceShelf = new Texture();
1698+
@TexturePath("assets/minecraft/textures/block/warped_shelf")
1699+
public static final Texture warpedShelf = new Texture();
16781700

16791701
/** Banner base texture. */
16801702
public static final Texture bannerBase = new Texture();

0 commit comments

Comments
 (0)