From f76167fc59f925cf2a7c017ab42533229e283989 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Fri, 7 Feb 2020 12:27:13 +0100 Subject: [PATCH] remove enchantability for now while I figure out the rest of azure --- .../enchantibility/EnchantibilityAuraMending.java | 2 ++ .../compat/enchantibility/EnchantibilityCompat.java | 10 ++-------- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/src/main/java/de/ellpeck/naturesaura/compat/enchantibility/EnchantibilityAuraMending.java b/src/main/java/de/ellpeck/naturesaura/compat/enchantibility/EnchantibilityAuraMending.java index e53575fa..75bb025c 100644 --- a/src/main/java/de/ellpeck/naturesaura/compat/enchantibility/EnchantibilityAuraMending.java +++ b/src/main/java/de/ellpeck/naturesaura/compat/enchantibility/EnchantibilityAuraMending.java @@ -1,3 +1,4 @@ +/* TODO Enchantability package de.ellpeck.naturesaura.compat.enchantibility; import de.ellpeck.naturesaura.NaturesAura; @@ -34,3 +35,4 @@ public class EnchantibilityAuraMending extends AbstractEnchantEffect { return RES; } } +*/ diff --git a/src/main/java/de/ellpeck/naturesaura/compat/enchantibility/EnchantibilityCompat.java b/src/main/java/de/ellpeck/naturesaura/compat/enchantibility/EnchantibilityCompat.java index b0375ad7..b60cc632 100644 --- a/src/main/java/de/ellpeck/naturesaura/compat/enchantibility/EnchantibilityCompat.java +++ b/src/main/java/de/ellpeck/naturesaura/compat/enchantibility/EnchantibilityCompat.java @@ -2,19 +2,13 @@ package de.ellpeck.naturesaura.compat.enchantibility; import de.ellpeck.naturesaura.compat.ICompat; import de.ellpeck.naturesaura.data.ItemTagProvider; -import de.ellpeck.naturesaura.enchant.ModEnchantments; -import net.minecraftforge.event.TickEvent.PlayerTickEvent; -import quarris.enchantability.api.EnchantabilityApi; -import quarris.enchantability.api.EnchantabilityApi.IInternals; - -import java.util.Collections; public class EnchantibilityCompat implements ICompat { @Override public void preInit() { - IInternals api = EnchantabilityApi.getInstance(); + /*IInternals api = EnchantabilityApi.getInstance(); api.registerEnchantEffect(EnchantibilityAuraMending.RES, ModEnchantments.AURA_MENDING, EnchantibilityAuraMending::new); - api.registerEffectComponent(EnchantibilityAuraMending.RES, PlayerTickEvent.class, EnchantibilityAuraMending::onPlayerTick, e -> Collections.singletonList(e.player)); + api.registerEffectComponent(EnchantibilityAuraMending.RES, PlayerTickEvent.class, EnchantibilityAuraMending::onPlayerTick, e -> Collections.singletonList(e.player));*/ } @Override