blob: 9e3ea89606716793113f94b373b729b85845d7bc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
package gtPlusPlus.api.interfaces;
import gtPlusPlus.api.objects.minecraft.BlockPos;
import net.minecraft.entity.Entity;
import net.minecraft.item.ItemStack;
import net.minecraft.world.World;
public interface IEntityCatcher {
public boolean hasEntity(ItemStack aStack);
public Entity getStoredEntity(World aWorld, ItemStack aStack);
public boolean setStoredEntity(World aWorld, ItemStack aStack, Entity aEntity);
public Class<? extends Entity> getStoredEntityClass(ItemStack aStack);
public boolean spawnStoredEntity(World aWorld, ItemStack aStack, BlockPos aPos);
}
|