aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gtPlusPlus/api/interfaces/IEntityCatcher.java
blob: e3aa00e7a18c9d1a8b5252e1396425f7eb4eceeb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package gtPlusPlus.api.interfaces;

import net.minecraft.entity.Entity;
import net.minecraft.item.ItemStack;
import net.minecraft.world.World;

import gtPlusPlus.api.objects.minecraft.BlockPos;

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);
}