mirror of
https://github.com/Ellpeck/NaturesAura.git
synced 2024-12-26 16:29:24 +01:00
remove enchantability for now while I figure out the rest of azure
This commit is contained in:
parent
2e48c94d6c
commit
f76167fc59
2 changed files with 4 additions and 8 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue