Skip to content

Commit

Permalink
Improve ItemHelper
Browse files Browse the repository at this point in the history
  • Loading branch information
azurelmao committed Jan 19, 2023
1 parent 71e1a32 commit 6fa554d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ mixin_version=0.11.4+mixin.0.8.5
loader_version=0.14.6-babric.1

# Mod
mod_version=1.0.9
mod_version=1.1.0
mod_group=turniplabs
mod_name=halplibe
4 changes: 4 additions & 0 deletions src/main/java/turniplabs/halplibe/helper/ItemHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,8 @@ public static Item createItem(String modId, Item item, String translationKey, St
TextureHelper.addTextureToItems(modId, texture, one[0], one[1]);
return item.setIconCoord(one[0], one[1]).setItemName(HalpLibe.addModId(modId, translationKey));
}

public static Item createItemWithoutUVs(String modId, Item item, String translationKey) {
return item.setItemName(HalpLibe.addModId(modId, translationKey));
}
}

0 comments on commit 6fa554d

Please sign in to comment.