Skip to content

Commit

Permalink
Merge branch 'main' of github.com:StellarWitch7/bangboo
Browse files Browse the repository at this point in the history
  • Loading branch information
vanillyn committed Aug 28, 2024
2 parents 90dc914 + c95d355 commit dbdf039
Show file tree
Hide file tree
Showing 23 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ public static <T extends Bangboo> BangbooType<T> register(String name, EntityTyp
var coreItem = Registry.register(Registries.ITEM,
BangbooMod.id(name),
new BangbooCore<>(entityType, rating));
return Registry.register(REGISTRY, BangbooMod.id(name), new BangbooType<>(entityType, coreItem, BangbooMod.id("textures/entity/bangboo/%s/%s.png".formatted(name, name)), rating));

return Registry.register(REGISTRY,
BangbooMod.id(name),
new BangbooType<>(entityType,
coreItem,
BangbooMod.id("textures/entity/bangboo/%s/%s.png".formatted(name, name)),
rating));
}
}

0 comments on commit dbdf039

Please sign in to comment.