diff --git a/gradle.properties b/gradle.properties index 88e040c..7cfad38 100644 --- a/gradle.properties +++ b/gradle.properties @@ -6,7 +6,7 @@ minecraft_version=1.21.1 yarn_mappings=1.21.1+build.3 loader_version=0.16.5 # Mod Properties -mod_version=1.0.3 +mod_version=1.0.5 maven_group=org.agmas archives_base_name=Scythes # Dependencies diff --git a/src/main/java/org/agmas/scythes/items/Scythe.java b/src/main/java/org/agmas/scythes/items/Scythe.java index 8be79ef..e8be994 100644 --- a/src/main/java/org/agmas/scythes/items/Scythe.java +++ b/src/main/java/org/agmas/scythes/items/Scythe.java @@ -42,6 +42,12 @@ public Scythe(Settings settings, ToolMaterial material, String modelName, Item i this.item = item; toolMaterial = material; } + public Scythe(Settings settings, ToolMaterial material, String modelName, Item item, String modelNamespace) { + super(material, settings); + modelData = PolymerResourcePackUtils.requestModel(item, Identifier.of(modelNamespace, "item/"+modelName)); + this.item = item; + toolMaterial = material; + } @Override public float getBonusAttackDamage(Entity target, float baseAttackDamage, DamageSource damageSource) {