make matter decomposer have a more visible working state texture

This commit is contained in:
GearShocky 2025-03-18 17:02:06 +05:00
parent 92cd3326ee
commit 77026f6d72
4 changed files with 13 additions and 4 deletions

View File

@ -55,6 +55,7 @@ class MatteryBlockModelProvider(event: GatherDataEvent) : BlockModelProvider(eve
fun decorativeLadder(block: Block) { fun decorativeLadder(block: Block) {
exec { exec {
withExistingParent(block.registryName!!.path, ResourceLocation("minecraft", "block/ladder")) withExistingParent(block.registryName!!.path, ResourceLocation("minecraft", "block/ladder"))
.texture("particle", modLocation("block/decorative/${block.registryName!!.path}"))
.texture("texture", modLocation("block/decorative/${block.registryName!!.path}")) .texture("texture", modLocation("block/decorative/${block.registryName!!.path}"))
.renderType("cutout") .renderType("cutout")
} }

View File

@ -593,4 +593,12 @@ fun addCraftingTableRecipes(consumer: RecipeOutput) {
.unlockedBy(MItems.DILITHIUM_CRYSTAL) .unlockedBy(MItems.DILITHIUM_CRYSTAL)
.unlockedBy(MItems.DISPLAY_SCREEN) .unlockedBy(MItems.DISPLAY_SCREEN)
.build(consumer) .build(consumer)
MatteryRecipe(MItems.CLEANER_DRONE_KIT, category = RecipeCategory.TOOLS)
.row(MItems.ELECTROMOTOR,MItems.ROGUE_AI_CORE,MItems.ELECTROMOTOR)
.row(MItemTags.TRITANIUM_PLATES, MItems.ELECTRIC_PARTS, MItemTags.TRITANIUM_PLATES)
.row(Items.BRUSH, MItemTags.TRITANIUM_PLATES, Items.BRUSH)
.unlockedBy(MItemTags.TRITANIUM_PLATES)
.unlockedBy(MItems.ROGUE_AI_CORE)
.build(consumer)
} }

View File

@ -23,9 +23,9 @@
"from": [8, 3, 0], "from": [8, 3, 0],
"to": [16, 16, 16], "to": [16, 16, 16],
"faces": { "faces": {
"north": {"uv": [4, 7.25, 6, 10.5], "texture": "#texture"}, "north": {"uv": [4, 4, 6, 7.25], "texture": "#texture"},
"east": {"uv": [8, 7.25, 12, 10.5], "texture": "#texture"}, "east": {"uv": [8, 7.25, 12, 10.5], "texture": "#texture"},
"south": {"uv": [6, 7.25, 8, 10.5], "texture": "#texture"}, "south": {"uv": [6, 4, 8, 7.25], "texture": "#texture"},
"west": {"uv": [8, 10.5, 12, 13.75], "texture": "#texture"}, "west": {"uv": [8, 10.5, 12, 13.75], "texture": "#texture"},
"up": {"uv": [4, 13.75, 8, 15.25], "rotation": 90, "texture": "#texture"} "up": {"uv": [4, 13.75, 8, 15.25], "rotation": 90, "texture": "#texture"}
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 805 B

After

Width:  |  Height:  |  Size: 1.2 KiB