Added landmine

Added the landmine to TConstruct source
This commit is contained in:
Arthur Uzulin committed 2013-07-27 17:03:16 +10:00
1 parent a80fcbce86
commit 81afd9c00e
34 files changed
+2759 -2

No files matched your search

@@ -0,0 +1,32 @@
package tconstruct.landmine.logic.behavior;
import net.minecraft.entity.Entity;
import net.minecraft.item.ItemStack;
import net.minecraft.world.World;
public class BehaviorPreventExplode extends Behavior{
@Override
public void executeLogic(World par1World, int par2, int par3, int par4, ItemStack par5ItemStack, Entity triggerer, boolean willBlockBeRemoved) {}
@Override
public boolean isBehaviorExchangableWithOffensive(ItemStack par1ItemStack){
return false;
}
@Override
public boolean doesBehaviorPreventRemovalOfBlock(ItemStack par1ItemStack){
return true;
}
@Override
public boolean shouldItemBeRemoved(ItemStack par1ItemStack, boolean willBlockBeRemoved){
return false;
}
@Override
public boolean isOffensive(ItemStack par1ItemStack){
return false;
}
}