remove enchantability for now while I figure out the rest of azure

This commit is contained in:
Ellpeck 2020-02-07 12:27:13 +01:00
parent 2e48c94d6c
commit f76167fc59
2 changed files with 4 additions and 8 deletions

View file

@ -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;
}
}
*/

View file

@ -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