Very useful mod called Turrets Mod
which adds in Minecraft PE 0.12.1 and 0.11.1 turrets that were taken from the popular game Portal. Turrets will attack all your enemies and will serve to protect your home or mine. Script the turret and installing in any set, it will shoot all the mobs who try to approach her. If you often have problems with mobs that get in your house or settle in the mine, then this mod will be very useful and will save you from unpleasant surprises.
If you are tired of mobs in Pocket Edition that always get in the places where they should not and demolish your house, then this modification is just the perfect solution to protect you and your possessions from the attacks.