Skip to content

Commit

Permalink
REACH_DISTANCE -> BLOCK_REACH
Browse files Browse the repository at this point in the history
  • Loading branch information
Aizistral committed Sep 1, 2023
1 parent b869289 commit 3856730
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ public Multimap<Attribute, AttributeModifier> getAttributeModifiers(SlotContext
UUID.fromString("d020cd5d-c050-49e4-a0ea-ef27adf7e6d0"), 1, Operation.ADDITION);
}

attributes.put(ForgeMod.REACH_DISTANCE.get(), new AttributeModifier(UUID.fromString("313fba36-cc58-4106-a42b-66b7fd420c5a"), "Reach Bonus", 3.0F, AttributeModifier.Operation.ADDITION));
attributes.put(ForgeMod.BLOCK_REACH.get(), new AttributeModifier(UUID.fromString("313fba36-cc58-4106-a42b-66b7fd420c5a"), "Reach Bonus", 3.0F, AttributeModifier.Operation.ADDITION));
}

return attributes;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ public boolean canEquipFromUse(SlotContext context, ItemStack stack) {
public Multimap<Attribute, AttributeModifier> getAttributeModifiers(SlotContext slotContext, UUID uuid, ItemStack stack) {
Multimap<Attribute, AttributeModifier> atts = HashMultimap.create();

atts.put(net.minecraftforge.common.ForgeMod.REACH_DISTANCE.get(), new AttributeModifier(UUID.fromString("08c3c83d-7137-4b42-880f-b146bcb64d2e"), "Reach bonus", reachDistanceBonus.getValue(), AttributeModifier.Operation.ADDITION));
atts.put(net.minecraftforge.common.ForgeMod.BLOCK_REACH.get(), new AttributeModifier(UUID.fromString("08c3c83d-7137-4b42-880f-b146bcb64d2e"), "Reach bonus", reachDistanceBonus.getValue(), AttributeModifier.Operation.ADDITION));

return atts;
}
Expand Down

0 comments on commit 3856730

Please sign in to comment.