update texture

+ Block Tags
This commit is contained in:
Glitchlabs
2026-07-11 10:32:42 +02:00
parent 9586fdc417
commit 0d6a19edae
55 changed files with 279 additions and 51 deletions
@@ -46,23 +46,23 @@ public class ModBlockStateProvider extends BlockStateProvider {
blockWithItem(ModBlocks.MAGENTA_GLOW_BLOCK);
blockWithItem(ModBlocks.PINK_GLOW_BLOCK);
//GLOW GLASS
blockWithItem(ModBlocks.LIME_GLOW_STAINED_GLASS);
blockWithItem(ModBlocks.WHITE_GLOW_STAINED_GLASS);
blockWithItem(ModBlocks.GRAY_GLOW_STAINED_GLASS);
blockWithItem(ModBlocks.LIGHT_GRAY_GLOW_STAINED_GLASS);
blockWithItem(ModBlocks.BLACK_GLOW_STAINED_GLASS);
blockWithItem(ModBlocks.BROWN_GLOW_STAINED_GLASS);
blockWithItem(ModBlocks.RED_GLOW_STAINED_GLASS);
blockWithItem(ModBlocks.ORANGE_GLOW_STAINED_GLASS);
blockWithItem(ModBlocks.YELLOW_GLOW_STAINED_GLASS);
blockWithItem(ModBlocks.GREEN_GLOW_STAINED_GLASS);
blockWithItem(ModBlocks.CYAN_GLOW_STAINED_GLASS);
blockWithItem(ModBlocks.LIGHT_BLUE_GLOW_STAINED_GLASS);
blockWithItem(ModBlocks.BLUE_GLOW_STAINED_GLASS);
blockWithItem(ModBlocks.PURPLE_GLOW_STAINED_GLASS);
blockWithItem(ModBlocks.MAGENTA_GLOW_STAINED_GLASS);
blockWithItem(ModBlocks.PINK_GLOW_STAINED_GLASS);
//GLOW GLASS (use vanilla stained glass textures)
blockWithVanillaTexture(ModBlocks.LIME_GLOW_STAINED_GLASS, "lime_stained_glass");
blockWithVanillaTexture(ModBlocks.WHITE_GLOW_STAINED_GLASS, "white_stained_glass");
blockWithVanillaTexture(ModBlocks.GRAY_GLOW_STAINED_GLASS, "gray_stained_glass");
blockWithVanillaTexture(ModBlocks.LIGHT_GRAY_GLOW_STAINED_GLASS, "light_gray_stained_glass");
blockWithVanillaTexture(ModBlocks.BLACK_GLOW_STAINED_GLASS, "black_stained_glass");
blockWithVanillaTexture(ModBlocks.BROWN_GLOW_STAINED_GLASS, "brown_stained_glass");
blockWithVanillaTexture(ModBlocks.RED_GLOW_STAINED_GLASS, "red_stained_glass");
blockWithVanillaTexture(ModBlocks.ORANGE_GLOW_STAINED_GLASS, "orange_stained_glass");
blockWithVanillaTexture(ModBlocks.YELLOW_GLOW_STAINED_GLASS, "yellow_stained_glass");
blockWithVanillaTexture(ModBlocks.GREEN_GLOW_STAINED_GLASS, "green_stained_glass");
blockWithVanillaTexture(ModBlocks.CYAN_GLOW_STAINED_GLASS, "cyan_stained_glass");
blockWithVanillaTexture(ModBlocks.LIGHT_BLUE_GLOW_STAINED_GLASS, "light_blue_stained_glass");
blockWithVanillaTexture(ModBlocks.BLUE_GLOW_STAINED_GLASS, "blue_stained_glass");
blockWithVanillaTexture(ModBlocks.PURPLE_GLOW_STAINED_GLASS, "purple_stained_glass");
blockWithVanillaTexture(ModBlocks.MAGENTA_GLOW_STAINED_GLASS, "magenta_stained_glass");
blockWithVanillaTexture(ModBlocks.PINK_GLOW_STAINED_GLASS, "pink_stained_glass");
// WOOL STAIRS & SLABS (use vanilla wool textures)
createWoolStairsAndSlab(ModBlocks.WHITE_WOOL_STAIRS, ModBlocks.WHITE_WOOL_SLAB, "white_wool");
@@ -142,6 +142,11 @@ public class ModBlockStateProvider extends BlockStateProvider {
simpleBlockWithItem(deferredBlock.get(), cubeAll(deferredBlock.get()));
}
private void blockWithVanillaTexture(DeferredBlock<?> deferredBlock, String vanillaTextureName) {
ModelFile model = models().cubeAll(deferredBlock.getId().getPath(), mcLoc("block/" + vanillaTextureName));
simpleBlockWithItem(deferredBlock.get(), model);
}
private void paneModelWithItem(DeferredBlock<?> deferredBlock, String textureName) {
simpleBlockWithItem(deferredBlock.get(), models().withExistingParent(deferredBlock.getId().getPath(), mcLoc("block/thin_block"))
.texture("texture", modLoc("block/" + textureName)));
@@ -132,5 +132,117 @@ public class ModBlockTagProvider extends BlockTagsProvider {
.add(ModBlocks.MESH_IRON.get())
;
tag(BlockTags.DAMPENS_VIBRATIONS)
.add(ModBlocks.WHITE_WOOL_SLAB.get())
.add(ModBlocks.ORANGE_WOOL_SLAB.get())
.add(ModBlocks.MAGENTA_WOOL_SLAB.get())
.add(ModBlocks.LIGHT_BLUE_WOOL_SLAB.get())
.add(ModBlocks.YELLOW_WOOL_SLAB.get())
.add(ModBlocks.LIME_WOOL_SLAB.get())
.add(ModBlocks.PINK_WOOL_SLAB.get())
.add(ModBlocks.GRAY_WOOL_SLAB.get())
.add(ModBlocks.LIGHT_GRAY_WOOL_SLAB.get())
.add(ModBlocks.CYAN_WOOL_SLAB.get())
.add(ModBlocks.PURPLE_WOOL_SLAB.get())
.add(ModBlocks.BLUE_WOOL_SLAB.get())
.add(ModBlocks.BROWN_WOOL_SLAB.get())
.add(ModBlocks.GREEN_WOOL_SLAB.get())
.add(ModBlocks.RED_WOOL_SLAB.get())
.add(ModBlocks.BLACK_WOOL_SLAB.get())
.add(ModBlocks.WHITE_WOOL_STAIRS.get())
.add(ModBlocks.ORANGE_WOOL_STAIRS.get())
.add(ModBlocks.MAGENTA_WOOL_STAIRS.get())
.add(ModBlocks.LIGHT_BLUE_WOOL_STAIRS.get())
.add(ModBlocks.YELLOW_WOOL_STAIRS.get())
.add(ModBlocks.LIME_WOOL_STAIRS.get())
.add(ModBlocks.PINK_WOOL_STAIRS.get())
.add(ModBlocks.GRAY_WOOL_STAIRS.get())
.add(ModBlocks.LIGHT_GRAY_WOOL_STAIRS.get())
.add(ModBlocks.CYAN_WOOL_STAIRS.get())
.add(ModBlocks.PURPLE_WOOL_STAIRS.get())
.add(ModBlocks.BLUE_WOOL_STAIRS.get())
.add(ModBlocks.BROWN_WOOL_STAIRS.get())
.add(ModBlocks.GREEN_WOOL_STAIRS.get())
.add(ModBlocks.RED_WOOL_STAIRS.get())
.add(ModBlocks.BLACK_WOOL_STAIRS.get())
;
tag(BlockTags.OCCLUDES_VIBRATION_SIGNALS)
.add(ModBlocks.WHITE_WOOL_SLAB.get())
.add(ModBlocks.ORANGE_WOOL_SLAB.get())
.add(ModBlocks.MAGENTA_WOOL_SLAB.get())
.add(ModBlocks.LIGHT_BLUE_WOOL_SLAB.get())
.add(ModBlocks.YELLOW_WOOL_SLAB.get())
.add(ModBlocks.LIME_WOOL_SLAB.get())
.add(ModBlocks.PINK_WOOL_SLAB.get())
.add(ModBlocks.GRAY_WOOL_SLAB.get())
.add(ModBlocks.LIGHT_GRAY_WOOL_SLAB.get())
.add(ModBlocks.CYAN_WOOL_SLAB.get())
.add(ModBlocks.PURPLE_WOOL_SLAB.get())
.add(ModBlocks.BLUE_WOOL_SLAB.get())
.add(ModBlocks.BROWN_WOOL_SLAB.get())
.add(ModBlocks.GREEN_WOOL_SLAB.get())
.add(ModBlocks.RED_WOOL_SLAB.get())
.add(ModBlocks.BLACK_WOOL_SLAB.get())
.add(ModBlocks.WHITE_WOOL_STAIRS.get())
.add(ModBlocks.ORANGE_WOOL_STAIRS.get())
.add(ModBlocks.MAGENTA_WOOL_STAIRS.get())
.add(ModBlocks.LIGHT_BLUE_WOOL_STAIRS.get())
.add(ModBlocks.YELLOW_WOOL_STAIRS.get())
.add(ModBlocks.LIME_WOOL_STAIRS.get())
.add(ModBlocks.PINK_WOOL_STAIRS.get())
.add(ModBlocks.GRAY_WOOL_STAIRS.get())
.add(ModBlocks.LIGHT_GRAY_WOOL_STAIRS.get())
.add(ModBlocks.CYAN_WOOL_STAIRS.get())
.add(ModBlocks.PURPLE_WOOL_STAIRS.get())
.add(ModBlocks.BLUE_WOOL_STAIRS.get())
.add(ModBlocks.BROWN_WOOL_STAIRS.get())
.add(ModBlocks.GREEN_WOOL_STAIRS.get())
.add(ModBlocks.RED_WOOL_STAIRS.get())
.add(ModBlocks.BLACK_WOOL_STAIRS.get())
;
tag(BlockTags.WOOL)
.add(ModBlocks.WHITE_WOOL_SLAB.get())
.add(ModBlocks.ORANGE_WOOL_SLAB.get())
.add(ModBlocks.MAGENTA_WOOL_SLAB.get())
.add(ModBlocks.LIGHT_BLUE_WOOL_SLAB.get())
.add(ModBlocks.YELLOW_WOOL_SLAB.get())
.add(ModBlocks.LIME_WOOL_SLAB.get())
.add(ModBlocks.PINK_WOOL_SLAB.get())
.add(ModBlocks.GRAY_WOOL_SLAB.get())
.add(ModBlocks.LIGHT_GRAY_WOOL_SLAB.get())
.add(ModBlocks.CYAN_WOOL_SLAB.get())
.add(ModBlocks.PURPLE_WOOL_SLAB.get())
.add(ModBlocks.BLUE_WOOL_SLAB.get())
.add(ModBlocks.BROWN_WOOL_SLAB.get())
.add(ModBlocks.GREEN_WOOL_SLAB.get())
.add(ModBlocks.RED_WOOL_SLAB.get())
.add(ModBlocks.BLACK_WOOL_SLAB.get())
.add(ModBlocks.WHITE_WOOL_STAIRS.get())
.add(ModBlocks.ORANGE_WOOL_STAIRS.get())
.add(ModBlocks.MAGENTA_WOOL_STAIRS.get())
.add(ModBlocks.LIGHT_BLUE_WOOL_STAIRS.get())
.add(ModBlocks.YELLOW_WOOL_STAIRS.get())
.add(ModBlocks.LIME_WOOL_STAIRS.get())
.add(ModBlocks.PINK_WOOL_STAIRS.get())
.add(ModBlocks.GRAY_WOOL_STAIRS.get())
.add(ModBlocks.LIGHT_GRAY_WOOL_STAIRS.get())
.add(ModBlocks.CYAN_WOOL_STAIRS.get())
.add(ModBlocks.PURPLE_WOOL_STAIRS.get())
.add(ModBlocks.BLUE_WOOL_STAIRS.get())
.add(ModBlocks.BROWN_WOOL_STAIRS.get())
.add(ModBlocks.GREEN_WOOL_STAIRS.get())
.add(ModBlocks.RED_WOOL_STAIRS.get())
.add(ModBlocks.BLACK_WOOL_STAIRS.get())
;
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 105 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 114 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 134 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 120 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 105 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 119 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 106 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 119 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 105 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 119 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 105 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 119 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 106 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 120 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 106 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 120 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 106 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 119 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 106 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 120 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 106 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 120 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 106 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 120 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 191 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 120 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 134 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 119 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 106 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 121 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 106 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 120 B