Class SolegnoliaHandler

java.lang.Object
me.desht.pneumaticcraft.common.thirdparty.botania.SolegnoliaHandler
All Implemented Interfaces:
IMagnetSuppressor

public class SolegnoliaHandler extends Object implements IMagnetSuppressor
  • Constructor Details

    • SolegnoliaHandler

      public SolegnoliaHandler()
  • Method Details

    • shouldSuppressMagnet

      public boolean shouldSuppressMagnet(net.minecraft.world.entity.Entity e)
      Description copied from interface: IMagnetSuppressor
      Check if there is a magnet-suppressor near the given entity (which is usually, but not necessarily, an EntityItem).
      Specified by:
      shouldSuppressMagnet in interface IMagnetSuppressor
      Parameters:
      e - the entity to check
      Returns:
      true if any magnet effects should be suppressed, false otherwise