include small refactor to damage tags

This commit is contained in:
2026-01-13 09:10:54 +01:00
parent 1f25caf11f
commit 58cd565bbe
@@ -8,7 +8,7 @@ import net.minecraft.world.damagesource.DamageType;
public final class KnockedBackDamageTags {
public static final TagKey<DamageType> BYPASS_KNOCKDOWN = TagKey.create(
Registries.DAMAGE_TYPE,
new ResourceLocation(KnockedBack.MOD_ID, "bypass_knockdown")
ResourceLocation.fromNamespaceAndPath(KnockedBack.MOD_ID, "bypass_knockdown")
);
private KnockedBackDamageTags() {