Class SolegnoliaHandler
java.lang.Object
me.desht.pneumaticcraft.common.thirdparty.botania.SolegnoliaHandler
- All Implemented Interfaces:
IMagnetSuppressor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanshouldSuppressMagnet(net.minecraft.world.entity.Entity e) Check if there is a magnet-suppressor near the given entity (which is usually, but not necessarily, an EntityItem).
-
Constructor Details
-
SolegnoliaHandler
public SolegnoliaHandler()
-
-
Method Details
-
shouldSuppressMagnet
public boolean shouldSuppressMagnet(net.minecraft.world.entity.Entity e) Description copied from interface:IMagnetSuppressorCheck if there is a magnet-suppressor near the given entity (which is usually, but not necessarily, an EntityItem).- Specified by:
shouldSuppressMagnetin interfaceIMagnetSuppressor- Parameters:
e- the entity to check- Returns:
- true if any magnet effects should be suppressed, false otherwise
-