调整模型

This commit is contained in:
17146 2025-02-22 23:57:13 +08:00
parent 0ba7607b5b
commit 7a5dc14ab2
2 changed files with 3 additions and 3 deletions

View file

@ -191,6 +191,6 @@ public class ModUtils {
} }
public void onRegisterColorHandlers(final RegisterColorHandlersEvent.Item event) { public void onRegisterColorHandlers(final RegisterColorHandlersEvent.Item event) {
event.register((stack, count) -> count == 0 ? PotionUtils.getColor(stack) : -1, ModItems.POTION_MORTAR_SHELL.get()); event.register((stack, layer) -> layer == 1 ? PotionUtils.getColor(stack) : -1, ModItems.POTION_MORTAR_SHELL.get());
} }
} }

View file

@ -1,7 +1,7 @@
{ {
"parent": "item/generated", "parent": "item/generated",
"textures": { "textures": {
"layer0": "superbwarfare:item/potion_mortar_shell_overlay", "layer0": "superbwarfare:item/potion_mortar_shell_base",
"layer1": "superbwarfare:item/potion_mortar_shell_base" "layer1": "superbwarfare:item/potion_mortar_shell_overlay"
} }
} }