Skip to content

Commit

Permalink
Blood Mod Compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
agmass committed Sep 16, 2024
1 parent e888820 commit 368f413
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions src/main/java/org/agmas/scythes/items/Scythe.java
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 368f413

Please sign in to comment.