调整模型
This commit is contained in:
parent
0ba7607b5b
commit
7a5dc14ab2
2 changed files with 3 additions and 3 deletions
|
@ -191,6 +191,6 @@ public class ModUtils {
|
|||
}
|
||||
|
||||
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());
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"parent": "item/generated",
|
||||
"textures": {
|
||||
"layer0": "superbwarfare:item/potion_mortar_shell_overlay",
|
||||
"layer1": "superbwarfare:item/potion_mortar_shell_base"
|
||||
"layer0": "superbwarfare:item/potion_mortar_shell_base",
|
||||
"layer1": "superbwarfare:item/potion_mortar_shell_overlay"
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue