Block facingBlock = block.translate(this.getFacing(block));
if (item.getMaterial().equals(VanillaMaterials.TNT)) {
//Place Activated TNT entity at direction of Dispenser
if (facingBlock.getMaterial().getShape() != null) {
World world = facingBlock.getWorld();
Tnt tnt = world.createEntity(facingBlock.getPosition(), Tnt.class).add(Tnt.class);
tnt.getOwner().getPhysics().force(new Vector3f(0.5D, 0.5D, 0.5D));
world.spawnEntity(tnt.getOwner());
slot.addAmount(-1);
return true;
}
} else if (item.getMaterial() instanceof SpawnEgg) {
if (facingBlock.getMaterial().getShape() != null) {