From a61ffff7743c5f9416b9a65d623887bc7d99a060 Mon Sep 17 00:00:00 2001 From: VT-14 Date: Thu, 19 Oct 2023 15:21:24 -0400 Subject: [PATCH] Add Sacrifice to "No Impact" Damage Type Tag Added the BloodMagic:Sacrifice Damage Type to the "No Impact" Damage Type Tag. This stops the game from resetting the player's momentum when this damage occurs. --- .../resources/data/minecraft/tags/damage_type/no_impact.json | 5 +++++ .../bloodmagic/common/data/GeneratorDamageTags.java | 1 + 2 files changed, 6 insertions(+) create mode 100644 src/generated/resources/data/minecraft/tags/damage_type/no_impact.json diff --git a/src/generated/resources/data/minecraft/tags/damage_type/no_impact.json b/src/generated/resources/data/minecraft/tags/damage_type/no_impact.json new file mode 100644 index 000000000..2838a3ab2 --- /dev/null +++ b/src/generated/resources/data/minecraft/tags/damage_type/no_impact.json @@ -0,0 +1,5 @@ +{ + "values": [ + "bloodmagic:sacrifice" + ] +} \ No newline at end of file diff --git a/src/main/java/wayoftime/bloodmagic/common/data/GeneratorDamageTags.java b/src/main/java/wayoftime/bloodmagic/common/data/GeneratorDamageTags.java index 4fc9a7c1a..cfa56440c 100644 --- a/src/main/java/wayoftime/bloodmagic/common/data/GeneratorDamageTags.java +++ b/src/main/java/wayoftime/bloodmagic/common/data/GeneratorDamageTags.java @@ -21,5 +21,6 @@ public GeneratorDamageTags(PackOutput output, CompletableFuture