/**
  * Creates and returns a new component piece. Or null if it could not find enough room to place
  * it.
  */
 public static ComponentNetherBridgeStraight createValidComponent(
     List par0List, Random par1Random, int par2, int par3, int par4, int par5, int par6) {
   StructureBoundingBox var7 =
       StructureBoundingBox.getComponentToAddBoundingBox(
           par2, par3, par4, -1, -3, 0, 5, 10, 19, par5);
   return isAboveGround(var7) && StructureComponent.findIntersecting(par0List, var7) == null
       ? new ComponentNetherBridgeStraight(par6, par1Random, var7, par5)
       : null;
 }