@@ -0,0 +1,952 @@
+package ru.beykerykt.lightsource.sources.search;%0A%0Aimport org.bukkit.entity.Entity;%0Aimport org.bukkit.inventory.ItemStack;%0A%0Aimport ru.beykerykt.lightsource.items.ItemSlot;%0A%0Apublic class IgnoreEntityLivingEntry extends IgnoreEntityEntry %7B%0A%0A%09private ItemSlot slot;%0A%0A%09public IgnoreEntityLivingEntry(Entity entity, ItemStack itemStack, ItemSlot slot) %7B%0A%09%09super(entity, itemStack);%0A%09%09this.slot = slot;%0A%09%7D%0A%0A%09public ItemSlot getSlot() %7B%0A%09%09return slot;%0A%09%7D%0A%0A%09@Override%0A%09public int hashCode() %7B%0A%09%09final int prime = 31;%0A%09%09int result = 1;%0A%09%09result = prime * result + ((slot == null) ? 0 : slot.hashCode());%0A%09%09return result;%0A%09%7D%0A%0A%09@Override%0A%09public boolean equals(Object obj) %7B%0A%09%09if (this == obj) %7B%0A%09%09%09return true;%0A%09%09%7D%0A%09%09if (obj == null) %7B%0A%09%09%09return false;%0A%09%09%7D%0A%09%09if (!(obj instanceof IgnoreEntityLivingEntry)) %7B%0A%09%09%09return false;%0A%09%09%7D%0A%09%09IgnoreEntityLivingEntry other = (IgnoreEntityLivingEntry) obj;%0A%09%09if (slot != other.slot) %7B%0A%09%09%09return false;%0A%09%09%7D%0A%09%09return true;%0A%09%7D%0A%7D%0A

add IgnoreEntityLivingEntry for alive entities