Skip to content

Commit 20014a9

Browse files
committed
Update item scaling attribute ids
1 parent 261dfc2 commit 20014a9

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 3.6.7
2+
3+
- Update attribute identifiers for scaled items
4+
15
# 3.6.6
26

37
- Add `/power_level` command

common/src/main/java/net/dungeon_difficulty/logic/ItemScaling.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ private static void applyModifiersForItemStack(List<AttributeModifierSlot> slots
299299
for (var entry : slotResults.entrySet()) {
300300
var attribute = entry.getKey();
301301
var result = entry.getValue();
302-
var id = Identifier.of(DungeonDifficulty.MODID, "dd.boost." + slot.asString());
302+
var id = Identifier.of(DungeonDifficulty.MODID, "power_boost_" + slot.asString());
303303
newAttributeComponent.add(
304304
attribute,
305305
new EntityAttributeModifier(id, result.value, EntityAttributeModifier.Operation.ADD_VALUE),

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ neoforge_version = 21.1.201
1313
yarn_mappings_patch_neoforge_version = 1.21+build.4
1414

1515
# Mod
16-
mod_version=3.6.5
16+
mod_version=3.6.7
1717
maven_group = net.dungeon_difficulty
1818
archives_name = dungeon_difficulty
1919
enabled_platforms = fabric,neoforge

0 commit comments

Comments
 (0)